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