[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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: 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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [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] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [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#ca77504943887037504c7fc0b9bf06dab3910373 for pr-145181 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjlrickert%2Frusty" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jlrickert/rusty on toolchain ca77504943887037504c7fc0b9bf06dab3910373 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+ca77504943887037504c7fc0b9bf06dab3910373" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simplelog v0.4.4 [INFO] [stderr] Downloaded redox_syscall v0.1.34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8bf060e9c01dba2f0713dd87298136d367825793114c83c19f6e9db768b64707 [INFO] running `Command { std: "docker" "start" "-a" "8bf060e9c01dba2f0713dd87298136d367825793114c83c19f6e9db768b64707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8bf060e9c01dba2f0713dd87298136d367825793114c83c19f6e9db768b64707", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bf060e9c01dba2f0713dd87298136d367825793114c83c19f6e9db768b64707", kill_on_drop: false }` [INFO] [stdout] 8bf060e9c01dba2f0713dd87298136d367825793114c83c19f6e9db768b64707 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:ae6f63d130afcfff7f91f5ba9fdb2a74d52830289c6a2ea2d23a94dcfb480a0d" "/opt/rustwide/cargo-home/bin/cargo" "+ca77504943887037504c7fc0b9bf06dab3910373" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84c9b7b685cd964cf2b75126d012ff94a899616500fef269160d0b946072b1a0 [INFO] running `Command { std: "docker" "start" "-a" "84c9b7b685cd964cf2b75126d012ff94a899616500fef269160d0b946072b1a0", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking libc v0.2.34 [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 [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 [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(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, [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(&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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hlt/game.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn update_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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn update_map(&self) -> GameMap<'_> { [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(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, [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: 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 [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: 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: 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(&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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/hlt/game.rs:55:23 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn update_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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 55 | pub fn update_map(&self) -> GameMap<'_> { [INFO] [stdout] | ++++ [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 [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 [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: 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 [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 2.02s [INFO] running `Command { std: "docker" "inspect" "84c9b7b685cd964cf2b75126d012ff94a899616500fef269160d0b946072b1a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84c9b7b685cd964cf2b75126d012ff94a899616500fef269160d0b946072b1a0", kill_on_drop: false }` [INFO] [stdout] 84c9b7b685cd964cf2b75126d012ff94a899616500fef269160d0b946072b1a0