[INFO] cloning repository https://github.com/boleaczek/TacticalSquares [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boleaczek/TacticalSquares" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboleaczek%2FTacticalSquares", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboleaczek%2FTacticalSquares'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1964f3dfe374f58a89b5bcbd6e4ff4f29f39894e [INFO] checking boleaczek/TacticalSquares against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboleaczek%2FTacticalSquares" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/boleaczek/TacticalSquares on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/boleaczek/TacticalSquares [INFO] finished tweaking git repo https://github.com/boleaczek/TacticalSquares [INFO] tweaked toml for git repo https://github.com/boleaczek/TacticalSquares written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/boleaczek/TacticalSquares already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 777cd474e278d79218182ea83fd5752d8b3512383b3d2679f5af892c6e4d353d [INFO] running `Command { std: "docker" "start" "-a" "777cd474e278d79218182ea83fd5752d8b3512383b3d2679f5af892c6e4d353d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "777cd474e278d79218182ea83fd5752d8b3512383b3d2679f5af892c6e4d353d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "777cd474e278d79218182ea83fd5752d8b3512383b3d2679f5af892c6e4d353d", kill_on_drop: false }` [INFO] [stdout] 777cd474e278d79218182ea83fd5752d8b3512383b3d2679f5af892c6e4d353d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 67fd36c2fdc1e76c66854cf52ab5cc947a3fddab2bcc489c911b8f5290d3b2f3 [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" "67fd36c2fdc1e76c66854cf52ab5cc947a3fddab2bcc489c911b8f5290d3b2f3", kill_on_drop: false }` [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 byteorder v1.3.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Checking piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking shader_version v0.6.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking wayland-sys v0.21.13 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking png v0.15.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Checking rayon-core v1.6.1 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking piston2d-graphics v0.35.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Checking rayon v1.2.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Checking wayland-commons v0.21.13 [INFO] [stderr] Checking jpeg-decoder v0.1.16 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking tiff v0.3.1 [INFO] [stderr] Checking image v0.22.3 [INFO] [stderr] Checking pistoncore-input v0.28.0 [INFO] [stderr] Checking piston2d-opengl_graphics v0.70.0 [INFO] [stderr] Checking smithay-client-toolkit v0.4.6 [INFO] [stderr] Checking winit v0.19.5 [INFO] [stderr] Checking pistoncore-window v0.44.0 [INFO] [stderr] Checking pistoncore-event_loop v0.49.0 [INFO] [stderr] Checking piston v0.49.0 [INFO] [stderr] Checking glutin v0.21.2 [INFO] [stderr] Checking pistoncore-glutin_window v0.63.0 [INFO] [stderr] Checking tactical_squares v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `EventLoop` [INFO] [stdout] --> src/main.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use piston::event_loop::{Events, EventSettings, EventLoop}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Size` [INFO] [stdout] --> src/game_controller/game_managers.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::algebra_basics::{Coordinates, Size}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LineEquation`, `Size` [INFO] [stdout] --> src/game_controller/movement_manager.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::algebra_basics::{Coordinates, Size, Vector, LineEquation}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_data::gameboard::Gameboard` [INFO] [stdout] --> src/game_controller/movement_manager.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game_data::gameboard::Gameboard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameObjectType`, `GameObject` [INFO] [stdout] --> src/game_controller/movement_manager.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::game_data::game_object::{GameObject, GameObjectType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Vector` [INFO] [stdout] --> src/game_controller/movement_manager.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | use crate::algebra_basics::{Coordinates, LineEquation, Vector, Size, RectangleLineEquations}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::types::Color` [INFO] [stdout] --> src/gameboard_view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use graphics::types::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/game_data/gameboard.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::boxed::Box` [INFO] [stdout] --> src/game_data/gameboard.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_data::game_object` [INFO] [stdout] --> src/game_data/gameboard.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::game_data::game_object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_data::game_object::GameObjectType` [INFO] [stdout] --> src/game_data/gameboard.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::game_data::game_object::GameObjectType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Size` [INFO] [stdout] --> src/game_data/gameboard.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::algebra_basics::{Coordinates, Size}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/debug_utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num` [INFO] [stdout] --> src/debug_utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::num; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EventLoop` [INFO] [stdout] --> src/main.rs:8:49 [INFO] [stdout] | [INFO] [stdout] 8 | use piston::event_loop::{Events, EventSettings, EventLoop}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Size` [INFO] [stdout] --> src/game_controller/game_managers.rs:3:42 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::algebra_basics::{Coordinates, Size}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LineEquation`, `Size` [INFO] [stdout] --> src/game_controller/movement_manager.rs:1:42 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::algebra_basics::{Coordinates, Size, Vector, LineEquation}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_data::gameboard::Gameboard` [INFO] [stdout] --> src/game_controller/movement_manager.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::game_data::gameboard::Gameboard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GameObjectType`, `GameObject` [INFO] [stdout] --> src/game_controller/movement_manager.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::game_data::game_object::{GameObject, GameObjectType}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RectangleLineEquations`, `Size`, `Vector` [INFO] [stdout] --> src/game_controller/movement_manager.rs:53:56 [INFO] [stdout] | [INFO] [stdout] 53 | use crate::algebra_basics::{Coordinates, LineEquation, Vector, Size, RectangleLineEquations}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `graphics::types::Color` [INFO] [stdout] --> src/gameboard_view.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use graphics::types::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/game_data/gameboard.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::boxed::Box` [INFO] [stdout] --> src/game_data/gameboard.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::boxed::Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_data::game_object` [INFO] [stdout] --> src/game_data/gameboard.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::game_data::game_object; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game_data::game_object::GameObjectType` [INFO] [stdout] --> src/game_data/gameboard.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::game_data::game_object::GameObjectType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Size` [INFO] [stdout] --> src/game_data/gameboard.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::algebra_basics::{Coordinates, Size}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/debug_utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::num` [INFO] [stdout] --> src/debug_utils.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::num; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/debug_utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_equation` [INFO] [stdout] --> src/game_controller/movement_manager.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let line_equation = LineEquation::get_line_equation(start, destination); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_equation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/game_controller/movement_manager.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | for object in game_objects { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_equation` [INFO] [stdout] --> src/game_controller/movement_manager.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | fn check_if_object_is_an_obstacle(line_equation: &LineEquation, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_equation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction_x` [INFO] [stdout] --> src/game_controller/movement_manager.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | direction_x: &MovementDirection, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction_y` [INFO] [stdout] --> src/game_controller/movement_manager.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | direction_y: &MovementDirection, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/game_controller/movement_manager.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | object: &GameObject) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude` [INFO] [stdout] --> src/debug_utils.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_equation` [INFO] [stdout] --> src/game_controller/movement_manager.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let line_equation = LineEquation::get_line_equation(start, destination); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_equation` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/game_controller/movement_manager.rs:83:13 [INFO] [stdout] | [INFO] [stdout] 83 | for object in game_objects { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_equation` [INFO] [stdout] --> src/game_controller/movement_manager.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | fn check_if_object_is_an_obstacle(line_equation: &LineEquation, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_equation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction_x` [INFO] [stdout] --> src/game_controller/movement_manager.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | direction_x: &MovementDirection, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `direction_y` [INFO] [stdout] --> src/game_controller/movement_manager.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | direction_y: &MovementDirection, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_direction_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `object` [INFO] [stdout] --> src/game_controller/movement_manager.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | object: &GameObject) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game_controller/game_managers.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut basic_state = state.get_basic_state(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game_controller/game_managers.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | let mut basic_state = state.get_basic_state(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/testing.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut gameboard = setup_gameboard_with_selectable_object(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/testing.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut gameboard = setup_gameboard_with_selectable_object(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `None` [INFO] [stdout] --> src/game_controller/movement_manager.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | None, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Forward` [INFO] [stdout] --> src/game_controller/movement_manager.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | Forward, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Backward` [INFO] [stdout] --> src/game_controller/movement_manager.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | Backward [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/game_controller/movement_manager.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | fn get(a: f64, b: f64) -> MovementDirection { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `check_if_object_is_an_obstacle` [INFO] [stdout] --> src/game_controller/movement_manager.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | fn check_if_object_is_an_obstacle(line_equation: &LineEquation, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/algebra_basics.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn get(line_equation: &LineEquation, rectangle_line_equations: &RectangleLineEquations) -> RectangleIntersectionPoints { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `setup_rectangle_line_equations` [INFO] [stdout] --> src/game_controller/movement_manager.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 111 | fn setup_rectangle_line_equations() -> RectangleLineEquations { [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: `get` [INFO] [stdout] --> src/algebra_basics.rs:177:8 [INFO] [stdout] | [INFO] [stdout] 177 | fn get(line_equation: &LineEquation, rectangle_line_equations: &RectangleLineEquations) -> RectangleIntersectionPoints { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 25s [INFO] running `Command { std: "docker" "inspect" "67fd36c2fdc1e76c66854cf52ab5cc947a3fddab2bcc489c911b8f5290d3b2f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67fd36c2fdc1e76c66854cf52ab5cc947a3fddab2bcc489c911b8f5290d3b2f3", kill_on_drop: false }` [INFO] [stdout] 67fd36c2fdc1e76c66854cf52ab5cc947a3fddab2bcc489c911b8f5290d3b2f3