[INFO] cloning repository https://github.com/JustenRickert/halite-bot-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JustenRickert/halite-bot-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustenRickert%2Fhalite-bot-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustenRickert%2Fhalite-bot-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 910fae8967e2f0904318e23e336e94869634bf55 [INFO] checking JustenRickert/halite-bot-rust against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustenRickert%2Fhalite-bot-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JustenRickert/halite-bot-rust on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JustenRickert/halite-bot-rust [INFO] finished tweaking git repo https://github.com/JustenRickert/halite-bot-rust [INFO] tweaked toml for git repo https://github.com/JustenRickert/halite-bot-rust written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/JustenRickert/halite-bot-rust 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 581bb6504dffd8c51987ed3b4db091e996e698eb72b51caf021ab0496604c1bc [INFO] running `Command { std: "docker" "start" "-a" "581bb6504dffd8c51987ed3b4db091e996e698eb72b51caf021ab0496604c1bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "581bb6504dffd8c51987ed3b4db091e996e698eb72b51caf021ab0496604c1bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "581bb6504dffd8c51987ed3b4db091e996e698eb72b51caf021ab0496604c1bc", kill_on_drop: false }` [INFO] [stdout] 581bb6504dffd8c51987ed3b4db091e996e698eb72b51caf021ab0496604c1bc [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29aadeacbcefaa2bc22757414fdbd5f262b617516563a294c1a8a2842c08f264 [INFO] running `Command { std: "docker" "start" "-a" "29aadeacbcefaa2bc22757414fdbd5f262b617516563a294c1a8a2842c08f264", kill_on_drop: false }` [INFO] [stderr] Checking MyBot v0.1.0 (/opt/rustwide/workdir) [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] error[E0432]: unresolved import `command` [INFO] [stdout] --> src/hlt/command.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | use command::Command; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | unresolved import [INFO] [stdout] | help: a similar path exists: `hlt::command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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 variable: `game_map` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let game_map = game.update_map(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `undock` is never used [INFO] [stdout] --> src/hlt/entity/ship.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Ship { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn undock(&self) -> Command { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_full` is never used [INFO] [stdout] --> src/hlt/entity/planet.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Planet { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn is_full(&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:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum Command { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 3 | Dock(i32, i32), [INFO] [stdout] 4 | 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: method `all_players` is never used [INFO] [stdout] --> src/hlt/game_map.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> GameMap<'a> { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn all_players(&self) -> &[Player] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_map` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let game_map = game.update_map(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `MyBot` (bin "MyBot" test) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "29aadeacbcefaa2bc22757414fdbd5f262b617516563a294c1a8a2842c08f264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29aadeacbcefaa2bc22757414fdbd5f262b617516563a294c1a8a2842c08f264", kill_on_drop: false }` [INFO] [stdout] 29aadeacbcefaa2bc22757414fdbd5f262b617516563a294c1a8a2842c08f264 [INFO] checking JustenRickert/halite-bot-rust against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustenRickert%2Fhalite-bot-rust" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JustenRickert/halite-bot-rust on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JustenRickert/halite-bot-rust [INFO] finished tweaking git repo https://github.com/JustenRickert/halite-bot-rust [INFO] tweaked toml for git repo https://github.com/JustenRickert/halite-bot-rust written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/JustenRickert/halite-bot-rust 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11d08a97bffbf2b5037e247c6b2185ce751a8cc2ec285eed1efdb68f9a9b41a7 [INFO] running `Command { std: "docker" "start" "-a" "11d08a97bffbf2b5037e247c6b2185ce751a8cc2ec285eed1efdb68f9a9b41a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11d08a97bffbf2b5037e247c6b2185ce751a8cc2ec285eed1efdb68f9a9b41a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11d08a97bffbf2b5037e247c6b2185ce751a8cc2ec285eed1efdb68f9a9b41a7", kill_on_drop: false }` [INFO] [stdout] 11d08a97bffbf2b5037e247c6b2185ce751a8cc2ec285eed1efdb68f9a9b41a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7657ebd50d8decd22c8cdc00e483ed520dca552c06f76d526654d62010ec3a57 [INFO] running `Command { std: "docker" "start" "-a" "7657ebd50d8decd22c8cdc00e483ed520dca552c06f76d526654d62010ec3a57", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "7657ebd50d8decd22c8cdc00e483ed520dca552c06f76d526654d62010ec3a57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7657ebd50d8decd22c8cdc00e483ed520dca552c06f76d526654d62010ec3a57", kill_on_drop: false }` [INFO] [stdout] 7657ebd50d8decd22c8cdc00e483ed520dca552c06f76d526654d62010ec3a57