[INFO] cloning repository https://github.com/enilsson18/Rust-Hard-Physics-Sim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/enilsson18/Rust-Hard-Physics-Sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenilsson18%2FRust-Hard-Physics-Sim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenilsson18%2FRust-Hard-Physics-Sim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fdb4f153e48b28a15faa6e413c13669de95711c0
[INFO] checking enilsson18/Rust-Hard-Physics-Sim against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fenilsson18%2FRust-Hard-Physics-Sim" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/enilsson18/Rust-Hard-Physics-Sim
[INFO] finished tweaking git repo https://github.com/enilsson18/Rust-Hard-Physics-Sim
[INFO] tweaked toml for git repo https://github.com/enilsson18/Rust-Hard-Physics-Sim written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/enilsson18/Rust-Hard-Physics-Sim on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/enilsson18/Rust-Hard-Physics-Sim 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pollster v0.2.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 31593e0813cfae5d65168b22df72733e6fb9ee9773c6f4c53eb4c2f62de0f27f
[INFO] running `Command { std: "docker" "start" "-a" "31593e0813cfae5d65168b22df72733e6fb9ee9773c6f4c53eb4c2f62de0f27f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "31593e0813cfae5d65168b22df72733e6fb9ee9773c6f4c53eb4c2f62de0f27f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31593e0813cfae5d65168b22df72733e6fb9ee9773c6f4c53eb4c2f62de0f27f", kill_on_drop: false }`
[INFO] [stdout] 31593e0813cfae5d65168b22df72733e6fb9ee9773c6f4c53eb4c2f62de0f27f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8da7be67874241dcb95b24a105116eb5e36ffb44855f848391c3da5959aa77d0
[INFO] running `Command { std: "docker" "start" "-a" "8da7be67874241dcb95b24a105116eb5e36ffb44855f848391c3da5959aa77d0", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.104
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]     Checking crossbeam-epoch v0.9.5
[INFO] [stderr]    Compiling sdl2 v0.35.1
[INFO] [stderr]     Checking approx v0.4.0
[INFO] [stderr]     Checking piston-float v1.0.1
[INFO] [stderr]     Checking gif v0.11.3
[INFO] [stderr]     Checking pollster v0.2.4
[INFO] [stderr]     Checking vecmath v1.0.0
[INFO] [stderr]     Checking cgmath v0.18.0
[INFO] [stderr]    Compiling sdl2-sys v0.35.1
[INFO] [stderr]     Checking crossbeam-deque v0.8.1
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking env_logger v0.9.0
[INFO] [stderr]     Checking rayon-core v1.9.1
[INFO] [stderr]     Checking rayon v1.5.1
[INFO] [stderr]     Checking jpeg-decoder v0.1.22
[INFO] [stderr]     Checking tiff v0.6.1
[INFO] [stderr]     Checking image v0.23.14
[INFO] [stderr]     Checking Rust-Hard-Physics-Sim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `vec2_neg`
[INFO] [stdout]   --> src/main.rs:12:57
[INFO] [stdout]    |
[INFO] [stdout] 12 |     vec2_add, vec2_cross, vec2_dot, vec2_len, vec2_mul, vec2_neg, vec2_normalized, vec2_scale,
[INFO] [stdout]    |                                                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/main.rs:1060:12
[INFO] [stdout]      |
[INFO] [stdout] 1060 |         if (vec2_len(vec2_sub(p_rect.pos, p_rect_b.pos)) < 10.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] 1060 -         if (vec2_len(vec2_sub(p_rect.pos, p_rect_b.pos)) < 10.0) {
[INFO] [stdout] 1060 +         if vec2_len(vec2_sub(p_rect.pos, p_rect_b.pos)) < 10.0  {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vec2_neg`
[INFO] [stdout]   --> src/main.rs:12:57
[INFO] [stdout]    |
[INFO] [stdout] 12 |     vec2_add, vec2_cross, vec2_dot, vec2_len, vec2_mul, vec2_neg, vec2_normalized, vec2_scale,
[INFO] [stdout]    |                                                         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/main.rs:1060:12
[INFO] [stdout]      |
[INFO] [stdout] 1060 |         if (vec2_len(vec2_sub(p_rect.pos, p_rect_b.pos)) < 10.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] 1060 -         if (vec2_len(vec2_sub(p_rect.pos, p_rect_b.pos)) < 10.0) {
[INFO] [stdout] 1060 +         if vec2_len(vec2_sub(p_rect.pos, p_rect_b.pos)) < 10.0  {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |     let mut projection = rect.get_impulse_corners(dt);
[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: unused variable: `norm_line`
[INFO] [stdout]    --> src/main.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 307 |     let norm_line = vec2_normalized(vec2_sub(line[1], line[0]));
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_norm_line`
[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/main.rs:642:33
[INFO] [stdout]     |
[INFO] [stdout] 642 | ...                   let mut normal_a = normals[c as usize];
[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/main.rs:643:33
[INFO] [stdout]     |
[INFO] [stdout] 643 | ...                   let mut normal_b = normals[c as usize];
[INFO] [stdout]     |                           ----^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iter_count`
[INFO] [stdout]    --> src/main.rs:621:9
[INFO] [stdout]     |
[INFO] [stdout] 621 |     for iter_count in 0..iter {
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iter_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:741:13
[INFO] [stdout]     |
[INFO] [stdout] 741 |         for i in 0..1 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]    --> src/main.rs:811:13
[INFO] [stdout]     |
[INFO] [stdout] 811 |         for j in (i + 1)..size {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:306:9
[INFO] [stdout]     |
[INFO] [stdout] 306 |     let mut projection = rect.get_impulse_corners(dt);
[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: unused variable: `norm_line`
[INFO] [stdout]    --> src/main.rs:307:9
[INFO] [stdout]     |
[INFO] [stdout] 307 |     let norm_line = vec2_normalized(vec2_sub(line[1], line[0]));
[INFO] [stdout]     |         ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_norm_line`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]     --> src/main.rs:1061:28
[INFO] [stdout]      |
[INFO] [stdout] 1061 |             let (collided, error, contacts, points, normals) =
[INFO] [stdout]      |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contacts`
[INFO] [stdout]     --> src/main.rs:1061:35
[INFO] [stdout]      |
[INFO] [stdout] 1061 |             let (collided, error, contacts, points, normals) =
[INFO] [stdout]      |                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contacts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl Impulse {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 66 |     pub fn new() -> Impulse {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_total_impulse` and `get_impulse_velocity_dt` are never used
[INFO] [stdout]    --> src/main.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout]  96 | impl PhysicsRect {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn get_total_impulse(&self) -> Impulse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn get_impulse_velocity_dt(&self, dt: f32) -> Vector2<f32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_vec2` is never used
[INFO] [stdout]    --> src/main.rs:264:4
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn print_vec2(vec: Vector2<f32>) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/main.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |         creator: &sdl2::render::TextureCreator<sdl2::video::WindowContext>,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] 31 |     ) -> Result<RenderRect, String> {
[INFO] [stdout]    |                 ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 31 |     ) -> Result<RenderRect<'_>, String> {
[INFO] [stdout]    |                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checkAxisOverlap` should have a snake case name
[INFO] [stdout]    --> src/main.rs:341:4
[INFO] [stdout]     |
[INFO] [stdout] 341 | fn checkAxisOverlap(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_axis_overlap`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:642:33
[INFO] [stdout]     |
[INFO] [stdout] 642 | ...                   let mut normal_a = normals[c as usize];
[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/main.rs:643:33
[INFO] [stdout]     |
[INFO] [stdout] 643 | ...                   let mut normal_b = normals[c as usize];
[INFO] [stdout]     |                           ----^^^^^^^^
[INFO] [stdout]     |                           |
[INFO] [stdout]     |                           help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iter_count`
[INFO] [stdout]    --> src/main.rs:621:9
[INFO] [stdout]     |
[INFO] [stdout] 621 |     for iter_count in 0..iter {
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iter_count`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/main.rs:741:13
[INFO] [stdout]     |
[INFO] [stdout] 741 |         for i in 0..1 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `j`
[INFO] [stdout]    --> src/main.rs:811:13
[INFO] [stdout]     |
[INFO] [stdout] 811 |         for j in (i + 1)..size {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_j`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error`
[INFO] [stdout]     --> src/main.rs:1061:28
[INFO] [stdout]      |
[INFO] [stdout] 1061 |             let (collided, error, contacts, points, normals) =
[INFO] [stdout]      |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_error`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `contacts`
[INFO] [stdout]     --> src/main.rs:1061:35
[INFO] [stdout]      |
[INFO] [stdout] 1061 |             let (collided, error, contacts, points, normals) =
[INFO] [stdout]      |                                   ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contacts`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:826:5
[INFO] [stdout]     |
[INFO] [stdout] 826 | /     canvas
[INFO] [stdout] 827 | |         .with_texture_canvas(texture, |texture_canvas| {
[INFO] [stdout] 828 | |             texture_canvas.clear();
[INFO] [stdout] 829 | |             texture_canvas.set_draw_color(color);
[INFO] [stdout] ...   |
[INFO] [stdout] 833 | |         })
[INFO] [stdout] 834 | |         .map_err(|e| e.to_string());
[INFO] [stdout]     | |___________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 826 |     let _ = canvas
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:838:5
[INFO] [stdout]     |
[INFO] [stdout] 838 | /     canvas.copy_ex(
[INFO] [stdout] 839 | |         &texture,
[INFO] [stdout] 840 | |         None,
[INFO] [stdout] 841 | |         dst,
[INFO] [stdout] ...   |
[INFO] [stdout] 845 | |         false,
[INFO] [stdout] 846 | |     );
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 838 |     let _ = canvas.copy_ex(
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/main.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 65 | impl Impulse {
[INFO] [stdout]    | ------------ associated function in this implementation
[INFO] [stdout] 66 |     pub fn new() -> Impulse {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_total_impulse` and `get_impulse_velocity_dt` are never used
[INFO] [stdout]    --> src/main.rs:146:12
[INFO] [stdout]     |
[INFO] [stdout]  96 | impl PhysicsRect {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn get_total_impulse(&self) -> Impulse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn get_impulse_velocity_dt(&self, dt: f32) -> Vector2<f32> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_vec2` is never used
[INFO] [stdout]    --> src/main.rs:264:4
[INFO] [stdout]     |
[INFO] [stdout] 264 | fn print_vec2(vec: Vector2<f32>) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/main.rs:30:18
[INFO] [stdout]    |
[INFO] [stdout] 30 |         creator: &sdl2::render::TextureCreator<sdl2::video::WindowContext>,
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the lifetime is elided here
[INFO] [stdout] 31 |     ) -> Result<RenderRect, String> {
[INFO] [stdout]    |                 ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 31 |     ) -> Result<RenderRect<'_>, String> {
[INFO] [stdout]    |                           ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `checkAxisOverlap` should have a snake case name
[INFO] [stdout]    --> src/main.rs:341:4
[INFO] [stdout]     |
[INFO] [stdout] 341 | fn checkAxisOverlap(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_axis_overlap`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:826:5
[INFO] [stdout]     |
[INFO] [stdout] 826 | /     canvas
[INFO] [stdout] 827 | |         .with_texture_canvas(texture, |texture_canvas| {
[INFO] [stdout] 828 | |             texture_canvas.clear();
[INFO] [stdout] 829 | |             texture_canvas.set_draw_color(color);
[INFO] [stdout] ...   |
[INFO] [stdout] 833 | |         })
[INFO] [stdout] 834 | |         .map_err(|e| e.to_string());
[INFO] [stdout]     | |___________________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 826 |     let _ = canvas
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:838:5
[INFO] [stdout]     |
[INFO] [stdout] 838 | /     canvas.copy_ex(
[INFO] [stdout] 839 | |         &texture,
[INFO] [stdout] 840 | |         None,
[INFO] [stdout] 841 | |         dst,
[INFO] [stdout] ...   |
[INFO] [stdout] 845 | |         false,
[INFO] [stdout] 846 | |     );
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 838 |     let _ = canvas.copy_ex(
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.46s
[INFO] running `Command { std: "docker" "inspect" "8da7be67874241dcb95b24a105116eb5e36ffb44855f848391c3da5959aa77d0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8da7be67874241dcb95b24a105116eb5e36ffb44855f848391c3da5959aa77d0", kill_on_drop: false }`
[INFO] [stdout] 8da7be67874241dcb95b24a105116eb5e36ffb44855f848391c3da5959aa77d0
