[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] testing maxwellburson/42_N-puzzle against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxwellburson%2F42_N-puzzle" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxwellburson/42_N-puzzle on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-11/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] 5342857c10e0020f14e8524325b334ef0ab023d812db55815326bb770fd2f944 [INFO] running `Command { std: "docker" "start" "-a" "5342857c10e0020f14e8524325b334ef0ab023d812db55815326bb770fd2f944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5342857c10e0020f14e8524325b334ef0ab023d812db55815326bb770fd2f944", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5342857c10e0020f14e8524325b334ef0ab023d812db55815326bb770fd2f944", kill_on_drop: false }` [INFO] [stdout] 5342857c10e0020f14e8524325b334ef0ab023d812db55815326bb770fd2f944 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 95559bc9c83028db4b765b13a457a20a5aac8621fb5e595e6a370b648e7fc28c [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" "95559bc9c83028db4b765b13a457a20a5aac8621fb5e595e6a370b648e7fc28c", kill_on_drop: false }` [INFO] [stderr] Compiling 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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - moves.push(((self.x, self.y - 1))); [INFO] [stdout] 50 + moves.push((self.x, self.y - 1)); [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - moves.push(((self.x, self.y + 1))); [INFO] [stdout] 53 + moves.push((self.x, self.y + 1)); [INFO] [stdout] | [INFO] [stdout] [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] [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] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.73s [INFO] running `Command { std: "docker" "inspect" "95559bc9c83028db4b765b13a457a20a5aac8621fb5e595e6a370b648e7fc28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95559bc9c83028db4b765b13a457a20a5aac8621fb5e595e6a370b648e7fc28c", kill_on_drop: false }` [INFO] [stdout] 95559bc9c83028db4b765b13a457a20a5aac8621fb5e595e6a370b648e7fc28c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+1.60.0" "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] 11c36d8f0627b59b35e461187c10b4b8ca0cef6d07ac6235e4ec484e75ee4456 [INFO] running `Command { std: "docker" "start" "-a" "11c36d8f0627b59b35e461187c10b4b8ca0cef6d07ac6235e4ec484e75ee4456", kill_on_drop: false }` [INFO] [stderr] Compiling n_puzzle v0.1.0 (/opt/rustwide/workdir) [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 50 - moves.push(((self.x, self.y - 1))); [INFO] [stdout] 50 + moves.push((self.x, self.y - 1)); [INFO] [stdout] | [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] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 53 - moves.push(((self.x, self.y + 1))); [INFO] [stdout] 53 + moves.push((self.x, self.y + 1)); [INFO] [stdout] | [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] [stderr] error: could not compile `n_puzzle` due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "11c36d8f0627b59b35e461187c10b4b8ca0cef6d07ac6235e4ec484e75ee4456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c36d8f0627b59b35e461187c10b4b8ca0cef6d07ac6235e4ec484e75ee4456", kill_on_drop: false }` [INFO] [stdout] 11c36d8f0627b59b35e461187c10b4b8ca0cef6d07ac6235e4ec484e75ee4456