[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMadao-3%2Fwtop" "/workspace/builds/worker-68/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-68/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Madao-3/wtop on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-68/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97f0bf021335886ae82038eded2740567fa18ee8e3c9b66eaef98fa95a0ac9a8 [INFO] running `Command { std: "docker" "start" "-a" "97f0bf021335886ae82038eded2740567fa18ee8e3c9b66eaef98fa95a0ac9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97f0bf021335886ae82038eded2740567fa18ee8e3c9b66eaef98fa95a0ac9a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97f0bf021335886ae82038eded2740567fa18ee8e3c9b66eaef98fa95a0ac9a8", kill_on_drop: false }` [INFO] [stdout] 97f0bf021335886ae82038eded2740567fa18ee8e3c9b66eaef98fa95a0ac9a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-68/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a5ace8a4d6596325837186d73df3647f1cfab141d5a4cb68d8e7f19b4d79a01 [INFO] running `Command { std: "docker" "start" "-a" "1a5ace8a4d6596325837186d73df3647f1cfab141d5a4cb68d8e7f19b4d79a01", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Compiling bitflags v1.0.5 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking textwrap v0.11.0 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/main.rs (7 fixes) [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: 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: 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: 4 warnings emitted [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: 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 7.02s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking wtop v0.1.0 (/tmp/fixit) [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 `#[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: 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: 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: 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: 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.55s [INFO] running `Command { std: "docker" "inspect" "1a5ace8a4d6596325837186d73df3647f1cfab141d5a4cb68d8e7f19b4d79a01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a5ace8a4d6596325837186d73df3647f1cfab141d5a4cb68d8e7f19b4d79a01", kill_on_drop: false }` [INFO] [stdout] 1a5ace8a4d6596325837186d73df3647f1cfab141d5a4cb68d8e7f19b4d79a01