[INFO] cloning repository https://github.com/gluyas/niwa-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gluyas/niwa-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgluyas%2Fniwa-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgluyas%2Fniwa-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bed97251b7a0b4b40881cc8e92755c9c225fd876
[INFO] checking gluyas/niwa-rs against 5c543b0b8c73c7b72bc8284ced4fb22ead15734d for pr-160186
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgluyas%2Fniwa-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gluyas/niwa-rs
[INFO] finished tweaking git repo https://github.com/gluyas/niwa-rs
[INFO] tweaked toml for git repo https://github.com/gluyas/niwa-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gluyas/niwa-rs on toolchain 5c543b0b8c73c7b72bc8284ced4fb22ead15734d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gluyas/niwa-rs 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" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `niwa-rs` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 34035d79fc930187c115dbfd33fca5710a8df4ab71e90d09d482465c7f1b8c78
[INFO] running `Command { std: "docker" "start" "34035d79fc930187c115dbfd33fca5710a8df4ab71e90d09d482465c7f1b8c78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "34035d79fc930187c115dbfd33fca5710a8df4ab71e90d09d482465c7f1b8c78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34035d79fc930187c115dbfd33fca5710a8df4ab71e90d09d482465c7f1b8c78" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "34035d79fc930187c115dbfd33fca5710a8df4ab71e90d09d482465c7f1b8c78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "34035d79fc930187c115dbfd33fca5710a8df4ab71e90d09d482465c7f1b8c78" "/opt/rustwide/cargo-home/bin/cargo" "+5c543b0b8c73c7b72bc8284ced4fb22ead15734d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr] warning: `niwa-rs` (manifest) generated 1 warning
[INFO] [stderr]     Checking niwa-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/util.rs:70:18
[INFO] [stdout]    |
[INFO] [stdout] 70 |         *self += (-rhs.into());
[INFO] [stdout]    |                  ^           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -         *self += (-rhs.into());
[INFO] [stdout] 70 +         *self += -rhs.into();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:55:36
[INFO] [stdout]    |
[INFO] [stdout] 55 |                 println!("{}", err.description());
[INFO] [stdout]    |                                    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]   --> src/util.rs:70:18
[INFO] [stdout]    |
[INFO] [stdout] 70 |         *self += (-rhs.into());
[INFO] [stdout]    |                  ^           ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 70 -         *self += (-rhs.into());
[INFO] [stdout] 70 +         *self += -rhs.into();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GridVector` is never constructed
[INFO] [stdout]   --> src/util.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct GridVector {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `nudge` is never used
[INFO] [stdout]   --> src/util.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl GridVector {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 37 |     #[inline]
[INFO] [stdout] 38 |     pub fn nudge(self, dir: Direction) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `snap_to_edge`, `iter_rect`, `is_within`, `component_add`, and `component_diff` are never used
[INFO] [stdout]    --> src/util.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl GridIndex {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn snap_to_edge <P: Into<GridIndex>> (mut self, dir: Direction, bounds: P) -> GridIndex {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub fn iter_rect(self, dir_primary: Direction, dir_secondary: Direction) -> RectIterator {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn is_within <P: Into<GridIndex>> (self, bound: P) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn component_add <P: Into<GridIndex>> (self, other: P) -> GridIndex {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn component_diff <P: Into<GridIndex>> (self, other: P) -> GridIndex {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RectIterator` is never constructed
[INFO] [stdout]    --> src/util.rs:234:12
[INFO] [stdout]     |
[INFO] [stdout] 234 | pub struct RectIterator {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/util.rs:261:12
[INFO] [stdout]     |
[INFO] [stdout] 260 | impl RectIterator {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 261 |     pub fn new <P: Into<GridIndex>> (range: P, dir_primary: Direction, dir_secondary: Direction) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `of` is never used
[INFO] [stdout]    --> src/util.rs:323:12
[INFO] [stdout]     |
[INFO] [stdout] 322 | impl <T: Clone> Grid<T> {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] 323 |     pub fn of <P: Into<GridIndex>> (size: P, val: T) -> Self {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `elevation` is never read
[INFO] [stdout]   --> src/world.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Tile {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub elevation: u8,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Dirt`, `Sand`, `Stone`, and `Water` are never constructed
[INFO] [stdout]   --> src/world.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum Material {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 21 |     Grass,
[INFO] [stdout] 22 |     Dirt,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 23 |     Sand,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     Stone,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     Water,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_blocked` is never used
[INFO] [stdout]   --> src/puzzle.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl PuzzleGrid {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 12 |     pub fn is_blocked <P: Into<GridIndex>> (&self, pos: P, dir: Direction) -> Option<PuzzleId> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Complete` is never constructed
[INFO] [stdout]   --> src/puzzle.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub enum PuzzleStatus {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 77 |     Complete,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PuzzleStatus` 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 `set_walls` is never used
[INFO] [stdout]    --> src/puzzle.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl PuzzleCell {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn set_walls(&mut self, dirs: &[Direction]) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]   --> src/util.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         self + dir;
[INFO] [stdout]    |         ^^^^^^^^^^ the arithmetic operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let _ = self + dir;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]   --> src/main.rs:55:36
[INFO] [stdout]    |
[INFO] [stdout] 55 |                 println!("{}", err.description());
[INFO] [stdout]    |                                    ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GridVector` is never constructed
[INFO] [stdout]   --> src/util.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub struct GridVector {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `nudge` is never used
[INFO] [stdout]   --> src/util.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl GridVector {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 37 |     #[inline]
[INFO] [stdout] 38 |     pub fn nudge(self, dir: Direction) {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `snap_to_edge`, `iter_rect`, `is_within`, `component_add`, and `component_diff` are never used
[INFO] [stdout]    --> src/util.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl GridIndex {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn snap_to_edge <P: Into<GridIndex>> (mut self, dir: Direction, bounds: P) -> GridIndex {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub fn iter_rect(self, dir_primary: Direction, dir_secondary: Direction) -> RectIterator {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 161 |     pub fn is_within <P: Into<GridIndex>> (self, bound: P) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 165 |     pub fn component_add <P: Into<GridIndex>> (self, other: P) -> GridIndex {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     pub fn component_diff <P: Into<GridIndex>> (self, other: P) -> GridIndex {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RectIterator` is never constructed
[INFO] [stdout]    --> src/util.rs:234:12
[INFO] [stdout]     |
[INFO] [stdout] 234 | pub struct RectIterator {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/util.rs:261:12
[INFO] [stdout]     |
[INFO] [stdout] 260 | impl RectIterator {
[INFO] [stdout]     | ----------------- associated function in this implementation
[INFO] [stdout] 261 |     pub fn new <P: Into<GridIndex>> (range: P, dir_primary: Direction, dir_secondary: Direction) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `of` is never used
[INFO] [stdout]    --> src/util.rs:323:12
[INFO] [stdout]     |
[INFO] [stdout] 322 | impl <T: Clone> Grid<T> {
[INFO] [stdout]     | ----------------------- associated function in this implementation
[INFO] [stdout] 323 |     pub fn of <P: Into<GridIndex>> (size: P, val: T) -> Self {
[INFO] [stdout]     |            ^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `elevation` is never read
[INFO] [stdout]   --> src/world.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Tile {
[INFO] [stdout]    |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 17 |     pub elevation: u8,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Dirt`, `Sand`, `Stone`, and `Water` are never constructed
[INFO] [stdout]   --> src/world.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub enum Material {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout] 21 |     Grass,
[INFO] [stdout] 22 |     Dirt,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 23 |     Sand,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 24 |     Stone,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 25 |     Water,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_blocked` is never used
[INFO] [stdout]   --> src/puzzle.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl PuzzleGrid {
[INFO] [stdout]    | --------------- method in this implementation
[INFO] [stdout] 12 |     pub fn is_blocked <P: Into<GridIndex>> (&self, pos: P, dir: Direction) -> Option<PuzzleId> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Complete` is never constructed
[INFO] [stdout]   --> src/puzzle.rs:77:5
[INFO] [stdout]    |
[INFO] [stdout] 74 | pub enum PuzzleStatus {
[INFO] [stdout]    |          ------------ variant in this enum
[INFO] [stdout] ...
[INFO] [stdout] 77 |     Complete,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `PuzzleStatus` 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 `set_walls` is never used
[INFO] [stdout]    --> src/puzzle.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl PuzzleCell {
[INFO] [stdout]     | --------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn set_walls(&mut self, dirs: &[Direction]) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused arithmetic operation that must be used
[INFO] [stdout]   --> src/util.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |         self + dir;
[INFO] [stdout]    |         ^^^^^^^^^^ the arithmetic operation produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let _ = self + dir;
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.25s
[INFO] running `Command { std: "docker" "inspect" "34035d79fc930187c115dbfd33fca5710a8df4ab71e90d09d482465c7f1b8c78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34035d79fc930187c115dbfd33fca5710a8df4ab71e90d09d482465c7f1b8c78", kill_on_drop: false }`
[INFO] [stdout] 34035d79fc930187c115dbfd33fca5710a8df4ab71e90d09d482465c7f1b8c78
