[INFO] cloning repository https://github.com/zealous-carrot/gladArena [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zealous-carrot/gladArena" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzealous-carrot%2FgladArena", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzealous-carrot%2FgladArena'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e0ae31ef57f7ec19fd24bfb51d94faae525f9969 [INFO] checking zealous-carrot/gladArena against master#8f359beca4e58bc3ae795a666301a8f47023044c for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzealous-carrot%2FgladArena" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zealous-carrot/gladArena on toolchain 8f359beca4e58bc3ae795a666301a8f47023044c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zealous-carrot/gladArena [INFO] finished tweaking git repo https://github.com/zealous-carrot/gladArena [INFO] tweaked toml for git repo https://github.com/zealous-carrot/gladArena written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zealous-carrot/gladArena already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded darling_core v0.13.2 [INFO] [stderr] Downloaded darling_macro v0.13.2 [INFO] [stderr] Downloaded darling v0.13.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f039b3646275ea56ee03dd4c14336aada40009afc9a5809bf01759e0d5b45873 [INFO] running `Command { std: "docker" "start" "-a" "f039b3646275ea56ee03dd4c14336aada40009afc9a5809bf01759e0d5b45873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f039b3646275ea56ee03dd4c14336aada40009afc9a5809bf01759e0d5b45873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f039b3646275ea56ee03dd4c14336aada40009afc9a5809bf01759e0d5b45873", kill_on_drop: false }` [INFO] [stdout] f039b3646275ea56ee03dd4c14336aada40009afc9a5809bf01759e0d5b45873 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8f359beca4e58bc3ae795a666301a8f47023044c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a1318c512095474c893b5aa680b5e81b2d8876745be5682d0e5795417b5f18f [INFO] running `Command { std: "docker" "start" "-a" "1a1318c512095474c893b5aa680b5e81b2d8876745be5682d0e5795417b5f18f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking retain_mut v0.1.7 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking minimp3 v0.5.1 [INFO] [stderr] Checking alsa v0.6.0 [INFO] [stderr] Checking rodio v0.15.0 [INFO] [stderr] Checking fishy_arena v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | camera.x += (((((ecosystem.players[0].pos().x - ecosystem.players[1].pos().x) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 214 | * dt); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 208 ~ camera.x += ((((ecosystem.players[0].pos().x - ecosystem.players[1].pos().x) [INFO] [stdout] 209 | .abs() [INFO] [stdout] ... [INFO] [stdout] 213 | + 97.0 / 4.0) [INFO] [stdout] 214 ~ * dt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | camera.y += (((((ecosystem.players[0].pos().y - ecosystem.players[1].pos().y) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 221 | * dt); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 215 ~ camera.y += ((((ecosystem.players[0].pos().y - ecosystem.players[1].pos().y) [INFO] [stdout] 216 | .abs() [INFO] [stdout] ... [INFO] [stdout] 220 | + 59.0 / 4.0) [INFO] [stdout] 221 ~ * dt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:208:29 [INFO] [stdout] | [INFO] [stdout] 208 | camera.x += (((((ecosystem.players[0].pos().x - ecosystem.players[1].pos().x) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 214 | * dt); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 208 ~ camera.x += ((((ecosystem.players[0].pos().x - ecosystem.players[1].pos().x) [INFO] [stdout] 209 | .abs() [INFO] [stdout] ... [INFO] [stdout] 213 | + 97.0 / 4.0) [INFO] [stdout] 214 ~ * dt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/main.rs:215:29 [INFO] [stdout] | [INFO] [stdout] 215 | camera.y += (((((ecosystem.players[0].pos().y - ecosystem.players[1].pos().y) [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 221 | * dt); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 215 ~ camera.y += ((((ecosystem.players[0].pos().y - ecosystem.players[1].pos().y) [INFO] [stdout] 216 | .abs() [INFO] [stdout] ... [INFO] [stdout] 220 | + 59.0 / 4.0) [INFO] [stdout] 221 ~ * dt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ecosystem.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut bugs = [ [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/ecosystem.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | let mut bugs = [ [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/math.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut mid = (max - min) / 2.0; [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/math.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut mid = (max - min) / 2.0; [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/player.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut rect = Rect::new(x, y, 3, 4); [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/player.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | let mut rect = Rect::new(x, y, 3, 4); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/player.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | for tile in tiles { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tile` [INFO] [stdout] --> src/player.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | for tile in tiles { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/ui.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut ty = y; [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/ui.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | let mut ty = y; [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/ui.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | mut text_color: Color, [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/ui.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | mut text_color: Color, [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last` is assigned to, but never used [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut last = Instant::now(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last` is never read [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | last = new; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `last` is assigned to, but never used [INFO] [stdout] --> src/main.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut last = Instant::now(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_last` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last` is never read [INFO] [stdout] --> src/main.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | last = new; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut zoom = 4.0; [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/main.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let mut zoom = 4.0; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messages` is never read [INFO] [stdout] --> src/ecosystem.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Ecosystem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | messages: Vec<(f32, String)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_circle` is never used [INFO] [stdout] --> src/helpers.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn draw_circle(display: &mut WindowCanvas, center: (i32, i32), r: i32, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_key_released`, `is_mouse_pressed`, and `is_mouse_clicked` are never used [INFO] [stdout] --> src/input.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Input { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_key_released(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_mouse_pressed(&self, btn: MouseButton) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_mouse_clicked(&self, btn: MouseButton) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `messages` is never read [INFO] [stdout] --> src/ecosystem.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Ecosystem { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | messages: Vec<(f32, String)>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_btwn` is never used [INFO] [stdout] --> src/math.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn sine_btwn(t: f32, p: f32, min: f32, max: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `draw_circle` is never used [INFO] [stdout] --> src/helpers.rs:32:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn draw_circle(display: &mut WindowCanvas, center: (i32, i32), r: i32, color: Color) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mult` is never used [INFO] [stdout] --> src/math.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Vec2 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn mult(&mut self, n: f32) -> Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `switching` is never read [INFO] [stdout] --> src/ui.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Layout { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | switching: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_key_released`, `is_mouse_pressed`, and `is_mouse_clicked` are never used [INFO] [stdout] --> src/input.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Input { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn is_key_released(&self, key: Keycode) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn is_mouse_pressed(&self, btn: MouseButton) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_mouse_clicked(&self, btn: MouseButton) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switching` is never used [INFO] [stdout] --> src/ui.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Layout { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn switching(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sine_btwn` is never used [INFO] [stdout] --> src/math.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn sine_btwn(t: f32, p: f32, min: f32, max: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `mult` is never used [INFO] [stdout] --> src/math.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Vec2 { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn mult(&mut self, n: f32) -> Vec2 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `switching` is never read [INFO] [stdout] --> src/ui.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Layout { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | switching: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `switching` is never used [INFO] [stdout] --> src/ui.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Layout { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn switching(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | stream_handle.play_raw(src.convert_samples()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = stream_handle.play_raw(src.convert_samples()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | / display.copy( [INFO] [stdout] 115 | | t, [INFO] [stdout] 116 | | None, [INFO] [stdout] 117 | | Rect::new( [INFO] [stdout] ... | [INFO] [stdout] 122 | | ), [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | display.draw_point(point!(bubble.x - camera.x, bubble.y - camera.y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = display.draw_point(point!(bubble.x - camera.x, bubble.y - camera.y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | / display.copy( [INFO] [stdout] 151 | | cache.get_mut("fish_skeleton").unwrap(), [INFO] [stdout] 152 | | None, [INFO] [stdout] 153 | | Rect::new(24 - x_offset, 55 - y_offset, 6, 3), [INFO] [stdout] 154 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | / display.copy( [INFO] [stdout] 156 | | cache.get_mut("sea_grass1").unwrap(), [INFO] [stdout] 157 | | None, [INFO] [stdout] 158 | | Rect::new(37 - x_offset, 54 - y_offset, 6, 4), [INFO] [stdout] 159 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 155 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | / display.copy( [INFO] [stdout] 161 | | cache.get_mut("sea_grass2").unwrap(), [INFO] [stdout] 162 | | None, [INFO] [stdout] 163 | | Rect::new(53 - x_offset, 54 - y_offset, 6, 4), [INFO] [stdout] 164 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 160 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | display.fill_rect(Rect::new(24 - x_offset, 42 - y_offset, 36, 16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 166 | let _ = display.fill_rect(Rect::new(24 - x_offset, 42 - y_offset, 36, 16)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | display.draw_rect(rect!(tile.x - x_offset, tile.y - y_offset, tile.w, tile.h)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 204 | let _ = display.draw_rect(rect!(tile.x - x_offset, tile.y - y_offset, tile.w, tile.h)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | stream_handle.play_raw(src.convert_samples()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 78 | let _ = stream_handle.play_raw(src.convert_samples()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | / display.copy( [INFO] [stdout] 207 | | cache.get_mut("grass1").unwrap(), [INFO] [stdout] 208 | | None, [INFO] [stdout] 209 | | Rect::new(11 - x_offset, 13 - y_offset, 4, 4), [INFO] [stdout] 210 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 206 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | / display.copy( [INFO] [stdout] 212 | | cache.get_mut("grass2").unwrap(), [INFO] [stdout] 213 | | None, [INFO] [stdout] 214 | | Rect::new(37 - x_offset, 12 - y_offset, 4, 4), [INFO] [stdout] 215 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 211 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | / display.copy( [INFO] [stdout] 115 | | t, [INFO] [stdout] 116 | | None, [INFO] [stdout] 117 | | Rect::new( [INFO] [stdout] ... | [INFO] [stdout] 122 | | ), [INFO] [stdout] 123 | | ); [INFO] [stdout] | |_________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 114 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | / display.copy( [INFO] [stdout] 217 | | cache.get_mut("grass3").unwrap(), [INFO] [stdout] 218 | | None, [INFO] [stdout] 219 | | Rect::new(0 - x_offset, 26 - y_offset, 4, 4), [INFO] [stdout] 220 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 216 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / display.copy( [INFO] [stdout] 222 | | cache.get_mut("grass4").unwrap(), [INFO] [stdout] 223 | | None, [INFO] [stdout] 224 | | Rect::new(93 - x_offset, 40 - y_offset, 4, 4), [INFO] [stdout] 225 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 221 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | / display.copy( [INFO] [stdout] 227 | | cache.get_mut("grass5").unwrap(), [INFO] [stdout] 228 | | None, [INFO] [stdout] 229 | | Rect::new(78 - x_offset, 40 - y_offset, 4, 4), [INFO] [stdout] 230 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 226 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | / display.copy( [INFO] [stdout] 232 | | cache.get_mut("grass6").unwrap(), [INFO] [stdout] 233 | | None, [INFO] [stdout] 234 | | Rect::new(6 - x_offset, 40 - y_offset, 4, 4), [INFO] [stdout] 235 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 231 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | display.draw_point(point!(center.0 + x, center.1 + y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = display.draw_point(point!(center.0 + x, center.1 + y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | display.draw_point(point!(center.0 - x, center.1 + y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = display.draw_point(point!(center.0 - x, center.1 + y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:148:13 [INFO] [stdout] | [INFO] [stdout] 148 | display.draw_point(point!(bubble.x - camera.x, bubble.y - camera.y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = display.draw_point(point!(bubble.x - camera.x, bubble.y - camera.y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | display.draw_point(point!(center.0 + x, center.1 - y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = display.draw_point(point!(center.0 + x, center.1 - y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | display.draw_point(point!(center.0 - x, center.1 - y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = display.draw_point(point!(center.0 - x, center.1 - y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | / display.copy( [INFO] [stdout] 151 | | cache.get_mut("fish_skeleton").unwrap(), [INFO] [stdout] 152 | | None, [INFO] [stdout] 153 | | Rect::new(24 - x_offset, 55 - y_offset, 6, 3), [INFO] [stdout] 154 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 150 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | display.draw_point(point!(center.0 + y, center.1 + x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = display.draw_point(point!(center.0 + y, center.1 + x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | display.draw_point(point!(center.0 - y, center.1 + x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = display.draw_point(point!(center.0 - y, center.1 + x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | display.draw_point(point!(center.0 + y, center.1 - x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = display.draw_point(point!(center.0 + y, center.1 - x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 155 | / display.copy( [INFO] [stdout] 156 | | cache.get_mut("sea_grass1").unwrap(), [INFO] [stdout] 157 | | None, [INFO] [stdout] 158 | | Rect::new(37 - x_offset, 54 - y_offset, 6, 4), [INFO] [stdout] 159 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 155 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | display.draw_point(point!(center.0 - y, center.1 - x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = display.draw_point(point!(center.0 - y, center.1 - x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | display.draw_point(point!(center.0 + x, center.1 + y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = display.draw_point(point!(center.0 + x, center.1 + y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | / display.copy( [INFO] [stdout] 161 | | cache.get_mut("sea_grass2").unwrap(), [INFO] [stdout] 162 | | None, [INFO] [stdout] 163 | | Rect::new(53 - x_offset, 54 - y_offset, 6, 4), [INFO] [stdout] 164 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 160 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | display.draw_point(point!(center.0 - x, center.1 + y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = display.draw_point(point!(center.0 - x, center.1 + y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | display.draw_point(point!(center.0 + x, center.1 - y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = display.draw_point(point!(center.0 + x, center.1 - y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | display.fill_rect(Rect::new(24 - x_offset, 42 - y_offset, 36, 16)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 166 | let _ = display.fill_rect(Rect::new(24 - x_offset, 42 - y_offset, 36, 16)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | display.draw_point(point!(center.0 - x, center.1 - y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = display.draw_point(point!(center.0 - x, center.1 - y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | display.draw_point(point!(center.0 + y, center.1 + x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = display.draw_point(point!(center.0 + y, center.1 + x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | display.draw_point(point!(center.0 - y, center.1 + x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = display.draw_point(point!(center.0 - y, center.1 + x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | display.draw_rect(rect!(tile.x - x_offset, tile.y - y_offset, tile.w, tile.h)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 204 | let _ = display.draw_rect(rect!(tile.x - x_offset, tile.y - y_offset, tile.w, tile.h)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | display.draw_point(point!(center.0 + y, center.1 - x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = display.draw_point(point!(center.0 + y, center.1 - x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | display.draw_point(point!(center.0 - y, center.1 - x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = display.draw_point(point!(center.0 - y, center.1 - x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | / display.copy( [INFO] [stdout] 207 | | cache.get_mut("grass1").unwrap(), [INFO] [stdout] 208 | | None, [INFO] [stdout] 209 | | Rect::new(11 - x_offset, 13 - y_offset, 4, 4), [INFO] [stdout] 210 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 206 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/player.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | / display.draw_point(point!( [INFO] [stdout] 224 | | particle.x - offset.0 as f32, [INFO] [stdout] 225 | | particle.y - offset.1 as f32 [INFO] [stdout] 226 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 223 | let _ = display.draw_point(point!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/player.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | / display.draw_point(point!( [INFO] [stdout] 233 | | particle.x - offset.0 as f32, [INFO] [stdout] 234 | | particle.y - offset.1 as f32 [INFO] [stdout] 235 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 232 | let _ = display.draw_point(point!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 211 | / display.copy( [INFO] [stdout] 212 | | cache.get_mut("grass2").unwrap(), [INFO] [stdout] 213 | | None, [INFO] [stdout] 214 | | Rect::new(37 - x_offset, 12 - y_offset, 4, 4), [INFO] [stdout] 215 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 211 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/player.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | / display.fill_rect(rect!( [INFO] [stdout] 273 | | self.entity.rect.x - offset.0, [INFO] [stdout] 274 | | self.entity.rect.y - offset.1, [INFO] [stdout] 275 | | self.entity.rect.w, [INFO] [stdout] 276 | | self.entity.rect.h [INFO] [stdout] 277 | | )); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 272 | let _ = display.fill_rect(rect!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | / display.copy( [INFO] [stdout] 217 | | cache.get_mut("grass3").unwrap(), [INFO] [stdout] 218 | | None, [INFO] [stdout] 219 | | Rect::new(0 - x_offset, 26 - y_offset, 4, 4), [INFO] [stdout] 220 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 216 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | / display.copy( [INFO] [stdout] 222 | | cache.get_mut("grass4").unwrap(), [INFO] [stdout] 223 | | None, [INFO] [stdout] 224 | | Rect::new(93 - x_offset, 40 - y_offset, 4, 4), [INFO] [stdout] 225 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 221 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | / display.copy( [INFO] [stdout] 227 | | cache.get_mut("grass5").unwrap(), [INFO] [stdout] 228 | | None, [INFO] [stdout] 229 | | Rect::new(78 - x_offset, 40 - y_offset, 4, 4), [INFO] [stdout] 230 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 226 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/ecosystem.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | / display.copy( [INFO] [stdout] 232 | | cache.get_mut("grass6").unwrap(), [INFO] [stdout] 233 | | None, [INFO] [stdout] 234 | | Rect::new(6 - x_offset, 40 - y_offset, 4, 4), [INFO] [stdout] 235 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 231 | let _ = display.copy( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | display.draw_point(point!(center.0 + x, center.1 + y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = display.draw_point(point!(center.0 + x, center.1 + y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | display.draw_point(point!(center.0 - x, center.1 + y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = display.draw_point(point!(center.0 - x, center.1 + y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | display.draw_point(point!(center.0 + x, center.1 - y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 39 | let _ = display.draw_point(point!(center.0 + x, center.1 - y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | display.draw_point(point!(center.0 - x, center.1 - y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = display.draw_point(point!(center.0 - x, center.1 - y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | display.draw_point(point!(center.0 + y, center.1 + x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 41 | let _ = display.draw_point(point!(center.0 + y, center.1 + x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | display.draw_point(point!(center.0 - y, center.1 + x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 42 | let _ = display.draw_point(point!(center.0 - y, center.1 + x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | display.draw_point(point!(center.0 + y, center.1 - x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 43 | let _ = display.draw_point(point!(center.0 + y, center.1 - x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | display.draw_point(point!(center.0 - y, center.1 - x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 44 | let _ = display.draw_point(point!(center.0 - y, center.1 - x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | display.draw_point(point!(center.0 + x, center.1 + y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 54 | let _ = display.draw_point(point!(center.0 + x, center.1 + y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | display.draw_point(point!(center.0 - x, center.1 + y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = display.draw_point(point!(center.0 - x, center.1 + y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | display.draw_point(point!(center.0 + x, center.1 - y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 56 | let _ = display.draw_point(point!(center.0 + x, center.1 - y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | display.draw_point(point!(center.0 - x, center.1 - y)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 57 | let _ = display.draw_point(point!(center.0 - x, center.1 - y)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | display.draw_point(point!(center.0 + y, center.1 + x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = display.draw_point(point!(center.0 + y, center.1 + x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | display.draw_point(point!(center.0 - y, center.1 + x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 59 | let _ = display.draw_point(point!(center.0 - y, center.1 + x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | display.draw_point(point!(center.0 + y, center.1 - x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = display.draw_point(point!(center.0 + y, center.1 - x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/helpers.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | display.draw_point(point!(center.0 - y, center.1 - x)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = display.draw_point(point!(center.0 - y, center.1 - x)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/player.rs:223:13 [INFO] [stdout] | [INFO] [stdout] 223 | / display.draw_point(point!( [INFO] [stdout] 224 | | particle.x - offset.0 as f32, [INFO] [stdout] 225 | | particle.y - offset.1 as f32 [INFO] [stdout] 226 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 223 | let _ = display.draw_point(point!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/player.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | / display.draw_point(point!( [INFO] [stdout] 233 | | particle.x - offset.0 as f32, [INFO] [stdout] 234 | | particle.y - offset.1 as f32 [INFO] [stdout] 235 | | )); [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 232 | let _ = display.draw_point(point!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/player.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | / display.fill_rect(rect!( [INFO] [stdout] 273 | | self.entity.rect.x - offset.0, [INFO] [stdout] 274 | | self.entity.rect.y - offset.1, [INFO] [stdout] 275 | | self.entity.rect.w, [INFO] [stdout] 276 | | self.entity.rect.h [INFO] [stdout] 277 | | )); [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 272 | let _ = display.fill_rect(rect!( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 51 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.96s [INFO] running `Command { std: "docker" "inspect" "1a1318c512095474c893b5aa680b5e81b2d8876745be5682d0e5795417b5f18f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a1318c512095474c893b5aa680b5e81b2d8876745be5682d0e5795417b5f18f", kill_on_drop: false }` [INFO] [stdout] 1a1318c512095474c893b5aa680b5e81b2d8876745be5682d0e5795417b5f18f [INFO] checking zealous-carrot/gladArena against try#80d5fe37e16a0befb4128414cb6a11d544788c0a for pr-121557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzealous-carrot%2FgladArena" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zealous-carrot/gladArena on toolchain 80d5fe37e16a0befb4128414cb6a11d544788c0a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zealous-carrot/gladArena [INFO] finished tweaking git repo https://github.com/zealous-carrot/gladArena [INFO] tweaked toml for git repo https://github.com/zealous-carrot/gladArena written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zealous-carrot/gladArena already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dc0bf71973f025cc677629d4e15f3b290b158505d344a2f34a1e60df267ffba8 [INFO] running `Command { std: "docker" "start" "-a" "dc0bf71973f025cc677629d4e15f3b290b158505d344a2f34a1e60df267ffba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dc0bf71973f025cc677629d4e15f3b290b158505d344a2f34a1e60df267ffba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc0bf71973f025cc677629d4e15f3b290b158505d344a2f34a1e60df267ffba8", kill_on_drop: false }` [INFO] [stdout] dc0bf71973f025cc677629d4e15f3b290b158505d344a2f34a1e60df267ffba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+80d5fe37e16a0befb4128414cb6a11d544788c0a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e59f00c5dd5f17126d13a8bb3467814bf96269b9a8fb49eb6f0d8107d7377e62 [INFO] running `Command { std: "docker" "start" "-a" "e59f00c5dd5f17126d13a8bb3467814bf96269b9a8fb49eb6f0d8107d7377e62", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.90 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling cpal v0.13.5 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling quote v1.0.17 [INFO] [stderr] Checking ogg v0.8.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking claxon v0.4.3 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking retain_mut v0.1.7 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Checking lewton v0.10.2 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking slice-deque v0.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetaNqpPhu" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `sdl2` (lib) due to 1 previous error [INFO] [stdout] error: couldn't create a temp dir: No space left on device (os error 28) at path "/opt/rustwide/target/debug/deps/rmetafCC0tA" [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `nix` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "e59f00c5dd5f17126d13a8bb3467814bf96269b9a8fb49eb6f0d8107d7377e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e59f00c5dd5f17126d13a8bb3467814bf96269b9a8fb49eb6f0d8107d7377e62", kill_on_drop: false }` [INFO] [stdout] e59f00c5dd5f17126d13a8bb3467814bf96269b9a8fb49eb6f0d8107d7377e62