[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#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkokoax%2Frogue_rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kokoax/rogue_rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/kokoax/rogue_rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ncurses v5.86.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6d4c8c73000c654f63b3d1c800ae9f5eca8c6ec8df15f0c2ff68b3aa3dcb1b2d [INFO] running `Command { std: "docker" "start" "-a" "6d4c8c73000c654f63b3d1c800ae9f5eca8c6ec8df15f0c2ff68b3aa3dcb1b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d4c8c73000c654f63b3d1c800ae9f5eca8c6ec8df15f0c2ff68b3aa3dcb1b2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d4c8c73000c654f63b3d1c800ae9f5eca8c6ec8df15f0c2ff68b3aa3dcb1b2d", kill_on_drop: false }` [INFO] [stdout] 6d4c8c73000c654f63b3d1c800ae9f5eca8c6ec8df15f0c2ff68b3aa3dcb1b2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f6160f576a6da8cec5e88647088252bef2b1c7dfc47770f0fa57c782e78b9a1a [INFO] running `Command { std: "docker" "start" "-a" "f6160f576a6da8cec5e88647088252bef2b1c7dfc47770f0fa57c782e78b9a1a", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.51 [INFO] [stderr] Checking libc v0.2.29 [INFO] [stderr] Checking rand v0.3.16 [INFO] [stderr] Compiling ncurses v5.86.0 [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:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut tmp_i = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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: associated function is never used: `generate_centroid` [INFO] [stdout] --> src/main.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn generate_centroid(k: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eq_with_nan_eq` [INFO] [stdout] --> src/main.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn eq_with_nan_eq(a: Point2D, b: Point2D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remap` [INFO] [stdout] --> src/main.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn remap(&mut self) -> MapController { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/main.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tmp_i` is never read [INFO] [stdout] --> src/main.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | let mut tmp_i = 0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [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 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/main.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [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] | ^^^^^^^^^ help: convert the identifier to upper case: `POINT_NUM` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `generate_centroid` [INFO] [stdout] --> src/main.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn generate_centroid(k: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eq_with_nan_eq` [INFO] [stdout] --> src/main.rs:151:8 [INFO] [stdout] | [INFO] [stdout] 151 | fn eq_with_nan_eq(a: Point2D, b: Point2D) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remap` [INFO] [stdout] --> src/main.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | fn remap(&mut self) -> MapController { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test` [INFO] [stdout] --> src/main.rs:328:4 [INFO] [stdout] | [INFO] [stdout] 328 | fn test() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this method call currently resolves to `<&[T; N] as IntoIterator>::into_iter` (due to autoref coercions), but that might change in the future when `IntoIterator` impls for arrays are added. [INFO] [stdout] --> src/main.rs:275:14 [INFO] [stdout] | [INFO] [stdout] 275 | .into_iter() [INFO] [stdout] | ^^^^^^^^^ help: use `.iter()` instead of `.into_iter()` to avoid ambiguity: `iter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(array_into_iter)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #66145 [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] | ^^^^^^^^^ help: convert the identifier to upper case: `POINT_NUM` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.55s [INFO] running `Command { std: "docker" "inspect" "f6160f576a6da8cec5e88647088252bef2b1c7dfc47770f0fa57c782e78b9a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6160f576a6da8cec5e88647088252bef2b1c7dfc47770f0fa57c782e78b9a1a", kill_on_drop: false }` [INFO] [stdout] f6160f576a6da8cec5e88647088252bef2b1c7dfc47770f0fa57c782e78b9a1a