[INFO] cloning repository https://github.com/mbillingr/halite3-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mbillingr/halite3-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbillingr%2Fhalite3-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmbillingr%2Fhalite3-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49ffef72723db93f155ed507660eff5d74060f27 [INFO] testing mbillingr/halite3-bot 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%2Fmbillingr%2Fhalite3-bot" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 98% (102/104) Updating files: 99% (103/104) Updating files: 100% (104/104) Updating files: 100% (104/104), done. [INFO] validating manifest of git repo https://github.com/mbillingr/halite3-bot 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/mbillingr/halite3-bot [INFO] finished tweaking git repo https://github.com/mbillingr/halite3-bot [INFO] tweaked toml for git repo https://github.com/mbillingr/halite3-bot written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/mbillingr/halite3-bot 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] 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] 4c1d6686cd02aae50cfe1269684936070c83be6dd958960d0e9ee9d9a9e7d6f5 [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" "4c1d6686cd02aae50cfe1269684936070c83be6dd958960d0e9ee9d9a9e7d6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c1d6686cd02aae50cfe1269684936070c83be6dd958960d0e9ee9d9a9e7d6f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c1d6686cd02aae50cfe1269684936070c83be6dd958960d0e9ee9d9a9e7d6f5", kill_on_drop: false }` [INFO] [stdout] 4c1d6686cd02aae50cfe1269684936070c83be6dd958960d0e9ee9d9a9e7d6f5 [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] [stdout] 30992718a638c6de36278c7b18e03ba43f02e7ac9e84179a55a57aebef7a5cbb [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" "30992718a638c6de36278c7b18e03ba43f02e7ac9e84179a55a57aebef7a5cbb", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling serde v1.0.84 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling syn v0.15.24 [INFO] [stderr] Compiling pathfinding v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.84 [INFO] [stderr] Compiling serde_json v1.0.34 [INFO] [stderr] Compiling my_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlt/game_map.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn at_entity(&self, entity: &Entity) -> &MapCell { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn at_entity(&self, entity: &Entity) -> &MapCell { [INFO] [stdout] 26 + pub fn at_entity(&self, entity: &dyn Entity) -> &MapCell { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlt/game_map.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn at_entity_mut(&mut self, entity: &Entity) -> &mut MapCell { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - pub fn at_entity_mut(&mut self, entity: &Entity) -> &mut MapCell { [INFO] [stdout] 30 + pub fn at_entity_mut(&mut self, entity: &dyn Entity) -> &mut MapCell { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_dijkstra_move` [INFO] [stdout] --> src/main.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 348 | fn get_dijkstra_move(&mut self, pos: Position, dest: Position) -> [i32; 5] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 33.25s [INFO] running `Command { std: "docker" "inspect" "30992718a638c6de36278c7b18e03ba43f02e7ac9e84179a55a57aebef7a5cbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "30992718a638c6de36278c7b18e03ba43f02e7ac9e84179a55a57aebef7a5cbb", kill_on_drop: false }` [INFO] [stdout] 30992718a638c6de36278c7b18e03ba43f02e7ac9e84179a55a57aebef7a5cbb [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] 4a435a2073bd28581202a25b29950c984884912043c4694428ceb6881cbe7bf9 [INFO] running `Command { std: "docker" "start" "-a" "4a435a2073bd28581202a25b29950c984884912043c4694428ceb6881cbe7bf9", kill_on_drop: false }` [INFO] [stderr] Compiling my_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlt/game_map.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn at_entity(&self, entity: &Entity) -> &MapCell { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn at_entity(&self, entity: &Entity) -> &MapCell { [INFO] [stdout] 26 + pub fn at_entity(&self, entity: &dyn Entity) -> &MapCell { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/hlt/game_map.rs:30:46 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn at_entity_mut(&mut self, entity: &Entity) -> &mut MapCell { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - pub fn at_entity_mut(&mut self, entity: &Entity) -> &mut MapCell { [INFO] [stdout] 30 + pub fn at_entity_mut(&mut self, entity: &dyn Entity) -> &mut MapCell { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_dijkstra_move` [INFO] [stdout] --> src/main.rs:348:8 [INFO] [stdout] | [INFO] [stdout] 348 | fn get_dijkstra_move(&mut self, pos: Position, dest: Position) -> [i32; 5] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.11s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/my_bot-3721a1870926f7ee) [INFO] running `Command { std: "docker" "inspect" "4a435a2073bd28581202a25b29950c984884912043c4694428ceb6881cbe7bf9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a435a2073bd28581202a25b29950c984884912043c4694428ceb6881cbe7bf9", kill_on_drop: false }` [INFO] [stdout] 4a435a2073bd28581202a25b29950c984884912043c4694428ceb6881cbe7bf9 [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", 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] 544be5e5fcfd99f4724c99db52b4fe8c082cb831afa91638ad7d14d3437cb042 [INFO] running `Command { std: "docker" "start" "-a" "544be5e5fcfd99f4724c99db52b4fe8c082cb831afa91638ad7d14d3437cb042", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hlt/game_map.rs:26:38 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn at_entity(&self, entity: &Entity) -> &MapCell { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 26 - pub fn at_entity(&self, entity: &Entity) -> &MapCell { [INFO] [stderr] 26 + pub fn at_entity(&self, entity: &dyn Entity) -> &MapCell { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/hlt/game_map.rs:30:46 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn at_entity_mut(&mut self, entity: &Entity) -> &mut MapCell { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 30 - pub fn at_entity_mut(&mut self, entity: &Entity) -> &mut MapCell { [INFO] [stderr] 30 + pub fn at_entity_mut(&mut self, entity: &dyn Entity) -> &mut MapCell { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_dijkstra_move` [INFO] [stderr] --> src/main.rs:348:8 [INFO] [stderr] | [INFO] [stderr] 348 | fn get_dijkstra_move(&mut self, pos: Position, dest: Position) -> [i32; 5] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `my_bot` (bin "my_bot" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/my_bot-3721a1870926f7ee) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "544be5e5fcfd99f4724c99db52b4fe8c082cb831afa91638ad7d14d3437cb042", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "544be5e5fcfd99f4724c99db52b4fe8c082cb831afa91638ad7d14d3437cb042", kill_on_drop: false }` [INFO] [stdout] 544be5e5fcfd99f4724c99db52b4fe8c082cb831afa91638ad7d14d3437cb042