[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 beta-2022-04-10 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 beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 81863e1c33037c808dfe717426864ddc24666b9057aa63c08d7a2cb9408e591b [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" "81863e1c33037c808dfe717426864ddc24666b9057aa63c08d7a2cb9408e591b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81863e1c33037c808dfe717426864ddc24666b9057aa63c08d7a2cb9408e591b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81863e1c33037c808dfe717426864ddc24666b9057aa63c08d7a2cb9408e591b", kill_on_drop: false }` [INFO] [stdout] 81863e1c33037c808dfe717426864ddc24666b9057aa63c08d7a2cb9408e591b [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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] f0046b92ed36849c8b0f74eb1d1b4c960081fbe78522e4e59be0e4ac9f00598e [INFO] running `Command { std: "docker" "start" "-a" "f0046b92ed36849c8b0f74eb1d1b4c960081fbe78522e4e59be0e4ac9f00598e", 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.37s [INFO] running `Command { std: "docker" "inspect" "f0046b92ed36849c8b0f74eb1d1b4c960081fbe78522e4e59be0e4ac9f00598e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0046b92ed36849c8b0f74eb1d1b4c960081fbe78522e4e59be0e4ac9f00598e", kill_on_drop: false }` [INFO] [stdout] f0046b92ed36849c8b0f74eb1d1b4c960081fbe78522e4e59be0e4ac9f00598e [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", 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] 144e3a6f00c1fb4f4bac7226320eafe9e1e27d44d917faffd72edb5f9bfca365 [INFO] running `Command { std: "docker" "start" "-a" "144e3a6f00c1fb4f4bac7226320eafe9e1e27d44d917faffd72edb5f9bfca365", 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" "144e3a6f00c1fb4f4bac7226320eafe9e1e27d44d917faffd72edb5f9bfca365", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "144e3a6f00c1fb4f4bac7226320eafe9e1e27d44d917faffd72edb5f9bfca365", kill_on_drop: false }` [INFO] [stdout] 144e3a6f00c1fb4f4bac7226320eafe9e1e27d44d917faffd72edb5f9bfca365