[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] aefc5b61d5b36f37a16c49ab0cc892673e2a9e99 [INFO] testing Panadero1/sonar against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fsonar" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Panadero1/sonar on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-0/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typetag-impl v0.1.8 [INFO] [stderr] Downloaded earcutr v0.2.0 [INFO] [stderr] Downloaded typetag v0.1.8 [INFO] [stderr] Downloaded speedy2d v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f691ee2d4c22867fe66374858010e7b4822516486a6073e2173d93e1619ca71 [INFO] running `Command { std: "docker" "start" "-a" "7f691ee2d4c22867fe66374858010e7b4822516486a6073e2173d93e1619ca71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f691ee2d4c22867fe66374858010e7b4822516486a6073e2173d93e1619ca71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f691ee2d4c22867fe66374858010e7b4822516486a6073e2173d93e1619ca71", kill_on_drop: false }` [INFO] [stdout] 7f691ee2d4c22867fe66374858010e7b4822516486a6073e2173d93e1619ca71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2d98d6a472fac196d41db3a4534a7ac5329496ca994db220eaf237d308a11e65 [INFO] running `Command { std: "docker" "start" "-a" "2d98d6a472fac196d41db3a4534a7ac5329496ca994db220eaf237d308a11e65", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling erased-serde v0.3.18 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling glow v0.7.2 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Compiling earcutr v0.2.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.5 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling 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] Compiling inventory v0.2.2 [INFO] [stderr] Compiling typetag v0.1.8 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling speedy2d v1.5.0 [INFO] [stderr] Compiling wonderfill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PostOperation` [INFO] [stdout] --> src/screen/game.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | tile::{core::base_ground::BaseGround, Tile, TileVariant, PostOperation}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `space::GamePos`, `time::Clock` [INFO] [stdout] --> src/world/minigame/mod.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use super::{time::Clock, space::GamePos}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `space::GamePos`, `time::Clock` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | world::{space::GamePos, time::Clock}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stair::Stair` [INFO] [stdout] --> src/world/tile/core/moon.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use super::{stair::Stair, one_way::OneWay}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `base_ground::BaseGround`, `stair::Stair` [INFO] [stdout] --> src/world/tile/core/one_way.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{base_ground::BaseGround, stair::Stair, smiley_man::SmileyMan}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `match_directions`, `self` [INFO] [stdout] --> src/world/tile/core/smiley_man.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | ... tile::{get_default_anim, match_directions, Tile, TileVariant, self, PostOperation}, entity::player::Player, minigame::smiley_win::S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rock::Rock` [INFO] [stdout] --> src/world/tile/mountain/boulder.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{rock::Rock, cliff_face::CliffFace}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/game.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | fn on_draw(&mut self, helper: &mut WindowHelper, graphics: &mut Graphics2D) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/game.rs:144:40 [INFO] [stdout] | [INFO] [stdout] 144 | 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: `name` [INFO] [stdout] --> src/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] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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: `v` [INFO] [stdout] --> src/utility/time.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_bool(self, v: bool) -> Result [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/world/tile/mod.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/tile/mod.rs:105:56 [INFO] [stdout] | [INFO] [stdout] 105 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> src/world/tile/mod.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | fn on_update(&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: `clock` [INFO] [stdout] --> src/world/tile/mod.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | 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: `camera` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:47:77 [INFO] [stdout] | [INFO] [stdout] 47 | 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:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | 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: `player` [INFO] [stdout] --> src/world/tile/core/smiley_man.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/world/tile/mountain/cliff_face.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Play` [INFO] [stdout] --> src/screen/game.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | Play, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dialogue` [INFO] [stdout] --> src/screen/game.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Dialogue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/screen/game.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | state: State, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ImgNotInitialized` [INFO] [stdout] --> src/ui/img.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | ImgNotInitialized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImgError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/img.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SerialNamer` [INFO] [stdout] --> src/utility/serial_namer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SerialNamer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utility/serial_namer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new() -> SerialNamer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gen_name` [INFO] [stdout] --> src/utility/serial_namer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn gen_name(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `size` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const size: (u16, u16) = (400, 400); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `size` should have an upper case name [INFO] [stdout] --> src/world/minigame/smiley_win.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const size: (u16, u16) = (400, 400); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `SIZE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.51s [INFO] running `Command { std: "docker" "inspect" "2d98d6a472fac196d41db3a4534a7ac5329496ca994db220eaf237d308a11e65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d98d6a472fac196d41db3a4534a7ac5329496ca994db220eaf237d308a11e65", kill_on_drop: false }` [INFO] [stdout] 2d98d6a472fac196d41db3a4534a7ac5329496ca994db220eaf237d308a11e65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e997728aea20c952d2602c90853dcf4c23b70823d0e9fedf86d3b1243deeae5 [INFO] running `Command { std: "docker" "start" "-a" "3e997728aea20c952d2602c90853dcf4c23b70823d0e9fedf86d3b1243deeae5", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `PostOperation` [INFO] [stdout] --> src/screen/game.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | tile::{core::base_ground::BaseGround, Tile, TileVariant, PostOperation}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `space::GamePos`, `time::Clock` [INFO] [stdout] --> src/world/minigame/mod.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use super::{time::Clock, space::GamePos}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `space::GamePos`, `time::Clock` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | world::{space::GamePos, time::Clock}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stair::Stair` [INFO] [stdout] --> src/world/tile/core/moon.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use super::{stair::Stair, one_way::OneWay}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `base_ground::BaseGround`, `stair::Stair` [INFO] [stdout] --> src/world/tile/core/one_way.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{base_ground::BaseGround, stair::Stair, smiley_man::SmileyMan}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `match_directions`, `self` [INFO] [stdout] --> src/world/tile/core/smiley_man.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | ... tile::{get_default_anim, match_directions, Tile, TileVariant, self, PostOperation}, entity::player::Player, minigame::smiley_win::S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rock::Rock` [INFO] [stdout] --> src/world/tile/mountain/boulder.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{rock::Rock, cliff_face::CliffFace}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/game.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | fn on_draw(&mut self, helper: &mut WindowHelper, graphics: &mut Graphics2D) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/game.rs:144:40 [INFO] [stdout] | [INFO] [stdout] 144 | 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: `name` [INFO] [stdout] --> src/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] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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: `v` [INFO] [stdout] --> src/utility/time.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_bool(self, v: bool) -> Result [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/world/tile/mod.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/tile/mod.rs:105:56 [INFO] [stdout] | [INFO] [stdout] 105 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> src/world/tile/mod.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | fn on_update(&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: `clock` [INFO] [stdout] --> src/world/tile/mod.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | 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: `camera` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:47:77 [INFO] [stdout] | [INFO] [stdout] 47 | 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:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | 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: `player` [INFO] [stdout] --> src/world/tile/core/smiley_man.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/world/tile/mountain/cliff_face.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Play` [INFO] [stdout] --> src/screen/game.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | Play, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wonderfill v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `Dialogue` [INFO] [stdout] --> src/screen/game.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Dialogue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/screen/game.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | state: State, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ImgNotInitialized` [INFO] [stdout] --> src/ui/img.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | ImgNotInitialized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImgError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/img.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SerialNamer` [INFO] [stdout] --> src/utility/serial_namer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SerialNamer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utility/serial_namer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new() -> SerialNamer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gen_name` [INFO] [stdout] --> src/utility/serial_namer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn gen_name(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `size` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const size: (u16, u16) = (400, 400); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `size` should have an upper case name [INFO] [stdout] --> src/world/minigame/smiley_win.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const size: (u16, u16) = (400, 400); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `SIZE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PostOperation` [INFO] [stdout] --> src/screen/game.rs:22:66 [INFO] [stdout] | [INFO] [stdout] 22 | tile::{core::base_ground::BaseGround, Tile, TileVariant, PostOperation}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `space::GamePos`, `time::Clock` [INFO] [stdout] --> src/world/minigame/mod.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | use super::{time::Clock, space::GamePos}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `space::GamePos`, `time::Clock` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | world::{space::GamePos, time::Clock}, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `stair::Stair` [INFO] [stdout] --> src/world/tile/core/moon.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use super::{stair::Stair, one_way::OneWay}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `base_ground::BaseGround`, `stair::Stair` [INFO] [stdout] --> src/world/tile/core/one_way.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{base_ground::BaseGround, stair::Stair, smiley_man::SmileyMan}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `match_directions`, `self` [INFO] [stdout] --> src/world/tile/core/smiley_man.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | ... tile::{get_default_anim, match_directions, Tile, TileVariant, self, PostOperation}, entity::player::Player, minigame::smiley_win::S... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rock::Rock` [INFO] [stdout] --> src/world/tile/mountain/boulder.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use super::{rock::Rock, cliff_face::CliffFace}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/game.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | fn on_draw(&mut self, helper: &mut WindowHelper, graphics: &mut Graphics2D) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/screen/game.rs:144:40 [INFO] [stdout] | [INFO] [stdout] 144 | 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: `name` [INFO] [stdout] --> src/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] [INFO] [stdout] warning: unused variable: `helper` [INFO] [stdout] --> src/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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: `v` [INFO] [stdout] --> src/utility/time.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | fn visit_bool(self, v: bool) -> Result [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/world/tile/mod.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `move_pos` [INFO] [stdout] --> src/world/tile/mod.rs:105:56 [INFO] [stdout] | [INFO] [stdout] 105 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clock` [INFO] [stdout] --> src/world/tile/mod.rs:108:29 [INFO] [stdout] | [INFO] [stdout] 108 | fn on_update(&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: `clock` [INFO] [stdout] --> src/world/tile/mod.rs:111:31 [INFO] [stdout] | [INFO] [stdout] 111 | 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: `camera` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:47:77 [INFO] [stdout] | [INFO] [stdout] 47 | 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:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | 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: `player` [INFO] [stdout] --> src/world/tile/core/smiley_man.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/world/tile/mountain/cliff_face.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Play` [INFO] [stdout] --> src/screen/game.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | Play, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Dialogue` [INFO] [stdout] --> src/screen/game.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | Dialogue, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/screen/game.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | state: State, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ImgNotInitialized` [INFO] [stdout] --> src/ui/img.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | ImgNotInitialized, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ImgError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/ui/img.rs:92:10 [INFO] [stdout] | [INFO] [stdout] 92 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SerialNamer` [INFO] [stdout] --> src/utility/serial_namer.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct SerialNamer { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/utility/serial_namer.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new() -> SerialNamer { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gen_name` [INFO] [stdout] --> src/utility/serial_namer.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn gen_name(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `size` [INFO] [stdout] --> src/world/minigame/smiley_win.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const size: (u16, u16) = (400, 400); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `size` should have an upper case name [INFO] [stdout] --> src/world/minigame/smiley_win.rs:15:7 [INFO] [stdout] | [INFO] [stdout] 15 | const size: (u16, u16) = (400, 400); [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `SIZE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 55 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.80s [INFO] running `Command { std: "docker" "inspect" "3e997728aea20c952d2602c90853dcf4c23b70823d0e9fedf86d3b1243deeae5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e997728aea20c952d2602c90853dcf4c23b70823d0e9fedf86d3b1243deeae5", kill_on_drop: false }` [INFO] [stdout] 3e997728aea20c952d2602c90853dcf4c23b70823d0e9fedf86d3b1243deeae5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f3fdcf22ce387b6b5a02102dbb470a26313aff5f2c2866271a726eadf9688bd1 [INFO] running `Command { std: "docker" "start" "-a" "f3fdcf22ce387b6b5a02102dbb470a26313aff5f2c2866271a726eadf9688bd1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `PostOperation` [INFO] [stderr] --> src/screen/game.rs:22:66 [INFO] [stderr] | [INFO] [stderr] 22 | tile::{core::base_ground::BaseGround, Tile, TileVariant, PostOperation}, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `space::GamePos`, `time::Clock` [INFO] [stderr] --> src/world/minigame/mod.rs:36:13 [INFO] [stderr] | [INFO] [stderr] 36 | use super::{time::Clock, space::GamePos}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `space::GamePos`, `time::Clock` [INFO] [stderr] --> src/world/minigame/smiley_win.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | world::{space::GamePos, time::Clock}, [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `stair::Stair` [INFO] [stderr] --> src/world/tile/core/moon.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use super::{stair::Stair, one_way::OneWay}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `base_ground::BaseGround`, `stair::Stair` [INFO] [stderr] --> src/world/tile/core/one_way.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use super::{base_ground::BaseGround, stair::Stair, smiley_man::SmileyMan}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `match_directions`, `self` [INFO] [stderr] --> src/world/tile/core/smiley_man.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | ... tile::{get_default_anim, match_directions, Tile, TileVariant, self, PostOperation}, entity::player::Player, minigame::smiley_win::S... [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rock::Rock` [INFO] [stderr] --> src/world/tile/mountain/boulder.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | use super::{rock::Rock, cliff_face::CliffFace}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/game.rs:90:27 [INFO] [stderr] | [INFO] [stderr] 90 | fn on_draw(&mut self, helper: &mut WindowHelper, graphics: &mut Graphics2D) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/game.rs:144:40 [INFO] [stderr] | [INFO] [stderr] 144 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/screen/options.rs:28:14 [INFO] [stderr] | [INFO] [stderr] 28 | for (name, button) in self.buttons.iter() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scancode` [INFO] [stderr] --> src/screen/options.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | scancode: speedy2d::window::KeyScancode, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/screen/options.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | button: speedy2d::window::MouseButton, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:53:40 [INFO] [stderr] | [INFO] [stderr] 53 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `center` [INFO] [stderr] --> src/screen/options.rs:73:13 [INFO] [stderr] | [INFO] [stderr] 73 | let center = (res.0 / 2, res.1 / 2); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/screen/options.rs:74:14 [INFO] [stderr] | [INFO] [stderr] 74 | for (name, button) in self.buttons.iter_mut() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:84:9 [INFO] [stderr] | [INFO] [stderr] 84 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/screen/options.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | info: speedy2d::window::WindowStartupInfo, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:88:33 [INFO] [stderr] | [INFO] [stderr] 88 | fn on_user_event(&mut self, helper: &mut WindowHelper, user_event: String) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/options.rs:105:24 [INFO] [stderr] | [INFO] [stderr] 105 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `center` [INFO] [stderr] --> src/screen/options.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | let center = (res.0 / 2, res.1 / 2); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/screen/title.rs:28:14 [INFO] [stderr] | [INFO] [stderr] 28 | for (name, button) in self.buttons.iter() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/title.rs:34:9 [INFO] [stderr] | [INFO] [stderr] 34 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `scancode` [INFO] [stderr] --> src/screen/title.rs:36:9 [INFO] [stderr] | [INFO] [stderr] 36 | scancode: speedy2d::window::KeyScancode, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_scancode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/title.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/screen/title.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | button: speedy2d::window::MouseButton, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/title.rs:51:40 [INFO] [stderr] | [INFO] [stderr] 51 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper, button: MouseButton) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `center` [INFO] [stderr] --> src/screen/title.rs:71:13 [INFO] [stderr] | [INFO] [stderr] 71 | let center = (res.0 / 2, res.1 / 2); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/screen/title.rs:72:14 [INFO] [stderr] | [INFO] [stderr] 72 | for (name, button) in self.buttons.iter_mut() { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/title.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/title.rs:82:9 [INFO] [stderr] | [INFO] [stderr] 82 | helper: &mut WindowHelper, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `info` [INFO] [stderr] --> src/screen/title.rs:83:9 [INFO] [stderr] | [INFO] [stderr] 83 | info: speedy2d::window::WindowStartupInfo, [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_info` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `helper` [INFO] [stderr] --> src/screen/title.rs:113:24 [INFO] [stderr] | [INFO] [stderr] 113 | fn init(&mut self, helper: &mut WindowHelper) {} [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_helper` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `center` [INFO] [stderr] --> src/screen/title.rs:124:13 [INFO] [stderr] | [INFO] [stderr] 124 | let center = (res.0 / 2, res.1 / 2); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_center` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `v` [INFO] [stderr] --> src/utility/time.rs:51:28 [INFO] [stderr] | [INFO] [stderr] 51 | fn visit_bool(self, v: bool) -> Result [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player` [INFO] [stderr] --> src/world/tile/mod.rs:105:35 [INFO] [stderr] | [INFO] [stderr] 105 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `move_pos` [INFO] [stderr] --> src/world/tile/mod.rs:105:56 [INFO] [stderr] | [INFO] [stderr] 105 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `clock` [INFO] [stderr] --> src/world/tile/mod.rs:108:29 [INFO] [stderr] | [INFO] [stderr] 108 | fn on_update(&mut self, clock: &Clock) {} [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `clock` [INFO] [stderr] --> src/world/tile/mod.rs:111:31 [INFO] [stderr] | [INFO] [stderr] 111 | fn update_anim(&mut self, clock: &Clock) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `camera` [INFO] [stderr] --> src/world/minigame/smiley_win.rs:47:77 [INFO] [stderr] | [INFO] [stderr] 47 | fn draw(&mut self, graphics: &mut Graphics2D, manager: &mut ImgManager, camera: &Camera) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_camera` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/world/minigame/smiley_win.rs:52:28 [INFO] [stderr] | [INFO] [stderr] 52 | fn key_down(&mut self, key: &VirtualKeyCode) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `key` [INFO] [stderr] --> src/world/minigame/smiley_win.rs:56:26 [INFO] [stderr] | [INFO] [stderr] 56 | fn key_up(&mut self, key: &VirtualKeyCode) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_key` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player` [INFO] [stderr] --> src/world/tile/core/smiley_man.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `player` [INFO] [stderr] --> src/world/tile/mountain/cliff_face.rs:44:35 [INFO] [stderr] | [INFO] [stderr] 44 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Play` [INFO] [stderr] --> src/screen/game.rs:72:5 [INFO] [stderr] | [INFO] [stderr] 72 | Play, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Dialogue` [INFO] [stderr] --> src/screen/game.rs:73:5 [INFO] [stderr] | [INFO] [stderr] 73 | Dialogue, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `state` [INFO] [stderr] --> src/screen/game.rs:86:5 [INFO] [stderr] | [INFO] [stderr] 86 | state: State, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `ImgNotInitialized` [INFO] [stderr] --> src/ui/img.rs:94:5 [INFO] [stderr] | [INFO] [stderr] 94 | ImgNotInitialized, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ImgError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/ui/img.rs:92:10 [INFO] [stderr] | [INFO] [stderr] 92 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct is never constructed: `SerialNamer` [INFO] [stderr] --> src/utility/serial_namer.rs:3:12 [INFO] [stderr] | [INFO] [stderr] 3 | pub struct SerialNamer { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/utility/serial_namer.rs:7:12 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn new() -> SerialNamer { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `gen_name` [INFO] [stderr] --> src/utility/serial_namer.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn gen_name(&mut self) -> String { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant is never used: `size` [INFO] [stderr] --> src/world/minigame/smiley_win.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | const size: (u16, u16) = (400, 400); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `size` should have an upper case name [INFO] [stderr] --> src/world/minigame/smiley_win.rs:15:7 [INFO] [stderr] | [INFO] [stderr] 15 | const size: (u16, u16) = (400, 400); [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `SIZE` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `wonderfill` (lib) generated 55 warnings [INFO] [stderr] warning: `wonderfill` (lib test) generated 55 warnings (55 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/wonderfill-14e2abf9934c339b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/wonderfill-a29b56a0d66c84c1) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests wonderfill [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f3fdcf22ce387b6b5a02102dbb470a26313aff5f2c2866271a726eadf9688bd1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3fdcf22ce387b6b5a02102dbb470a26313aff5f2c2866271a726eadf9688bd1", kill_on_drop: false }` [INFO] [stdout] f3fdcf22ce387b6b5a02102dbb470a26313aff5f2c2866271a726eadf9688bd1