[INFO] cloning repository https://github.com/brahmlower/sudoku-solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brahmlower/sudoku-solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrahmlower%2Fsudoku-solver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrahmlower%2Fsudoku-solver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 00a0e3a4c9dc281b03d74bcd8a0a01cbd7e56623 [INFO] checking brahmlower/sudoku-solver/00a0e3a4c9dc281b03d74bcd8a0a01cbd7e56623 against master#826b673412d2f579e7865b6f26bc9771c6d3b097 for pr-133397 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrahmlower%2Fsudoku-solver" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brahmlower/sudoku-solver on toolchain 826b673412d2f579e7865b6f26bc9771c6d3b097 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brahmlower/sudoku-solver [INFO] finished tweaking git repo https://github.com/brahmlower/sudoku-solver [INFO] tweaked toml for git repo https://github.com/brahmlower/sudoku-solver written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/brahmlower/sudoku-solver 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" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "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-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ae35c4008af33cc4d7675d753774e3501fc8f90371bb357ebaf4806045c57b0 [INFO] running `Command { std: "docker" "start" "-a" "7ae35c4008af33cc4d7675d753774e3501fc8f90371bb357ebaf4806045c57b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ae35c4008af33cc4d7675d753774e3501fc8f90371bb357ebaf4806045c57b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ae35c4008af33cc4d7675d753774e3501fc8f90371bb357ebaf4806045c57b0", kill_on_drop: false }` [INFO] [stdout] 7ae35c4008af33cc4d7675d753774e3501fc8f90371bb357ebaf4806045c57b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+826b673412d2f579e7865b6f26bc9771c6d3b097" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8882ce500fca9026eedc6170ffa553e36a9cbcb0f09efad638091330204e767f [INFO] running `Command { std: "docker" "start" "-a" "8882ce500fca9026eedc6170ffa553e36a9cbcb0f09efad638091330204e767f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking sudoku-solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/cell.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt, collections::HashSet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::diff::ScalarDiffFragment` [INFO] [stdout] --> src/cell.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::diff::ScalarDiffFragment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::diff::Diff` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::diff::Diff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashSet` [INFO] [stdout] --> src/cell.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{fmt, collections::HashSet}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::diff::ScalarDiffFragment` [INFO] [stdout] --> src/cell.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::diff::ScalarDiffFragment; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::diff::Diff` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::diff::Diff; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cells_to_values` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn cells_to_values(cells: Vec<&Cell>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 35 | fn new(cells: [Cell; 81]) -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn render(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn render_row(&self, row_num: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn get_cells(&self, indexes: &Vec) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_cell(&self, index: &BoardIndex) -> &Cell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_cell_mut(&mut self, index: &BoardIndex) -> &mut Cell { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn collapse_cell(&mut self, index: &BoardIndex) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn unsolved_indexes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `c` is never used [INFO] [stdout] --> src/main.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn c(index: u8, value: u8) -> Cell { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i` is never used [INFO] [stdout] --> src/main.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn i(index: u8, value: u8) -> Cell { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/board_index.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait BoardLocation { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] 38 | fn board_index(&self) -> &BoardIndex; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn board_row(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn board_col(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn board_box(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | fn index_above(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn index_below(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn index_left(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn index_right(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn entangled_row_indexes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn entangled_col_indexes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn entangled_box_indexes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn entangled_indexes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `changed_value` and `added_options` are never used [INFO] [stdout] --> src/cell.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl CellFragmentBuilder { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn changed_value(&mut self, old: Option, new: Option) -> &mut CellFragmentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn added_options(&mut self, added: Vec) -> &mut CellFragmentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/cell.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Cell { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 85 | pub index: BoardIndex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/diff.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl ScalarDiffFragment { [INFO] [stdout] | ------------------------------ associated function in this implementation [INFO] [stdout] 100 | pub fn new(before: T, after: T) -> ScalarDiffFragment { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ScalarDiff` is never used [INFO] [stdout] --> src/diff.rs:113:7 [INFO] [stdout] | [INFO] [stdout] 113 | trait ScalarDiff: Sized + PatchFragment { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Board` is never constructed [INFO] [stdout] --> src/main.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Board { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cells_to_values` is never used [INFO] [stdout] --> src/main.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn cells_to_values(cells: Vec<&Cell>) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/main.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 34 | impl Board { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 35 | fn new(cells: [Cell; 81]) -> Board { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn render(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn render_row(&self, row_num: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn get_cells(&self, indexes: &Vec) -> Vec<&Cell> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn get_cell(&self, index: &BoardIndex) -> &Cell { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn get_cell_mut(&mut self, index: &BoardIndex) -> &mut Cell { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn collapse_cell(&mut self, index: &BoardIndex) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn unsolved_indexes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `c` is never used [INFO] [stdout] --> src/main.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn c(index: u8, value: u8) -> Cell { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `i` is never used [INFO] [stdout] --> src/main.rs:137:4 [INFO] [stdout] | [INFO] [stdout] 137 | fn i(index: u8, value: u8) -> Cell { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `index_above`, `index_below`, `index_left`, `index_right`, and `entangled_indexes` are never used [INFO] [stdout] --> src/board_index.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub trait BoardLocation { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 57 | fn index_above(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn index_below(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn index_left(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn index_right(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | fn entangled_indexes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `changed_value` and `added_options` are never used [INFO] [stdout] --> src/cell.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl CellFragmentBuilder { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn changed_value(&mut self, old: Option, new: Option) -> &mut CellFragmentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn added_options(&mut self, added: Vec) -> &mut CellFragmentBuilder { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `index` is never read [INFO] [stdout] --> src/cell.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Cell { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 85 | pub index: BoardIndex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Cell` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.63s [INFO] running `Command { std: "docker" "inspect" "8882ce500fca9026eedc6170ffa553e36a9cbcb0f09efad638091330204e767f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8882ce500fca9026eedc6170ffa553e36a9cbcb0f09efad638091330204e767f", kill_on_drop: false }` [INFO] [stdout] 8882ce500fca9026eedc6170ffa553e36a9cbcb0f09efad638091330204e767f