[INFO] cloning repository https://github.com/ipost/halite-2017
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ipost/halite-2017" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fipost%2Fhalite-2017", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fipost%2Fhalite-2017'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6be8af94abf3baa9c61cf550fce6eca95883a9ac
[INFO] checking ipost/halite-2017 against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fipost%2Fhalite-2017" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ipost/halite-2017 on toolchain 5fee451ebd94296ea05214e819c311e164b30af6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ipost/halite-2017
[INFO] finished tweaking git repo https://github.com/ipost/halite-2017
[INFO] tweaked toml for git repo https://github.com/ipost/halite-2017 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/ipost/halite-2017 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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 cargo_metadata v0.2.3
[INFO] [stderr]   Downloaded url v1.6.0
[INFO] [stderr]   Downloaded if_chain v0.1.2
[INFO] [stderr]   Downloaded lazy_static v0.2.10
[INFO] [stderr]   Downloaded getopts v0.2.15
[INFO] [stderr]   Downloaded serde_derive_internals v0.17.0
[INFO] [stderr]   Downloaded either v1.3.0
[INFO] [stderr]   Downloaded quine-mc_cluskey v0.2.4
[INFO] [stderr]   Downloaded serde_derive v1.0.20
[INFO] [stderr]   Downloaded serde v1.0.20
[INFO] [stderr]   Downloaded serde_json v1.0.6
[INFO] [stderr]   Downloaded itertools v0.6.5
[INFO] [stderr]   Downloaded pulldown-cmark v0.0.15
[INFO] [stderr]   Downloaded regex-syntax v0.4.1
[INFO] [stderr]   Downloaded idna v0.1.4
[INFO] [stderr]   Downloaded clippy v0.0.170
[INFO] [stderr]   Downloaded clippy_lints v0.0.170
[INFO] [stderr]   Downloaded libc v0.2.33
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a3ec4e348533b1df7789290996fb74074502357724cb6df08f24ee38713af733
[INFO] running `Command { std: "docker" "start" "-a" "a3ec4e348533b1df7789290996fb74074502357724cb6df08f24ee38713af733", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a3ec4e348533b1df7789290996fb74074502357724cb6df08f24ee38713af733", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a3ec4e348533b1df7789290996fb74074502357724cb6df08f24ee38713af733", kill_on_drop: false }`
[INFO] [stdout] a3ec4e348533b1df7789290996fb74074502357724cb6df08f24ee38713af733
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f370dccaf375c5eacc147c02fb907cafada33b05429c298326ba7bcca02cbbac
[INFO] running `Command { std: "docker" "start" "-a" "f370dccaf375c5eacc147c02fb907cafada33b05429c298326ba7bcca02cbbac", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking libc v0.2.33
[INFO] [stderr]     Checking time v0.1.38
[INFO] [stderr]     Checking memetron_420 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `hlt::logging::Logger`
[INFO] [stdout]  --> src/hlt/entity.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hlt::logging::Logger;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/hlt/entity.rs:127:44
[INFO] [stdout]     |
[INFO] [stdout] 127 |         self.distance_to_less_than(planet, (DOCK_RADIUS + planet.get_radius()))
[INFO] [stdout]     |                                            ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 127 -         self.distance_to_less_than(planet, (DOCK_RADIUS + planet.get_radius()))
[INFO] [stdout] 127 +         self.distance_to_less_than(planet, DOCK_RADIUS + planet.get_radius())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/hlt/entity.rs:512:9
[INFO] [stdout]     |
[INFO] [stdout] 512 |         ((((edge_dist_x / game_map.width()) + (edge_dist_y / game_map.height())))),
[INFO] [stdout]     |         ^                                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 512 -         ((((edge_dist_x / game_map.width()) + (edge_dist_y / game_map.height())))),
[INFO] [stdout] 512 +         (((edge_dist_x / game_map.width()) + (edge_dist_y / game_map.height()))),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]  --> src/hlt/parse.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn parse<'a, I>(&mut I) -> Self
[INFO] [stdout]   |                     ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut I`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:962:25
[INFO] [stdout]     |
[INFO] [stdout] 962 |                         (ship_to_defend.get_position().0 + (dx / magnitude)),
[INFO] [stdout]     |                         ^                                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 962 -                         (ship_to_defend.get_position().0 + (dx / magnitude)),
[INFO] [stdout] 962 +                         ship_to_defend.get_position().0 + (dx / magnitude),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:963:25
[INFO] [stdout]     |
[INFO] [stdout] 963 |                         (ship_to_defend.get_position().1 + (dy / magnitude)),
[INFO] [stdout]     |                         ^                                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 963 -                         (ship_to_defend.get_position().1 + (dy / magnitude)),
[INFO] [stdout] 963 +                         ship_to_defend.get_position().1 + (dy / magnitude),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:972:25
[INFO] [stdout]     |
[INFO] [stdout] 972 |                         (enemy_ship.get_position().0 - (dx / magnitude)),
[INFO] [stdout]     |                         ^                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 972 -                         (enemy_ship.get_position().0 - (dx / magnitude)),
[INFO] [stdout] 972 +                         enemy_ship.get_position().0 - (dx / magnitude),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:973:25
[INFO] [stdout]     |
[INFO] [stdout] 973 |                         (enemy_ship.get_position().1 - (dy / magnitude)),
[INFO] [stdout]     |                         ^                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 973 -                         (enemy_ship.get_position().1 - (dy / magnitude)),
[INFO] [stdout] 973 +                         enemy_ship.get_position().1 - (dy / magnitude),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/hlt/entity.rs:354:21
[INFO] [stdout]     |
[INFO] [stdout] 353 |                     panic!("inside something");
[INFO] [stdout]     |                     -------------------------- any code following this expression is unreachable
[INFO] [stdout] 354 |                     obstacle.position.calculate_angle_between(self)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `command`
[INFO] [stdout]   --> src/hlt/command.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     use command::Command;
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         unresolved import
[INFO] [stdout]    |         help: a similar path exists: `hlt::command`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `hlt::logging::Logger`
[INFO] [stdout]  --> src/hlt/entity.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hlt::logging::Logger;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around method argument
[INFO] [stdout]    --> src/hlt/entity.rs:127:44
[INFO] [stdout]     |
[INFO] [stdout] 127 |         self.distance_to_less_than(planet, (DOCK_RADIUS + planet.get_radius()))
[INFO] [stdout]     |                                            ^                                 ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 127 -         self.distance_to_less_than(planet, (DOCK_RADIUS + planet.get_radius()))
[INFO] [stdout] 127 +         self.distance_to_less_than(planet, DOCK_RADIUS + planet.get_radius())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/hlt/entity.rs:512:9
[INFO] [stdout]     |
[INFO] [stdout] 512 |         ((((edge_dist_x / game_map.width()) + (edge_dist_y / game_map.height())))),
[INFO] [stdout]     |         ^                                                                        ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 512 -         ((((edge_dist_x / game_map.width()) + (edge_dist_y / game_map.height())))),
[INFO] [stdout] 512 +         (((edge_dist_x / game_map.width()) + (edge_dist_y / game_map.height()))),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]  --> src/hlt/parse.rs:6:21
[INFO] [stdout]   |
[INFO] [stdout] 6 |     fn parse<'a, I>(&mut I) -> Self
[INFO] [stdout]   |                     ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut I`
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]   = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]   --> src/main.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use std::time::Duration;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::thread`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use std::thread;
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:962:25
[INFO] [stdout]     |
[INFO] [stdout] 962 |                         (ship_to_defend.get_position().0 + (dx / magnitude)),
[INFO] [stdout]     |                         ^                                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 962 -                         (ship_to_defend.get_position().0 + (dx / magnitude)),
[INFO] [stdout] 962 +                         ship_to_defend.get_position().0 + (dx / magnitude),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:963:25
[INFO] [stdout]     |
[INFO] [stdout] 963 |                         (ship_to_defend.get_position().1 + (dy / magnitude)),
[INFO] [stdout]     |                         ^                                                  ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 963 -                         (ship_to_defend.get_position().1 + (dy / magnitude)),
[INFO] [stdout] 963 +                         ship_to_defend.get_position().1 + (dy / magnitude),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:972:25
[INFO] [stdout]     |
[INFO] [stdout] 972 |                         (enemy_ship.get_position().0 - (dx / magnitude)),
[INFO] [stdout]     |                         ^                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 972 -                         (enemy_ship.get_position().0 - (dx / magnitude)),
[INFO] [stdout] 972 +                         enemy_ship.get_position().0 - (dx / magnitude),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/main.rs:973:25
[INFO] [stdout]     |
[INFO] [stdout] 973 |                         (enemy_ship.get_position().1 - (dy / magnitude)),
[INFO] [stdout]     |                         ^                                              ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 973 -                         (enemy_ship.get_position().1 - (dy / magnitude)),
[INFO] [stdout] 973 +                         enemy_ship.get_position().1 - (dy / magnitude),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]    --> src/hlt/entity.rs:354:21
[INFO] [stdout]     |
[INFO] [stdout] 353 |                     panic!("inside something");
[INFO] [stdout]     |                     -------------------------- any code following this expression is unreachable
[INFO] [stdout] 354 |                     obstacle.position.calculate_angle_between(self)
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable expression
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/hlt/entity.rs:182:13
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let c = if c > enemy_ship.hp_percent() {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance_to_aggressor`
[INFO] [stdout]    --> src/hlt/entity.rs:204:17
[INFO] [stdout]     |
[INFO] [stdout] 204 |             let distance_to_aggressor = self.distance_to_surface(enemy_ship);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance_to_aggressor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/hlt/game.rs:72:21
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 for mut ship in player.ships.iter_mut() {
[INFO] [stdout]    |                     ----^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `weakest_enemy_player`
[INFO] [stdout]    --> src/main.rs:449:13
[INFO] [stdout]     |
[INFO] [stdout] 449 |         let weakest_enemy_player = game_map
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weakest_enemy_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]    --> src/hlt/entity.rs:182:13
[INFO] [stdout]     |
[INFO] [stdout] 182 |         let c = if c > enemy_ship.hp_percent() {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `distance_to_aggressor`
[INFO] [stdout]    --> src/hlt/entity.rs:204:17
[INFO] [stdout]     |
[INFO] [stdout] 204 |             let distance_to_aggressor = self.distance_to_surface(enemy_ship);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_distance_to_aggressor`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `eradicate` is never used
[INFO] [stdout]    --> src/main.rs:754:4
[INFO] [stdout]     |
[INFO] [stdout] 754 | fn eradicate(ship: &Ship, game_map: &GameMap, logger: &mut Logger, player_id: i32) -> Option<Command> {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `docked_planet`, `progress`, and `cooldown` are never read
[INFO] [stdout]   --> src/hlt/entity.rs:89:9
[INFO] [stdout]    |
[INFO] [stdout] 81 | pub struct Ship {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub docked_planet: Option<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 90 |     pub progress: i32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 91 |     pub cooldown: i32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Ship` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `projected_damage_taken` is never used
[INFO] [stdout]    --> src/hlt/entity.rs:247:12
[INFO] [stdout]     |
[INFO] [stdout] 95  | impl Ship {
[INFO] [stdout]     | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn projected_damage_taken(&self, game_map: &GameMap) -> i32 {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `smart_distance_to` and `dist_to_at_less_than` are never used
[INFO] [stdout]    --> src/hlt/entity.rs:736:8
[INFO] [stdout]     |
[INFO] [stdout] 731 | pub trait Entity: Sized {
[INFO] [stdout]     |           ------ methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 736 |     fn smart_distance_to<T: Entity>(&self, target: &T) -> f64 {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 767 |     fn dist_to_at_less_than<T: Entity>(&self, target: &T, t: f64, query: f64) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `obstacles_for_raid_ignore_defenders` and `obstacles_for_eradicate` are never used
[INFO] [stdout]    --> src/hlt/game_map.rs:78:12
[INFO] [stdout]     |
[INFO] [stdout] 13  | impl<'a> GameMap<'a> {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 78  |     pub fn obstacles_for_raid_ignore_defenders(&self, raiding_ship: &Ship, target_ship: &Ship) -> Vec<Obstacle> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 110 |     pub fn obstacles_for_eradicate(&self, ship: &Ship, player_id: i32) -> Vec<Obstacle> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/hlt/entity.rs:75:25
[INFO] [stdout]    |
[INFO] [stdout] 75 |             _ => panic!(format!("Not a valid docking status: {:?}", i)),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 75 -             _ => panic!(format!("Not a valid docking status: {:?}", i)),
[INFO] [stdout] 75 +             _ => panic!("Not a valid docking status: {:?}", i),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]    --> src/hlt/macros.rs:5:24
[INFO] [stdout]     |
[INFO] [stdout] 5   |         () => { panic!(format!("line {}", line!())) }
[INFO] [stdout]     |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: src/hlt/entity.rs:521:14
[INFO] [stdout]     |
[INFO] [stdout] 521 |         _ => assert_unreachable!(),
[INFO] [stdout]     |              --------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]     = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout]     = note: this warning originates in the macro `assert_unreachable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]     |
[INFO] [stdout] 5   -         () => { panic!(format!("line {}", line!())) }
[INFO] [stdout] 5   +         () => { panic!("line {}", line!()) }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/hlt/parse.rs:61:25
[INFO] [stdout]    |
[INFO] [stdout] 61 |             _ => panic!(format!("Expected 0 or 1, got {:?}", p)),
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stdout] help: remove the `format!(..)` macro call
[INFO] [stdout]    |
[INFO] [stdout] 61 -             _ => panic!(format!("Expected 0 or 1, got {:?}", p)),
[INFO] [stdout] 61 +             _ => panic!("Expected 0 or 1, got {:?}", p),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/hlt/game.rs:72:21
[INFO] [stdout]    |
[INFO] [stdout] 72 |                 for mut ship in player.ships.iter_mut() {
[INFO] [stdout]    |                     ----^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `weakest_enemy_player`
[INFO] [stdout]    --> src/main.rs:449:13
[INFO] [stdout]     |
[INFO] [stdout] 449 |         let weakest_enemy_player = game_map
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_weakest_enemy_player`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `memetron_420` (bin "MyBot" test) due to 1 previous error; 15 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f370dccaf375c5eacc147c02fb907cafada33b05429c298326ba7bcca02cbbac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f370dccaf375c5eacc147c02fb907cafada33b05429c298326ba7bcca02cbbac", kill_on_drop: false }`
[INFO] [stdout] f370dccaf375c5eacc147c02fb907cafada33b05429c298326ba7bcca02cbbac
