[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] testing ipost/halite-2017 against 1.99.0-beta.1+cargoflags=--release for beta-release-1.99-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fipost%2Fhalite-2017" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ipost/halite-2017 on toolchain 1.99.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+1.99.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `memetron_420` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 7ae74f267b633c226d9fc8c2d6e892483948ff1e8f0ebf36125220e7a4e25c73
[INFO] running `Command { std: "docker" "start" "7ae74f267b633c226d9fc8c2d6e892483948ff1e8f0ebf36125220e7a4e25c73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ae74f267b633c226d9fc8c2d6e892483948ff1e8f0ebf36125220e7a4e25c73", 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" "7ae74f267b633c226d9fc8c2d6e892483948ff1e8f0ebf36125220e7a4e25c73" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7ae74f267b633c226d9fc8c2d6e892483948ff1e8f0ebf36125220e7a4e25c73", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ae74f267b633c226d9fc8c2d6e892483948ff1e8f0ebf36125220e7a4e25c73" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `memetron_420` (manifest) generated 1 warning
[INFO] [stderr]    Compiling libc v0.2.33
[INFO] [stderr]    Compiling time v0.1.38
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/main.rs:260:22
[INFO] [stdout]     |
[INFO] [stdout] 260 |     pub fn best_move(&self) -> &Move {
[INFO] [stdout]     |                      ^^^^^     ^^^^^
[INFO] [stdout]     |                      |         ||
[INFO] [stdout]     |                      |         |the same lifetime is hidden here
[INFO] [stdout]     |                      |         the same lifetime is elided here
[INFO] [stdout]     |                      the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 260 |     pub fn best_move(&self) -> &Move<'_> {
[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/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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) 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/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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/hlt/game.rs:54:23
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn create_map(&self) -> GameMap {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 54 |     pub fn create_map(&self) -> GameMap<'_> {
[INFO] [stdout]    |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/hlt/game.rs:62:23
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn update_map(&self, previous_map: GameMap) -> (GameMap, PreciseTime) {
[INFO] [stdout]    |                       ^^^^^ the lifetime is elided here ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 62 |     pub fn update_map(&self, previous_map: GameMap) -> (GameMap<'_>, PreciseTime) {
[INFO] [stdout]    |                                                                ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/hlt/game_map.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(game: &Game, state: GameState) -> GameMap {
[INFO] [stdout]    |                      ^^^^^                       ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                      |
[INFO] [stdout]    |                      the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn new(game: &Game, state: GameState) -> GameMap<'_> {
[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/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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/panic-macro-consistency.html>
[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] [stderr]     Finished `release` profile [optimized] target(s) in 3.31s
[INFO] running `Command { std: "docker" "inspect" "7ae74f267b633c226d9fc8c2d6e892483948ff1e8f0ebf36125220e7a4e25c73", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "7ae74f267b633c226d9fc8c2d6e892483948ff1e8f0ebf36125220e7a4e25c73" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `memetron_420` (manifest) generated 1 warning
[INFO] [stderr]    Compiling memetron_420 v0.1.0 (/opt/rustwide/workdir)
[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]    |         ^^^^^^^ unresolved import
[INFO] [stdout]    |
[INFO] [stdout] help: a similar path exists
[INFO] [stdout]    |
[INFO] [stdout] 23 |     use hlt::command::Command;
[INFO] [stdout]    |         +++++
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 <https://doc.rust-lang.org/edition-guide/rust-2018/trait-fn-parameters.html>
[INFO] [stdout]   = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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" "7ae74f267b633c226d9fc8c2d6e892483948ff1e8f0ebf36125220e7a4e25c73", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7ae74f267b633c226d9fc8c2d6e892483948ff1e8f0ebf36125220e7a4e25c73", kill_on_drop: false }`
[INFO] [stdout] 7ae74f267b633c226d9fc8c2d6e892483948ff1e8f0ebf36125220e7a4e25c73
