[INFO] cloning repository https://github.com/NedasR/coffee_shooter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NedasR/coffee_shooter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNedasR%2Fcoffee_shooter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNedasR%2Fcoffee_shooter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3baa21ade127fdd912b464e3c4d522996db019a4 [INFO] building NedasR/coffee_shooter against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNedasR%2Fcoffee_shooter" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/NedasR/coffee_shooter [INFO] finished tweaking git repo https://github.com/NedasR/coffee_shooter [INFO] tweaked toml for git repo https://github.com/NedasR/coffee_shooter written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/NedasR/coffee_shooter on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/NedasR/coffee_shooter 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chlorine v1.0.13 [INFO] [stderr] Downloaded raylib_imgui_rs v0.2.0 [INFO] [stderr] Downloaded cmake v0.1.52 [INFO] [stderr] Downloaded raylib v5.0.2 [INFO] [stderr] Downloaded box2d-rs v0.0.4 [INFO] [stderr] Downloaded imgui v0.12.0 [INFO] [stderr] Downloaded syn v2.0.93 [INFO] [stderr] Downloaded raylib-sys v5.0.2 [INFO] [stderr] Downloaded imgui-sys v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e5b3d10bd137ef3056e4a7a0bccf81f7696b06dfbfc0f55ed4570e4d295e7df [INFO] running `Command { std: "docker" "start" "-a" "0e5b3d10bd137ef3056e4a7a0bccf81f7696b06dfbfc0f55ed4570e4d295e7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e5b3d10bd137ef3056e4a7a0bccf81f7696b06dfbfc0f55ed4570e4d295e7df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e5b3d10bd137ef3056e4a7a0bccf81f7696b06dfbfc0f55ed4570e4d295e7df", kill_on_drop: false }` [INFO] [stdout] 0e5b3d10bd137ef3056e4a7a0bccf81f7696b06dfbfc0f55ed4570e4d295e7df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aa6e7ee8637c329f6c84eebbcfc34e56b4b2629dfdc71e4972ec9131bb748e3 [INFO] running `Command { std: "docker" "start" "-a" "7aa6e7ee8637c329f6c84eebbcfc34e56b4b2629dfdc71e4972ec9131bb748e3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling cc v1.2.6 [INFO] [stderr] Compiling hibitset v0.6.4 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling mint v0.5.9 [INFO] [stderr] Compiling chlorine v1.0.13 [INFO] [stderr] Compiling shrev v1.1.3 [INFO] [stderr] Compiling box2d-rs v0.0.4 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.93 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling imgui-sys v0.12.0 [INFO] [stderr] Compiling tynm v0.1.10 [INFO] [stderr] Compiling shred v0.10.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling specs v0.16.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling imgui v0.12.0 [INFO] [stderr] Compiling raylib-sys v5.0.2 [INFO] [stderr] Compiling raylib v5.0.2 [INFO] [stderr] Compiling raylib_imgui_rs v0.2.0 [INFO] [stderr] Compiling raylib_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::player::Player` [INFO] [stdout] --> src/bootstrap.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::player::Player; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `box2d_rs::b2_body::BodyPtr` [INFO] [stdout] --> src/bootstrap.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use box2d_rs::b2_body::BodyPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `box2d_rs::b2_fixture::FixturePtr` [INFO] [stdout] --> src/bootstrap.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use box2d_rs::b2_fixture::FixturePtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `box2d_rs::b2_math::*` [INFO] [stdout] --> src/bootstrap.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use box2d_rs::b2_math::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `box2d_rs::b2_world::*` [INFO] [stdout] --> src/bootstrap.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use box2d_rs::b2_world::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `box2d_rs::shapes` [INFO] [stdout] --> src/bootstrap.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use box2d_rs::shapes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/bootstrap.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/bootstrap.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bootstrap.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bootstrap.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if (ptrs.len() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - if (ptrs.len() > 0) { [INFO] [stdout] 168 + if ptrs.len() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::LoadTexture` [INFO] [stdout] --> src/player.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ffi::LoadTexture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::ffi::Vector2` [INFO] [stdout] --> src/systems/editor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `FontSource` [INFO] [stdout] --> src/util/im_gui_text_buffer.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use imgui::{Context, FontSource}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::prelude::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use raylib::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bootstrap.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | let (mut rl, thread) = raylib::init() [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bootstrap.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut G = box2d_rs::b2_math::B2vec2::new(0.0, 0.0); [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/bootstrap.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut camera = Camera2D { [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/bootstrap.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut render_manager = render_manager::RenderManager::new(); [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/bootstrap.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut texture_manager = TextureManger::new(rl.clone(),rt.clone()); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `delta_time` is never read [INFO] [stdout] --> src/bootstrap.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let mut delta_time: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_postion` is never read [INFO] [stdout] --> src/bootstrap.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let mut last_postion = Vector2::new(0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex` [INFO] [stdout] --> src/bootstrap.rs:210:37 [INFO] [stdout] | [INFO] [stdout] 210 | ... let vertex: B2vec2 = poly.m_vertices[i]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bootstrap.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | let mut body_fixture: std::cell::RefMut< [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/bootstrap.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | let mut body_fixture: std::cell::RefMut< [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rl` [INFO] [stdout] --> src/player.rs:76:38 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn player_look_at(&mut self, rl: &mut RaylibHandle, mouse : &mut Vector2) // fix problem with look at when going to from postive ... [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rl` [INFO] [stdout] --> src/systems/input.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | fn input_update(&mut self, rl: &mut RaylibHandle, mouse : &mut Vector2, delta_time: &mut f32) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse` [INFO] [stdout] --> src/systems/input.rs:4:55 [INFO] [stdout] | [INFO] [stdout] 4 | fn input_update(&mut self, rl: &mut RaylibHandle, mouse : &mut Vector2, delta_time: &mut f32) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/systems/input.rs:4:77 [INFO] [stdout] | [INFO] [stdout] 4 | fn input_update(&mut self, rl: &mut RaylibHandle, mouse : &mut Vector2, delta_time: &mut f32) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyUserDataType` is more private than the item `GameContext::collsion_world` [INFO] [stdout] --> src/bootstrap.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub collsion_world: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `GameContext::collsion_world` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MyUserDataType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bootstrap.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | struct MyUserDataType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/bootstrap.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | struct MyBodyData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 31 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyBodyData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/bootstrap.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | struct MyFixtureData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 36 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyFixtureData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/bootstrap.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | struct MyJointData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 41 | pub index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyJointData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `render_manager` is never read [INFO] [stdout] --> src/bootstrap.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct GameContext { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub render_manager: RenderManager, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `body_def`, `body_handle`, and `body_fixture` are never read [INFO] [stdout] --> src/bootstrap.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 269 | struct PhysicsBody { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 270 | body_def: B2bodyDef, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 271 | body_handle: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 272 | body_fixture: B2fixtureDef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DIR` is never used [INFO] [stdout] --> src/player.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub static mut DIR: f32 = 0.; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `velocity`, `lastmouse`, and `cursor_state` are never read [INFO] [stdout] --> src/player.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Player [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub velocity: Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub lastmouse: Vector2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub cursor_state : bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Editor` is never constructed [INFO] [stdout] --> src/systems/editor.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Editor [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/systems/editor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Editor [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | { [INFO] [stdout] 11 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear`, `push_bool`, and `push_int` are never used [INFO] [stdout] --> src/util/im_gui_text_buffer.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ImGuiTextBuffer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn push_bool(&mut self, label: &str, value: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn push_int(&mut self, label: &str, value: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `render_graph` is never read [INFO] [stdout] --> src/core/render_manager.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RenderManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | render_graph: vec::Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_pass` is never used [INFO] [stdout] --> src/core/render_manager.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl RenderManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn render_pass(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_texture` is never used [INFO] [stdout] --> src/core/texture_manger.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TextureManger { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn add_texture(&mut self, texture_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/bootstrap.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let mut G = box2d_rs::b2_math::B2vec2::new(0.0, 0.0); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "7aa6e7ee8637c329f6c84eebbcfc34e56b4b2629dfdc71e4972ec9131bb748e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aa6e7ee8637c329f6c84eebbcfc34e56b4b2629dfdc71e4972ec9131bb748e3", kill_on_drop: false }` [INFO] [stdout] 7aa6e7ee8637c329f6c84eebbcfc34e56b4b2629dfdc71e4972ec9131bb748e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d96acf294252021d5792f24bb49fd5dba258e5dd234f29ce86dec64e676847d0 [INFO] running `Command { std: "docker" "start" "-a" "d96acf294252021d5792f24bb49fd5dba258e5dd234f29ce86dec64e676847d0", kill_on_drop: false }` [INFO] [stderr] Compiling raylib_game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::player::Player` [INFO] [stdout] --> src/bootstrap.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::player::Player; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `box2d_rs::b2_body::BodyPtr` [INFO] [stdout] --> src/bootstrap.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use box2d_rs::b2_body::BodyPtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `box2d_rs::b2_fixture::FixturePtr` [INFO] [stdout] --> src/bootstrap.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use box2d_rs::b2_fixture::FixturePtr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `box2d_rs::b2_math::*` [INFO] [stdout] --> src/bootstrap.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use box2d_rs::b2_math::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `box2d_rs::b2_world::*` [INFO] [stdout] --> src/bootstrap.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use box2d_rs::b2_world::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `box2d_rs::shapes` [INFO] [stdout] --> src/bootstrap.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use box2d_rs::shapes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/bootstrap.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::default` [INFO] [stdout] --> src/bootstrap.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use std::default; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> src/bootstrap.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/bootstrap.rs:168:20 [INFO] [stdout] | [INFO] [stdout] 168 | if (ptrs.len() > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 168 - if (ptrs.len() > 0) { [INFO] [stdout] 168 + if ptrs.len() > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ffi::LoadTexture` [INFO] [stdout] --> src/player.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use ffi::LoadTexture; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f32::consts::PI` [INFO] [stdout] --> src/player.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::f32::consts::PI; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::ffi::Vector2` [INFO] [stdout] --> src/systems/editor.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use raylib::ffi::Vector2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `FontSource` [INFO] [stdout] --> src/util/im_gui_text_buffer.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use imgui::{Context, FontSource}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `raylib::prelude::*` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use raylib::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bootstrap.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | let (mut rl, thread) = raylib::init() [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bootstrap.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut G = box2d_rs::b2_math::B2vec2::new(0.0, 0.0); [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/bootstrap.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | let mut camera = Camera2D { [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/bootstrap.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let mut render_manager = render_manager::RenderManager::new(); [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/bootstrap.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut texture_manager = TextureManger::new(rl.clone(),rt.clone()); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `delta_time` is never read [INFO] [stdout] --> src/bootstrap.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | let mut delta_time: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `last_postion` is never read [INFO] [stdout] --> src/bootstrap.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | let mut last_postion = Vector2::new(0.0, 0.0); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vertex` [INFO] [stdout] --> src/bootstrap.rs:210:37 [INFO] [stdout] | [INFO] [stdout] 210 | ... let vertex: B2vec2 = poly.m_vertices[i]; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_vertex` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bootstrap.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | let mut body_fixture: std::cell::RefMut< [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/bootstrap.rs:200:29 [INFO] [stdout] | [INFO] [stdout] 200 | let mut body_fixture: std::cell::RefMut< [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rl` [INFO] [stdout] --> src/player.rs:76:38 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn player_look_at(&mut self, rl: &mut RaylibHandle, mouse : &mut Vector2) // fix problem with look at when going to from postive ... [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rl` [INFO] [stdout] --> src/systems/input.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | fn input_update(&mut self, rl: &mut RaylibHandle, mouse : &mut Vector2, delta_time: &mut f32) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_rl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse` [INFO] [stdout] --> src/systems/input.rs:4:55 [INFO] [stdout] | [INFO] [stdout] 4 | fn input_update(&mut self, rl: &mut RaylibHandle, mouse : &mut Vector2, delta_time: &mut f32) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `delta_time` [INFO] [stdout] --> src/systems/input.rs:4:77 [INFO] [stdout] | [INFO] [stdout] 4 | fn input_update(&mut self, rl: &mut RaylibHandle, mouse : &mut Vector2, delta_time: &mut f32) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_delta_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `MyUserDataType` is more private than the item `GameContext::collsion_world` [INFO] [stdout] --> src/bootstrap.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | pub collsion_world: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `GameContext::collsion_world` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `MyUserDataType` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/bootstrap.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | struct MyUserDataType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/bootstrap.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 30 | struct MyBodyData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 31 | pub id: u32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyBodyData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `label` is never read [INFO] [stdout] --> src/bootstrap.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 35 | struct MyFixtureData { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 36 | pub label: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyFixtureData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/bootstrap.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | struct MyJointData { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 41 | pub index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyJointData` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `render_manager` is never read [INFO] [stdout] --> src/bootstrap.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct GameContext { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 60 | pub render_manager: RenderManager, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `body_def`, `body_handle`, and `body_fixture` are never read [INFO] [stdout] --> src/bootstrap.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 269 | struct PhysicsBody { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 270 | body_def: B2bodyDef, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 271 | body_handle: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 272 | body_fixture: B2fixtureDef, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DIR` is never used [INFO] [stdout] --> src/player.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | pub static mut DIR: f32 = 0.; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `velocity`, `lastmouse`, and `cursor_state` are never read [INFO] [stdout] --> src/player.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Player [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub velocity: Vector2, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | pub lastmouse: Vector2, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub cursor_state : bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Editor` is never constructed [INFO] [stdout] --> src/systems/editor.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct Editor [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/systems/editor.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Editor [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 10 | { [INFO] [stdout] 11 | pub fn new() -> Self [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `clear`, `push_bool`, and `push_int` are never used [INFO] [stdout] --> src/util/im_gui_text_buffer.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ImGuiTextBuffer { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn push_bool(&mut self, label: &str, value: bool) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn push_int(&mut self, label: &str, value: i32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `render_graph` is never read [INFO] [stdout] --> src/core/render_manager.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct RenderManager { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 5 | render_graph: vec::Vec, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `render_pass` is never used [INFO] [stdout] --> src/core/render_manager.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl RenderManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn render_pass(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_texture` is never used [INFO] [stdout] --> src/core/texture_manger.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl TextureManger { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn add_texture(&mut self, texture_path: &str) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/bootstrap.rs:79:17 [INFO] [stdout] | [INFO] [stdout] 79 | let mut G = box2d_rs::b2_math::B2vec2::new(0.0, 0.0); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s [INFO] running `Command { std: "docker" "inspect" "d96acf294252021d5792f24bb49fd5dba258e5dd234f29ce86dec64e676847d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d96acf294252021d5792f24bb49fd5dba258e5dd234f29ce86dec64e676847d0", kill_on_drop: false }` [INFO] [stdout] d96acf294252021d5792f24bb49fd5dba258e5dd234f29ce86dec64e676847d0