[INFO] cloning repository https://github.com/nsmryan/assemble
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nsmryan/assemble" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Fassemble", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Fassemble'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a8f1f6383d67660efa28fcab7b3f5f5083f9695c
[INFO] checking nsmryan/assemble against try#fceb2de603f0807f9049222f3f612ed51ed8f9dc for pr-157576
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnsmryan%2Fassemble" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nsmryan/assemble
[INFO] finished tweaking git repo https://github.com/nsmryan/assemble
[INFO] tweaked toml for git repo https://github.com/nsmryan/assemble written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nsmryan/assemble on toolchain fceb2de603f0807f9049222f3f612ed51ed8f9dc
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fceb2de603f0807f9049222f3f612ed51ed8f9dc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nsmryan/assemble 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" "+fceb2de603f0807f9049222f3f612ed51ed8f9dc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded vec_map v0.8.1
[INFO] [stderr]   Downloaded bitflags v0.9.1
[INFO] [stderr]   Downloaded num v0.1.42
[INFO] [stderr]   Downloaded num-integer v0.1.41
[INFO] [stderr]   Downloaded num-iter v0.1.39
[INFO] [stderr]   Downloaded num-traits v0.2.9
[INFO] [stderr]   Downloaded cc v1.0.47
[INFO] [stderr]   Downloaded wrapped2d v0.4.0
[INFO] [stderr]   Downloaded sdl2 v0.32.2
[INFO] [stderr]   Downloaded sdl2-sys v0.32.6
[INFO] [stderr]   Downloaded libc v0.2.65
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3e793bdf10248eb2ddbd6b0faebed8155c11b4589982e2893733958d93e8d540" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a6f782ad3d4cc706c4a69aafdb2142f4a343dfc698ed68f537322d34db6bd2d7
[INFO] running `Command { std: "docker" "start" "a6f782ad3d4cc706c4a69aafdb2142f4a343dfc698ed68f537322d34db6bd2d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a6f782ad3d4cc706c4a69aafdb2142f4a343dfc698ed68f537322d34db6bd2d7" "/opt/rustwide/cargo-home/bin/cargo" "+fceb2de603f0807f9049222f3f612ed51ed8f9dc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a6f782ad3d4cc706c4a69aafdb2142f4a343dfc698ed68f537322d34db6bd2d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a6f782ad3d4cc706c4a69aafdb2142f4a343dfc698ed68f537322d34db6bd2d7" "/opt/rustwide/cargo-home/bin/cargo" "+fceb2de603f0807f9049222f3f612ed51ed8f9dc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling num-traits v0.2.9
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling num-iter v0.1.39
[INFO] [stderr]    Compiling cc v1.0.47
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]     Checking bitflags v0.9.1
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]    Compiling cmake v0.1.42
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]    Compiling wrapped2d v0.4.0
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking assemble v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::cmp;
[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: `Rect`
[INFO] [stdout]  --> src/main.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sdl2::rect::{Rect, Point};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:231:27
[INFO] [stdout]     |
[INFO] [stdout] 231 |             goal_angle -= (f32::consts::PI / 2.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] 231 -             goal_angle -= (f32::consts::PI / 2.0);
[INFO] [stdout] 231 +             goal_angle -= f32::consts::PI / 2.0 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:269:32
[INFO] [stdout]     |
[INFO] [stdout] 269 |             let body_contact = (body_a == body_handle || body_b == body_handle);
[INFO] [stdout]     |                                ^                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 269 -             let body_contact = (body_a == body_handle || body_b == body_handle);
[INFO] [stdout] 269 +             let body_contact = body_a == body_handle || body_b == body_handle ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:270:32
[INFO] [stdout]     |
[INFO] [stdout] 270 |             let goal_contact = (body_a == goal_handle || body_b == goal_handle);
[INFO] [stdout]     |                                ^                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 270 -             let goal_contact = (body_a == goal_handle || body_b == goal_handle);
[INFO] [stdout] 270 +             let goal_contact = body_a == goal_handle || body_b == goal_handle ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/main.rs:303:60
[INFO] [stdout]     |
[INFO] [stdout] 303 |                 let first_point = sdl2_point(first_vertex);;
[INFO] [stdout]     |                                                            ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::cmp;
[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: `Rect`
[INFO] [stdout]  --> src/main.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 | use sdl2::rect::{Rect, Point};
[INFO] [stdout]   |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:231:27
[INFO] [stdout]     |
[INFO] [stdout] 231 |             goal_angle -= (f32::consts::PI / 2.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] 231 -             goal_angle -= (f32::consts::PI / 2.0);
[INFO] [stdout] 231 +             goal_angle -= f32::consts::PI / 2.0 ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:269:32
[INFO] [stdout]     |
[INFO] [stdout] 269 |             let body_contact = (body_a == body_handle || body_b == body_handle);
[INFO] [stdout]     |                                ^                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 269 -             let body_contact = (body_a == body_handle || body_b == body_handle);
[INFO] [stdout] 269 +             let body_contact = body_a == body_handle || body_b == body_handle ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/main.rs:270:32
[INFO] [stdout]     |
[INFO] [stdout] 270 |             let goal_contact = (body_a == goal_handle || body_b == goal_handle);
[INFO] [stdout]     |                                ^                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 270 -             let goal_contact = (body_a == goal_handle || body_b == goal_handle);
[INFO] [stdout] 270 +             let goal_contact = body_a == goal_handle || body_b == goal_handle ;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> src/main.rs:303:60
[INFO] [stdout]     |
[INFO] [stdout] 303 |                 let first_point = sdl2_point(first_vertex);;
[INFO] [stdout]     |                                                            ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (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:216:17
[INFO] [stdout]     |
[INFO] [stdout] 216 |             let mut body = world.body_mut(body_handle);
[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/main.rs:217:17
[INFO] [stdout]     |
[INFO] [stdout] 217 |             let mut goal_body = world.body_mut(goal_handle);
[INFO] [stdout]     |                 ----^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `goal_angle` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let mut goal_angle = 0.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_goal_angle` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `score` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut score = 0.0;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_score` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keymod`
[INFO] [stdout]    --> src/main.rs:180:41
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 Event::KeyDown{keycode, keymod, ..} => {
[INFO] [stdout]     |                                         ^^^^^^ help: try ignoring the field: `keymod: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keymod`
[INFO] [stdout]    --> src/main.rs:192:39
[INFO] [stdout]     |
[INFO] [stdout] 192 |                 Event::KeyUp{keycode, keymod, ..} => {
[INFO] [stdout]     |                                       ^^^^^^ help: try ignoring the field: `keymod: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:201:36
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 Event::MouseMotion{x, y, ..} => {
[INFO] [stdout]     |                                    ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/main.rs:201:39
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 Event::MouseMotion{x, y, ..} => {
[INFO] [stdout]     |                                       ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_btn`
[INFO] [stdout]    --> src/main.rs:204:40
[INFO] [stdout]     |
[INFO] [stdout] 204 |                 Event::MouseButtonDown{mouse_btn, ..} => {
[INFO] [stdout]     |                                        ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fixture_a`
[INFO] [stdout]    --> src/main.rs:266:26
[INFO] [stdout]     |
[INFO] [stdout] 266 |             let (body_a, fixture_a) = contact.fixture_a();
[INFO] [stdout]     |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixture_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fixture_b`
[INFO] [stdout]    --> src/main.rs:267:26
[INFO] [stdout]     |
[INFO] [stdout] 267 |             let (body_b, fixture_b) = contact.fixture_b();
[INFO] [stdout]     |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixture_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `goal_transform`
[INFO] [stdout]    --> src/main.rs:349:13
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let goal_transform = Transform {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_goal_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `goal_angle` is never read
[INFO] [stdout]    --> src/main.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 226 |                 goal_angle = goal_to_body;
[INFO] [stdout]     |                 ------------------------- `goal_angle` is overwritten here before the previous value is read
[INFO] [stdout] 227 |             } else {
[INFO] [stdout] 228 |                 goal_angle = body_to_goal;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `goal_angle` is never read
[INFO] [stdout]    --> src/main.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 226 |                 goal_angle = goal_to_body;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 231 |             goal_angle -= (f32::consts::PI / 2.0);
[INFO] [stdout]     |             ------------------------------------- `goal_angle` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `goal_angle` is never read
[INFO] [stdout]    --> src/main.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 |             goal_angle -= (f32::consts::PI / 2.0);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 232 |             goal_angle *= -1.0;
[INFO] [stdout]     |             ------------------ `goal_angle` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `goal_angle` is never read
[INFO] [stdout]    --> src/main.rs:232:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |             goal_angle *= -1.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `goal_distance` is never read
[INFO] [stdout]    --> src/main.rs:80:29
[INFO] [stdout]     |
[INFO] [stdout]  80 |     let mut goal_distance = 0.0;
[INFO] [stdout]     |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 234 |             goal_distance = (body.position() - goal_body.position()).norm();
[INFO] [stdout]     |             --------------------------------------------------------------- `goal_distance` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `score` is never read
[INFO] [stdout]    --> src/main.rs:245:17
[INFO] [stdout]     |
[INFO] [stdout] 245 |                 score += 1.0 / denom;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `World` is never used
[INFO] [stdout]   --> src/main.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 | type World = b2::World<NoUserData>;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `thread` is never read
[INFO] [stdout]  --> src/throttler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Throttler {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 7 |     tick_receiver: Receiver<usize>,
[INFO] [stdout] 8 |     thread: thread::JoinHandle<()>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:216:17
[INFO] [stdout]     |
[INFO] [stdout] 216 |             let mut body = world.body_mut(body_handle);
[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/main.rs:217:17
[INFO] [stdout]     |
[INFO] [stdout] 217 |             let mut goal_body = world.body_mut(goal_handle);
[INFO] [stdout]     |                 ----^^^^^^^^^
[INFO] [stdout]     |                 |
[INFO] [stdout]     |                 help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `goal_angle` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:79:9
[INFO] [stdout]    |
[INFO] [stdout] 79 |     let mut goal_angle = 0.0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_goal_angle` instead
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `score` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:81:9
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let mut score = 0.0;
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_score` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keymod`
[INFO] [stdout]    --> src/main.rs:180:41
[INFO] [stdout]     |
[INFO] [stdout] 180 |                 Event::KeyDown{keycode, keymod, ..} => {
[INFO] [stdout]     |                                         ^^^^^^ help: try ignoring the field: `keymod: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `keymod`
[INFO] [stdout]    --> src/main.rs:192:39
[INFO] [stdout]     |
[INFO] [stdout] 192 |                 Event::KeyUp{keycode, keymod, ..} => {
[INFO] [stdout]     |                                       ^^^^^^ help: try ignoring the field: `keymod: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/main.rs:201:36
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 Event::MouseMotion{x, y, ..} => {
[INFO] [stdout]     |                                    ^ help: try ignoring the field: `x: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/main.rs:201:39
[INFO] [stdout]     |
[INFO] [stdout] 201 |                 Event::MouseMotion{x, y, ..} => {
[INFO] [stdout]     |                                       ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_btn`
[INFO] [stdout]    --> src/main.rs:204:40
[INFO] [stdout]     |
[INFO] [stdout] 204 |                 Event::MouseButtonDown{mouse_btn, ..} => {
[INFO] [stdout]     |                                        ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fixture_a`
[INFO] [stdout]    --> src/main.rs:266:26
[INFO] [stdout]     |
[INFO] [stdout] 266 |             let (body_a, fixture_a) = contact.fixture_a();
[INFO] [stdout]     |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixture_a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `fixture_b`
[INFO] [stdout]    --> src/main.rs:267:26
[INFO] [stdout]     |
[INFO] [stdout] 267 |             let (body_b, fixture_b) = contact.fixture_b();
[INFO] [stdout]     |                          ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fixture_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `goal_transform`
[INFO] [stdout]    --> src/main.rs:349:13
[INFO] [stdout]     |
[INFO] [stdout] 349 |         let goal_transform = Transform {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_goal_transform`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `goal_angle` is never read
[INFO] [stdout]    --> src/main.rs:228:17
[INFO] [stdout]     |
[INFO] [stdout] 226 |                 goal_angle = goal_to_body;
[INFO] [stdout]     |                 ------------------------- `goal_angle` is overwritten here before the previous value is read
[INFO] [stdout] 227 |             } else {
[INFO] [stdout] 228 |                 goal_angle = body_to_goal;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `goal_angle` is never read
[INFO] [stdout]    --> src/main.rs:226:17
[INFO] [stdout]     |
[INFO] [stdout] 226 |                 goal_angle = goal_to_body;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 231 |             goal_angle -= (f32::consts::PI / 2.0);
[INFO] [stdout]     |             ------------------------------------- `goal_angle` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `goal_angle` is never read
[INFO] [stdout]    --> src/main.rs:231:13
[INFO] [stdout]     |
[INFO] [stdout] 231 |             goal_angle -= (f32::consts::PI / 2.0);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 232 |             goal_angle *= -1.0;
[INFO] [stdout]     |             ------------------ `goal_angle` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `goal_angle` is never read
[INFO] [stdout]    --> src/main.rs:232:13
[INFO] [stdout]     |
[INFO] [stdout] 232 |             goal_angle *= -1.0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `goal_distance` is never read
[INFO] [stdout]    --> src/main.rs:80:29
[INFO] [stdout]     |
[INFO] [stdout]  80 |     let mut goal_distance = 0.0;
[INFO] [stdout]     |                             ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 234 |             goal_distance = (body.position() - goal_body.position()).norm();
[INFO] [stdout]     |             --------------------------------------------------------------- `goal_distance` is overwritten here before the previous value is read
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `score` is never read
[INFO] [stdout]    --> src/main.rs:245:17
[INFO] [stdout]     |
[INFO] [stdout] 245 |                 score += 1.0 / denom;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `World` is never used
[INFO] [stdout]   --> src/main.rs:36:6
[INFO] [stdout]    |
[INFO] [stdout] 36 | type World = b2::World<NoUserData>;
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `thread` is never read
[INFO] [stdout]  --> src/throttler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct Throttler {
[INFO] [stdout]   |            --------- field in this struct
[INFO] [stdout] 7 |     tick_receiver: Receiver<usize>,
[INFO] [stdout] 8 |     thread: thread::JoinHandle<()>,
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         canvas.draw_lines(&points[..]);
[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] 58 |         let _ = canvas.draw_lines(&points[..]);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/main.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |         canvas.draw_lines(&points[..]);
[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] 58 |         let _ = canvas.draw_lines(&points[..]);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:316:17
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 canvas.draw_line(first_point, last_point);
[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] 316 |                 let _ = canvas.draw_line(first_point, last_point);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/main.rs:316:17
[INFO] [stdout]     |
[INFO] [stdout] 316 |                 canvas.draw_line(first_point, last_point);
[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] 316 |                 let _ = canvas.draw_line(first_point, last_point);
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.45s
[INFO] running `Command { std: "docker" "inspect" "a6f782ad3d4cc706c4a69aafdb2142f4a343dfc698ed68f537322d34db6bd2d7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a6f782ad3d4cc706c4a69aafdb2142f4a343dfc698ed68f537322d34db6bd2d7", kill_on_drop: false }`
[INFO] [stdout] a6f782ad3d4cc706c4a69aafdb2142f4a343dfc698ed68f537322d34db6bd2d7
