[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] testing JustenRickert/halite-bot-rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJustenRickert%2Fhalite-bot-rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JustenRickert/halite-bot-rust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-0/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9ebc23c633b95228a491f6663a4ff476b454c30d51c064eb4fd5d7bd87d8f1bf [INFO] running `Command { std: "docker" "start" "-a" "9ebc23c633b95228a491f6663a4ff476b454c30d51c064eb4fd5d7bd87d8f1bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ebc23c633b95228a491f6663a4ff476b454c30d51c064eb4fd5d7bd87d8f1bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ebc23c633b95228a491f6663a4ff476b454c30d51c064eb4fd5d7bd87d8f1bf", kill_on_drop: false }` [INFO] [stdout] 9ebc23c633b95228a491f6663a4ff476b454c30d51c064eb4fd5d7bd87d8f1bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f7a4f6703e208aa7a833ea408e7437c7a08e0c2cf690762e8d3672a31fb2316 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2f7a4f6703e208aa7a833ea408e7437c7a08e0c2cf690762e8d3672a31fb2316", kill_on_drop: false }` [INFO] [stderr] Compiling 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] = note: `#[warn(anonymous_parameters)]` on by default [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] [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: variant is never constructed: `Undock` [INFO] [stdout] --> src/hlt/command.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | Undock(i32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/hlt/command.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `all_players` [INFO] [stdout] --> src/hlt/game_map.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn all_players(&self) -> &[Player] { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `undock` [INFO] [stdout] --> src/hlt/entity/ship.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn undock(&self) -> Command { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_full` [INFO] [stdout] --> src/hlt/entity/planet.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn is_full(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `MyBot` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `my_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.30s [INFO] running `Command { std: "docker" "inspect" "2f7a4f6703e208aa7a833ea408e7437c7a08e0c2cf690762e8d3672a31fb2316", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f7a4f6703e208aa7a833ea408e7437c7a08e0c2cf690762e8d3672a31fb2316", kill_on_drop: false }` [INFO] [stdout] 2f7a4f6703e208aa7a833ea408e7437c7a08e0c2cf690762e8d3672a31fb2316 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9d61fe33dc42dbbb3916443a52f19aa08b054a0d9f9a80cb328d1b8c3d8cba3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d9d61fe33dc42dbbb3916443a52f19aa08b054a0d9f9a80cb328d1b8c3d8cba3", kill_on_drop: false }` [INFO] [stderr] Compiling MyBot v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(anonymous_parameters)]` on by default [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning 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` due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "d9d61fe33dc42dbbb3916443a52f19aa08b054a0d9f9a80cb328d1b8c3d8cba3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9d61fe33dc42dbbb3916443a52f19aa08b054a0d9f9a80cb328d1b8c3d8cba3", kill_on_drop: false }` [INFO] [stdout] d9d61fe33dc42dbbb3916443a52f19aa08b054a0d9f9a80cb328d1b8c3d8cba3