[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] 238350d8f74d0627773268b0f2993b9df1c605fd [INFO] checking Panadero1/sonar against master#f1ce0e6a00593493a12e0e3662119786c761f375 for pr-92413 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPanadero1%2Fsonar" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Panadero1/sonar on toolchain f1ce0e6a00593493a12e0e3662119786c761f375 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "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-7/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" "+f1ce0e6a00593493a12e0e3662119786c761f375" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4646055fdc6234855e50da3619be1aaac94b0de83a4da35000b732a3d833109 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "b4646055fdc6234855e50da3619be1aaac94b0de83a4da35000b732a3d833109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4646055fdc6234855e50da3619be1aaac94b0de83a4da35000b732a3d833109", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4646055fdc6234855e50da3619be1aaac94b0de83a4da35000b732a3d833109", kill_on_drop: false }` [INFO] [stdout] b4646055fdc6234855e50da3619be1aaac94b0de83a4da35000b732a3d833109 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+f1ce0e6a00593493a12e0e3662119786c761f375" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 917432b7859476c18969b2625e0bbaa10b21b8829b5a15fd2ba3689d85f27059 [INFO] running `Command { std: "docker" "start" "-a" "917432b7859476c18969b2625e0bbaa10b21b8829b5a15fd2ba3689d85f27059", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.78 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking minimal-lexical v0.1.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking glow v0.7.2 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking libloading v0.6.7 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Compiling memoffset v0.6.4 [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] Checking walkdir v2.3.2 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rayon-core v1.9.1 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking xcursor v0.3.4 [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 rand v0.8.4 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking backtrace v0.3.61 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking tiff v0.6.1 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling typetag-impl v0.1.7 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wayland-egl v0.28.6 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking winit v0.24.0 [INFO] [stderr] Checking glutin v0.26.0 [INFO] [stderr] Checking speedy2d v1.1.1 [INFO] [stderr] Checking typetag v0.1.7 [INFO] [stderr] Checking sonar 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 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 variable: `helper` [INFO] [stdout] --> src/screen/game.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | fn on_draw(&mut self, helper: &mut WindowHelper<String>, 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:218:40 [INFO] [stdout] | [INFO] [stdout] 218 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper<String>, 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<String>, [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<String>, [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<String>, 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<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:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | helper: &mut WindowHelper<String>, [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<String>, 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<String>) {} [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<String>, [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<String>, [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<String>, 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<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/title.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | helper: &mut WindowHelper<String>, [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<String>) {} [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<E>(self, v: bool) -> Result<Self::Value, E> [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:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec<PostOperation> { [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:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec<PostOperation> { [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:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | 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:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | 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: `t` [INFO] [stdout] --> src/world/generation/area_1/room_3.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn add(t: &mut TileManager) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/world/tile/core/cliff_edge.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec<PostOperation> { [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/core/invis_wall.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec<PostOperation> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_player` [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<String>, 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:218:40 [INFO] [stdout] | [INFO] [stdout] 218 | fn on_mouse_button_down(&mut self, helper: &mut WindowHelper<String>, 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<String>, [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<String>, [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<String>, 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<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:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | helper: &mut WindowHelper<String>, [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<String>, 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<String>) {} [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<String>, [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<String>, [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<String>, 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<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/title.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | helper: &mut WindowHelper<String>, [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<String>) {} [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<E>(self, v: bool) -> Result<Self::Value, E> [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:104:35 [INFO] [stdout] | [INFO] [stdout] 104 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec<PostOperation> { [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:104:56 [INFO] [stdout] | [INFO] [stdout] 104 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec<PostOperation> { [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:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | 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:110:31 [INFO] [stdout] | [INFO] [stdout] 110 | 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: `t` [INFO] [stdout] --> src/world/generation/area_1/room_3.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn add(t: &mut TileManager) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player` [INFO] [stdout] --> src/world/tile/core/cliff_edge.rs:47:35 [INFO] [stdout] | [INFO] [stdout] 47 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec<PostOperation> { [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/core/invis_wall.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | fn on_player_enter(&mut self, player: &mut Player, move_pos: GamePos) -> Vec<PostOperation> { [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] [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: 45 warnings emitted [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] [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: 45 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 27s [INFO] running `Command { std: "docker" "inspect" "917432b7859476c18969b2625e0bbaa10b21b8829b5a15fd2ba3689d85f27059", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "917432b7859476c18969b2625e0bbaa10b21b8829b5a15fd2ba3689d85f27059", kill_on_drop: false }` [INFO] [stdout] 917432b7859476c18969b2625e0bbaa10b21b8829b5a15fd2ba3689d85f27059