[INFO] cloning repository https://github.com/eikrt/tree-game2
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eikrt/tree-game2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feikrt%2Ftree-game2", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feikrt%2Ftree-game2'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 37efc2a4d4f51ad3e47739a5c0f909394a7a087b
[INFO] checking eikrt/tree-game2 against try#14e4661efa5acbf985e4fe564baae04683366cc1 for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feikrt%2Ftree-game2" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/eikrt/tree-game2
[INFO] finished tweaking git repo https://github.com/eikrt/tree-game2
[INFO] tweaked toml for git repo https://github.com/eikrt/tree-game2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/eikrt/tree-game2 on toolchain 14e4661efa5acbf985e4fe564baae04683366cc1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/eikrt/tree-game2 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" "+14e4661efa5acbf985e4fe564baae04683366cc1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] bb6cf13aa7a6ff0122cbcb3b59c184080b8a48768dbdb0f963f8eaf2d88b136e
[INFO] running `Command { std: "docker" "start" "bb6cf13aa7a6ff0122cbcb3b59c184080b8a48768dbdb0f963f8eaf2d88b136e", 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" "bb6cf13aa7a6ff0122cbcb3b59c184080b8a48768dbdb0f963f8eaf2d88b136e" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bb6cf13aa7a6ff0122cbcb3b59c184080b8a48768dbdb0f963f8eaf2d88b136e", 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" "bb6cf13aa7a6ff0122cbcb3b59c184080b8a48768dbdb0f963f8eaf2d88b136e" "/opt/rustwide/cargo-home/bin/cargo" "+14e4661efa5acbf985e4fe564baae04683366cc1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.138
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling sdl2-sys v0.32.6
[INFO] [stderr]    Compiling num-iter v0.1.43
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling sdl2 v0.32.2
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rand_xorshift v0.2.0
[INFO] [stderr]     Checking lerp v0.4.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]     Checking noise v0.8.2
[INFO] [stderr]     Checking tree v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/entities.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::prelude::*;
[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: `sdl2::pixels::Color`
[INFO] [stdout]  --> src/entities.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sdl2::pixels::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/entities.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Seedable`
[INFO] [stdout]  --> src/generator.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use noise::{NoiseFn, Perlin, Seedable};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/generator.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AudioSpecDesired`
[INFO] [stdout]  --> src/sound.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sdl2::audio::{AudioCallback, AudioSpecDesired};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::prelude::*`
[INFO] [stdout]  --> src/entities.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use rand::prelude::*;
[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: `sdl2::pixels::Color`
[INFO] [stdout]  --> src/entities.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use sdl2::pixels::Color;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/entities.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Seedable`
[INFO] [stdout]  --> src/generator.rs:2:30
[INFO] [stdout]   |
[INFO] [stdout] 2 | use noise::{NoiseFn, Perlin, Seedable};
[INFO] [stdout]   |                              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Point`
[INFO] [stdout]  --> src/generator.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use sdl2::rect::Point;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AudioSpecDesired`
[INFO] [stdout]  --> src/sound.rs:1:34
[INFO] [stdout]   |
[INFO] [stdout] 1 | use sdl2::audio::{AudioCallback, AudioSpecDesired};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/geometry.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |         for i in (0)..((10.0) as i32) {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> src/geometry.rs:220:13
[INFO] [stdout]     |
[INFO] [stdout] 220 |         for i in (0)..((10.0) as i32) {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[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/entities.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         for mut l in &mut self.mesh.lines {
[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: value assigned to `p_val` is never read
[INFO] [stdout]   --> src/generator.rs:11:25
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let mut p_val = 0.0;
[INFO] [stdout]    |                         ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 26 |             p_val = (perlin.get([i as f64, 37.7, 2.8]) * 32.0) as f32;
[INFO] [stdout]    |             --------------------------------------------------------- `p_val` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/entities.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 |         for mut l in &mut self.mesh.lines {
[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: value assigned to `p_val` is never read
[INFO] [stdout]   --> src/generator.rs:11:25
[INFO] [stdout]    |
[INFO] [stdout] 11 |         let mut p_val = 0.0;
[INFO] [stdout]    |                         ^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 26 |             p_val = (perlin.get([i as f64, 37.7, 2.8]) * 32.0) as f32;
[INFO] [stdout]    |             --------------------------------------------------------- `p_val` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/geometry.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |         canvas.draw_line(self.get_points_c(camera).0, self.get_points_c(camera).1);
[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] 209 |         let _ = canvas.draw_line(self.get_points_c(camera).0, self.get_points_c(camera).1);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/geometry.rs:209:9
[INFO] [stdout]     |
[INFO] [stdout] 209 |         canvas.draw_line(self.get_points_c(camera).0, self.get_points_c(camera).1);
[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] 209 |         let _ = canvas.draw_line(self.get_points_c(camera).0, self.get_points_c(camera).1);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AudioCallback`
[INFO] [stdout]  --> src/main.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sdl2::audio::{AudioCallback, AudioDevice, AudioSpecDesired};
[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: `MouseState`
[INFO] [stdout]  --> src/main.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::mouse::{MouseButton, MouseState};
[INFO] [stdout]   |                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Rect`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::rect::Rect;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tree::consts_and_vars::*`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tree::consts_and_vars::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tree::utils::*`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tree::utils::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut entities: HashMap<u32, Entity> = HashMap::new();
[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:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut selection_index = 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/main.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut player = Entity::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/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut home_planet = Entity::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/main.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let mut entities_hm = entities.entities.get_mut(&player_chunk_pos).unwrap();
[INFO] [stdout]    |             ----^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entities`
[INFO] [stdout]   --> src/main.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut entities: HashMap<u32, Entity> = HashMap::new();
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `selection_index`
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut selection_index = 0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selection_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player_relative_pos`
[INFO] [stdout]   --> src/main.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let player_relative_pos = (player_pos.0 - camera.pos.0, player_pos.1 - camera.pos.1);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_relative_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |         for (id, e) in entities
[INFO] [stdout]     |              ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AudioCallback`
[INFO] [stdout]  --> src/main.rs:2:19
[INFO] [stdout]   |
[INFO] [stdout] 2 | use sdl2::audio::{AudioCallback, AudioDevice, AudioSpecDesired};
[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: `MouseState`
[INFO] [stdout]  --> src/main.rs:5:32
[INFO] [stdout]   |
[INFO] [stdout] 5 | use sdl2::mouse::{MouseButton, MouseState};
[INFO] [stdout]   |                                ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sdl2::rect::Rect`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sdl2::rect::Rect;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tree::consts_and_vars::*`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tree::consts_and_vars::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tree::utils::*`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use tree::utils::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let mut intersect_point = Point::new(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/main.rs:235:21
[INFO] [stdout]     |
[INFO] [stdout] 235 |                 let mut entities_hm = entities.entities.get_mut(&player_chunk_pos).unwrap();
[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:268:9
[INFO] [stdout]     |
[INFO] [stdout] 268 |     let mut entities_hm = entities.entities.get_mut(&player_chunk_pos).unwrap();
[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:269:9
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let mut player = entities_hm.get_mut(&1).unwrap();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_state`
[INFO] [stdout]    --> src/main.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 155 |     mouse_state: &sdl2::mouse::MouseState,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intersect_point`
[INFO] [stdout]    --> src/main.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let mut intersect_point = Point::new(0, 0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersect_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entities_len`
[INFO] [stdout]    --> src/main.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let entities_len = entities
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p_q`
[INFO] [stdout]    --> src/main.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 317 |         for p_q in &line.sound_queue {
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_p_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `empty` is never read
[INFO] [stdout]    --> src/main.rs:328:17
[INFO] [stdout]     |
[INFO] [stdout] 328 |                 empty = false;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 329 |             }
[INFO] [stdout] 330 |             empty = terminate_sound_if_empty(&line.leafs, sound_device);
[INFO] [stdout]     |             ----------------------------------------------------------- `empty` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `play_sound` is never used
[INFO] [stdout]    --> src/main.rs:315:4
[INFO] [stdout]     |
[INFO] [stdout] 315 | fn play_sound(lines: &Vec<Line>, sound_device: &AudioDevice<SquareWave>) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `terminate_sound_if_empty` is never used
[INFO] [stdout]    --> src/main.rs:323:4
[INFO] [stdout]     |
[INFO] [stdout] 323 | fn terminate_sound_if_empty(lines: &Vec<Line>, sound_device: &AudioDevice<SquareWave>) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut entities: HashMap<u32, Entity> = HashMap::new();
[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:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut selection_index = 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/main.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let mut player = Entity::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/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |     let mut home_planet = Entity::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/main.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |         let mut entities_hm = entities.entities.get_mut(&player_chunk_pos).unwrap();
[INFO] [stdout]    |             ----^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entities`
[INFO] [stdout]   --> src/main.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut entities: HashMap<u32, Entity> = HashMap::new();
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `selection_index`
[INFO] [stdout]   --> src/main.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     let mut selection_index = 0;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_selection_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `player_relative_pos`
[INFO] [stdout]   --> src/main.rs:97:13
[INFO] [stdout]    |
[INFO] [stdout] 97 |         let player_relative_pos = (player_pos.0 - camera.pos.0, player_pos.1 - camera.pos.1);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_relative_pos`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id`
[INFO] [stdout]    --> src/main.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 |         for (id, e) in entities
[INFO] [stdout]     |              ^^ help: if this is intentional, prefix it with an underscore: `_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let mut intersect_point = Point::new(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/main.rs:235:21
[INFO] [stdout]     |
[INFO] [stdout] 235 |                 let mut entities_hm = entities.entities.get_mut(&player_chunk_pos).unwrap();
[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:268:9
[INFO] [stdout]     |
[INFO] [stdout] 268 |     let mut entities_hm = entities.entities.get_mut(&player_chunk_pos).unwrap();
[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:269:9
[INFO] [stdout]     |
[INFO] [stdout] 269 |     let mut player = entities_hm.get_mut(&1).unwrap();
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mouse_state`
[INFO] [stdout]    --> src/main.rs:155:5
[INFO] [stdout]     |
[INFO] [stdout] 155 |     mouse_state: &sdl2::mouse::MouseState,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mouse_state`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `intersect_point`
[INFO] [stdout]    --> src/main.rs:165:9
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let mut intersect_point = Point::new(0, 0);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_intersect_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entities_len`
[INFO] [stdout]    --> src/main.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |     let entities_len = entities
[INFO] [stdout]     |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_entities_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p_q`
[INFO] [stdout]    --> src/main.rs:317:13
[INFO] [stdout]     |
[INFO] [stdout] 317 |         for p_q in &line.sound_queue {
[INFO] [stdout]     |             ^^^ help: if this is intentional, prefix it with an underscore: `_p_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `empty` is never read
[INFO] [stdout]    --> src/main.rs:328:17
[INFO] [stdout]     |
[INFO] [stdout] 328 |                 empty = false;
[INFO] [stdout]     |                 ^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] 329 |             }
[INFO] [stdout] 330 |             empty = terminate_sound_if_empty(&line.leafs, sound_device);
[INFO] [stdout]     |             ----------------------------------------------------------- `empty` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `play_sound` is never used
[INFO] [stdout]    --> src/main.rs:315:4
[INFO] [stdout]     |
[INFO] [stdout] 315 | fn play_sound(lines: &Vec<Line>, sound_device: &AudioDevice<SquareWave>) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `terminate_sound_if_empty` is never used
[INFO] [stdout]    --> src/main.rs:323:4
[INFO] [stdout]     |
[INFO] [stdout] 323 | fn terminate_sound_if_empty(lines: &Vec<Line>, sound_device: &AudioDevice<SquareWave>) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.57s
[INFO] running `Command { std: "docker" "inspect" "bb6cf13aa7a6ff0122cbcb3b59c184080b8a48768dbdb0f963f8eaf2d88b136e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bb6cf13aa7a6ff0122cbcb3b59c184080b8a48768dbdb0f963f8eaf2d88b136e", kill_on_drop: false }`
[INFO] [stdout] bb6cf13aa7a6ff0122cbcb3b59c184080b8a48768dbdb0f963f8eaf2d88b136e
