[INFO] fetching crate sudoku 0.7.0... [INFO] checking sudoku-0.7.0 against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] extracting crate sudoku 0.7.0 into /workspace/builds/worker-117/source [INFO] validating manifest of crates.io crate sudoku 0.7.0 on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "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-117/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 427f168ad4b260b3aef34a135d6fe753846294392da0caa2f49635b1b19e9579 [INFO] running `Command { std: "docker" "start" "-a" "427f168ad4b260b3aef34a135d6fe753846294392da0caa2f49635b1b19e9579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "427f168ad4b260b3aef34a135d6fe753846294392da0caa2f49635b1b19e9579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "427f168ad4b260b3aef34a135d6fe753846294392da0caa2f49635b1b19e9579", kill_on_drop: false }` [INFO] [stdout] 427f168ad4b260b3aef34a135d6fe753846294392da0caa2f49635b1b19e9579 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-117/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3db8ad2a22f9aeda2ba037d40eb469f332a373b42972b3b15b54340c3dbca404 [INFO] running `Command { std: "docker" "start" "-a" "3db8ad2a22f9aeda2ba037d40eb469f332a373b42972b3b15b54340c3dbca404", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling crunchy v0.2.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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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] ::: /opt/rustwide/workdir/src/strategy/strategies/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / pub(crate) const ALL: &'static [Strategy] = &[ [INFO] [stdout] 38 | | // difficulty as assigned by [INFO] [stdout] 39 | | // SudokuExplainer [INFO] [stdout] 40 | | Strategy::NakedSingles, // 23 [INFO] [stdout] ... | [INFO] [stdout] 52 | | //Strategy::SinglesChain, [INFO] [stdout] 53 | | ]; [INFO] [stdout] | |______- private associated constant defined here [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] ::: /opt/rustwide/workdir/src/strategy/strategies/mod.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | / pub(crate) const ALL: &'static [Strategy] = &[ [INFO] [stdout] 38 | | // difficulty as assigned by [INFO] [stdout] 39 | | // SudokuExplainer [INFO] [stdout] 40 | | Strategy::NakedSingles, // 23 [INFO] [stdout] ... | [INFO] [stdout] 52 | | //Strategy::SinglesChain, [INFO] [stdout] 53 | | ]; [INFO] [stdout] | |______- private associated constant defined here [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" "3db8ad2a22f9aeda2ba037d40eb469f332a373b42972b3b15b54340c3dbca404", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db8ad2a22f9aeda2ba037d40eb469f332a373b42972b3b15b54340c3dbca404", kill_on_drop: false }` [INFO] [stdout] 3db8ad2a22f9aeda2ba037d40eb469f332a373b42972b3b15b54340c3dbca404