[INFO] cloning repository https://github.com/philippeitis/RuzzleSolverRS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/philippeitis/RuzzleSolverRS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilippeitis%2FRuzzleSolverRS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilippeitis%2FRuzzleSolverRS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ddf3ee3955b4138324427606f757f721d922e645 [INFO] checking philippeitis/RuzzleSolverRS against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilippeitis%2FRuzzleSolverRS" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/philippeitis/RuzzleSolverRS on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/philippeitis/RuzzleSolverRS [INFO] finished tweaking git repo https://github.com/philippeitis/RuzzleSolverRS [INFO] tweaked toml for git repo https://github.com/philippeitis/RuzzleSolverRS written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/philippeitis/RuzzleSolverRS already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6f693652c28bf57f1e20cb642c92b0f90b97fa3d7f181829fb3fc730a573954 [INFO] running `Command { std: "docker" "start" "-a" "a6f693652c28bf57f1e20cb642c92b0f90b97fa3d7f181829fb3fc730a573954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6f693652c28bf57f1e20cb642c92b0f90b97fa3d7f181829fb3fc730a573954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6f693652c28bf57f1e20cb642c92b0f90b97fa3d7f181829fb3fc730a573954", kill_on_drop: false }` [INFO] [stdout] a6f693652c28bf57f1e20cb642c92b0f90b97fa3d7f181829fb3fc730a573954 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e868a2a37f85eae556bd3239e0678a4cd1a0794b9ddb6fe5904e352e5722bb85 [INFO] running `Command { std: "docker" "start" "-a" "e868a2a37f85eae556bd3239e0678a4cd1a0794b9ddb6fe5904e352e5722bb85", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking ruzzle_solver v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ruzzle_solver` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/main.rs:117:5 [INFO] [stderr] | [INFO] [stderr] 117 | / /// Paths consist of 12 five bit vertices: [INFO] [stderr] 118 | | /// [continuation_flag:1][x:2][y:2] [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] ... [INFO] [stderr] 125 | / while let Some((path, word, word_pts, word_mult, mut word_len, mut visited)) = stack.pop() { [INFO] [stderr] 126 | | if (word_len >= MIN_WORD_LEN) & (word_len <= MAX_WORD_LEN) & board.dictionary.contains(&word) { [INFO] [stderr] 127 | | let mut score = word_pts * (word_mult as u16); [INFO] [stderr] 128 | | if word_len > 4 { [INFO] [stderr] ... | [INFO] [stderr] 163 | | } [INFO] [stderr] 164 | | } [INFO] [stderr] | |_____- rustdoc does not generate documentation for expressions [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:86:48 [INFO] [stderr] | [INFO] [stderr] 86 | let max_bit = path_to_vec_buffered(path_as_u64, &mut path_buf_); [INFO] [stderr] | ^^^^^^^^^^^ expected `u64`, found `&u64` [INFO] [stderr] | [INFO] [stderr] help: consider dereferencing the borrow [INFO] [stderr] | [INFO] [stderr] 86 | let max_bit = path_to_vec_buffered(*path_as_u64, &mut path_buf_); [INFO] [stderr] | + [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / /// Paths consist of 12 five bit vertices: [INFO] [stdout] 118 | | /// [continuation_flag:1][x:2][y:2] [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] ... [INFO] [stdout] 125 | / while let Some((path, word, word_pts, word_mult, mut word_len, mut visited)) = stack.pop() { [INFO] [stdout] 126 | | if (word_len >= MIN_WORD_LEN) & (word_len <= MAX_WORD_LEN) & board.dictionary.contains(&word) { [INFO] [stdout] 127 | | let mut score = word_pts * (word_mult as u16); [INFO] [stdout] 128 | | if word_len > 4 { [INFO] [stdout] ... | [INFO] [stdout] 163 | | } [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / /// Paths consist of 12 five bit vertices: [INFO] [stdout] 118 | | /// [continuation_flag:1][x:2][y:2] [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] ... [INFO] [stdout] 125 | / while let Some((path, word, word_pts, word_mult, mut word_len, mut visited)) = stack.pop() { [INFO] [stdout] 126 | | if (word_len >= MIN_WORD_LEN) & (word_len <= MAX_WORD_LEN) & board.dictionary.contains(&word) { [INFO] [stdout] 127 | | let mut score = word_pts * (word_mult as u16); [INFO] [stdout] 128 | | if word_len > 4 { [INFO] [stdout] ... | [INFO] [stdout] 163 | | } [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | for (word, score, mut path_as_u64) in self.word_info.iter() { [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: constant is never used: `PREFIX_LOWER_BOUND` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const PREFIX_LOWER_BOUND: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `path_to_vec` [INFO] [stdout] --> src/main.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn path_to_vec(path_as_u64: u64) -> Vec<(u8, u8)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | for (word, score, mut path_as_u64) in self.word_info.iter() { [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `PREFIX_LOWER_BOUND` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const PREFIX_LOWER_BOUND: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `path_to_vec` [INFO] [stdout] --> src/main.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn path_to_vec(path_as_u64: u64) -> Vec<(u8, u8)> { [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 0.65s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking ruzzle_solver v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / /// Paths consist of 12 five bit vertices: [INFO] [stdout] 118 | | /// [continuation_flag:1][x:2][y:2] [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] ... [INFO] [stdout] 125 | / while let Some((path, word, word_pts, word_mult, mut word_len, mut visited)) = stack.pop() { [INFO] [stdout] 126 | | if (word_len >= MIN_WORD_LEN) & (word_len <= MAX_WORD_LEN) & board.dictionary.contains(&word) { [INFO] [stdout] 127 | | let mut score = word_pts * (word_mult as u16); [INFO] [stdout] 128 | | if word_len > 4 { [INFO] [stdout] ... | [INFO] [stdout] 163 | | } [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/main.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 117 | / /// Paths consist of 12 five bit vertices: [INFO] [stdout] 118 | | /// [continuation_flag:1][x:2][y:2] [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] ... [INFO] [stdout] 125 | / while let Some((path, word, word_pts, word_mult, mut word_len, mut visited)) = stack.pop() { [INFO] [stdout] 126 | | if (word_len >= MIN_WORD_LEN) & (word_len <= MAX_WORD_LEN) & board.dictionary.contains(&word) { [INFO] [stdout] 127 | | let mut score = word_pts * (word_mult as u16); [INFO] [stdout] 128 | | if word_len > 4 { [INFO] [stdout] ... | [INFO] [stdout] 163 | | } [INFO] [stdout] 164 | | } [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | for (word, score, mut path_as_u64) in self.word_info.iter() { [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: constant is never used: `PREFIX_LOWER_BOUND` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const PREFIX_LOWER_BOUND: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `path_to_vec` [INFO] [stdout] --> src/main.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn path_to_vec(path_as_u64: u64) -> Vec<(u8, u8)> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | for (word, score, mut path_as_u64) in self.word_info.iter() { [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: constant is never used: `PREFIX_LOWER_BOUND` [INFO] [stdout] --> src/main.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const PREFIX_LOWER_BOUND: u8 = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `path_to_vec` [INFO] [stdout] --> src/main.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 221 | fn path_to_vec(path_as_u64: u64) -> Vec<(u8, u8)> { [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 0.17s [INFO] running `Command { std: "docker" "inspect" "e868a2a37f85eae556bd3239e0678a4cd1a0794b9ddb6fe5904e352e5722bb85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e868a2a37f85eae556bd3239e0678a4cd1a0794b9ddb6fe5904e352e5722bb85", kill_on_drop: false }` [INFO] [stdout] e868a2a37f85eae556bd3239e0678a4cd1a0794b9ddb6fe5904e352e5722bb85