[INFO] cloning repository https://github.com/decaruju/lycan [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/decaruju/lycan" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecaruju%2Flycan", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecaruju%2Flycan'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5bbcdd9f8f0e9ca1311904ff68d79fd1e8bca777 [INFO] checking decaruju/lycan against try#c05ee43175e02d208faed1fcc0f436c56e48bba6 for pr-92413 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecaruju%2Flycan" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/decaruju/lycan on toolchain c05ee43175e02d208faed1fcc0f436c56e48bba6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/decaruju/lycan [INFO] finished tweaking git repo https://github.com/decaruju/lycan [INFO] tweaked toml for git repo https://github.com/decaruju/lycan written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/decaruju/lycan already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-internal v0.4.13 [INFO] [stderr] Downloaded pin-project v0.4.13 [INFO] [stderr] Downloaded hyper v0.13.5 [INFO] [stderr] Downloaded openssl-sys v0.9.56 [INFO] [stderr] Downloaded enum_dispatch v0.3.0 [INFO] [stderr] Downloaded openssl v0.10.29 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.12 [INFO] [stderr] Downloaded web-sys v0.3.39 [INFO] [stderr] Downloaded serde v1.0.107 [INFO] [stderr] Downloaded schannel v0.1.18 [INFO] [stderr] Downloaded serde_derive v1.0.107 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--no-deps" "--format-version=1", 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] 98cd12d6f4f6643da576d0e3a96a3d00c15fe9b739a1dce777b89995accee5f9 [INFO] running `Command { std: "docker" "start" "-a" "98cd12d6f4f6643da576d0e3a96a3d00c15fe9b739a1dce777b89995accee5f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98cd12d6f4f6643da576d0e3a96a3d00c15fe9b739a1dce777b89995accee5f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98cd12d6f4f6643da576d0e3a96a3d00c15fe9b739a1dce777b89995accee5f9", kill_on_drop: false }` [INFO] [stdout] 98cd12d6f4f6643da576d0e3a96a3d00c15fe9b739a1dce777b89995accee5f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d47152b1ff00bf979736231441272d75943527fd386a8d0dadd99e257918825c [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" "d47152b1ff00bf979736231441272d75943527fd386a8d0dadd99e257918825c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling sfml-build v0.3.0 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling serde v1.0.107 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.15 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking widestring v0.4.0 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Compiling csfml-system-sys v0.5.0 [INFO] [stderr] Compiling csfml-window-sys v0.5.0 [INFO] [stderr] Compiling csfml-graphics-sys v0.5.0 [INFO] [stderr] Compiling csfml-audio-sys v0.5.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling openssl-sys v0.9.56 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking sfml v0.15.1 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.13 [INFO] [stderr] Compiling serde_derive v1.0.107 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling enum_dispatch v0.3.0 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking pin-project v0.4.13 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking hyper v0.13.5 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking serde_urlencoded v0.6.1 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking hyper-tls v0.4.1 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Checking reqwest v0.10.4 [INFO] [stderr] Checking lycan v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/shared/gamestate.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | x: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/shared/gamestate.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | y: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `x` [INFO] [stdout] --> src/shared/gamestate.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | x: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/shared/gamestate.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | y: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderTarget`, `SfBox` [INFO] [stdout] --> src/client/main.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | graphics::{Font, RenderWindow, RenderTarget}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | window::{ContextSettings, Style}, [INFO] [stdout] 8 | system::{SfBox} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RectangleShape` [INFO] [stdout] --> src/client/menu/label.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | RectangleShape, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SfBox` [INFO] [stdout] --> src/client/menu/text_field.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | system::{SfBox, Vector2, Vector2f, Vector2i}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `button::Button`, `menu::Menu`, `text_field::TextField` [INFO] [stdout] --> src/client/interfaces/waiting_screen.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | menu::Menu, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | button::Button, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | text_field::TextField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'a` never used [INFO] [stdout] --> src/client/http.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | fn post<'a, T, S>(url: &str, payload: T) -> Result<S, Box<dyn std::error::Error>> [INFO] [stdout] | ^^-- [INFO] [stdout] | | [INFO] [stdout] | help: elide the unused lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RenderTarget`, `SfBox` [INFO] [stdout] --> src/client/main.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | graphics::{Font, RenderWindow, RenderTarget}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | window::{ContextSettings, Style}, [INFO] [stdout] 8 | system::{SfBox} [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RectangleShape` [INFO] [stdout] --> src/client/menu/label.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | RectangleShape, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SfBox` [INFO] [stdout] --> src/client/menu/text_field.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | system::{SfBox, Vector2, Vector2f, Vector2i}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `button::Button`, `menu::Menu`, `text_field::TextField` [INFO] [stdout] --> src/client/interfaces/waiting_screen.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | menu::Menu, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 26 | button::Button, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 27 | text_field::TextField, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'a` never used [INFO] [stdout] --> src/client/http.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | fn post<'a, T, S>(url: &str, payload: T) -> Result<S, Box<dyn std::error::Error>> [INFO] [stdout] | ^^-- [INFO] [stdout] | | [INFO] [stdout] | help: elide the unused lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/server/server_state.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | for (id, player) in self.gamestate.players.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_rooms` [INFO] [stdout] --> src/server/server_state.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | new_rooms: Vec<(i32, i32)>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_rooms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/server_state.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut gamestate = Gamestate::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shape` [INFO] [stdout] --> src/client/menu/label.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/client/displayer.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | _ => return, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/client/client_state.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 194 | for (x, row) in &self.gamestate.map.rooms { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/client/client_state.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | for (y, room) in row { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/client/displayer.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | for (id, player) in gamestate.read().unwrap().get_players() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/client/game.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | Event::MouseMoved { x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/client/game.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | Event::MouseMoved { x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/client/game.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | window: &mut RenderWindow, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamestate` [INFO] [stdout] --> src/client/game.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | gamestate: Arc<RwLock<ClientGamestate>>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamestate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wall_sprite` [INFO] [stdout] --> src/client/game.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | wall_sprite: &Sprite, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wall_sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unicode` [INFO] [stdout] --> src/client/menu/button.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | fn enter_char(&mut self, unicode: char) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unicode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> src/client/menu/label.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | fn hover(&mut self, on: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> src/client/menu/label.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | fn focus(&mut self, on: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unicode` [INFO] [stdout] --> src/client/menu/label.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn enter_char(&mut self, unicode: char) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unicode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> src/client/menu/text_field.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | fn hover(&mut self, on: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shape` [INFO] [stdout] --> src/client/menu/label.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Shape, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/client/displayer.rs:218:17 [INFO] [stdout] | [INFO] [stdout] 218 | _ => return, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/client/client_state.rs:194:14 [INFO] [stdout] | [INFO] [stdout] 194 | for (x, row) in &self.gamestate.map.rooms { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/client/client_state.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 195 | for (y, room) in row { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/client/displayer.rs:112:14 [INFO] [stdout] | [INFO] [stdout] 112 | for (id, player) in gamestate.read().unwrap().get_players() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/client/game.rs:101:37 [INFO] [stdout] | [INFO] [stdout] 101 | Event::MouseMoved { x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `x: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/client/game.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | Event::MouseMoved { x, y } => { [INFO] [stdout] | ^ help: try ignoring the field: `y: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/client/game.rs:182:5 [INFO] [stdout] | [INFO] [stdout] 182 | window: &mut RenderWindow, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gamestate` [INFO] [stdout] --> src/client/game.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 183 | gamestate: Arc<RwLock<ClientGamestate>>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gamestate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `wall_sprite` [INFO] [stdout] --> src/client/game.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | wall_sprite: &Sprite, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wall_sprite` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unicode` [INFO] [stdout] --> src/client/menu/button.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | fn enter_char(&mut self, unicode: char) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unicode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> src/client/menu/label.rs:34:25 [INFO] [stdout] | [INFO] [stdout] 34 | fn hover(&mut self, on: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> src/client/menu/label.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | fn focus(&mut self, on: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unicode` [INFO] [stdout] --> src/client/menu/label.rs:48:30 [INFO] [stdout] | [INFO] [stdout] 48 | fn enter_char(&mut self, unicode: char) {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_unicode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on` [INFO] [stdout] --> src/client/menu/text_field.rs:57:25 [INFO] [stdout] | [INFO] [stdout] 57 | fn hover(&mut self, on: bool) {} [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/server/server_state.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | for (id, player) in self.gamestate.players.iter() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_rooms` [INFO] [stdout] --> src/server/server_state.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | new_rooms: Vec<(i32, i32)>, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_rooms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/server_state.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | let mut gamestate = Gamestate::default(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/game.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let mut player = gamestate.get_mut_player().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/game.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | let mut player = gamestate.get_mut_player().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/game.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | let mut player = gamestate.get_mut_player().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/game.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 140 | let mut player = gamestate.get_mut_player().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/game.rs:157:25 [INFO] [stdout] | [INFO] [stdout] 157 | let mut player = gamestate.get_mut_player().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/game.rs:163:29 [INFO] [stdout] | [INFO] [stdout] 163 | let mut player = gamestate.get_mut_player().unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut gamestate: Arc<RwLock<ClientGamestate>> = Arc::new( [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/client/game.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `result` [INFO] [stdout] --> src/client/menu/text_field.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | result: Option<T>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bounds` [INFO] [stdout] --> src/client/menu/text_field.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn get_bounds(&mut self) -> FloatRect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | let mut gamestate: Arc<RwLock<ClientGamestate>> = Arc::new( [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `draw` [INFO] [stdout] --> src/client/game.rs:181:8 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn draw( [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `result` [INFO] [stdout] --> src/client/menu/text_field.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | result: Option<T>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_bounds` [INFO] [stdout] --> src/client/menu/text_field.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn get_bounds(&mut self) -> FloatRect { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lycan` due to 2 previous errors; 26 warnings emitted [INFO] [stdout] warning: associated function is never used: `curse` [INFO] [stdout] --> src/server/server_state.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn curse(&mut self, curse: Item) -> Item { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function is never used: `curse` [INFO] [stdout] --> src/server/server_state.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn curse(&mut self, curse: Item) -> Item { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d47152b1ff00bf979736231441272d75943527fd386a8d0dadd99e257918825c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47152b1ff00bf979736231441272d75943527fd386a8d0dadd99e257918825c", kill_on_drop: false }` [INFO] [stdout] d47152b1ff00bf979736231441272d75943527fd386a8d0dadd99e257918825c