[INFO] fetching crate sudoku 0.7.0... [INFO] checking sudoku-0.7.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate sudoku 0.7.0 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate sudoku 0.7.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d34abe7437621b2fb0e1e376de465920652a5cdd185e9f8c114e67e6a3b14a25 [INFO] running `Command { std: "docker" "start" "-a" "d34abe7437621b2fb0e1e376de465920652a5cdd185e9f8c114e67e6a3b14a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d34abe7437621b2fb0e1e376de465920652a5cdd185e9f8c114e67e6a3b14a25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d34abe7437621b2fb0e1e376de465920652a5cdd185e9f8c114e67e6a3b14a25", kill_on_drop: false }` [INFO] [stdout] d34abe7437621b2fb0e1e376de465920652a5cdd185e9f8c114e67e6a3b14a25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0d514f919b53c25451d7d7063bb6cd7aac96c2be274f7a8413db34d722aec987 [INFO] running `Command { std: "docker" "start" "-a" "0d514f919b53c25451d7d7063bb6cd7aac96c2be274f7a8413db34d722aec987", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking rand_core v0.3.1 [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/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/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: 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] running `Command { std: "docker" "inspect" "0d514f919b53c25451d7d7063bb6cd7aac96c2be274f7a8413db34d722aec987", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0d514f919b53c25451d7d7063bb6cd7aac96c2be274f7a8413db34d722aec987", kill_on_drop: false }` [INFO] [stdout] 0d514f919b53c25451d7d7063bb6cd7aac96c2be274f7a8413db34d722aec987