[INFO] cloning repository https://github.com/molnattila991/rust_physics_engine_2d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/molnattila991/rust_physics_engine_2d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolnattila991%2Frust_physics_engine_2d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolnattila991%2Frust_physics_engine_2d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa90fb94fd4db02971f480d40054515cd1efe408 [INFO] building molnattila991/rust_physics_engine_2d against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolnattila991%2Frust_physics_engine_2d" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/molnattila991/rust_physics_engine_2d on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/molnattila991/rust_physics_engine_2d [INFO] finished tweaking git repo https://github.com/molnattila991/rust_physics_engine_2d [INFO] tweaked toml for git repo https://github.com/molnattila991/rust_physics_engine_2d written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/molnattila991/rust_physics_engine_2d already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eba3a0cf19a058def3468044bf32742790a0faaeaf84826c14b5de2a8284ac51 [INFO] running `Command { std: "docker" "start" "-a" "eba3a0cf19a058def3468044bf32742790a0faaeaf84826c14b5de2a8284ac51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eba3a0cf19a058def3468044bf32742790a0faaeaf84826c14b5de2a8284ac51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eba3a0cf19a058def3468044bf32742790a0faaeaf84826c14b5de2a8284ac51", kill_on_drop: false }` [INFO] [stdout] eba3a0cf19a058def3468044bf32742790a0faaeaf84826c14b5de2a8284ac51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 422664acbf96b69bf7f9c11d9a346de8c4c830c734489272a6566b5ae775a8d9 [INFO] running `Command { std: "docker" "start" "-a" "422664acbf96b69bf7f9c11d9a346de8c4c830c734489272a6566b5ae775a8d9", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.121 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling physics_engine_2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `WHITE` [INFO] [stdout] --> src/game/capsule.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::graphics::colors::{RED, WHITE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `render::Canvas` and `video::Window` [INFO] [stdout] --> src/game/capsule.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::{pixels::Color, render::Canvas, video::Window}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ref_start` and `ref_end` are never read [INFO] [stdout] --> src/game/wall.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Wall { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | ref_start: Vector2D, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | ref_end: Vector2D, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ref_unit` is never read [INFO] [stdout] --> src/game/capsule.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Capsule { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | ref_unit: Vector2D, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:7:137 [INFO] [stdout] | [INFO] [stdout] 7 | ...:Ball, game_entity::{GameEntity, GameEntityMoving}, wall::{Wall, self}, capsule::Capsule}, physics::vector2d::{Vector2D, ExtendedVecto... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_lines_with_color` and `draw_rectangle_with_color` are never used [INFO] [stdout] --> src/graphics/draw.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Draw { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 7 | fn draw_lines_with_color<'a, P>(&mut self, points: P, color: Color) -> Result<(), String> where P: Into<&'a [Point]>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn draw_rectangle_with_color(&mut self, point: Point, width: i32, height: i32, color: Color) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_circle_with_color`, `draw_circle_with_color_thick`, and `draw_circle_with_color_filled` are never used [INFO] [stdout] --> src/graphics/draw.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait DrawCircle { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 12 | fn draw_circle_with_color(&mut self, center: Point, radius: f32, color: Color) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn draw_circle_with_color_thick(&mut self, center: Point, radius: f32, thickness: i8, color: Color) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn draw_circle_with_color_filled(&mut self, center: Point, radius: f32, color: Color) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIGHT_BLUE` is never used [INFO] [stdout] --> src/graphics/colors.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const LIGHT_BLUE: Color = Color::RGB(0, 110, 255); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> src/graphics/colors.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const RED: Color = Color::RGB(255, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/graphics/colors.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const WHITE: Color = Color::RGB(255, 255, 255); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIGHT_GREEN` is never used [INFO] [stdout] --> src/graphics/colors.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const LIGHT_GREEN: Color = Color::RGB(0, 255, 110); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UP` should have a snake case name [INFO] [stdout] --> src/main.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DOWN` should have a snake case name [INFO] [stdout] --> src/main.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEFT` should have a snake case name [INFO] [stdout] --> src/main.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RIGHT` should have a snake case name [INFO] [stdout] --> src/main.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.28s [INFO] running `Command { std: "docker" "inspect" "422664acbf96b69bf7f9c11d9a346de8c4c830c734489272a6566b5ae775a8d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "422664acbf96b69bf7f9c11d9a346de8c4c830c734489272a6566b5ae775a8d9", kill_on_drop: false }` [INFO] [stdout] 422664acbf96b69bf7f9c11d9a346de8c4c830c734489272a6566b5ae775a8d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f72cb68a8c8c0d45adde0af91f082ad0d25ca469aedc35ed7c251f5451ef2335 [INFO] running `Command { std: "docker" "start" "-a" "f72cb68a8c8c0d45adde0af91f082ad0d25ca469aedc35ed7c251f5451ef2335", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `WHITE` [INFO] [stdout] --> src/game/capsule.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::graphics::colors::{RED, WHITE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `render::Canvas` and `video::Window` [INFO] [stdout] --> src/game/capsule.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::{pixels::Color, render::Canvas, video::Window}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling physics_engine_2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `ref_start` and `ref_end` are never read [INFO] [stdout] --> src/game/wall.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Wall { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | ref_start: Vector2D, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | ref_end: Vector2D, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ref_unit` is never read [INFO] [stdout] --> src/game/capsule.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Capsule { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | ref_unit: Vector2D, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WHITE` [INFO] [stdout] --> src/game/capsule.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::graphics::colors::{RED, WHITE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `render::Canvas` and `video::Window` [INFO] [stdout] --> src/game/capsule.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::{pixels::Color, render::Canvas, video::Window}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:7:137 [INFO] [stdout] | [INFO] [stdout] 7 | ...:Ball, game_entity::{GameEntity, GameEntityMoving}, wall::{Wall, self}, capsule::Capsule}, physics::vector2d::{Vector2D, ExtendedVecto... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ref_start` and `ref_end` are never read [INFO] [stdout] --> src/game/wall.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Wall { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | ref_start: Vector2D, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | ref_end: Vector2D, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ref_unit` is never read [INFO] [stdout] --> src/game/capsule.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Capsule { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | ref_unit: Vector2D, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_lines_with_color` and `draw_rectangle_with_color` are never used [INFO] [stdout] --> src/graphics/draw.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Draw { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 7 | fn draw_lines_with_color<'a, P>(&mut self, points: P, color: Color) -> Result<(), String> where P: Into<&'a [Point]>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | fn draw_rectangle_with_color(&mut self, point: Point, width: i32, height: i32, color: Color) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_circle_with_color`, `draw_circle_with_color_thick`, and `draw_circle_with_color_filled` are never used [INFO] [stdout] --> src/graphics/draw.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait DrawCircle { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 12 | fn draw_circle_with_color(&mut self, center: Point, radius: f32, color: Color) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | fn draw_circle_with_color_thick(&mut self, center: Point, radius: f32, thickness: i8, color: Color) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | fn draw_circle_with_color_filled(&mut self, center: Point, radius: f32, color: Color) -> Result<(), String>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIGHT_BLUE` is never used [INFO] [stdout] --> src/graphics/colors.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const LIGHT_BLUE: Color = Color::RGB(0, 110, 255); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> src/graphics/colors.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const RED: Color = Color::RGB(255, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/graphics/colors.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const WHITE: Color = Color::RGB(255, 255, 255); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIGHT_GREEN` is never used [INFO] [stdout] --> src/graphics/colors.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const LIGHT_GREEN: Color = Color::RGB(0, 255, 110); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UP` should have a snake case name [INFO] [stdout] --> src/main.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DOWN` should have a snake case name [INFO] [stdout] --> src/main.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEFT` should have a snake case name [INFO] [stdout] --> src/main.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RIGHT` should have a snake case name [INFO] [stdout] --> src/main.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "f72cb68a8c8c0d45adde0af91f082ad0d25ca469aedc35ed7c251f5451ef2335", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f72cb68a8c8c0d45adde0af91f082ad0d25ca469aedc35ed7c251f5451ef2335", kill_on_drop: false }` [INFO] [stdout] f72cb68a8c8c0d45adde0af91f082ad0d25ca469aedc35ed7c251f5451ef2335