[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgluyas%2Fniwa-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/gluyas/niwa-rs on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/gluyas/niwa-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 35286bf6819528a930f4e8bbdad1ffdbe674fc71f3a4991307f7183501ea425c [INFO] running `Command { std: "docker" "start" "-a" "35286bf6819528a930f4e8bbdad1ffdbe674fc71f3a4991307f7183501ea425c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35286bf6819528a930f4e8bbdad1ffdbe674fc71f3a4991307f7183501ea425c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35286bf6819528a930f4e8bbdad1ffdbe674fc71f3a4991307f7183501ea425c", kill_on_drop: false }` [INFO] [stdout] 35286bf6819528a930f4e8bbdad1ffdbe674fc71f3a4991307f7183501ea425c [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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 148db7a6c9d29dbf6644158e9b0e0bb6c509945c0c2d1abd7820de26973a6017 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "148db7a6c9d29dbf6644158e9b0e0bb6c509945c0c2d1abd7820de26973a6017", kill_on_drop: false }` [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] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` 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] | ^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `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: use of deprecated associated function `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: associated function is never used: `nudge` [INFO] [stdout] --> src/util.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn nudge(self, dir: Direction) { [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: `snap_to_edge` [INFO] [stdout] --> src/util.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn snap_to_edge > (mut self, dir: Direction, bounds: P) -> GridIndex { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_rect` [INFO] [stdout] --> src/util.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn iter_rect(self, dir_primary: Direction, dir_secondary: Direction) -> RectIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_within` [INFO] [stdout] --> src/util.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn is_within > (self, bound: P) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `component_add` [INFO] [stdout] --> src/util.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn component_add > (self, other: P) -> GridIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `component_diff` [INFO] [stdout] --> src/util.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn component_diff > (self, other: P) -> GridIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/util.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn new > (range: P, dir_primary: Direction, dir_secondary: Direction) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of` [INFO] [stdout] --> src/util.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn of > (size: P, val: T) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sand` [INFO] [stdout] --> src/world.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Sand, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stone` [INFO] [stdout] --> src/world.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Stone, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Water` [INFO] [stdout] --> src/world.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Water, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_blocked` [INFO] [stdout] --> src/puzzle.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn is_blocked > (&self, pos: P, dir: Direction) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Complete` [INFO] [stdout] --> src/puzzle.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Complete, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_walls` [INFO] [stdout] --> src/puzzle.rs:126:12 [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `nudge` [INFO] [stdout] --> src/util.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn nudge(self, dir: Direction) { [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: `snap_to_edge` [INFO] [stdout] --> src/util.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn snap_to_edge > (mut self, dir: Direction, bounds: P) -> GridIndex { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `iter_rect` [INFO] [stdout] --> src/util.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn iter_rect(self, dir_primary: Direction, dir_secondary: Direction) -> RectIterator { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_within` [INFO] [stdout] --> src/util.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn is_within > (self, bound: P) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `component_add` [INFO] [stdout] --> src/util.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn component_add > (self, other: P) -> GridIndex { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `component_diff` [INFO] [stdout] --> src/util.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn component_diff > (self, other: P) -> GridIndex { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/util.rs:261:12 [INFO] [stdout] | [INFO] [stdout] 261 | pub fn new > (range: P, dir_primary: Direction, dir_secondary: Direction) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `of` [INFO] [stdout] --> src/util.rs:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn of > (size: P, val: T) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Sand` [INFO] [stdout] --> src/world.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | Sand, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stone` [INFO] [stdout] --> src/world.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | Stone, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Water` [INFO] [stdout] --> src/world.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | Water, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_blocked` [INFO] [stdout] --> src/puzzle.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn is_blocked > (&self, pos: P, dir: Direction) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Complete` [INFO] [stdout] --> src/puzzle.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | Complete, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_walls` [INFO] [stdout] --> src/puzzle.rs:126:12 [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] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "148db7a6c9d29dbf6644158e9b0e0bb6c509945c0c2d1abd7820de26973a6017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "148db7a6c9d29dbf6644158e9b0e0bb6c509945c0c2d1abd7820de26973a6017", kill_on_drop: false }` [INFO] [stdout] 148db7a6c9d29dbf6644158e9b0e0bb6c509945c0c2d1abd7820de26973a6017