[INFO] fetching crate sudoku 0.7.0... [INFO] checking sudoku-0.7.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate sudoku 0.7.0 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate sudoku 0.7.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate sudoku 0.7.0 [INFO] finished tweaking crates.io crate sudoku 0.7.0 [INFO] tweaked toml for crates.io crate sudoku 0.7.0 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 53e78c402c2f5d1683d039bb9c466d9a519d52d27354d3016f851948ac049578 [INFO] running `Command { std: "docker" "start" "-a" "53e78c402c2f5d1683d039bb9c466d9a519d52d27354d3016f851948ac049578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53e78c402c2f5d1683d039bb9c466d9a519d52d27354d3016f851948ac049578", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53e78c402c2f5d1683d039bb9c466d9a519d52d27354d3016f851948ac049578", kill_on_drop: false }` [INFO] [stdout] 53e78c402c2f5d1683d039bb9c466d9a519d52d27354d3016f851948ac049578 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53c142c671bd4fdd55b412deb6c9e12c1be2797a12da006e7ac8a77e4764ff21 [INFO] running `Command { std: "docker" "start" "-a" "53c142c671bd4fdd55b412deb6c9e12c1be2797a12da006e7ac8a77e4764ff21", kill_on_drop: false }` [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking sudoku v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/generator.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | 1...4 => self.insert_entries_singly(stack)?, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/strategy/solver.rs:324:6 [INFO] [stdout] | [INFO] [stdout] 324 | 1...4 => self.insert_entries_singly(find_naked_singles)?, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/strategy/strategies/locked_candidates.rs:51:78 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|chute_line| poss_digits(chute_line, chute_field) );; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/generator.rs:49:18 [INFO] [stdout] | [INFO] [stdout] 49 | 1...4 => self.insert_entries_singly(stack)?, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/strategy/solver.rs:324:6 [INFO] [stdout] | [INFO] [stdout] 324 | 1...4 => self.insert_entries_singly(find_naked_singles)?, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/strategy/strategies/locked_candidates.rs:51:78 [INFO] [stdout] | [INFO] [stdout] 51 | .map(|chute_line| poss_digits(chute_line, chute_field) );; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board/sudoku.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | b'0'...b'9' => *cell = ch - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board/sudoku.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 302 | b'_' | b'.' | b'0'...b'9' => return Err(LineParseError::TooManyCells), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board/sudoku.rs:403:28 [INFO] [stdout] | [INFO] [stdout] 403 | '1'...'9' | '_' | '.' | '0' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board/sudoku.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | '0'...'9' => grid[cell as usize] = ch as u8 - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board/sudoku.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | b'0'...b'9' => *cell = ch - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board/sudoku.rs:302:35 [INFO] [stdout] | [INFO] [stdout] 302 | b'_' | b'.' | b'0'...b'9' => return Err(LineParseError::TooManyCells), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board/sudoku.rs:403:28 [INFO] [stdout] | [INFO] [stdout] 403 | '1'...'9' | '_' | '.' | '0' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/board/sudoku.rs:433:24 [INFO] [stdout] | [INFO] [stdout] 433 | '0'...'9' => grid[cell as usize] = ch as u8 - b'0', [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solver.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut mask = mask; [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: variable does not need to be mutable [INFO] [stdout] --> src/solver.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | let mut singles = (cells1 ^ cells2) & self.unsolved_cells[band]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/solver.rs:172:17 [INFO] [stdout] | [INFO] [stdout] 172 | let mut mask = mask; [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: variable does not need to be mutable [INFO] [stdout] --> src/solver.rs:231:17 [INFO] [stdout] | [INFO] [stdout] 231 | let mut singles = (cells1 ^ cells2) & self.unsolved_cells[band]; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated constant `ALL` is private [INFO] [stdout] --> benches/lib.rs:120:32 [INFO] [stdout] | [INFO] [stdout] 120 | let strategies = Strategy::ALL; [INFO] [stdout] | ^^^ private associated constant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated constant `ALL` is private [INFO] [stdout] --> benches/lib.rs:132:32 [INFO] [stdout] | [INFO] [stdout] 132 | let strategies = Strategy::ALL; [INFO] [stdout] | ^^^ private associated constant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sudoku` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "53c142c671bd4fdd55b412deb6c9e12c1be2797a12da006e7ac8a77e4764ff21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53c142c671bd4fdd55b412deb6c9e12c1be2797a12da006e7ac8a77e4764ff21", kill_on_drop: false }` [INFO] [stdout] 53c142c671bd4fdd55b412deb6c9e12c1be2797a12da006e7ac8a77e4764ff21