[INFO] cloning repository https://github.com/willemsh/star-trek-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/willemsh/star-trek-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemsh%2Fstar-trek-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemsh%2Fstar-trek-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2794d7d95c76ace4e1fdf104134f33704447acf0
[INFO] checking willemsh/star-trek-cli against master#c3def263a44e07e09ae6d57abfc8650227fb4972 for pr-118833-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemsh%2Fstar-trek-cli" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/willemsh/star-trek-cli on toolchain c3def263a44e07e09ae6d57abfc8650227fb4972
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/willemsh/star-trek-cli
[INFO] finished tweaking git repo https://github.com/willemsh/star-trek-cli
[INFO] tweaked toml for git repo https://github.com/willemsh/star-trek-cli written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/willemsh/star-trek-cli 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" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libc v0.2.131
[INFO] [stderr]   Downloaded inquire v0.3.0
[INFO] [stderr]   Downloaded newline-converter v0.2.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4e954ebba74ff39d9b8869d2a51806fc09e9ae2a75622d68dccf4d69d3bfe301
[INFO] running `Command { std: "docker" "start" "-a" "4e954ebba74ff39d9b8869d2a51806fc09e9ae2a75622d68dccf4d69d3bfe301", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4e954ebba74ff39d9b8869d2a51806fc09e9ae2a75622d68dccf4d69d3bfe301", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4e954ebba74ff39d9b8869d2a51806fc09e9ae2a75622d68dccf4d69d3bfe301", kill_on_drop: false }`
[INFO] [stdout] 4e954ebba74ff39d9b8869d2a51806fc09e9ae2a75622d68dccf4d69d3bfe301
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c3def263a44e07e09ae6d57abfc8650227fb4972" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4b3014c4767e56187a1367cc7f61f0af712482f1f606d2cd4c331e0dccb0b86f
[INFO] running `Command { std: "docker" "start" "-a" "4b3014c4767e56187a1367cc7f61f0af712482f1f606d2cd4c331e0dccb0b86f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.131
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking unicode-segmentation v1.9.0
[INFO] [stderr]     Checking dyn-clone v1.0.9
[INFO] [stderr]     Checking newline-converter v0.2.0
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking crossterm v0.25.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]     Checking thiserror v1.0.32
[INFO] [stderr]     Checking inquire v0.3.0
[INFO] [stderr]     Checking startrek v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/input.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/startrek.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/input.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/startrek.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]     --> src/startrek.rs:1882:21
[INFO] [stdout]      |
[INFO] [stdout] 1882 | pub fn dirdist_calc(game: &Game) {
[INFO] [stdout]      |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]     --> src/startrek.rs:1913:19
[INFO] [stdout]      |
[INFO] [stdout] 1913 | pub fn galaxy_map(game: &Game) {
[INFO] [stdout]      |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]     --> src/startrek.rs:1954:23
[INFO] [stdout]      |
[INFO] [stdout] 1954 | pub fn compute_vector(p1: &Vec2, p2: &Vec2) {
[INFO] [stdout]      |                       ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]     --> src/startrek.rs:1954:34
[INFO] [stdout]      |
[INFO] [stdout] 1954 | pub fn compute_vector(p1: &Vec2, p2: &Vec2) {
[INFO] [stdout]      |                                  ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/startrek.rs:2003:9
[INFO] [stdout]      |
[INFO] [stdout] 2003 |     let mut tmp_current_quadrant = game.get_mut_current_quadrant();
[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: constant `MAXROW` is never used
[INFO] [stdout]  --> src/startrek.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const MAXROW: u8 = 24;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAXCOL` is never used
[INFO] [stdout]  --> src/startrek.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const MAXCOL: u8 = 80;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUADRANT_WIDTH` is never used
[INFO] [stdout]   --> src/startrek.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const QUADRANT_WIDTH: u32 = 8;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUADRANT_HEIGHT` is never used
[INFO] [stdout]   --> src/startrek.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const QUADRANT_HEIGHT: u32 = 8;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GM_1` is never used
[INFO] [stdout]   --> src/startrek.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const GM_1: &str = "  ----- ----- ----- ----- ----- ----- ----- -----";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIST_1` is never used
[INFO] [stdout]   --> src/startrek.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const DIST_1: &str = "  DISTANCE = %s\n\n";
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]     --> src/startrek.rs:1235:5
[INFO] [stdout]      |
[INFO] [stdout] 1235 |     drop(current_quadrant);
[INFO] [stdout]      |     ^^^^^----------------^
[INFO] [stdout]      |          |
[INFO] [stdout]      |          argument has type `&Quadrant`
[INFO] [stdout]      |
[INFO] [stdout]      = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]      = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]     --> src/startrek.rs:1457:9
[INFO] [stdout]      |
[INFO] [stdout] 1457 |         drop(current_quadrant);
[INFO] [stdout]      |         ^^^^^----------------^
[INFO] [stdout]      |              |
[INFO] [stdout]      |              argument has type `&mut Quadrant`
[INFO] [stdout]      |
[INFO] [stdout]      = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]     --> src/startrek.rs:2005:5
[INFO] [stdout]      |
[INFO] [stdout] 2005 |     drop(tmp_current_quadrant);
[INFO] [stdout]      |     ^^^^^--------------------^
[INFO] [stdout]      |          |
[INFO] [stdout]      |          argument has type `&mut Quadrant`
[INFO] [stdout]      |
[INFO] [stdout]      = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]     --> src/startrek.rs:1882:21
[INFO] [stdout]      |
[INFO] [stdout] 1882 | pub fn dirdist_calc(game: &Game) {
[INFO] [stdout]      |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]     --> src/startrek.rs:1913:19
[INFO] [stdout]      |
[INFO] [stdout] 1913 | pub fn galaxy_map(game: &Game) {
[INFO] [stdout]      |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]     --> src/startrek.rs:1954:23
[INFO] [stdout]      |
[INFO] [stdout] 1954 | pub fn compute_vector(p1: &Vec2, p2: &Vec2) {
[INFO] [stdout]      |                       ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]     --> src/startrek.rs:1954:34
[INFO] [stdout]      |
[INFO] [stdout] 1954 | pub fn compute_vector(p1: &Vec2, p2: &Vec2) {
[INFO] [stdout]      |                                  ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/startrek.rs:2003:9
[INFO] [stdout]      |
[INFO] [stdout] 2003 |     let mut tmp_current_quadrant = game.get_mut_current_quadrant();
[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: constant `MAXROW` is never used
[INFO] [stdout]  --> src/startrek.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const MAXROW: u8 = 24;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAXCOL` is never used
[INFO] [stdout]  --> src/startrek.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const MAXCOL: u8 = 80;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUADRANT_WIDTH` is never used
[INFO] [stdout]   --> src/startrek.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const QUADRANT_WIDTH: u32 = 8;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUADRANT_HEIGHT` is never used
[INFO] [stdout]   --> src/startrek.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const QUADRANT_HEIGHT: u32 = 8;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GM_1` is never used
[INFO] [stdout]   --> src/startrek.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const GM_1: &str = "  ----- ----- ----- ----- ----- ----- ----- -----";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIST_1` is never used
[INFO] [stdout]   --> src/startrek.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const DIST_1: &str = "  DISTANCE = %s\n\n";
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]     --> src/startrek.rs:1235:5
[INFO] [stdout]      |
[INFO] [stdout] 1235 |     drop(current_quadrant);
[INFO] [stdout]      |     ^^^^^----------------^
[INFO] [stdout]      |          |
[INFO] [stdout]      |          argument has type `&Quadrant`
[INFO] [stdout]      |
[INFO] [stdout]      = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]      = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]     --> src/startrek.rs:1457:9
[INFO] [stdout]      |
[INFO] [stdout] 1457 |         drop(current_quadrant);
[INFO] [stdout]      |         ^^^^^----------------^
[INFO] [stdout]      |              |
[INFO] [stdout]      |              argument has type `&mut Quadrant`
[INFO] [stdout]      |
[INFO] [stdout]      = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]     --> src/startrek.rs:2005:5
[INFO] [stdout]      |
[INFO] [stdout] 2005 |     drop(tmp_current_quadrant);
[INFO] [stdout]      |     ^^^^^--------------------^
[INFO] [stdout]      |          |
[INFO] [stdout]      |          argument has type `&mut Quadrant`
[INFO] [stdout]      |
[INFO] [stdout]      = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 7.94s
[INFO] running `Command { std: "docker" "inspect" "4b3014c4767e56187a1367cc7f61f0af712482f1f606d2cd4c331e0dccb0b86f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4b3014c4767e56187a1367cc7f61f0af712482f1f606d2cd4c331e0dccb0b86f", kill_on_drop: false }`
[INFO] [stdout] 4b3014c4767e56187a1367cc7f61f0af712482f1f606d2cd4c331e0dccb0b86f
[INFO] checking willemsh/star-trek-cli against try#29596578cb5035fa2b7ac7fbdfea23fab38836e7 for pr-118833-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwillemsh%2Fstar-trek-cli" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/willemsh/star-trek-cli on toolchain 29596578cb5035fa2b7ac7fbdfea23fab38836e7
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/willemsh/star-trek-cli
[INFO] finished tweaking git repo https://github.com/willemsh/star-trek-cli
[INFO] tweaked toml for git repo https://github.com/willemsh/star-trek-cli written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/willemsh/star-trek-cli 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" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5f249af3d80459b7b8ef37177bef578ccd5a50179ed5bda43c3b00f4d6b37baa
[INFO] running `Command { std: "docker" "start" "-a" "5f249af3d80459b7b8ef37177bef578ccd5a50179ed5bda43c3b00f4d6b37baa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5f249af3d80459b7b8ef37177bef578ccd5a50179ed5bda43c3b00f4d6b37baa", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5f249af3d80459b7b8ef37177bef578ccd5a50179ed5bda43c3b00f4d6b37baa", kill_on_drop: false }`
[INFO] [stdout] 5f249af3d80459b7b8ef37177bef578ccd5a50179ed5bda43c3b00f4d6b37baa
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+29596578cb5035fa2b7ac7fbdfea23fab38836e7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0467be0aef0d1495d32ebbcb965eee3b3387fcf32190dea7bb34df8072221a92
[INFO] running `Command { std: "docker" "start" "-a" "0467be0aef0d1495d32ebbcb965eee3b3387fcf32190dea7bb34df8072221a92", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.131
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling signal-hook v0.3.14
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking unicode-segmentation v1.9.0
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking dyn-clone v1.0.9
[INFO] [stderr]     Checking newline-converter v0.2.0
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking signal-hook-mio v0.2.3
[INFO] [stderr]     Checking crossterm v0.25.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.32
[INFO] [stderr]     Checking thiserror v1.0.32
[INFO] [stderr]     Checking inquire v0.3.0
[INFO] [stderr]     Checking startrek v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/input.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/startrek.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/input.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]  --> src/startrek.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::Write;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]     --> src/startrek.rs:1882:21
[INFO] [stdout]      |
[INFO] [stdout] 1882 | pub fn dirdist_calc(game: &Game) {
[INFO] [stdout]      |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]     --> src/startrek.rs:1913:19
[INFO] [stdout]      |
[INFO] [stdout] 1913 | pub fn galaxy_map(game: &Game) {
[INFO] [stdout]      |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]     --> src/startrek.rs:1954:23
[INFO] [stdout]      |
[INFO] [stdout] 1954 | pub fn compute_vector(p1: &Vec2, p2: &Vec2) {
[INFO] [stdout]      |                       ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]     --> src/startrek.rs:1954:34
[INFO] [stdout]      |
[INFO] [stdout] 1954 | pub fn compute_vector(p1: &Vec2, p2: &Vec2) {
[INFO] [stdout]      |                                  ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/startrek.rs:2003:9
[INFO] [stdout]      |
[INFO] [stdout] 2003 |     let mut tmp_current_quadrant = game.get_mut_current_quadrant();
[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: constant `MAXROW` is never used
[INFO] [stdout]  --> src/startrek.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const MAXROW: u8 = 24;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAXCOL` is never used
[INFO] [stdout]  --> src/startrek.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const MAXCOL: u8 = 80;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUADRANT_WIDTH` is never used
[INFO] [stdout]   --> src/startrek.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const QUADRANT_WIDTH: u32 = 8;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUADRANT_HEIGHT` is never used
[INFO] [stdout]   --> src/startrek.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const QUADRANT_HEIGHT: u32 = 8;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GM_1` is never used
[INFO] [stdout]   --> src/startrek.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const GM_1: &str = "  ----- ----- ----- ----- ----- ----- ----- -----";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIST_1` is never used
[INFO] [stdout]   --> src/startrek.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const DIST_1: &str = "  DISTANCE = %s\n\n";
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]     --> src/startrek.rs:1882:21
[INFO] [stdout]      |
[INFO] [stdout] 1882 | pub fn dirdist_calc(game: &Game) {
[INFO] [stdout]      |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `game`
[INFO] [stdout]     --> src/startrek.rs:1913:19
[INFO] [stdout]      |
[INFO] [stdout] 1913 | pub fn galaxy_map(game: &Game) {
[INFO] [stdout]      |                   ^^^^ help: if this is intentional, prefix it with an underscore: `_game`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p1`
[INFO] [stdout]     --> src/startrek.rs:1954:23
[INFO] [stdout]      |
[INFO] [stdout] 1954 | pub fn compute_vector(p1: &Vec2, p2: &Vec2) {
[INFO] [stdout]      |                       ^^ help: if this is intentional, prefix it with an underscore: `_p1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p2`
[INFO] [stdout]     --> src/startrek.rs:1954:34
[INFO] [stdout]      |
[INFO] [stdout] 1954 | pub fn compute_vector(p1: &Vec2, p2: &Vec2) {
[INFO] [stdout]      |                                  ^^ help: if this is intentional, prefix it with an underscore: `_p2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/startrek.rs:2003:9
[INFO] [stdout]      |
[INFO] [stdout] 2003 |     let mut tmp_current_quadrant = game.get_mut_current_quadrant();
[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: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]     --> src/startrek.rs:1235:5
[INFO] [stdout]      |
[INFO] [stdout] 1235 |     drop(current_quadrant);
[INFO] [stdout]      |     ^^^^^----------------^
[INFO] [stdout]      |          |
[INFO] [stdout]      |          argument has type `&Quadrant`
[INFO] [stdout]      |
[INFO] [stdout]      = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]      = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]     --> src/startrek.rs:1457:9
[INFO] [stdout]      |
[INFO] [stdout] 1457 |         drop(current_quadrant);
[INFO] [stdout]      |         ^^^^^----------------^
[INFO] [stdout]      |              |
[INFO] [stdout]      |              argument has type `&mut Quadrant`
[INFO] [stdout]      |
[INFO] [stdout]      = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]     --> src/startrek.rs:2005:5
[INFO] [stdout]      |
[INFO] [stdout] 2005 |     drop(tmp_current_quadrant);
[INFO] [stdout]      |     ^^^^^--------------------^
[INFO] [stdout]      |          |
[INFO] [stdout]      |          argument has type `&mut Quadrant`
[INFO] [stdout]      |
[INFO] [stdout]      = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAXROW` is never used
[INFO] [stdout]  --> src/startrek.rs:8:11
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub const MAXROW: u8 = 24;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `MAXCOL` is never used
[INFO] [stdout]  --> src/startrek.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub const MAXCOL: u8 = 80;
[INFO] [stdout]   |           ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUADRANT_WIDTH` is never used
[INFO] [stdout]   --> src/startrek.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const QUADRANT_WIDTH: u32 = 8;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `QUADRANT_HEIGHT` is never used
[INFO] [stdout]   --> src/startrek.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const QUADRANT_HEIGHT: u32 = 8;
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `GM_1` is never used
[INFO] [stdout]   --> src/startrek.rs:24:7
[INFO] [stdout]    |
[INFO] [stdout] 24 | const GM_1: &str = "  ----- ----- ----- ----- ----- ----- ----- -----";
[INFO] [stdout]    |       ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DIST_1` is never used
[INFO] [stdout]   --> src/startrek.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 | const DIST_1: &str = "  DISTANCE = %s\n\n";
[INFO] [stdout]    |       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]     --> src/startrek.rs:1235:5
[INFO] [stdout]      |
[INFO] [stdout] 1235 |     drop(current_quadrant);
[INFO] [stdout]      |     ^^^^^----------------^
[INFO] [stdout]      |          |
[INFO] [stdout]      |          argument has type `&Quadrant`
[INFO] [stdout]      |
[INFO] [stdout]      = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]      = note: `#[warn(dropping_references)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]     --> src/startrek.rs:1457:9
[INFO] [stdout]      |
[INFO] [stdout] 1457 |         drop(current_quadrant);
[INFO] [stdout]      |         ^^^^^----------------^
[INFO] [stdout]      |              |
[INFO] [stdout]      |              argument has type `&mut Quadrant`
[INFO] [stdout]      |
[INFO] [stdout]      = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing
[INFO] [stdout]     --> src/startrek.rs:2005:5
[INFO] [stdout]      |
[INFO] [stdout] 2005 |     drop(tmp_current_quadrant);
[INFO] [stdout]      |     ^^^^^--------------------^
[INFO] [stdout]      |          |
[INFO] [stdout]      |          argument has type `&mut Quadrant`
[INFO] [stdout]      |
[INFO] [stdout]      = note: use `let _ = ...` to ignore the expression or result
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.46s
[INFO] running `Command { std: "docker" "inspect" "0467be0aef0d1495d32ebbcb965eee3b3387fcf32190dea7bb34df8072221a92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0467be0aef0d1495d32ebbcb965eee3b3387fcf32190dea7bb34df8072221a92", kill_on_drop: false }`
[INFO] [stdout] 0467be0aef0d1495d32ebbcb965eee3b3387fcf32190dea7bb34df8072221a92
