[INFO] cloning repository https://github.com/nilsve/sudoku [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nilsve/sudoku" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsve%2Fsudoku", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsve%2Fsudoku'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59b7b0d53d9b2159b618879a9017e2824e06e02c [INFO] checking nilsve/sudoku against master#4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnilsve%2Fsudoku" "/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/nilsve/sudoku on toolchain 4847d6a9d07d4be9ba3196f6ad444af2d7bdde72 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nilsve/sudoku [INFO] finished tweaking git repo https://github.com/nilsve/sudoku [INFO] tweaked toml for git repo https://github.com/nilsve/sudoku written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nilsve/sudoku 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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "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-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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 25c4f5f9aab6a9638edcd62d86ea3015afed8d7c970a49079697e5907d20a2d3 [INFO] running `Command { std: "docker" "start" "-a" "25c4f5f9aab6a9638edcd62d86ea3015afed8d7c970a49079697e5907d20a2d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "25c4f5f9aab6a9638edcd62d86ea3015afed8d7c970a49079697e5907d20a2d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25c4f5f9aab6a9638edcd62d86ea3015afed8d7c970a49079697e5907d20a2d3", kill_on_drop: false }` [INFO] [stdout] 25c4f5f9aab6a9638edcd62d86ea3015afed8d7c970a49079697e5907d20a2d3 [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" "+4847d6a9d07d4be9ba3196f6ad444af2d7bdde72" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b30904faef3ffad19f07f52c335070072c3e0f195402d1950256bb5c8e327dc [INFO] running `Command { std: "docker" "start" "-a" "1b30904faef3ffad19f07f52c335070072c3e0f195402d1950256bb5c8e327dc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking sudoku v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/game.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | for i in 0..max_tries { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/engine/game.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | for i in 0..max_tries { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockCoord` is never constructed [INFO] [stdout] --> src/engine/board.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BlockCoord; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockCoord` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileCoord` is never constructed [INFO] [stdout] --> src/engine/board.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TileCoord; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileCoord` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_vec_position` is never used [INFO] [stdout] --> src/engine/board.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Coord { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn to_vec_position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_block_for_coord` is never used [INFO] [stdout] --> src/engine/board.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_block_for_coord(&self, coord: &Coord) -> &[Tile] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MultipleSolutionsAvailable` is never constructed [INFO] [stdout] --> src/engine/board_generator.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum BoardGeneratorError { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | MultipleSolutionsAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoardGeneratorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_numbers_for_tiles` is never used [INFO] [stdout] --> src/engine/board_generator.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BoardGenerator { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_numbers_for_tiles>(tiles: &[T]) -> SudokuHashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history`, `current`, and `solved` are never read [INFO] [stdout] --> src/engine/game.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | pub history: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub current: Board, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub solved: Board, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockCoord` is never constructed [INFO] [stdout] --> src/engine/board.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct BlockCoord; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BlockCoord` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TileCoord` is never constructed [INFO] [stdout] --> src/engine/board.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct TileCoord; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TileCoord` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `to_vec_position` is never used [INFO] [stdout] --> src/engine/board.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Coord { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn to_vec_position(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_block_for_coord` is never used [INFO] [stdout] --> src/engine/board.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Board { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn get_block_for_coord(&self, coord: &Coord) -> &[Tile] { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MultipleSolutionsAvailable` is never constructed [INFO] [stdout] --> src/engine/board_generator.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum BoardGeneratorError { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 13 | MultipleSolutionsAvailable, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BoardGeneratorError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_numbers_for_tiles` is never used [INFO] [stdout] --> src/engine/board_generator.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BoardGenerator { [INFO] [stdout] | -------------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn get_numbers_for_tiles>(tiles: &[T]) -> SudokuHashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history`, `current`, and `solved` are never read [INFO] [stdout] --> src/engine/game.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 9 | pub history: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 10 | pub current: Board, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub solved: Board, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.55s [INFO] running `Command { std: "docker" "inspect" "1b30904faef3ffad19f07f52c335070072c3e0f195402d1950256bb5c8e327dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b30904faef3ffad19f07f52c335070072c3e0f195402d1950256bb5c8e327dc", kill_on_drop: false }` [INFO] [stdout] 1b30904faef3ffad19f07f52c335070072c3e0f195402d1950256bb5c8e327dc