[INFO] cloning repository https://github.com/foxfriends/greg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/foxfriends/greg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoxfriends%2Fgreg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoxfriends%2Fgreg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 39125c9bb5242805a7382da6a12aee1bea51e63e [INFO] checking foxfriends/greg against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffoxfriends%2Fgreg" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/foxfriends/greg [INFO] finished tweaking git repo https://github.com/foxfriends/greg [INFO] tweaked toml for git repo https://github.com/foxfriends/greg written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/foxfriends/greg on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/foxfriends/greg 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65d96d882aefd7bd782eef946810d8c5ba90d4651fd7afada555f402e29e0777 [INFO] running `Command { std: "docker" "start" "-a" "65d96d882aefd7bd782eef946810d8c5ba90d4651fd7afada555f402e29e0777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65d96d882aefd7bd782eef946810d8c5ba90d4651fd7afada555f402e29e0777", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65d96d882aefd7bd782eef946810d8c5ba90d4651fd7afada555f402e29e0777", kill_on_drop: false }` [INFO] [stdout] 65d96d882aefd7bd782eef946810d8c5ba90d4651fd7afada555f402e29e0777 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee7158183b2cecfe2c9ea1393fe9b4365b2d68d723e4c0c5fea8deae420e5a55 [INFO] running `Command { std: "docker" "start" "-a" "ee7158183b2cecfe2c9ea1393fe9b4365b2d68d723e4c0c5fea8deae420e5a55", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.13 [INFO] [stderr] Compiling syn v1.0.22 [INFO] [stderr] Compiling libc v0.2.70 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling cc v1.0.53 [INFO] [stderr] Compiling serde v1.0.110 [INFO] [stderr] Compiling ryu v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Checking paw-raw v1.0.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling ncurses v5.99.0 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Checking pancurses v0.16.1 [INFO] [stderr] Checking bstr v0.2.13 [INFO] [stderr] Checking csv v1.1.3 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling paw-attributes v1.0.2 [INFO] [stderr] Checking paw v1.0.0 [INFO] [stderr] Compiling structopt-derive v0.4.7 [INFO] [stderr] Checking structopt v0.3.14 [INFO] [stderr] Checking greg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | fn normal_mode(state: &mut State, window: &Window, input: Input) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | fn view_mode(state: &mut State, window: &Window, input: Input) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:130:35 [INFO] [stdout] | [INFO] [stdout] 130 | fn insert_mode(state: &mut State, window: &Window, input: Input) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 141 | fn command_mode(state: &mut State, window: &Window, input: Input) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `true_value` and `false_value` are never read [INFO] [stdout] --> src/args.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Args { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 198 | pub true_value: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub false_value: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `undo_stack` is never read [INFO] [stdout] --> src/state.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct State<'d> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub undo_stack: Vec>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `goto_line` is never used [INFO] [stdout] --> src/state.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl State<'_> { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn goto_line(&mut self, line: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | / /// The string that should be output as "True" in a boolean context. Default: Yes [INFO] [stdout] 197 | | #[structopt(short = "T", long = "true", default_value = "Yes")] [INFO] [stdout] 198 | | pub true_value: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | / /// The string that should be output for "False" in a boolean context. Default: No [INFO] [stdout] 200 | | #[structopt(short = "F", long = "false", default_value = "No")] [INFO] [stdout] 201 | | pub false_value: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `greg` (bin "greg") due to 2 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:99:35 [INFO] [stdout] | [INFO] [stdout] 99 | fn normal_mode(state: &mut State, window: &Window, input: Input) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | fn view_mode(state: &mut State, window: &Window, input: Input) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:130:35 [INFO] [stdout] | [INFO] [stdout] 130 | fn insert_mode(state: &mut State, window: &Window, input: Input) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/main.rs:141:36 [INFO] [stdout] | [INFO] [stdout] 141 | fn command_mode(state: &mut State, window: &Window, input: Input) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `true_value` and `false_value` are never read [INFO] [stdout] --> src/args.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 164 | pub struct Args { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 198 | pub true_value: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub false_value: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Args` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `undo_stack` is never read [INFO] [stdout] --> src/state.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct State<'d> { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub undo_stack: Vec>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `goto_line` is never used [INFO] [stdout] --> src/state.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl State<'_> { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn goto_line(&mut self, line: usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | / /// The string that should be output as "True" in a boolean context. Default: Yes [INFO] [stdout] 197 | | #[structopt(short = "T", long = "true", default_value = "Yes")] [INFO] [stdout] 198 | | pub true_value: String, [INFO] [stdout] | |__________________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/args.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | / /// The string that should be output for "False" in a boolean context. Default: No [INFO] [stdout] 200 | | #[structopt(short = "F", long = "false", default_value = "No")] [INFO] [stdout] 201 | | pub false_value: String, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `greg` (bin "greg" test) due to 2 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee7158183b2cecfe2c9ea1393fe9b4365b2d68d723e4c0c5fea8deae420e5a55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee7158183b2cecfe2c9ea1393fe9b4365b2d68d723e4c0c5fea8deae420e5a55", kill_on_drop: false }` [INFO] [stdout] ee7158183b2cecfe2c9ea1393fe9b4365b2d68d723e4c0c5fea8deae420e5a55