[INFO] cloning repository https://github.com/danplubell/sudodu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danplubell/sudodu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanplubell%2Fsudodu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanplubell%2Fsudodu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b35eb94802bbc8608bcd84da62894b95a1e3493a [INFO] checking danplubell/sudodu/b35eb94802bbc8608bcd84da62894b95a1e3493a against master#d49be02cf6d2e2a01264fcdef1e20c826710c0f5 for pr-133570-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanplubell%2Fsudodu" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danplubell/sudodu on toolchain d49be02cf6d2e2a01264fcdef1e20c826710c0f5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danplubell/sudodu [INFO] finished tweaking git repo https://github.com/danplubell/sudodu [INFO] tweaked toml for git repo https://github.com/danplubell/sudodu written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/danplubell/sudodu 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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 402d7b91a044666b090e2641100b633c52576512992765f8656ab2e3cd7a445e [INFO] running `Command { std: "docker" "start" "-a" "402d7b91a044666b090e2641100b633c52576512992765f8656ab2e3cd7a445e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "402d7b91a044666b090e2641100b633c52576512992765f8656ab2e3cd7a445e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "402d7b91a044666b090e2641100b633c52576512992765f8656ab2e3cd7a445e", kill_on_drop: false }` [INFO] [stdout] 402d7b91a044666b090e2641100b633c52576512992765f8656ab2e3cd7a445e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+d49be02cf6d2e2a01264fcdef1e20c826710c0f5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12a6b6a97dab10dae3f0d9569bbc742b55e62c09e3bf896e78aa553d0cdec4e3 [INFO] running `Command { std: "docker" "start" "-a" "12a6b6a97dab10dae3f0d9569bbc742b55e62c09e3bf896e78aa553d0cdec4e3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking sudodu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/solvers/solve_sudoku_backtrack.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | ; for num in 1..=N { [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/model/grid.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/solvers/solve_sudoku_backtrack.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | ; for num in 1..=N { [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display` and `Formatter` [INFO] [stdout] --> src/model/grid.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot test inner items [INFO] [stdout] --> src/model/is_safe.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnameable_test_items)]` on by default [INFO] [stdout] = note: this warning originates in the attribute macro `test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/model_inner/cells.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Cells { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn add_cell_by_value(&self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn add_cell(&self, cell: Cell) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_inner_value_at(&self, index: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn set_inner_value_at(&self, index: usize, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn set_inner_at_row_col(&self, row: usize, col: usize, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn get_inner_at_row_col(&self, row: usize, col: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_at(&self, index: usize) -> Cell { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn values(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub(crate) fn add_note_at_row_col(&self, row: usize, col: usize, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn get_notes_at_row_col(&self, row:usize, col:usize) -> Option>>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn add_note_to_cell(&self, index:usize, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 64 | pub fn clear_note(&self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_value`, `replace_value`, `add_note_value`, `get_notes`, and `clear_note` are never used [INFO] [stdout] --> src/model_inner/cell.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Cell { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 16 | pub fn get_value(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn replace_value(&self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn add_note_value(&self, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn get_notes(&self) -> Rc>> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn clear_note(&self,value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/model_inner/columns.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Columns { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_to_column(&self, col: usize, cell: Cell) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_column(&self, col: usize) -> Cells { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn collect_columns(&self, cells: &Cells) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn values(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn is_safe(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/model_inner/rows.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Rows { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | pub fn new()->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn add_to_row(&self, row: usize, cell: Cell) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn collect_rows(&self, cells: &Cells) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn values(&self)->Vec{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn get_row(&self, row:usize) -> Cells { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get_value_at_row_col(&self,row:usize, col:usize)->u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn is_valid(&self)->bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn is_safe(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/model_inner/regions.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Regions { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 13 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_to_region(&self, region: usize, cell: Cell) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn get_region(&self, region: usize) -> Cells { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn clear_note(&self, region: usize, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn collect_regions(&self, cells: &Cells) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_safe(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/model_inner/grid.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Grid { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn with_cells(&self, cells: &Cells) -> &Grid { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn try_from(&mut self, value: &str) -> Result<(), ParsePuzzleError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn validate(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn check_is_safe(&self, row: usize, col: usize, num: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn is_safe(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_value_at_row_col(&self, row: usize, col: usize) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn set_value_at_row_col(&self, row: usize, col: usize, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn add_note_at_row_col(&self, row: usize, col: usize, value: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn raw_cells(&self) -> Cells { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn find_unassigned_location(&self) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub fn get_row(&self, row: usize) -> Cells { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn get_column(&self, col: usize) -> Cells { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn get_region_by_row_col(&self, row: usize, col: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn clear_note(&self, row: usize, col: usize, value: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn as_string(&self) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `TooLong`, `TooShort`, and `HasAlpha` are never constructed [INFO] [stdout] --> src/model_inner/grid.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 122 | pub enum ParsePuzzleError { [INFO] [stdout] | ---------------- variants in this enum [INFO] [stdout] 123 | #[error("Value string is too long")] [INFO] [stdout] 124 | TooLong, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 125 | #[error("Value string is too short")] [INFO] [stdout] 126 | TooShort, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 127 | #[error("Value string contains alphabetic characters")] [INFO] [stdout] 128 | HasAlpha, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParsePuzzleError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound` and `Multiple` are never constructed [INFO] [stdout] --> src/model_inner/validate_cells.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum ErrorReason { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 11 | #[error("Number not found")] [INFO] [stdout] 12 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | #[error("Multiple instances")] [INFO] [stdout] 14 | Multiple(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorReason` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `validate_cells` is never used [INFO] [stdout] --> src/model_inner/validate_cells.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn validate_cells(cells: &Cells) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_safe_placement` is never used [INFO] [stdout] --> src/model_inner/is_safe.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn is_safe_placement(cells: Cells, row: usize, col: usize, value: u8) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_safe` is never used [INFO] [stdout] --> src/model_inner/is_safe.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn is_safe(cells: &Cells) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N` is never used [INFO] [stdout] --> src/solvers/solve_sudoku_naive.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const N: usize = 9; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_sudoku_naive` is never used [INFO] [stdout] --> src/solvers/solve_sudoku_naive.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn solve_sudoku_naive(grid: &Grid, mut row:usize, mut col:usize) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N` is never used [INFO] [stdout] --> src/solvers/solve_sudoku_backtrack.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const N:usize = 9; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_sudoku_backtrack` is never used [INFO] [stdout] --> src/solvers/solve_sudoku_backtrack.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn solve_sudoku_backtrack(grid: &Grid, mut _row:usize, mut _col:usize)->bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N` is never used [INFO] [stdout] --> src/solvers/solve_sudoku_notes.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const N: usize = 9; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_sudoku_notes` is never used [INFO] [stdout] --> src/solvers/solve_sudoku_notes.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn solve_sudoku_notes(grid: &Grid, mut _row: usize, mut _col: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model/grid.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Grid { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_safe` is never used [INFO] [stdout] --> src/model/is_safe.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn is_safe(cells: &Cells) -> bool{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `something_else` [INFO] [stdout] --> src/solvers/solve_sudoku_backtrack.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let something_else = "018040000350010040004000206000002007460030025800100000109000600080060091000090380"; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_something_else` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solution` [INFO] [stdout] --> src/solvers/solve_sudoku_backtrack.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let solution = "369125478548637921712489653497861532256743189183592764625918347934276815871354296"; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/solvers/solve_sudoku_backtrack.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | let r = solve_sudoku_backtrack(&grid, 0, 0); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound` and `Multiple` are never constructed [INFO] [stdout] --> src/model_inner/validate_cells.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 10 | enum ErrorReason { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 11 | #[error("Number not found")] [INFO] [stdout] 12 | NotFound, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | #[error("Multiple instances")] [INFO] [stdout] 14 | Multiple(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ErrorReason` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/model/grid.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Grid { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 10 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_is_safe_safe` is never used [INFO] [stdout] --> src/model/is_safe.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn test_is_safe_safe(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.54s [INFO] running `Command { std: "docker" "inspect" "12a6b6a97dab10dae3f0d9569bbc742b55e62c09e3bf896e78aa553d0cdec4e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a6b6a97dab10dae3f0d9569bbc742b55e62c09e3bf896e78aa553d0cdec4e3", kill_on_drop: false }` [INFO] [stdout] 12a6b6a97dab10dae3f0d9569bbc742b55e62c09e3bf896e78aa553d0cdec4e3