[INFO] cloning repository https://github.com/Madao-3/wtop [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Madao-3/wtop" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadao-3%2Fwtop", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadao-3%2Fwtop'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 399aa59a5c8734c0558683b486eb4b05f3ceef58 [INFO] checking Madao-3/wtop against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadao-3%2Fwtop" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Madao-3/wtop on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Madao-3/wtop [INFO] finished tweaking git repo https://github.com/Madao-3/wtop [INFO] tweaked toml for git repo https://github.com/Madao-3/wtop written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Madao-3/wtop already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 736cb38c31f2e5a35d8f5f84653aa53e3cbee592640de606fe5e924651d8a9e9 [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" "736cb38c31f2e5a35d8f5f84653aa53e3cbee592640de606fe5e924651d8a9e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "736cb38c31f2e5a35d8f5f84653aa53e3cbee592640de606fe5e924651d8a9e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "736cb38c31f2e5a35d8f5f84653aa53e3cbee592640de606fe5e924651d8a9e9", kill_on_drop: false }` [INFO] [stdout] 736cb38c31f2e5a35d8f5f84653aa53e3cbee592640de606fe5e924651d8a9e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 51a787b20fbac0af8870cbfb7327e3c9d4ac1217a364ff4df6fbbb0c772cf534 [INFO] running `Command { std: "docker" "start" "-a" "51a787b20fbac0af8870cbfb7327e3c9d4ac1217a364ff4df6fbbb0c772cf534", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Compiling bitflags v1.0.5 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking pancurses v0.16.1 [INFO] [stderr] Checking wtop v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 59 | / loop { [INFO] [stdout] 60 | | let (y_max, x_max) = window.get_max_yx(); [INFO] [stdout] 61 | | Canvas::strok_rect(&window, 20, 10, 105, 10, 5); [INFO] [stdout] 62 | | window.refresh(); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 64 | endwin(); [INFO] [stdout] | ^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_max` [INFO] [stdout] --> src/main.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | let (y_max, x_max) = window.get_max_yx(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_max` [INFO] [stdout] --> src/main.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let (y_max, x_max) = window.get_max_yx(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::prelude::*` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use chrono::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx: i32 = x + (ox as i32) - 1; [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/main.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | let mut cy: i32 = y + (oy as i32); [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/main.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let mut cx: i32 = x + (ox as i32) - 1; [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/main.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let mut cy: i32 = y + (oy as i32) - 1; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fill_rect` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn fill_rect(window: &Window, x: i32, y: i32, width: i16, height: i16, color: chtype) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Canvas` should have a snake case name [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mod Canvas { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `canvas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/main.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 59 | / loop { [INFO] [stdout] 60 | | let (y_max, x_max) = window.get_max_yx(); [INFO] [stdout] 61 | | Canvas::strok_rect(&window, 20, 10, 105, 10, 5); [INFO] [stdout] 62 | | window.refresh(); [INFO] [stdout] 63 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 64 | endwin(); [INFO] [stdout] | ^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y_max` [INFO] [stdout] --> src/main.rs:60:14 [INFO] [stdout] | [INFO] [stdout] 60 | let (y_max, x_max) = window.get_max_yx(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_y_max` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x_max` [INFO] [stdout] --> src/main.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | let (y_max, x_max) = window.get_max_yx(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x_max` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | let mut cx: i32 = x + (ox as i32) - 1; [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/main.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | let mut cy: i32 = y + (oy as i32); [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/main.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | let mut cx: i32 = x + (ox as i32) - 1; [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/main.rs:34:21 [INFO] [stdout] | [INFO] [stdout] 34 | let mut cy: i32 = y + (oy as i32) - 1; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fill_rect` [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn fill_rect(window: &Window, x: i32, y: i32, width: i16, height: i16, color: chtype) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Canvas` should have a snake case name [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | mod Canvas { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `canvas` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.50s [INFO] running `Command { std: "docker" "inspect" "51a787b20fbac0af8870cbfb7327e3c9d4ac1217a364ff4df6fbbb0c772cf534", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a787b20fbac0af8870cbfb7327e3c9d4ac1217a364ff4df6fbbb0c772cf534", kill_on_drop: false }` [INFO] [stdout] 51a787b20fbac0af8870cbfb7327e3c9d4ac1217a364ff4df6fbbb0c772cf534