[INFO] cloning repository https://github.com/maxwellburson/42_N-puzzle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/maxwellburson/42_N-puzzle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxwellburson%2F42_N-puzzle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxwellburson%2F42_N-puzzle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 02434ae1179651b21d85a48a3ab3831005cd85d4 [INFO] checking maxwellburson/42_N-puzzle against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxwellburson%2F42_N-puzzle" "/workspace/builds/worker-98/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-98/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxwellburson/42_N-puzzle on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/maxwellburson/42_N-puzzle [INFO] finished tweaking git repo https://github.com/maxwellburson/42_N-puzzle [INFO] tweaked toml for git repo https://github.com/maxwellburson/42_N-puzzle written to /workspace/builds/worker-98/source/Cargo.toml [INFO] crate git repo https://github.com/maxwellburson/42_N-puzzle already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a848ea18b3c74c387698ef71ea2d3fff33b33211434ab45dd1d69ef67a9a3164 [INFO] running `Command { std: "docker" "start" "-a" "a848ea18b3c74c387698ef71ea2d3fff33b33211434ab45dd1d69ef67a9a3164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a848ea18b3c74c387698ef71ea2d3fff33b33211434ab45dd1d69ef67a9a3164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a848ea18b3c74c387698ef71ea2d3fff33b33211434ab45dd1d69ef67a9a3164", kill_on_drop: false }` [INFO] [stdout] a848ea18b3c74c387698ef71ea2d3fff33b33211434ab45dd1d69ef67a9a3164 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-98/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 103e6d208b69034d5fc5d9c0a065f5ca5570c7cda837e6a50dbe19241f01df6d [INFO] running `Command { std: "docker" "start" "-a" "103e6d208b69034d5fc5d9c0a065f5ca5570c7cda837e6a50dbe19241f01df6d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking n_puzzle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/puzzle/mod.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | moves.push(((self.x, self.y - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/puzzle/mod.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | moves.push(((self.x, self.y + 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_final_data` in this scope [INFO] [stdout] --> src/puzzle/generate_final.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn generate_final(size: usize) -> Vec>{ [INFO] [stdout] | --------------------------------------------------- similarly named function `generate_final` defined here [INFO] [stdout] ... [INFO] [stdout] 46 | generate_final_data(3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `generate_final` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_final_data` in this scope [INFO] [stdout] --> src/puzzle/generate_final.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn generate_final(size: usize) -> Vec>{ [INFO] [stdout] | --------------------------------------------------- similarly named function `generate_final` defined here [INFO] [stdout] ... [INFO] [stdout] 54 | generate_final_data(4), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `generate_final` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generate_final_data` in this scope [INFO] [stdout] --> src/puzzle/generate_final.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn generate_final(size: usize) -> Vec>{ [INFO] [stdout] | --------------------------------------------------- similarly named function `generate_final` defined here [INFO] [stdout] ... [INFO] [stdout] 63 | generate_final_data(5), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `generate_final` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/puzzle/mod.rs:50:24 [INFO] [stdout] | [INFO] [stdout] 50 | moves.push(((self.x, self.y - 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/puzzle/mod.rs:53:24 [INFO] [stdout] | [INFO] [stdout] 53 | moves.push(((self.x, self.y + 1))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/a_star/solve.rs:75:30 [INFO] [stdout] | [INFO] [stdout] 75 | if ( if let Some(mut s_cell) = states.get(&s.data) { [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] [stderr] error: could not compile `n_puzzle` due to 4 previous errors; 2 warnings emitted [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle/mod.rs:20:28 [INFO] [stdout] | [INFO] [stdout] 20 | Err(err) => panic!(format!( [INFO] [stdout] | ____________________________^ [INFO] [stdout] 21 | | "Bug or invalid puzzle size, error: {}", err [INFO] [stdout] 22 | | )) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 20 ~ Err(err) => panic!( [INFO] [stdout] 21 | "Bug or invalid puzzle size, error: {}", err [INFO] [stdout] 22 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "103e6d208b69034d5fc5d9c0a065f5ca5570c7cda837e6a50dbe19241f01df6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "103e6d208b69034d5fc5d9c0a065f5ca5570c7cda837e6a50dbe19241f01df6d", kill_on_drop: false }` [INFO] [stdout] 103e6d208b69034d5fc5d9c0a065f5ca5570c7cda837e6a50dbe19241f01df6d