[INFO] fetching crate hudoku 0.0.1... [INFO] testing hudoku-0.0.1 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate hudoku 0.0.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate hudoku 0.0.1 [INFO] finished tweaking crates.io crate hudoku 0.0.1 [INFO] tweaked toml for crates.io crate hudoku 0.0.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hudoku 0.0.1 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 97 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding itertools v0.13.0 (available: v0.14.0) [INFO] [stderr] Adding toml v0.8.23 (available: v0.9.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 43c05fa17800fafb7aaf08785a62f01e236d062c350a714c9eaf4870863741dd [INFO] running `Command { std: "docker" "start" "-a" "43c05fa17800fafb7aaf08785a62f01e236d062c350a714c9eaf4870863741dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "43c05fa17800fafb7aaf08785a62f01e236d062c350a714c9eaf4870863741dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43c05fa17800fafb7aaf08785a62f01e236d062c350a714c9eaf4870863741dd", kill_on_drop: false }` [INFO] [stdout] 43c05fa17800fafb7aaf08785a62f01e236d062c350a714c9eaf4870863741dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3065b08284928d5fd880c87bd4a6b270ff34892c065c3cacd7530d12bce4009d [INFO] running `Command { std: "docker" "start" "-a" "3065b08284928d5fd880c87bd4a6b270ff34892c065c3cacd7530d12bce4009d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.104 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.104 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.104 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling hudoku v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `comb` [INFO] [stdout] --> src/solver/single_digit_patterns/rectangle_elimination.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{comb, NamedCellSet}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/solver/fish/mutant_fish.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/solver/fish/mutant_fish.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | let ref mut on_unselected = |pos: usize, element: usize| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/solver/fish/mutant_fish.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | let ref mut on_unselected = |pos: usize, element: usize| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/solver/fish/mutant_fish.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | let ref mut on_unselected = |pos: usize, element: usize| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/solver/single_digit_patterns/rectangle_elimination.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | cols: &[NamedCellSet], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `skip_unselected` is never read [INFO] [stdout] --> src/utils/combination_generator.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | skip_unselected = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `candidate_cells_in_blocks` is never used [INFO] [stdout] --> src/solver.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 43 | impl SudokuSolver { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub(crate) fn candidate_cells_in_blocks(&self, value: CellValue) -> &[NamedCellSet] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/sudoku.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 280 | impl StepPosition { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 281 | pub(crate) fn new(reason: String, cell_index: CellIndex, value: CellValue) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/cellset.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter(&self) -> Copied> { [INFO] [stdout] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter(&self) -> Copied> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.69s [INFO] running `Command { std: "docker" "inspect" "3065b08284928d5fd880c87bd4a6b270ff34892c065c3cacd7530d12bce4009d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3065b08284928d5fd880c87bd4a6b270ff34892c065c3cacd7530d12bce4009d", kill_on_drop: false }` [INFO] [stdout] 3065b08284928d5fd880c87bd4a6b270ff34892c065c3cacd7530d12bce4009d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06a9ab961a53f8db3a7a933463c38c71e76e0f20234e62f6e023459b2e013464 [INFO] running `Command { std: "docker" "start" "-a" "06a9ab961a53f8db3a7a933463c38c71e76e0f20234e62f6e023459b2e013464", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling wasm-bindgen v0.2.104 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.54 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling js-sys v0.3.81 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling hudoku v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stdout] warning: unused import: `comb` [INFO] [stdout] --> src/solver/single_digit_patterns/rectangle_elimination.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{comb, NamedCellSet}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/solver/fish/mutant_fish.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/solver/fish/mutant_fish.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | let ref mut on_unselected = |pos: usize, element: usize| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/solver/fish/mutant_fish.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | let ref mut on_unselected = |pos: usize, element: usize| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/solver/fish/mutant_fish.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | let ref mut on_unselected = |pos: usize, element: usize| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/solver/single_digit_patterns/rectangle_elimination.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | cols: &[NamedCellSet], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `skip_unselected` is never read [INFO] [stdout] --> src/utils/combination_generator.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | skip_unselected = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `candidate_cells_in_blocks` is never used [INFO] [stdout] --> src/solver.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 43 | impl SudokuSolver { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub(crate) fn candidate_cells_in_blocks(&self, value: CellValue) -> &[NamedCellSet] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/sudoku.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 280 | impl StepPosition { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 281 | pub(crate) fn new(reason: String, cell_index: CellIndex, value: CellValue) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/cellset.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter(&self) -> Copied> { [INFO] [stdout] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter(&self) -> Copied> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.54 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.54 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stdout] warning: unused import: `comb` [INFO] [stdout] --> src/solver/single_digit_patterns/rectangle_elimination.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::utils::{comb, NamedCellSet}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/solver/fish/mutant_fish.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/solver/fish/mutant_fish.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | let ref mut on_unselected = |pos: usize, element: usize| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/solver/fish/mutant_fish.rs:82:38 [INFO] [stdout] | [INFO] [stdout] 82 | let ref mut on_unselected = |pos: usize, element: usize| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/solver/fish/mutant_fish.rs:82:50 [INFO] [stdout] | [INFO] [stdout] 82 | let ref mut on_unselected = |pos: usize, element: usize| { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cols` [INFO] [stdout] --> src/solver/single_digit_patterns/rectangle_elimination.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | cols: &[NamedCellSet], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `skip_unselected` is never read [INFO] [stdout] --> src/utils/combination_generator.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | skip_unselected = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/utils/combination_generator.rs:150:44 [INFO] [stdout] | [INFO] [stdout] 150 | let ref mut on_element_selected = |pos, element| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/utils/combination_generator.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | let ref mut on_element_unselected = |pos, element| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `candidate_cells_in_blocks` is never used [INFO] [stdout] --> src/solver.rs:153:19 [INFO] [stdout] | [INFO] [stdout] 43 | impl SudokuSolver { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub(crate) fn candidate_cells_in_blocks(&self, value: CellValue) -> &[NamedCellSet] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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/sudoku.rs:281:19 [INFO] [stdout] | [INFO] [stdout] 280 | impl StepPosition { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 281 | pub(crate) fn new(reason: String, cell_index: CellIndex, value: CellValue) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/utils/cellset.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter(&self) -> Copied> { [INFO] [stdout] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 90 | pub fn iter(&self) -> Copied> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 32.46s [INFO] running `Command { std: "docker" "inspect" "06a9ab961a53f8db3a7a933463c38c71e76e0f20234e62f6e023459b2e013464", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06a9ab961a53f8db3a7a933463c38c71e76e0f20234e62f6e023459b2e013464", kill_on_drop: false }` [INFO] [stdout] 06a9ab961a53f8db3a7a933463c38c71e76e0f20234e62f6e023459b2e013464 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ed02b08229c1f992523018f2ac5565784887e55bafa6853ae718423d6aed9ff3 [INFO] running `Command { std: "docker" "start" "-a" "ed02b08229c1f992523018f2ac5565784887e55bafa6853ae718423d6aed9ff3", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `comb` [INFO] [stderr] --> src/solver/single_digit_patterns/rectangle_elimination.rs:3:20 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::utils::{comb, NamedCellSet}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/solver/fish/mutant_fish.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/solver/fish/mutant_fish.rs:44:34 [INFO] [stderr] | [INFO] [stderr] 44 | let ref mut on_unselected = |pos: usize, element: usize| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/solver/fish/mutant_fish.rs:82:38 [INFO] [stderr] | [INFO] [stderr] 82 | let ref mut on_unselected = |pos: usize, element: usize| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `element` [INFO] [stderr] --> src/solver/fish/mutant_fish.rs:82:50 [INFO] [stderr] | [INFO] [stderr] 82 | let ref mut on_unselected = |pos: usize, element: usize| { [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cols` [INFO] [stderr] --> src/solver/single_digit_patterns/rectangle_elimination.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | cols: &[NamedCellSet], [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cols` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `skip_unselected` is never read [INFO] [stderr] --> src/utils/combination_generator.rs:100:17 [INFO] [stderr] | [INFO] [stderr] 100 | skip_unselected = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `candidate_cells_in_blocks` is never used [INFO] [stderr] --> src/solver.rs:153:19 [INFO] [stderr] | [INFO] [stderr] 43 | impl SudokuSolver { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 153 | pub(crate) fn candidate_cells_in_blocks(&self, value: CellValue) -> &[NamedCellSet] { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/sudoku.rs:281:19 [INFO] [stderr] | [INFO] [stderr] 280 | impl StepPosition { [INFO] [stderr] | ----------------- associated function in this implementation [INFO] [stderr] 281 | pub(crate) fn new(reason: String, cell_index: CellIndex, value: CellValue) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/utils/cellset.rs:90:17 [INFO] [stderr] | [INFO] [stderr] 90 | pub fn iter(&self) -> Copied> { [INFO] [stderr] | ^^^^^ --------------------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 90 | pub fn iter(&self) -> Copied> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `hudoku` (lib) generated 10 warnings (run `cargo fix --lib -p hudoku` to apply 2 suggestions) [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/utils/combination_generator.rs:150:44 [INFO] [stderr] | [INFO] [stderr] 150 | let ref mut on_element_selected = |pos, element| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pos` [INFO] [stderr] --> src/utils/combination_generator.rs:157:46 [INFO] [stderr] | [INFO] [stderr] 157 | let ref mut on_element_unselected = |pos, element| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stderr] [INFO] [stderr] warning: `hudoku` (lib test) generated 12 warnings (10 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sudoku_solver-d927915be1e27572) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test utils::cellset::tests::test_cellset ... ok [INFO] [stdout] test utils::combination_generator::tests::test_combination_iterator ... ok [INFO] [stdout] test utils::combination_generator2::tests::test_combination_generator ... ok [INFO] [stdout] test utils::combination_generator::tests::test_combination_iterator_options ... ok [INFO] [stdout] [INFO] [stderr] Doc-tests sudoku_solver [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ed02b08229c1f992523018f2ac5565784887e55bafa6853ae718423d6aed9ff3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed02b08229c1f992523018f2ac5565784887e55bafa6853ae718423d6aed9ff3", kill_on_drop: false }` [INFO] [stdout] ed02b08229c1f992523018f2ac5565784887e55bafa6853ae718423d6aed9ff3