[INFO] cloning repository https://github.com/jockbert/jockbert_ants_bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jockbert/jockbert_ants_bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjockbert%2Fjockbert_ants_bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjockbert%2Fjockbert_ants_bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 20968a6e885528fd47b5e45867bdb60fba6e1824 [INFO] checking jockbert/jockbert_ants_bot against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjockbert%2Fjockbert_ants_bot" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jockbert/jockbert_ants_bot 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/jockbert/jockbert_ants_bot [INFO] finished tweaking git repo https://github.com/jockbert/jockbert_ants_bot [INFO] tweaked toml for git repo https://github.com/jockbert/jockbert_ants_bot written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/jockbert/ants_ai_challenge_api` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 31 packages [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.2.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding indoc v0.3.6 (latest: v2.0.5) [INFO] [stderr] Adding indoc-impl v0.3.6 (latest: v0.3.7) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.57) [INFO] [stderr] Adding unindent v0.1.11 (latest: v0.2.3) [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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8d167985e4b167a3bf5c1d5b788c2f000315035ffa5fb6d56c23200e622026a1 [INFO] running `Command { std: "docker" "start" "-a" "8d167985e4b167a3bf5c1d5b788c2f000315035ffa5fb6d56c23200e622026a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d167985e4b167a3bf5c1d5b788c2f000315035ffa5fb6d56c23200e622026a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d167985e4b167a3bf5c1d5b788c2f000315035ffa5fb6d56c23200e622026a1", kill_on_drop: false }` [INFO] [stdout] 8d167985e4b167a3bf5c1d5b788c2f000315035ffa5fb6d56c23200e622026a1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] a3235189a7f83cd6550ec895a270b4b9985c86f4f1dfe610c7b9599890f808da [INFO] running `Command { std: "docker" "start" "-a" "a3235189a7f83cd6550ec895a270b4b9985c86f4f1dfe610c7b9599890f808da", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling unindent v0.1.11 [INFO] [stderr] Checking bencher v0.1.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking ants_ai_challenge_api v0.1.0 (https://github.com/jockbert/ants_ai_challenge_api?branch=master#028d07e1) [INFO] [stderr] Checking jockbot_ants_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utilities.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | () => { ::std::collections::HashSet::new(); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 94 | let mut result = set!(); [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WorldStep` is imported redundantly [INFO] [stdout] --> src/strategy/composite_strategy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::strategy::*; [INFO] [stdout] | ------------------ the item `WorldStep` is already imported here [INFO] [stdout] 2 | use crate::world_step::WorldStep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/strategy/composite_strategy.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::strategy::*; [INFO] [stdout] | ------------------ the item `HashSet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/strategy/gather_food.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::strategy::*; [INFO] [stdout] | ------------------ the item `HashSet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/strategy/hill_raiser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::strategy::*; [INFO] [stdout] | ------------------ the item `HashSet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/strategy/multisearch/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::strategy::*; [INFO] [stdout] | ------------------ the item `HashSet` is already imported here [INFO] [stdout] 3 | use std::collections::BinaryHeap; [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `manhattan` is imported redundantly [INFO] [stdout] --> src/strategy/search/repeated_a_star.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::manhattan_filter::manhattan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::strategy::search::*; [INFO] [stdout] | -------------------------- the item `manhattan` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/strategy/search/repeated_a_star.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::strategy::search::*; [INFO] [stdout] | -------------------------- the item `HashSet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Orders` is imported redundantly [INFO] [stdout] --> src/strategy/spread_out_scout.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::strategy::*; [INFO] [stdout] | ------------------ the item `Orders` is already imported here [INFO] [stdout] 2 | use ants_ai_challenge_api::Orders; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Position` is imported redundantly [INFO] [stdout] --> src/strategy/spread_out_scout.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::strategy::*; [INFO] [stdout] | ------------------ the item `Position` is already imported here [INFO] [stdout] 2 | use ants_ai_challenge_api::Orders; [INFO] [stdout] 3 | use ants_ai_challenge_api::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/world_step/ant_crash_filter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::world_step::*; [INFO] [stdout] | -------------------- the item `HashMap` is already imported here [INFO] [stdout] 2 | use ants_ai_challenge_api::*; [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utilities.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | () => { ::std::collections::HashSet::new(); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 94 | let mut result = set!(); [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `WorldStep` is imported redundantly [INFO] [stdout] --> src/strategy/composite_strategy.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::strategy::*; [INFO] [stdout] | ------------------ the item `WorldStep` is already imported here [INFO] [stdout] 2 | use crate::world_step::WorldStep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utilities.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | () => { ::std::collections::HashSet::new(); }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/strategy/composite_strategy.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | assert_eq![ants, set![]]; [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/strategy/gather_food.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::strategy::*; [INFO] [stdout] | ------------------ the item `HashSet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utilities.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | () => { ::std::collections::HashSet::new(); }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/strategy/gather_food.rs:43:26 [INFO] [stdout] | [INFO] [stdout] 43 | assert_eq![ants, set![]]; [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utilities.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | () => { ::std::collections::HashSet::new(); }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/strategy/gather_food.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq![ants, set![]]; [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/strategy/hill_raiser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::strategy::*; [INFO] [stdout] | ------------------ the item `HashSet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utilities.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | () => { ::std::collections::HashSet::new(); }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/strategy/hill_raiser.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | assert_eq![ants, set![]]; [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utilities.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | () => { ::std::collections::HashSet::new(); }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/strategy/hill_raiser.rs:106:26 [INFO] [stdout] | [INFO] [stdout] 106 | assert_eq![ants, set![]]; [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/utilities.rs:7:47 [INFO] [stdout] | [INFO] [stdout] 7 | () => { ::std::collections::HashSet::new(); }; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] ::: src/strategy/search/manhattan_filter.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | expected_from: set![], [INFO] [stdout] | ------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `set` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `manhattan` is imported redundantly [INFO] [stdout] --> src/strategy/search/repeated_a_star.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::manhattan_filter::manhattan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use crate::strategy::search::*; [INFO] [stdout] | -------------------------- the item `manhattan` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashSet` is imported redundantly [INFO] [stdout] --> src/strategy/search/repeated_a_star.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::strategy::search::*; [INFO] [stdout] | -------------------------- the item `HashSet` is already imported here [INFO] [stdout] ... [INFO] [stdout] 6 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Orders` is imported redundantly [INFO] [stdout] --> src/strategy/spread_out_scout.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::strategy::*; [INFO] [stdout] | ------------------ the item `Orders` is already imported here [INFO] [stdout] 2 | use ants_ai_challenge_api::Orders; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Position` is imported redundantly [INFO] [stdout] --> src/strategy/spread_out_scout.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::strategy::*; [INFO] [stdout] | ------------------ the item `Position` is already imported here [INFO] [stdout] 2 | use ants_ai_challenge_api::Orders; [INFO] [stdout] 3 | use ants_ai_challenge_api::Position; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `HashMap` is imported redundantly [INFO] [stdout] --> src/world_step/ant_crash_filter.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::world_step::*; [INFO] [stdout] | -------------------- the item `HashMap` is already imported here [INFO] [stdout] 2 | use ants_ai_challenge_api::*; [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `utilities` is imported redundantly [INFO] [stdout] --> src/lib.rs:80:9 [INFO] [stdout] | [INFO] [stdout] 79 | use super::*; [INFO] [stdout] | -------- the item `utilities` is already imported here [INFO] [stdout] 80 | use crate::utilities; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Some(&ants_ai_challenge_api::Direction::NoDirection)` not covered [INFO] [stdout] --> src/world_step/mod.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | let annotation = match order_map.get(&p) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ pattern `Some(&ants_ai_challenge_api::Direction::NoDirection)` not covered [INFO] [stdout] | [INFO] [stdout] note: `Option<&ants_ai_challenge_api::Direction>` defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:571:1 [INFO] [stdout] ::: /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:579:5 [INFO] [stdout] | [INFO] [stdout] = note: not covered [INFO] [stdout] = note: the matched value is of type `Option<&ants_ai_challenge_api::Direction>` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 75 ~ None => ' ', [INFO] [stdout] 76 ~ Some(&ants_ai_challenge_api::Direction::NoDirection) => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jockbot_ants_bot` (lib) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Some(&ants_ai_challenge_api::Direction::NoDirection)` not covered [INFO] [stdout] --> src/world_step/mod.rs:70:44 [INFO] [stdout] | [INFO] [stdout] 70 | let annotation = match order_map.get(&p) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ pattern `Some(&ants_ai_challenge_api::Direction::NoDirection)` not covered [INFO] [stdout] | [INFO] [stdout] note: `Option<&ants_ai_challenge_api::Direction>` defined here [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:571:1 [INFO] [stdout] ::: /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/core/src/option.rs:579:5 [INFO] [stdout] | [INFO] [stdout] = note: not covered [INFO] [stdout] = note: the matched value is of type `Option<&ants_ai_challenge_api::Direction>` [INFO] [stdout] help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern or an explicit pattern as shown [INFO] [stdout] | [INFO] [stdout] 75 ~ None => ' ', [INFO] [stdout] 76 ~ Some(&ants_ai_challenge_api::Direction::NoDirection) => todo!(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jockbot_ants_bot` (lib test) due to 2 previous errors; 23 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a3235189a7f83cd6550ec895a270b4b9985c86f4f1dfe610c7b9599890f808da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3235189a7f83cd6550ec895a270b4b9985c86f4f1dfe610c7b9599890f808da", kill_on_drop: false }` [INFO] [stdout] a3235189a7f83cd6550ec895a270b4b9985c86f4f1dfe610c7b9599890f808da [INFO] checking jockbert/jockbert_ants_bot against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjockbert%2Fjockbert_ants_bot" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jockbert/jockbert_ants_bot 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/jockbert/jockbert_ants_bot [INFO] finished tweaking git repo https://github.com/jockbert/jockbert_ants_bot [INFO] tweaked toml for git repo https://github.com/jockbert/jockbert_ants_bot written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/jockbert/ants_ai_challenge_api` [INFO] [stderr] Updating crates.io index [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7c58d3a75a20f516c43d2c323b2f0f2bc0d22b5e70eacf3671a0bb740df8511e [INFO] running `Command { std: "docker" "start" "-a" "7c58d3a75a20f516c43d2c323b2f0f2bc0d22b5e70eacf3671a0bb740df8511e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c58d3a75a20f516c43d2c323b2f0f2bc0d22b5e70eacf3671a0bb740df8511e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c58d3a75a20f516c43d2c323b2f0f2bc0d22b5e70eacf3671a0bb740df8511e", kill_on_drop: false }` [INFO] [stdout] 7c58d3a75a20f516c43d2c323b2f0f2bc0d22b5e70eacf3671a0bb740df8511e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1db7a6f5ae24b6980431286b3ec151f2256d6cf166f30a8955eeef2223f20140 [INFO] running `Command { std: "docker" "start" "-a" "1db7a6f5ae24b6980431286b3ec151f2256d6cf166f30a8955eeef2223f20140", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "1db7a6f5ae24b6980431286b3ec151f2256d6cf166f30a8955eeef2223f20140", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1db7a6f5ae24b6980431286b3ec151f2256d6cf166f30a8955eeef2223f20140", kill_on_drop: false }` [INFO] [stdout] 1db7a6f5ae24b6980431286b3ec151f2256d6cf166f30a8955eeef2223f20140