[INFO] cloning repository https://github.com/Sk3pz/micro_golf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Sk3pz/micro_golf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSk3pz%2Fmicro_golf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSk3pz%2Fmicro_golf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9efb9b6d07e66ff77b136c92d94977ad16150bf0 [INFO] testing Sk3pz/micro_golf against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSk3pz%2Fmicro_golf" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Sk3pz/micro_golf on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Sk3pz/micro_golf [INFO] finished tweaking git repo https://github.com/Sk3pz/micro_golf [INFO] tweaked toml for git repo https://github.com/Sk3pz/micro_golf written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/Sk3pz/micro_golf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lyon_algorithms v0.17.4 [INFO] [stderr] Downloaded lyon_tessellation v0.17.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1cc34d2aa109307359d9b7bd6a890542405577433292c884003263ea791d83ad [INFO] running `Command { std: "docker" "start" "-a" "1cc34d2aa109307359d9b7bd6a890542405577433292c884003263ea791d83ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1cc34d2aa109307359d9b7bd6a890542405577433292c884003263ea791d83ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc34d2aa109307359d9b7bd6a890542405577433292c884003263ea791d83ad", kill_on_drop: false }` [INFO] [stdout] 1cc34d2aa109307359d9b7bd6a890542405577433292c884003263ea791d83ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9acc4dc1c4c3a0fcd02e619bff800e4837cfb01ea8599b5a27f1df3d87e91c26 [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" "9acc4dc1c4c3a0fcd02e619bff800e4837cfb01ea8599b5a27f1df3d87e91c26", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling mint v0.5.6 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling euclid v0.22.6 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling ordered-float v2.7.0 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling glam v0.15.2 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling owned_ttf_parser v0.12.1 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling ab_glyph v0.2.11 [INFO] [stderr] Compiling lyon_geom v0.17.5 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling lyon_path v0.17.6 [INFO] [stderr] Compiling xcursor v0.3.3 [INFO] [stderr] Compiling lyon_tessellation v0.17.8 [INFO] [stderr] Compiling lyon_algorithms v0.17.4 [INFO] [stderr] Compiling nix v0.20.1 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling lyon v0.17.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling directories v3.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling twox-hash v1.6.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling alsa v0.5.0 [INFO] [stderr] Compiling gilrs-core v0.3.1 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Compiling gilrs v0.8.1 [INFO] [stderr] Compiling glyph_brush v0.7.2 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling thiserror v1.0.26 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling ggez v0.6.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling old_school_gfx_glutin_ext v0.26.0 [INFO] [stderr] Compiling micro_golf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GameError` [INFO] [stdout] --> src/game.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::{Context, GameResult, graphics, GameError, timer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Axis`, `Button`, `ErrorOrigin`, `GamepadId` [INFO] [stdout] --> src/game.rs:4:55 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::event::{EventHandler, MouseButton, KeyMods, Button, GamepadId, Axis, ErrorOrigin, KeyCode}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::mint::Vector2` [INFO] [stdout] --> src/entity.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::mint::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::mint::Point2` [INFO] [stdout] --> src/entity/ball.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::mint::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WINDOW_HEIGHT`, `WINDOW_WIDTH` [INFO] [stdout] --> src/entity/ball.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{WINDOW_WIDTH, WINDOW_HEIGHT}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn hit(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn handle_collisions(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 54 | fn distance_from_ball_to_cursor(&self, x: f32, y: f32) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seconds` [INFO] [stdout] --> src/game.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let seconds = 1.0 / (DESIRED_FPS as f32); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/game.rs:113:62 [INFO] [stdout] | [INFO] [stdout] 113 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game.rs:113:83 [INFO] [stdout] | [INFO] [stdout] 113 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:113:91 [INFO] [stdout] | [INFO] [stdout] 113 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/game.rs:117:60 [INFO] [stdout] | [INFO] [stdout] 117 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game.rs:117:81 [INFO] [stdout] | [INFO] [stdout] 117 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:117:89 [INFO] [stdout] | [INFO] [stdout] 117 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game.rs:121:57 [INFO] [stdout] | [INFO] [stdout] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:121:65 [INFO] [stdout] | [INFO] [stdout] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dx` [INFO] [stdout] --> src/game.rs:121:73 [INFO] [stdout] | [INFO] [stdout] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dy` [INFO] [stdout] --> src/game.rs:121:82 [INFO] [stdout] | [INFO] [stdout] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | fn key_down_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods, repeat: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keycode` [INFO] [stdout] --> src/game.rs:125:53 [INFO] [stdout] | [INFO] [stdout] 125 | fn key_down_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods, repeat: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keycode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymods` [INFO] [stdout] --> src/game.rs:125:71 [INFO] [stdout] | [INFO] [stdout] 125 | fn key_down_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods, repeat: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat` [INFO] [stdout] --> src/game.rs:125:89 [INFO] [stdout] | [INFO] [stdout] 125 | fn key_down_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods, repeat: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | fn key_up_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keycode` [INFO] [stdout] --> src/game.rs:129:51 [INFO] [stdout] | [INFO] [stdout] 129 | fn key_up_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keycode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymods` [INFO] [stdout] --> src/game.rs:129:69 [INFO] [stdout] | [INFO] [stdout] 129 | fn key_up_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hit` [INFO] [stdout] --> src/game.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn hit(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_collisions` [INFO] [stdout] --> src/game.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn handle_collisions(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance_from_ball_to_cursor` [INFO] [stdout] --> src/game.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn distance_from_ball_to_cursor(&self, x: f32, y: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `angle_of_ball_to_cursor` [INFO] [stdout] --> src/game.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn angle_of_ball_to_cursor(&self, x: f32, y: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | graphics::draw(ctx, &self.assets.ball, drawparams); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | graphics::draw(ctx, &strokes_display, (strokes_dest, 0.0, Color::WHITE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | graphics::draw(ctx, &hole_display, (hole_dest, 0.0, Color::WHITE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 13s [INFO] running `Command { std: "docker" "inspect" "9acc4dc1c4c3a0fcd02e619bff800e4837cfb01ea8599b5a27f1df3d87e91c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9acc4dc1c4c3a0fcd02e619bff800e4837cfb01ea8599b5a27f1df3d87e91c26", kill_on_drop: false }` [INFO] [stdout] 9acc4dc1c4c3a0fcd02e619bff800e4837cfb01ea8599b5a27f1df3d87e91c26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--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] 1f89aeb626af7b076a355f9902a322815ff7a18640020629747dabd54e495bd5 [INFO] running `Command { std: "docker" "start" "-a" "1f89aeb626af7b076a355f9902a322815ff7a18640020629747dabd54e495bd5", kill_on_drop: false }` [INFO] [stderr] Compiling micro_golf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `GameError` [INFO] [stdout] --> src/game.rs:3:43 [INFO] [stdout] | [INFO] [stdout] 3 | use ggez::{Context, GameResult, graphics, GameError, timer}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Axis`, `Button`, `ErrorOrigin`, `GamepadId` [INFO] [stdout] --> src/game.rs:4:55 [INFO] [stdout] | [INFO] [stdout] 4 | use ggez::event::{EventHandler, MouseButton, KeyMods, Button, GamepadId, Axis, ErrorOrigin, KeyCode}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::mint::Vector2` [INFO] [stdout] --> src/entity.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ggez::mint::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ggez::mint::Point2` [INFO] [stdout] --> src/entity/ball.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use ggez::mint::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WINDOW_HEIGHT`, `WINDOW_WIDTH` [INFO] [stdout] --> src/entity/ball.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{WINDOW_WIDTH, WINDOW_HEIGHT}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn hit(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:44:41 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn handle_collisions(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:54:52 [INFO] [stdout] | [INFO] [stdout] 54 | fn distance_from_ball_to_cursor(&self, x: f32, y: f32) -> f32 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seconds` [INFO] [stdout] --> src/game.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | let seconds = 1.0 / (DESIRED_FPS as f32); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:113:43 [INFO] [stdout] | [INFO] [stdout] 113 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/game.rs:113:62 [INFO] [stdout] | [INFO] [stdout] 113 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game.rs:113:83 [INFO] [stdout] | [INFO] [stdout] 113 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:113:91 [INFO] [stdout] | [INFO] [stdout] 113 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:117:41 [INFO] [stdout] | [INFO] [stdout] 117 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `button` [INFO] [stdout] --> src/game.rs:117:60 [INFO] [stdout] | [INFO] [stdout] 117 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game.rs:117:81 [INFO] [stdout] | [INFO] [stdout] 117 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:117:89 [INFO] [stdout] | [INFO] [stdout] 117 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:121:38 [INFO] [stdout] | [INFO] [stdout] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/game.rs:121:57 [INFO] [stdout] | [INFO] [stdout] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/game.rs:121:65 [INFO] [stdout] | [INFO] [stdout] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dx` [INFO] [stdout] --> src/game.rs:121:73 [INFO] [stdout] | [INFO] [stdout] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dy` [INFO] [stdout] --> src/game.rs:121:82 [INFO] [stdout] | [INFO] [stdout] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_dy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:125:34 [INFO] [stdout] | [INFO] [stdout] 125 | fn key_down_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods, repeat: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keycode` [INFO] [stdout] --> src/game.rs:125:53 [INFO] [stdout] | [INFO] [stdout] 125 | fn key_down_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods, repeat: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keycode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymods` [INFO] [stdout] --> src/game.rs:125:71 [INFO] [stdout] | [INFO] [stdout] 125 | fn key_down_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods, repeat: bool) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `repeat` [INFO] [stdout] --> src/game.rs:125:89 [INFO] [stdout] | [INFO] [stdout] 125 | fn key_down_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods, repeat: bool) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_repeat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/game.rs:129:32 [INFO] [stdout] | [INFO] [stdout] 129 | fn key_up_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keycode` [INFO] [stdout] --> src/game.rs:129:51 [INFO] [stdout] | [INFO] [stdout] 129 | fn key_up_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keycode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymods` [INFO] [stdout] --> src/game.rs:129:69 [INFO] [stdout] | [INFO] [stdout] 129 | fn key_up_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymods` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hit` [INFO] [stdout] --> src/game.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn hit(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `handle_collisions` [INFO] [stdout] --> src/game.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn handle_collisions(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `distance_from_ball_to_cursor` [INFO] [stdout] --> src/game.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | fn distance_from_ball_to_cursor(&self, x: f32, y: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `angle_of_ball_to_cursor` [INFO] [stdout] --> src/game.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn angle_of_ball_to_cursor(&self, x: f32, y: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | graphics::draw(ctx, &self.assets.ball, drawparams); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | graphics::draw(ctx, &strokes_display, (strokes_dest, 0.0, Color::WHITE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/game.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | graphics::draw(ctx, &hole_display, (hole_dest, 0.0, Color::WHITE)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "1f89aeb626af7b076a355f9902a322815ff7a18640020629747dabd54e495bd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f89aeb626af7b076a355f9902a322815ff7a18640020629747dabd54e495bd5", kill_on_drop: false }` [INFO] [stdout] 1f89aeb626af7b076a355f9902a322815ff7a18640020629747dabd54e495bd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.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] b4732dd70ce942914ec80048fa24876711fec83500b16d42c80ab150b37ff9f1 [INFO] running `Command { std: "docker" "start" "-a" "b4732dd70ce942914ec80048fa24876711fec83500b16d42c80ab150b37ff9f1", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `GameError` [INFO] [stderr] --> src/game.rs:3:43 [INFO] [stderr] | [INFO] [stderr] 3 | use ggez::{Context, GameResult, graphics, GameError, timer}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Axis`, `Button`, `ErrorOrigin`, `GamepadId` [INFO] [stderr] --> src/game.rs:4:55 [INFO] [stderr] | [INFO] [stderr] 4 | use ggez::event::{EventHandler, MouseButton, KeyMods, Button, GamepadId, Axis, ErrorOrigin, KeyCode}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^ ^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ggez::mint::Vector2` [INFO] [stderr] --> src/entity.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use ggez::mint::Vector2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ggez::mint::Point2` [INFO] [stderr] --> src/entity/ball.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use ggez::mint::Point2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `WINDOW_HEIGHT`, `WINDOW_WIDTH` [INFO] [stderr] --> src/entity/ball.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use crate::{WINDOW_WIDTH, WINDOW_HEIGHT}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/game.rs:34:27 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn hit(&mut self, ctx: &Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/game.rs:44:41 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn handle_collisions(&mut self, ctx: &Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/game.rs:54:52 [INFO] [stderr] | [INFO] [stderr] 54 | fn distance_from_ball_to_cursor(&self, x: f32, y: f32) -> f32 { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `seconds` [INFO] [stderr] --> src/game.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | let seconds = 1.0 / (DESIRED_FPS as f32); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seconds` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/game.rs:113:43 [INFO] [stderr] | [INFO] [stderr] 113 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/game.rs:113:62 [INFO] [stderr] | [INFO] [stderr] 113 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/game.rs:113:83 [INFO] [stderr] | [INFO] [stderr] 113 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/game.rs:113:91 [INFO] [stderr] | [INFO] [stderr] 113 | fn mouse_button_down_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/game.rs:117:41 [INFO] [stderr] | [INFO] [stderr] 117 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `button` [INFO] [stderr] --> src/game.rs:117:60 [INFO] [stderr] | [INFO] [stderr] 117 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_button` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/game.rs:117:81 [INFO] [stderr] | [INFO] [stderr] 117 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/game.rs:117:89 [INFO] [stderr] | [INFO] [stderr] 117 | fn mouse_button_up_event(&mut self, ctx: &mut Context, button: MouseButton, x: f32, y: f32) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/game.rs:121:38 [INFO] [stderr] | [INFO] [stderr] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `x` [INFO] [stderr] --> src/game.rs:121:57 [INFO] [stderr] | [INFO] [stderr] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `y` [INFO] [stderr] --> src/game.rs:121:65 [INFO] [stderr] | [INFO] [stderr] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dx` [INFO] [stderr] --> src/game.rs:121:73 [INFO] [stderr] | [INFO] [stderr] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_dx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `dy` [INFO] [stderr] --> src/game.rs:121:82 [INFO] [stderr] | [INFO] [stderr] 121 | fn mouse_motion_event(&mut self, ctx: &mut Context, x: f32, y: f32, dx: f32, dy: f32) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_dy` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/game.rs:125:34 [INFO] [stderr] | [INFO] [stderr] 125 | fn key_down_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods, repeat: bool) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keycode` [INFO] [stderr] --> src/game.rs:125:53 [INFO] [stderr] | [INFO] [stderr] 125 | fn key_down_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods, repeat: bool) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keycode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keymods` [INFO] [stderr] --> src/game.rs:125:71 [INFO] [stderr] | [INFO] [stderr] 125 | fn key_down_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods, repeat: bool) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymods` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `repeat` [INFO] [stderr] --> src/game.rs:125:89 [INFO] [stderr] | [INFO] [stderr] 125 | fn key_down_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods, repeat: bool) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_repeat` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/game.rs:129:32 [INFO] [stderr] | [INFO] [stderr] 129 | fn key_up_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keycode` [INFO] [stderr] --> src/game.rs:129:51 [INFO] [stderr] | [INFO] [stderr] 129 | fn key_up_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keycode` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `keymods` [INFO] [stderr] --> src/game.rs:129:69 [INFO] [stderr] | [INFO] [stderr] 129 | fn key_up_event(&mut self, ctx: &mut Context, keycode: KeyCode, keymods: KeyMods) { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_keymods` [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `hit` [INFO] [stderr] --> src/game.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn hit(&mut self, ctx: &Context) { [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `handle_collisions` [INFO] [stderr] --> src/game.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub fn handle_collisions(&mut self, ctx: &Context) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `distance_from_ball_to_cursor` [INFO] [stderr] --> src/game.rs:54:8 [INFO] [stderr] | [INFO] [stderr] 54 | fn distance_from_ball_to_cursor(&self, x: f32, y: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `angle_of_ball_to_cursor` [INFO] [stderr] --> src/game.rs:67:8 [INFO] [stderr] | [INFO] [stderr] 67 | fn angle_of_ball_to_cursor(&self, x: f32, y: f32) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/game.rs:51:9 [INFO] [stderr] | [INFO] [stderr] 51 | graphics::draw(ctx, &self.assets.ball, drawparams); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/game.rs:104:9 [INFO] [stderr] | [INFO] [stderr] 104 | graphics::draw(ctx, &strokes_display, (strokes_dest, 0.0, Color::WHITE)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/game.rs:105:9 [INFO] [stderr] | [INFO] [stderr] 105 | graphics::draw(ctx, &hole_display, (hole_dest, 0.0, Color::WHITE)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `micro_golf` (bin "micro_golf" test) generated 36 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/micro_golf-032412dda0dcb965) [INFO] [stdout] [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" "b4732dd70ce942914ec80048fa24876711fec83500b16d42c80ab150b37ff9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4732dd70ce942914ec80048fa24876711fec83500b16d42c80ab150b37ff9f1", kill_on_drop: false }` [INFO] [stdout] b4732dd70ce942914ec80048fa24876711fec83500b16d42c80ab150b37ff9f1