[INFO] cloning repository https://github.com/lislis/workshop-rust-games [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lislis/workshop-rust-games" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flislis%2Fworkshop-rust-games", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flislis%2Fworkshop-rust-games'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6a850e60f6ef0436ec45cebec97e06e13bc294ce [INFO] checking lislis/workshop-rust-games against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flislis%2Fworkshop-rust-games" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lislis/workshop-rust-games on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lislis/workshop-rust-games [INFO] finished tweaking git repo https://github.com/lislis/workshop-rust-games [INFO] tweaked toml for git repo https://github.com/lislis/workshop-rust-games written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/lislis/workshop-rust-games already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jpeg-decoder v0.1.16 [INFO] [stderr] Downloaded glyph_brush v0.6.0 [INFO] [stderr] Downloaded stdweb-internal-macros v0.2.8 [INFO] [stderr] Downloaded stdweb-derive v0.5.2 [INFO] [stderr] Downloaded stdweb v0.4.19 [INFO] [stderr] Downloaded gilrs v0.7.2 [INFO] [stderr] Downloaded alga v0.9.1 [INFO] [stderr] Downloaded rusttype v0.8.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.4 [INFO] [stderr] Downloaded arrayvec v0.5.0 [INFO] [stderr] Downloaded image v0.22.2 [INFO] [stderr] Downloaded gilrs-core v0.2.4 [INFO] [stderr] Downloaded mint v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6bf70179c2c8f6aae3d84594355aa89c56a8ade1b00690dd4d6b8b44daa3be4b [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" "6bf70179c2c8f6aae3d84594355aa89c56a8ade1b00690dd4d6b8b44daa3be4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6bf70179c2c8f6aae3d84594355aa89c56a8ade1b00690dd4d6b8b44daa3be4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf70179c2c8f6aae3d84594355aa89c56a8ade1b00690dd4d6b8b44daa3be4b", kill_on_drop: false }` [INFO] [stdout] 6bf70179c2c8f6aae3d84594355aa89c56a8ade1b00690dd4d6b8b44daa3be4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7c94efc1c787221a8282815c75c02e18e336e60cb99ec6032b3200c83164d6fa [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" "7c94efc1c787221a8282815c75c02e18e336e60cb99ec6032b3200c83164d6fa", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling arrayvec v0.4.11 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking arrayvec v0.5.0 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling getrandom v0.1.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling same-file v1.0.5 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling nix v0.11.1 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Checking xi-unicode v0.2.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking mint v0.5.3 [INFO] [stderr] Checking hound v3.4.0 [INFO] [stderr] Checking podio v0.1.6 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling walkdir v2.2.9 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling proc-macro2 v1.0.4 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking slice-deque v0.2.4 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking draw_state v0.8.0 [INFO] [stderr] Compiling pulldown-cmark v0.2.0 [INFO] [stderr] Checking libloading v0.5.2 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking minimp3-sys v0.3.1 [INFO] [stderr] Checking alsa-sys v0.1.2 [INFO] [stderr] Checking x11-dl v2.18.4 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking directories v2.0.2 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rustc-hash v1.0.1 [INFO] [stderr] Checking stb_truetype v0.3.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking ogg v0.7.0 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Compiling backtrace-sys v0.1.31 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking minimp3 v0.3.3 [INFO] [stderr] Checking gfx_core v0.9.2 [INFO] [stderr] Checking sid v0.5.2 [INFO] [stderr] Checking cpal v0.8.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Compiling backtrace v0.3.38 [INFO] [stderr] Checking lewton v0.9.4 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling syn v1.0.5 [INFO] [stderr] Checking png v0.15.0 [INFO] [stderr] Checking num-iter v0.1.39 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking alga v0.9.1 [INFO] [stderr] Checking zip v0.5.3 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling glutin_egl_sys v0.1.3 [INFO] [stderr] Checking gfx v0.18.2 [INFO] [stderr] Checking nalgebra v0.18.1 [INFO] [stderr] Checking gilrs-core v0.2.4 [INFO] [stderr] Checking twox-hash v1.5.0 [INFO] [stderr] Checking gilrs v0.7.2 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking toml v0.5.3 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling memoffset v0.5.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-epoch v0.7.2 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking rusttype v0.8.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking glyph_brush_layout v0.1.8 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.101 [INFO] [stderr] Checking glyph_brush v0.6.0 [INFO] [stderr] Checking glyph_brush v0.5.4 [INFO] [stderr] Checking gfx_device_gl v0.16.2 [INFO] [stderr] Compiling euclid_macros v0.1.0 [INFO] [stderr] Compiling smart-default v0.5.2 [INFO] [stderr] Checking euclid v0.19.9 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking lyon_geom v0.12.7 [INFO] [stderr] Checking winit v0.19.3 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking lyon_path v0.13.2 [INFO] [stderr] Checking image v0.22.2 [INFO] [stderr] Checking lyon_tessellation v0.13.5 [INFO] [stderr] Checking lyon_algorithms v0.13.4 [INFO] [stderr] Compiling cargo_metadata v0.6.4 [INFO] [stderr] Checking lyon v0.13.5 [INFO] [stderr] Checking glutin v0.20.1 [INFO] [stderr] Checking gfx_window_glutin v0.30.0 [INFO] [stderr] Compiling skeptic v0.13.4 [INFO] [stderr] Checking rodio v0.9.0 [INFO] [stderr] Compiling ggez v0.5.1 [INFO] [stderr] Checking crab v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ggez::audio::SoundSource` [INFO] [stdout] --> src/game/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::audio::SoundSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::audio::SoundSource` [INFO] [stdout] --> src/game/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::audio::SoundSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Directions` [INFO] [stdout] --> src/game/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::game::claw::{Directions}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::audio::SoundSource` [INFO] [stdout] --> src/game/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::audio::SoundSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::audio::SoundSource` [INFO] [stdout] --> src/game/state.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::audio::SoundSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Directions` [INFO] [stdout] --> src/game/mod.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::game::claw::{Directions}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keycode` [INFO] [stdout] --> src/game/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | keycode: KeyCode, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keycode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score_1` [INFO] [stdout] --> src/game/state.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let score_1 = graphics::Text::new((format!("Player 1: #{}", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_score_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score_2` [INFO] [stdout] --> src/game/state.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let score_2 = graphics::Text::new((format!("Player 2: #{}", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_score_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/state.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn render_ui(&self, ctx: &mut Context) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/game/state.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let c1 = self.player1.claw.get_origin(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/game/state.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let c2 = self.player2.claw.get_origin(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_screen` [INFO] [stdout] --> src/game/crab.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn update(&mut self, max_screen: f32) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/crab.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/crab.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_loc` [INFO] [stdout] --> src/game/player.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn update(&mut self, new_loc: Point2) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/player.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/player.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/game/player.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn movedir(&mut self, dir: Directions) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_loc` [INFO] [stdout] --> src/game/claw.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn update(&mut self, parent_loc: Point2) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/claw.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/claw.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/game/claw.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn movedir(&mut self, dir:Directions) -> Vector2 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/game/snacks.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn spawn_snacks(num: usize) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/snacks.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/snacks.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/game/snacks.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn collides_with(&mut self, other: Point2) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keycode` [INFO] [stdout] --> src/game/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | keycode: KeyCode, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keycode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score_1` [INFO] [stdout] --> src/game/state.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | let score_1 = graphics::Text::new((format!("Player 1: #{}", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_score_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `score_2` [INFO] [stdout] --> src/game/state.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let score_2 = graphics::Text::new((format!("Player 2: #{}", [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_score_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/state.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn render_ui(&self, ctx: &mut Context) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c1` [INFO] [stdout] --> src/game/state.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | let c1 = self.player1.claw.get_origin(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c2` [INFO] [stdout] --> src/game/state.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let c2 = self.player2.claw.get_origin(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_c2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `max_screen` [INFO] [stdout] --> src/game/crab.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn update(&mut self, max_screen: f32) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_max_screen` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/crab.rs:36:24 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/crab.rs:36:43 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_loc` [INFO] [stdout] --> src/game/player.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn update(&mut self, new_loc: Point2) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/player.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/player.rs:38:17 [INFO] [stdout] | [INFO] [stdout] 38 | img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/game/player.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn movedir(&mut self, dir: Directions) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_loc` [INFO] [stdout] --> src/game/claw.rs:41:30 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn update(&mut self, parent_loc: Point2) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent_loc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/claw.rs:48:24 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/claw.rs:48:43 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dir` [INFO] [stdout] --> src/game/claw.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn movedir(&mut self, dir:Directions) -> Vector2 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/game/snacks.rs:59:21 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn spawn_snacks(num: usize) -> Vec { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game/snacks.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> src/game/snacks.rs:41:43 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/game/snacks.rs:49:37 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn collides_with(&mut self, other: Point2) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SNACK_W` [INFO] [stdout] --> src/game/config.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const SNACK_W: f32 = 40.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `velocity` [INFO] [stdout] --> src/game/crab.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | velocity: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/game/crab.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | w: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `s` [INFO] [stdout] --> src/game/crab.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | s: f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increase_score` [INFO] [stdout] --> src/game/player.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn increase_score(&mut self) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `movedir` [INFO] [stdout] --> src/game/player.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn movedir(&mut self, dir: Directions) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Directions` [INFO] [stdout] --> src/game/claw.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Directions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `body_anchor` [INFO] [stdout] --> src/game/claw.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | body_anchor: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `joint_anchor` [INFO] [stdout] --> src/game/claw.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | joint_anchor: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/game/claw.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | w: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `h` [INFO] [stdout] --> src/game/claw.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | h: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `s` [INFO] [stdout] --> src/game/claw.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | s: f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/game/claw.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn update(&mut self, parent_loc: Point2) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/game/claw.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `movedir` [INFO] [stdout] --> src/game/claw.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn movedir(&mut self, dir:Directions) -> Vector2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `location` [INFO] [stdout] --> src/game/snacks.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | location: Point2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `velocity` [INFO] [stdout] --> src/game/snacks.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | velocity: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/game/snacks.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | w: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active` [INFO] [stdout] --> src/game/snacks.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | active: bool [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/snacks.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new () -> GameResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `collides_with` [INFO] [stdout] --> src/game/snacks.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn collides_with(&mut self, other: Point2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point2` [INFO] [stdout] --> src/game/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | type Point2 = na::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SNACK_W` [INFO] [stdout] --> src/game/config.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | pub const SNACK_W: f32 = 40.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `velocity` [INFO] [stdout] --> src/game/crab.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | velocity: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/game/crab.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | w: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `s` [INFO] [stdout] --> src/game/crab.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | s: f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `increase_score` [INFO] [stdout] --> src/game/player.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn increase_score(&mut self) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `movedir` [INFO] [stdout] --> src/game/player.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn movedir(&mut self, dir: Directions) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Directions` [INFO] [stdout] --> src/game/claw.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum Directions { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `body_anchor` [INFO] [stdout] --> src/game/claw.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | body_anchor: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `joint_anchor` [INFO] [stdout] --> src/game/claw.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | joint_anchor: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/game/claw.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | w: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `h` [INFO] [stdout] --> src/game/claw.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | h: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `s` [INFO] [stdout] --> src/game/claw.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | s: f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `update` [INFO] [stdout] --> src/game/claw.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn update(&mut self, parent_loc: Point2) -> GameResult<&Self> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `draw` [INFO] [stdout] --> src/game/claw.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn draw(&self, ctx: &mut Context, img: &graphics::Image) -> GameResult<&Self> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `movedir` [INFO] [stdout] --> src/game/claw.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn movedir(&mut self, dir:Directions) -> Vector2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `location` [INFO] [stdout] --> src/game/snacks.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | location: Point2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `velocity` [INFO] [stdout] --> src/game/snacks.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | velocity: Vector2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> src/game/snacks.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | w: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `active` [INFO] [stdout] --> src/game/snacks.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | active: bool [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/game/snacks.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | fn new () -> GameResult { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `collides_with` [INFO] [stdout] --> src/game/snacks.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn collides_with(&mut self, other: Point2) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point2` [INFO] [stdout] --> src/game/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | type Point2 = na::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 46 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 44s [INFO] running `Command { std: "docker" "inspect" "7c94efc1c787221a8282815c75c02e18e336e60cb99ec6032b3200c83164d6fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c94efc1c787221a8282815c75c02e18e336e60cb99ec6032b3200c83164d6fa", kill_on_drop: false }` [INFO] [stdout] 7c94efc1c787221a8282815c75c02e18e336e60cb99ec6032b3200c83164d6fa