[INFO] cloning repository https://github.com/IdioticRemi/fall-challenge-2022 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/IdioticRemi/fall-challenge-2022" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIdioticRemi%2Ffall-challenge-2022", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIdioticRemi%2Ffall-challenge-2022'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aeac353076b6ab6d1c173cad3e605809f34e6836 [INFO] checking IdioticRemi/fall-challenge-2022 against master#96df4943409564a187894018f15f795426dc2e1f for pr-118968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIdioticRemi%2Ffall-challenge-2022" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IdioticRemi/fall-challenge-2022 on toolchain 96df4943409564a187894018f15f795426dc2e1f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96df4943409564a187894018f15f795426dc2e1f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IdioticRemi/fall-challenge-2022 [INFO] finished tweaking git repo https://github.com/IdioticRemi/fall-challenge-2022 [INFO] tweaked toml for git repo https://github.com/IdioticRemi/fall-challenge-2022 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/IdioticRemi/fall-challenge-2022 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+96df4943409564a187894018f15f795426dc2e1f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking IdioticRemi/fall-challenge-2022 against try#7e4f74fb8736fea8f455bb6e094122965ae8f4cd for pr-118968 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIdioticRemi%2Ffall-challenge-2022" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/IdioticRemi/fall-challenge-2022 on toolchain 7e4f74fb8736fea8f455bb6e094122965ae8f4cd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/IdioticRemi/fall-challenge-2022 [INFO] finished tweaking git repo https://github.com/IdioticRemi/fall-challenge-2022 [INFO] tweaked toml for git repo https://github.com/IdioticRemi/fall-challenge-2022 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/IdioticRemi/fall-challenge-2022 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1956c13d7d81cd16c572a9f492b4171c026970e69527bd18e82481cdb240db72 [INFO] running `Command { std: "docker" "start" "-a" "1956c13d7d81cd16c572a9f492b4171c026970e69527bd18e82481cdb240db72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1956c13d7d81cd16c572a9f492b4171c026970e69527bd18e82481cdb240db72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1956c13d7d81cd16c572a9f492b4171c026970e69527bd18e82481cdb240db72", kill_on_drop: false }` [INFO] [stdout] 1956c13d7d81cd16c572a9f492b4171c026970e69527bd18e82481cdb240db72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+7e4f74fb8736fea8f455bb6e094122965ae8f4cd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f72d8b83ea5cdcb436439eb40f0a7d33da3a058897a0d4409e9e3e56ab6570d [INFO] running `Command { std: "docker" "start" "-a" "6f72d8b83ea5cdcb436439eb40f0a7d33da3a058897a0d4409e9e3e56ab6570d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.138 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fall_challenge_2022 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | let mut tile = self.tiles[x].get_mut(y).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_tile` [INFO] [stdout] --> src/main.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | let next_tile = &self.tiles[next.0][next.1]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_tile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `turn` is assigned to, but never used [INFO] [stdout] --> src/main.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | let mut turn: usize = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_turn` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bfs_nearest_neutral` [INFO] [stdout] --> src/main.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | let bfs_nearest_neutral = |tile: &Tile| tile.owner == Owner::NEUTRAL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bfs_nearest_neutral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bfs_nearest_enemy` [INFO] [stdout] --> src/main.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | let bfs_nearest_enemy = |tile: &Tile| tile.owner == Owner::OPP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bfs_nearest_enemy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:165:21 [INFO] [stdout] | [INFO] [stdout] 165 | let mut tile = self.tiles[x].get_mut(y).unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bfs_to` is never used [INFO] [stdout] --> src/main.rs:320:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 320 | fn bfs_to(&self, start: Position, end: Position) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `next_tile` [INFO] [stdout] --> src/main.rs:336:21 [INFO] [stdout] | [INFO] [stdout] 336 | let next_tile = &self.tiles[next.0][next.1]; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_next_tile` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `turn` is assigned to, but never used [INFO] [stdout] --> src/main.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | let mut turn: usize = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_turn` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bfs_nearest_neutral` [INFO] [stdout] --> src/main.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | let bfs_nearest_neutral = |tile: &Tile| tile.owner == Owner::NEUTRAL; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bfs_nearest_neutral` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bfs_nearest_enemy` [INFO] [stdout] --> src/main.rs:430:9 [INFO] [stdout] | [INFO] [stdout] 430 | let bfs_nearest_enemy = |tile: &Tile| tile.owner == Owner::OPP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bfs_nearest_enemy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `bfs_to` is never used [INFO] [stdout] --> src/main.rs:320:8 [INFO] [stdout] | [INFO] [stdout] 89 | impl Game { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 320 | fn bfs_to(&self, start: Position, end: Position) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "6f72d8b83ea5cdcb436439eb40f0a7d33da3a058897a0d4409e9e3e56ab6570d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f72d8b83ea5cdcb436439eb40f0a7d33da3a058897a0d4409e9e3e56ab6570d", kill_on_drop: false }` [INFO] [stdout] 6f72d8b83ea5cdcb436439eb40f0a7d33da3a058897a0d4409e9e3e56ab6570d