[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxwellburson%2F42_N-puzzle: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/pre-commit.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxwellburson%2F42_N-puzzle/hooks/pre-commit.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxwellburson%2F42_N-puzzle/hooks/: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxwellburson%2F42_N-puzzle: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxwellburson%2F42_N-puzzle: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [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#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmaxwellburson%2F42_N-puzzle" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/maxwellburson/42_N-puzzle on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 569c91ba93aaba70e01f17bc26201c658c585ca027ed0340346b21dd1d0e66a7 [INFO] running `Command { std: "docker" "start" "-a" "569c91ba93aaba70e01f17bc26201c658c585ca027ed0340346b21dd1d0e66a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "569c91ba93aaba70e01f17bc26201c658c585ca027ed0340346b21dd1d0e66a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "569c91ba93aaba70e01f17bc26201c658c585ca027ed0340346b21dd1d0e66a7", kill_on_drop: false }` [INFO] [stdout] 569c91ba93aaba70e01f17bc26201c658c585ca027ed0340346b21dd1d0e66a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82494ad2900e028c087f24c0d00740a191c1b94599035504545d01b591bff66a [INFO] running `Command { std: "docker" "start" "-a" "82494ad2900e028c087f24c0d00740a191c1b94599035504545d01b591bff66a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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] | ^ ^ [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: 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[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: 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: field `sequence_of_states` is never read [INFO] [stdout] --> src/a_star/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Solution { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | pub sequence_of_states: Vec, // unimplemented [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` 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: 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] = note: `#[warn(non_fmt_panics)]` on by default [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: 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] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `n_puzzle` (bin "n_puzzle" test) due to 3 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "82494ad2900e028c087f24c0d00740a191c1b94599035504545d01b591bff66a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82494ad2900e028c087f24c0d00740a191c1b94599035504545d01b591bff66a", kill_on_drop: false }` [INFO] [stdout] 82494ad2900e028c087f24c0d00740a191c1b94599035504545d01b591bff66a