[INFO] cloning repository https://github.com/KlotzAndrew/battlesnake [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/KlotzAndrew/battlesnake" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKlotzAndrew%2Fbattlesnake", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKlotzAndrew%2Fbattlesnake'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac46cc936463e94b6f6a1c7394350e98d6f735fb [INFO] checking KlotzAndrew/battlesnake against master#bdcb6a99e853732f8ec050ae4986aa3af51d44c5 for 92191_revert [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKlotzAndrew%2Fbattlesnake" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/KlotzAndrew/battlesnake on toolchain bdcb6a99e853732f8ec050ae4986aa3af51d44c5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+bdcb6a99e853732f8ec050ae4986aa3af51d44c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/KlotzAndrew/battlesnake [INFO] finished tweaking git repo https://github.com/KlotzAndrew/battlesnake [INFO] tweaked toml for git repo https://github.com/KlotzAndrew/battlesnake written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/KlotzAndrew/battlesnake already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+bdcb6a99e853732f8ec050ae4986aa3af51d44c5" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+bdcb6a99e853732f8ec050ae4986aa3af51d44c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9617a1c24d6d30469301ff109dbbe3055e96c15487fb5396516b205bcd441aba [INFO] running `Command { std: "docker" "start" "-a" "9617a1c24d6d30469301ff109dbbe3055e96c15487fb5396516b205bcd441aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9617a1c24d6d30469301ff109dbbe3055e96c15487fb5396516b205bcd441aba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9617a1c24d6d30469301ff109dbbe3055e96c15487fb5396516b205bcd441aba", kill_on_drop: false }` [INFO] [stdout] 9617a1c24d6d30469301ff109dbbe3055e96c15487fb5396516b205bcd441aba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+bdcb6a99e853732f8ec050ae4986aa3af51d44c5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71a3b049078bc7ab467835cf5a583e09ef70d8044d7e26003f99a77bd0110fe5 [INFO] running `Command { std: "docker" "start" "-a" "71a3b049078bc7ab467835cf5a583e09ef70d8044d7e26003f99a77bd0110fe5", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling libc v0.2.96 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling subtle v2.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling cpuid-bool v0.2.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling pear_codegen v0.1.4 [INFO] [stderr] Compiling rocket_codegen v0.4.10 [INFO] [stderr] Compiling rocket v0.4.10 [INFO] [stderr] Checking petgraph v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking cipher v0.2.5 [INFO] [stderr] Checking universal-hash v0.4.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking aead v0.3.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking filetime v0.2.14 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Checking polyval v0.4.5 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking inotify v0.7.1 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking sha2 v0.9.5 [INFO] [stderr] Checking aes-soft v0.6.4 [INFO] [stderr] Checking ctr v0.6.0 [INFO] [stderr] Checking hkdf v0.10.0 [INFO] [stderr] Checking ghash v0.3.1 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Checking aes v0.6.0 [INFO] [stderr] Checking aes-gcm v0.8.0 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking notify v4.0.17 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling cookie v0.11.4 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling devise_core v0.2.0 [INFO] [stderr] Compiling devise_codegen v0.2.0 [INFO] [stderr] Compiling devise v0.2.0 [INFO] [stderr] Compiling pear v0.1.4 [INFO] [stderr] Checking rocket_http v0.4.10 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking rocket_contrib v0.4.10 [INFO] [stderr] Checking battlesnake v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `dijkstra`, `min_spanning_tree` [INFO] [stdout] --> src/mover.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::algo::{dijkstra, min_spanning_tree}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeIndex`, `UnGraph` [INFO] [stdout] --> src/mover.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::graph::{NodeIndex, UnGraph}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::algo::astar` [INFO] [stdout] --> src/mover.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use petgraph::algo::astar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `dijkstra`, `min_spanning_tree` [INFO] [stdout] --> src/mover.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::algo::{dijkstra, min_spanning_tree}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NodeIndex`, `UnGraph` [INFO] [stdout] --> src/mover.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::graph::{NodeIndex, UnGraph}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `petgraph::algo::astar` [INFO] [stdout] --> src/mover.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use petgraph::algo::astar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/mover.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | let head = you.head; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parent` is assigned to, but never used [INFO] [stdout] --> src/mover.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | let mut parent: requests::Point; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_parent` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `parent` is never read [INFO] [stdout] --> src/mover.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | parent = goal; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `head` [INFO] [stdout] --> src/mover.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | let head = you.head; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_head` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `parent` is assigned to, but never used [INFO] [stdout] --> src/mover.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | let mut parent: requests::Point; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_parent` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `parent` is never read [INFO] [stdout] --> src/mover.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | parent = goal; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `idToPoint` [INFO] [stdout] --> src/mover.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn idToPoint(id: i32, size: i32) -> requests::Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pointToID` should have a snake case name [INFO] [stdout] --> src/mover.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn pointToID(point: requests::Point, size: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `point_to_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `idToPoint` should have a snake case name [INFO] [stdout] --> src/mover.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn idToPoint(id: i32, size: i32) -> requests::Point { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_to_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointID` should have a snake case name [INFO] [stdout] --> src/mover.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let pointID = pointToID(point, size); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `point_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `idToPoint` [INFO] [stdout] --> src/mover.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn idToPoint(id: i32, size: i32) -> requests::Point { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pointToID` should have a snake case name [INFO] [stdout] --> src/mover.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn pointToID(point: requests::Point, size: i32) -> i32 { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `point_to_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `idToPoint` should have a snake case name [INFO] [stdout] --> src/mover.rs:31:4 [INFO] [stdout] | [INFO] [stdout] 31 | fn idToPoint(id: i32, size: i32) -> requests::Point { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `id_to_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `pointID` should have a snake case name [INFO] [stdout] --> src/mover.rs:78:13 [INFO] [stdout] | [INFO] [stdout] 78 | let pointID = pointToID(point, size); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `point_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `turnData` should have a snake case name [INFO] [stdout] --> src/mover.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let turnData = r#"{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `turn_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 18s [INFO] running `Command { std: "docker" "inspect" "71a3b049078bc7ab467835cf5a583e09ef70d8044d7e26003f99a77bd0110fe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71a3b049078bc7ab467835cf5a583e09ef70d8044d7e26003f99a77bd0110fe5", kill_on_drop: false }` [INFO] [stdout] 71a3b049078bc7ab467835cf5a583e09ef70d8044d7e26003f99a77bd0110fe5