[INFO] cloning repository https://github.com/jlrickert/rusty
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlrickert/rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty'...
[INFO] [stderr] error: copy-fd: write returned: No space left on device
[INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-receive.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty/hooks/pre-receive.sample': No space left on device
[WARN] Retrying crate fetch in 3 seconds (attempt 1)
[INFO] cloning repository https://github.com/jlrickert/rusty
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jlrickert/rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8c6f28451a73425db469616de8ccd57e8c3cb6f2
[INFO] checking jlrickert/rusty against master#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jlrickert/rusty on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jlrickert/rusty
[INFO] finished tweaking git repo https://github.com/jlrickert/rusty
[INFO] tweaked toml for git repo https://github.com/jlrickert/rusty written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/jlrickert/rusty 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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "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]  Downloading crates ...
[INFO] [stderr]   Downloaded redox_syscall v0.1.34
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 023a353251d276990d357011aac0e1df8f57c129a1400d2941a702d1588a694a
[INFO] running `Command { std: "docker" "start" "-a" "023a353251d276990d357011aac0e1df8f57c129a1400d2941a702d1588a694a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "023a353251d276990d357011aac0e1df8f57c129a1400d2941a702d1588a694a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "023a353251d276990d357011aac0e1df8f57c129a1400d2941a702d1588a694a", kill_on_drop: false }`
[INFO] [stdout] 023a353251d276990d357011aac0e1df8f57c129a1400d2941a702d1588a694a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 098fea68c37ed77080bc5ce6f62307b811f10430e96ec0c662792c001575fac6
[INFO] running `Command { std: "docker" "start" "-a" "098fea68c37ed77080bc5ce6f62307b811f10430e96ec0c662792c001575fac6", 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.34
[INFO] [stderr]     Checking cfg-if v0.1.2
[INFO] [stderr]     Checking term v0.4.6
[INFO] [stderr]     Checking log v0.4.1
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking time v0.1.39
[INFO] [stderr]     Checking rand v0.4.1
[INFO] [stderr]     Checking simplelog v0.4.4
[INFO] [stderr]     Checking MyBot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::cmp::Eq`
[INFO] [stdout]  --> src/hlt/entity/position.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::Eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]  --> src/hlt/entity/ship.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::min;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/hlt/game_map.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 |     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 imports: `DockingStatus` and `Entity`
[INFO] [stdout]  --> src/rusty/bot.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hlt::entity::{Entity, DockingStatus};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]  --> src/rusty/unit.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::min;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DOCK_RADIUS`
[INFO] [stdout]  --> src/rusty/unit.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | use hlt::constants::{MAX_SPEED, DOCK_RADIUS};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Planet`
[INFO] [stdout]  --> src/rusty/unit.rs:7:43
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hlt::entity::{Entity, Ship, Position, Planet};
[INFO] [stdout]   |                                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Eq`
[INFO] [stdout]  --> src/hlt/entity/position.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::Eq;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]  --> src/hlt/entity/ship.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::min;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/hlt/game_map.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::collections::HashMap;
[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:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 |     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 imports: `DockingStatus` and `Entity`
[INFO] [stdout]  --> src/rusty/bot.rs:6:19
[INFO] [stdout]   |
[INFO] [stdout] 6 | use hlt::entity::{Entity, DockingStatus};
[INFO] [stdout]   |                   ^^^^^^  ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::min`
[INFO] [stdout]  --> src/rusty/unit.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::cmp::min;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DOCK_RADIUS`
[INFO] [stdout]  --> src/rusty/unit.rs:5:33
[INFO] [stdout]   |
[INFO] [stdout] 5 | use hlt::constants::{MAX_SPEED, DOCK_RADIUS};
[INFO] [stdout]   |                                 ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Planet`
[INFO] [stdout]  --> src/rusty/unit.rs:7:43
[INFO] [stdout]   |
[INFO] [stdout] 7 | use hlt::entity::{Entity, Ship, Position, Planet};
[INFO] [stdout]   |                                           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let name = "Rusty";
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_origin` is never used
[INFO] [stdout]   --> src/hlt/entity/position.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Position {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn from_origin<T: Entity>(pos: &T, angle: f64, distance: f64) -> Position {
[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/ship.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Ship {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub docked_planet: Option<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     pub progress: i32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 22 |     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 `undock` is never used
[INFO] [stdout]   --> src/hlt/entity/ship.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Ship {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn undock(&self) -> Command {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_owned` is never used
[INFO] [stdout]   --> src/hlt/entity/planet.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Planet {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 21 |     /// Determine if the planet has an owner.
[INFO] [stdout] 22 |     pub fn is_owned(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `map_width` and `map_height` are never read
[INFO] [stdout]   --> src/hlt/game.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Game {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 9  |     pub my_id: usize,
[INFO] [stdout] 10 |     pub map_width: i32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 11 |     pub map_height: i32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `all_ships` and `obstacles_between` are never used
[INFO] [stdout]   --> src/hlt/game_map.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<'a> GameMap<'a> {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn all_ships(&self) -> Box<[&Ship]> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn obstacles_between<T: Entity>(&self, ship: &Ship, target: &T, fudge: f64) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Attacker`, `Defense`, and `Sabotage` are never constructed
[INFO] [stdout]  --> src/rusty/behavior.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Behavior {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 5 |     Attacker,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 6 |     Defense,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     Sabotage,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Behavior` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/rusty/unit.rs:47:20
[INFO] [stdout]    |
[INFO] [stdout] 47 |               panic!(format!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 48 | |                 "Mismatch ship and unit id: Ship id == {}, Unit id == {}",
[INFO] [stdout] 49 | |                 ship.id,
[INFO] [stdout] 50 | |                 self.ship_id
[INFO] [stdout] 51 | |             ))
[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] 47 ~             panic!(
[INFO] [stdout] 48 |                 "Mismatch ship and unit id: Ship id == {}, Unit id == {}",
[INFO] [stdout] 49 |                 ship.id,
[INFO] [stdout] 50 |                 self.ship_id
[INFO] [stdout] 51 ~             )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/main.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let name = "Rusty";
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_origin` is never used
[INFO] [stdout]   --> src/hlt/entity/position.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Position {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 12 |     pub fn from_origin<T: Entity>(pos: &T, angle: f64, distance: f64) -> Position {
[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/ship.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Ship {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub docked_planet: Option<i32>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^
[INFO] [stdout] 21 |     pub progress: i32,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 22 |     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 `undock` is never used
[INFO] [stdout]   --> src/hlt/entity/ship.rs:37:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | impl Ship {
[INFO] [stdout]    | --------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 37 |     pub fn undock(&self) -> Command {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/rusty/unit.rs:71:20
[INFO] [stdout]    |
[INFO] [stdout] 71 |               panic!(format!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 72 | |                 "Mismatch ship and unit id: Ship id == {}, Unit id == {}",
[INFO] [stdout] 73 | |                 ship.id,
[INFO] [stdout] 74 | |                 self.ship_id
[INFO] [stdout] 75 | |             ))
[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] 71 ~             panic!(
[INFO] [stdout] 72 |                 "Mismatch ship and unit id: Ship id == {}, Unit id == {}",
[INFO] [stdout] 73 |                 ship.id,
[INFO] [stdout] 74 |                 self.ship_id
[INFO] [stdout] 75 ~             )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_owned` is never used
[INFO] [stdout]   --> src/hlt/entity/planet.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl Planet {
[INFO] [stdout]    | ----------- method in this implementation
[INFO] [stdout] 21 |     /// Determine if the planet has an owner.
[INFO] [stdout] 22 |     pub fn is_owned(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `map_width` and `map_height` are never read
[INFO] [stdout]   --> src/hlt/game.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 8  | pub struct Game {
[INFO] [stdout]    |            ---- fields in this struct
[INFO] [stdout] 9  |     pub my_id: usize,
[INFO] [stdout] 10 |     pub map_width: i32,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 11 |     pub map_height: i32,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Undock` is never constructed
[INFO] [stdout]  --> src/hlt/command.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Command {
[INFO] [stdout]   |          ------- variant in this enum
[INFO] [stdout] 5 |     Dock(i32, i32),
[INFO] [stdout] 6 |     Undock(i32),
[INFO] [stdout]   |     ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `all_ships` and `obstacles_between` are never used
[INFO] [stdout]   --> src/hlt/game_map.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<'a> GameMap<'a> {
[INFO] [stdout]    | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn all_ships(&self) -> Box<[&Ship]> {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     pub fn obstacles_between<T: Entity>(&self, ship: &Ship, target: &T, fudge: f64) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Attacker`, `Defense`, and `Sabotage` are never constructed
[INFO] [stdout]  --> src/rusty/behavior.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Behavior {
[INFO] [stdout]   |          -------- variants in this enum
[INFO] [stdout] 5 |     Attacker,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 6 |     Defense,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 9 |     Sabotage,
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Behavior` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/rusty/unit.rs:47:20
[INFO] [stdout]    |
[INFO] [stdout] 47 |               panic!(format!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 48 | |                 "Mismatch ship and unit id: Ship id == {}, Unit id == {}",
[INFO] [stdout] 49 | |                 ship.id,
[INFO] [stdout] 50 | |                 self.ship_id
[INFO] [stdout] 51 | |             ))
[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] 47 ~             panic!(
[INFO] [stdout] 48 |                 "Mismatch ship and unit id: Ship id == {}, Unit id == {}",
[INFO] [stdout] 49 |                 ship.id,
[INFO] [stdout] 50 |                 self.ship_id
[INFO] [stdout] 51 ~             )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: panic message is not a string literal
[INFO] [stdout]   --> src/rusty/unit.rs:71:20
[INFO] [stdout]    |
[INFO] [stdout] 71 |               panic!(format!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 72 | |                 "Mismatch ship and unit id: Ship id == {}, Unit id == {}",
[INFO] [stdout] 73 | |                 ship.id,
[INFO] [stdout] 74 | |                 self.ship_id
[INFO] [stdout] 75 | |             ))
[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] 71 ~             panic!(
[INFO] [stdout] 72 |                 "Mismatch ship and unit id: Ship id == {}, Unit id == {}",
[INFO] [stdout] 73 |                 ship.id,
[INFO] [stdout] 74 |                 self.ship_id
[INFO] [stdout] 75 ~             )
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.51s
[INFO] running `Command { std: "docker" "inspect" "098fea68c37ed77080bc5ce6f62307b811f10430e96ec0c662792c001575fac6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "098fea68c37ed77080bc5ce6f62307b811f10430e96ec0c662792c001575fac6", kill_on_drop: false }`
[INFO] [stdout] 098fea68c37ed77080bc5ce6f62307b811f10430e96ec0c662792c001575fac6
