[INFO] cloning repository https://github.com/Panadero1/sonar [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Panadero1/sonar" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fsonar", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fsonar'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 346f7d21b320d9e9a1638a22d6e21b62824ad5b3 [INFO] checking Panadero1/sonar against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fsonar" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Panadero1/sonar on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Panadero1/sonar [INFO] finished tweaking git repo https://github.com/Panadero1/sonar [INFO] tweaked toml for git repo https://github.com/Panadero1/sonar written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Panadero1/sonar 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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded inventory v0.2.2 [INFO] [stderr] Downloaded erased-serde v0.3.18 [INFO] [stderr] Downloaded typetag v0.1.8 [INFO] [stderr] Downloaded ctor v0.1.21 [INFO] [stderr] Downloaded typetag-impl v0.1.8 [INFO] [stderr] Downloaded ghost v0.1.2 [INFO] [stderr] Downloaded raw-window-handle v0.4.2 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded addr2line v0.17.0 [INFO] [stderr] Downloaded rustc-demangle v0.1.21 [INFO] [stderr] Downloaded backtrace v0.3.64 [INFO] [stderr] Downloaded serde_json v1.0.79 [INFO] [stderr] Downloaded object v0.27.1 [INFO] [stderr] Downloaded glow v0.7.2 [INFO] [stderr] Downloaded gimli v0.26.1 [INFO] [stderr] Downloaded speedy2d v1.5.0 [INFO] [stderr] Downloaded earcutr v0.2.0 [INFO] [stderr] Downloaded libc v0.2.119 [INFO] [stderr] Downloaded nom v7.1.0 [INFO] [stderr] Downloaded crossbeam-channel v0.5.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.7 [INFO] [stderr] Downloaded slotmap v0.4.3 [INFO] [stderr] Downloaded getrandom v0.2.5 [INFO] [stderr] Downloaded dirs-sys v0.3.6 [INFO] [stderr] Downloaded pkg-config v0.3.24 [INFO] [stderr] Downloaded bytemuck v1.7.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03ea80dab804a8eea35024cbccb4acf951c5553372a5760ac98ae6ecac845497 [INFO] running `Command { std: "docker" "start" "-a" "03ea80dab804a8eea35024cbccb4acf951c5553372a5760ac98ae6ecac845497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03ea80dab804a8eea35024cbccb4acf951c5553372a5760ac98ae6ecac845497", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03ea80dab804a8eea35024cbccb4acf951c5553372a5760ac98ae6ecac845497", kill_on_drop: false }` [INFO] [stdout] 03ea80dab804a8eea35024cbccb4acf951c5553372a5760ac98ae6ecac845497 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 285d2520fbc405b53719d1bb02c6e7a5c4da1eb3a58b68d42829a6e2e97961bc [INFO] running `Command { std: "docker" "start" "-a" "285d2520fbc405b53719d1bb02c6e7a5c4da1eb3a58b68d42829a6e2e97961bc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking libloading v0.7.3 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Checking earcutr v0.2.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking glow v0.7.2 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking raw-window-handle v0.3.4 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking xdg v2.4.1 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking glutin_glx_sys v0.1.7 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling typetag-impl v0.1.8 [INFO] [stderr] Checking inventory v0.2.2 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking typetag v0.1.8 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking speedy2d v1.5.0 [INFO] [stderr] Checking wonderfill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `thread`, `time::Duration` [INFO] [stdout] --> src/world/data.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VIEW_DIST` [INFO] [stdout] --> src/world/tile/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | VIEW_DIST, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostOperation` [INFO] [stdout] --> src/world/tile/beehive.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | GamePos, PostOperation, Tile, Direction, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | MouseButton::Left => (!MOUSE_LEFT), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 303 - MouseButton::Left => (!MOUSE_LEFT), [INFO] [stdout] 303 + MouseButton::Left => !MOUSE_LEFT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:304:35 [INFO] [stdout] | [INFO] [stdout] 304 | MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stdout] 304 + MouseButton::Right => !MOUSE_RIGHT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:305:36 [INFO] [stdout] | [INFO] [stdout] 305 | MouseButton::Middle => (!MOUSE_MID), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 305 - MouseButton::Middle => (!MOUSE_MID), [INFO] [stdout] 305 + MouseButton::Middle => !MOUSE_MID, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 306 - MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stdout] 306 + MouseButton::Other(_) => !MOUSE_OTHER, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time::Duration` [INFO] [stdout] --> src/world/data.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | thread, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 8 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VIEW_DIST` [INFO] [stdout] --> src/world/tile/mod.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | VIEW_DIST, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostOperation` [INFO] [stdout] --> src/world/tile/beehive.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | GamePos, PostOperation, Tile, Direction, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | MouseButton::Left => (!MOUSE_LEFT), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 303 - MouseButton::Left => (!MOUSE_LEFT), [INFO] [stdout] 303 + MouseButton::Left => !MOUSE_LEFT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:304:35 [INFO] [stdout] | [INFO] [stdout] 304 | MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 304 - MouseButton::Right => (!MOUSE_RIGHT), [INFO] [stdout] 304 + MouseButton::Right => !MOUSE_RIGHT, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:305:36 [INFO] [stdout] | [INFO] [stdout] 305 | MouseButton::Middle => (!MOUSE_MID), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 305 - MouseButton::Middle => (!MOUSE_MID), [INFO] [stdout] 305 + MouseButton::Middle => !MOUSE_MID, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/world/mod.rs:306:38 [INFO] [stdout] | [INFO] [stdout] 306 | MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 306 - MouseButton::Other(_) => (!MOUSE_OTHER), [INFO] [stdout] 306 + MouseButton::Other(_) => !MOUSE_OTHER, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/options.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/draw/screen/options.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/draw/screen/options.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/options.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/options.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | for (name, button) in self.buttons.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/draw/screen/options.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | fn on_user_event(&mut self, helper: &mut WindowHelper, user_event: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/options.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/title.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/draw/screen/title.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/draw/screen/title.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/title.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/title.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | for (name, button) in self.buttons.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/draw/screen/title.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/title.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/world/entity/player.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | fn create(&self, pos: GamePos, _direction: Direction) -> Box { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/player.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/world/entity/player.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/world/entity/utility.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | .with_custom(move |w, p| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> src/world/entity/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn update_anim(&mut self, clock: &Clock) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/mod.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_entity_enter(&mut self, move_pos: GamePos, index: usize) -> PostOperation { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/world/entity/mod.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_entity_enter(&mut self, move_pos: GamePos, index: usize) -> PostOperation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/mod.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos){} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/world/entity/mod.rs:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos){} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:43:77 [INFO] [stdout] | [INFO] [stdout] 43 | fn draw(&mut self, graphics: &mut Graphics2D, manager: &mut ImgManager, camera: &Camera) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | fn key_down(&mut self, key: &VirtualKeyCode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn key_up(&mut self, key: &VirtualKeyCode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_pos` [INFO] [stdout] --> src/world/operation.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | entity_pos: GamePos, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/options.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/draw/screen/options.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/draw/screen/options.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:53:40 [INFO] [stdout] | [INFO] [stdout] 53 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/options.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/options.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | for (name, button) in self.buttons.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/draw/screen/options.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | fn on_user_event(&mut self, helper: &mut WindowHelper, user_event: String) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/options.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/options.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/title.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | for (name, button) in self.buttons.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scancode` [INFO] [stdout] --> src/draw/screen/title.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | scancode: speedy2d::window::KeyScancode, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/draw/screen/title.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | button: speedy2d::window::MouseButton, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/title.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/draw/screen/title.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | for (name, button) in self.buttons.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | helper: &mut WindowHelper, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `info` [INFO] [stdout] --> src/draw/screen/title.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | info: speedy2d::window::WindowStartupInfo, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/draw/screen/title.rs:113:24 [INFO] [stdout] | [INFO] [stdout] 113 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `center` [INFO] [stdout] --> src/draw/screen/title.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let center = (res.0 / 2, res.1 / 2); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/world/entity/player.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | fn create(&self, pos: GamePos, _direction: Direction) -> Box { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/player.rs:80:33 [INFO] [stdout] | [INFO] [stdout] 80 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/world/entity/player.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/world/entity/utility.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | .with_custom(move |w, p| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> src/world/entity/mod.rs:61:31 [INFO] [stdout] | [INFO] [stdout] 61 | fn update_anim(&mut self, clock: &Clock) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/mod.rs:67:35 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_entity_enter(&mut self, move_pos: GamePos, index: usize) -> PostOperation { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/world/entity/mod.rs:67:54 [INFO] [stdout] | [INFO] [stdout] 67 | fn on_entity_enter(&mut self, move_pos: GamePos, index: usize) -> PostOperation { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/entity/mod.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos){} [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_pos` [INFO] [stdout] --> src/world/entity/mod.rs:74:62 [INFO] [stdout] | [INFO] [stdout] 74 | fn request_moves(&mut self, move_pos: &mut Vec, player_pos: GamePos){} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `camera` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:43:77 [INFO] [stdout] | [INFO] [stdout] 43 | fn draw(&mut self, graphics: &mut Graphics2D, manager: &mut ImgManager, camera: &Camera) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:52:28 [INFO] [stdout] | [INFO] [stdout] 52 | fn key_down(&mut self, key: &VirtualKeyCode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | fn key_up(&mut self, key: &VirtualKeyCode) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `entity_pos` [INFO] [stdout] --> src/world/operation.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | entity_pos: GamePos, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entity_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/world/entity/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_Entity_registry` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/world/minigame/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_Minigame_registry` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/world/tile/mod.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_Tile_registry` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/world/entity/mod.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_Entity_registry` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/world/minigame/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_Minigame_registry` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation [INFO] [stdout] --> src/world/tile/mod.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | #[typetag::serde(tag = "type")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: move this `impl` block outside the of the current constant `_Tile_registry` [INFO] [stdout] = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: the attribute macro `typetag::serde` may come from an old version of the `typetag_impl` crate, try updating your dependency with `cargo update -p typetag_impl` [INFO] [stdout] = note: this warning originates in the attribute macro `typetag::serde` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 50 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.77s [INFO] running `Command { std: "docker" "inspect" "285d2520fbc405b53719d1bb02c6e7a5c4da1eb3a58b68d42829a6e2e97961bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285d2520fbc405b53719d1bb02c6e7a5c4da1eb3a58b68d42829a6e2e97961bc", kill_on_drop: false }` [INFO] [stdout] 285d2520fbc405b53719d1bb02c6e7a5c4da1eb3a58b68d42829a6e2e97961bc