[INFO] cloning repository https://github.com/kokoax/rogue_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kokoax/rogue_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkokoax%2Frogue_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkokoax%2Frogue_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a515398c8dd8a610c26f515894b956e445dc05b3
[INFO] checking kokoax/rogue_rs against try#48c9d93cf65d550d124c40108859fd993778c157 for pr-153692-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkokoax%2Frogue_rs" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kokoax/rogue_rs
[INFO] finished tweaking git repo https://github.com/kokoax/rogue_rs
[INFO] tweaked toml for git repo https://github.com/kokoax/rogue_rs written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kokoax/rogue_rs on toolchain 48c9d93cf65d550d124c40108859fd993778c157
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kokoax/rogue_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" "+48c9d93cf65d550d124c40108859fd993778c157" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 434240c4d42815964f79427c6a3bc597e8b6179369821886decc1154e550a9d9
[INFO] running `Command { std: "docker" "start" "-a" "434240c4d42815964f79427c6a3bc597e8b6179369821886decc1154e550a9d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "434240c4d42815964f79427c6a3bc597e8b6179369821886decc1154e550a9d9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "434240c4d42815964f79427c6a3bc597e8b6179369821886decc1154e550a9d9", kill_on_drop: false }`
[INFO] [stdout] 434240c4d42815964f79427c6a3bc597e8b6179369821886decc1154e550a9d9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7410963d57ec1ef5df8dfe2a007b2f6ac13b2100874c85a7ed10519c2b76cf02
[INFO] running `Command { std: "docker" "start" "-a" "7410963d57ec1ef5df8dfe2a007b2f6ac13b2100874c85a7ed10519c2b76cf02", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]    Compiling gcc v0.3.51
[INFO] [stderr]    Compiling pkg-config v0.3.9
[INFO] [stderr]     Checking libc v0.2.29
[INFO] [stderr]    Compiling ncurses v5.86.0
[INFO] [stderr]     Checking rand v0.3.16
[INFO] [stderr]     Checking rogue_rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `tmp_i` is never read
[INFO] [stdout]    --> src/main.rs:113:25
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let mut tmp_i = 0;
[INFO] [stdout]     |                         ^ this value is reassigned later and never used
[INFO] [stdout] 114 |         for class in 0..k {
[INFO] [stdout] 115 |             tmp_i = 0;
[INFO] [stdout]     |             --------- `tmp_i` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/main.rs:280:22
[INFO] [stdout]     |
[INFO] [stdout] 280 |     fn generate_room(map: Vec<Vec<char>>) -> Vec<RoomData> {
[INFO] [stdout]     |                      ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:297:13
[INFO] [stdout]     |
[INFO] [stdout] 297 |         let mut i = 0;
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]    --> src/main.rs:305:13
[INFO] [stdout]     |
[INFO] [stdout] 305 |             i += 1;
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `generate_centroid` and `eq_with_nan_eq` are never used
[INFO] [stdout]    --> src/main.rs:73:8
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl RoomGenerator {
[INFO] [stdout]     | ------------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  73 |     fn generate_centroid(k: usize) -> Vec<Point2D> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     fn eq_with_nan_eq(a: Point2D, b: Point2D) -> bool {
[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 `remap` is never used
[INFO] [stdout]    --> src/main.rs:267:8
[INFO] [stdout]     |
[INFO] [stdout] 258 | impl MapController {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 267 |     fn remap(&mut self) -> MapController {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]    --> src/main.rs:328:4
[INFO] [stdout]     |
[INFO] [stdout] 328 | fn test() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `point_num` should have an upper case name
[INFO] [stdout]   --> src/main.rs:60:15
[INFO] [stdout]    |
[INFO] [stdout] 60 |         const point_num: usize = (MAP_HEIGHT*MAP_WIDTH)/90;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 60 -         const point_num: usize = (MAP_HEIGHT*MAP_WIDTH)/90;
[INFO] [stdout] 60 +         const POINT_NUM: usize = (MAP_HEIGHT*MAP_WIDTH)/90;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]    --> src/main.rs:275:14
[INFO] [stdout]     |
[INFO] [stdout] 275 |             .into_iter()
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout]     = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 275 -             .into_iter()
[INFO] [stdout] 275 +             .iter()
[INFO] [stdout]     |
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 274 -         [['#';MAP_WIDTH];MAP_HEIGHT]
[INFO] [stdout] 275 -             .into_iter()
[INFO] [stdout] 274 +         IntoIterator::into_iter([['#';MAP_WIDTH];MAP_HEIGHT])
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/main.rs:320:17
[INFO] [stdout]     |
[INFO] [stdout] 320 |                 self.map[i as usize][j as usize] == '1';
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison 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] 320 |                 let _ = self.map[i as usize][j as usize] == '1';
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `tmp_i` is never read
[INFO] [stdout]    --> src/main.rs:113:25
[INFO] [stdout]     |
[INFO] [stdout] 113 |         let mut tmp_i = 0;
[INFO] [stdout]     |                         ^ this value is reassigned later and never used
[INFO] [stdout] 114 |         for class in 0..k {
[INFO] [stdout] 115 |             tmp_i = 0;
[INFO] [stdout]     |             --------- `tmp_i` is overwritten here before the previous value is read
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]    --> src/main.rs:280:22
[INFO] [stdout]     |
[INFO] [stdout] 280 |     fn generate_room(map: Vec<Vec<char>>) -> Vec<RoomData> {
[INFO] [stdout]     |                      ^^^ help: if this is intentional, prefix it with an underscore: `_map`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `i` is assigned to, but never used
[INFO] [stdout]    --> src/main.rs:297:13
[INFO] [stdout]     |
[INFO] [stdout] 297 |         let mut i = 0;
[INFO] [stdout]     |             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_i` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `i` is never read
[INFO] [stdout]    --> src/main.rs:305:13
[INFO] [stdout]     |
[INFO] [stdout] 305 |             i += 1;
[INFO] [stdout]     |             ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `generate_centroid` and `eq_with_nan_eq` are never used
[INFO] [stdout]    --> src/main.rs:73:8
[INFO] [stdout]     |
[INFO] [stdout]  56 | impl RoomGenerator {
[INFO] [stdout]     | ------------------ associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  73 |     fn generate_centroid(k: usize) -> Vec<Point2D> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 151 |     fn eq_with_nan_eq(a: Point2D, b: Point2D) -> bool {
[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 `remap` is never used
[INFO] [stdout]    --> src/main.rs:267:8
[INFO] [stdout]     |
[INFO] [stdout] 258 | impl MapController {
[INFO] [stdout]     | ------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 267 |     fn remap(&mut self) -> MapController {
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test` is never used
[INFO] [stdout]    --> src/main.rs:328:4
[INFO] [stdout]     |
[INFO] [stdout] 328 | fn test() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `point_num` should have an upper case name
[INFO] [stdout]   --> src/main.rs:60:15
[INFO] [stdout]    |
[INFO] [stdout] 60 |         const point_num: usize = (MAP_HEIGHT*MAP_WIDTH)/90;
[INFO] [stdout]    |               ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 60 -         const point_num: usize = (MAP_HEIGHT*MAP_WIDTH)/90;
[INFO] [stdout] 60 +         const POINT_NUM: usize = (MAP_HEIGHT*MAP_WIDTH)/90;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: this method call resolves to `<&[T; N] as IntoIterator>::into_iter` (due to backwards compatibility), but will resolve to `<[T; N] as IntoIterator>::into_iter` in Rust 2021
[INFO] [stdout]    --> src/main.rs:275:14
[INFO] [stdout]     |
[INFO] [stdout] 275 |             .into_iter()
[INFO] [stdout]     |              ^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this changes meaning in Rust 2021
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/IntoIterator-for-arrays.html>
[INFO] [stdout]     = note: `#[warn(array_into_iter)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: use `.iter()` instead of `.into_iter()` to avoid ambiguity
[INFO] [stdout]     |
[INFO] [stdout] 275 -             .into_iter()
[INFO] [stdout] 275 +             .iter()
[INFO] [stdout]     |
[INFO] [stdout] help: or use `IntoIterator::into_iter(..)` instead of `.into_iter()` to explicitly iterate by value
[INFO] [stdout]     |
[INFO] [stdout] 274 -         [['#';MAP_WIDTH];MAP_HEIGHT]
[INFO] [stdout] 275 -             .into_iter()
[INFO] [stdout] 274 +         IntoIterator::into_iter([['#';MAP_WIDTH];MAP_HEIGHT])
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> src/main.rs:320:17
[INFO] [stdout]     |
[INFO] [stdout] 320 |                 self.map[i as usize][j as usize] == '1';
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison 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] 320 |                 let _ = self.map[i as usize][j as usize] == '1';
[INFO] [stdout]     |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.03s
[INFO] running `Command { std: "docker" "inspect" "7410963d57ec1ef5df8dfe2a007b2f6ac13b2100874c85a7ed10519c2b76cf02", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7410963d57ec1ef5df8dfe2a007b2f6ac13b2100874c85a7ed10519c2b76cf02", kill_on_drop: false }`
[INFO] [stdout] 7410963d57ec1ef5df8dfe2a007b2f6ac13b2100874c85a7ed10519c2b76cf02
