[INFO] cloning repository https://github.com/shibe23/rust-gnu-commands [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shibe23/rust-gnu-commands" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshibe23%2Frust-gnu-commands", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshibe23%2Frust-gnu-commands'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86b9317370f51735f3d12531c8afdfa481af01d1 [INFO] checking shibe23/rust-gnu-commands 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%2Fshibe23%2Frust-gnu-commands" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shibe23/rust-gnu-commands [INFO] finished tweaking git repo https://github.com/shibe23/rust-gnu-commands [INFO] tweaked toml for git repo https://github.com/shibe23/rust-gnu-commands written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shibe23/rust-gnu-commands 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/shibe23/rust-gnu-commands 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] b43e627ec9691b7455fe8003a7def6a8faa4f08cbc46cbd0fcfa1b46d5e01652 [INFO] running `Command { std: "docker" "start" "-a" "b43e627ec9691b7455fe8003a7def6a8faa4f08cbc46cbd0fcfa1b46d5e01652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b43e627ec9691b7455fe8003a7def6a8faa4f08cbc46cbd0fcfa1b46d5e01652", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b43e627ec9691b7455fe8003a7def6a8faa4f08cbc46cbd0fcfa1b46d5e01652", kill_on_drop: false }` [INFO] [stdout] b43e627ec9691b7455fe8003a7def6a8faa4f08cbc46cbd0fcfa1b46d5e01652 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] ee0cded3423794711713d2ff89b0fbd2275eddaa5883b44330f2c6768fce1359 [INFO] running `Command { std: "docker" "start" "-a" "ee0cded3423794711713d2ff89b0fbd2275eddaa5883b44330f2c6768fce1359", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.38 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking rust-coreutils v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/cat.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn initialize(stdout: &mut StdoutLock, stderr: &mut Stderr) -> Program { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr` [INFO] [stdout] --> src/cat.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | fn initialize(stdout: &mut StdoutLock, stderr: &mut Stderr) -> Program { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/cat.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | fn and_execute(&self, stdout: &mut StdoutLock, stderr: &mut Stderr) -> i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/cat.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn initialize(stdout: &mut StdoutLock, stderr: &mut Stderr) -> Program { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr` [INFO] [stdout] --> src/cat.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | fn initialize(stdout: &mut StdoutLock, stderr: &mut Stderr) -> Program { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr` [INFO] [stdout] --> src/cat.rs:103:52 [INFO] [stdout] | [INFO] [stdout] 103 | fn and_execute(&self, stdout: &mut StdoutLock, stderr: &mut Stderr) -> i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/cat.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let stdin = io::stdin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdout` [INFO] [stdout] --> src/cat.rs:103:27 [INFO] [stdout] | [INFO] [stdout] 103 | fn and_execute(&self, stdout: &mut StdoutLock, stderr: &mut Stderr) -> i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stdout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stderr` [INFO] [stdout] --> src/cat.rs:103:52 [INFO] [stdout] | [INFO] [stdout] 103 | fn and_execute(&self, stdout: &mut StdoutLock, stderr: &mut Stderr) -> i32 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stderr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stdin` [INFO] [stdout] --> src/cat.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let stdin = io::stdin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_stdin` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_count` [INFO] [stdout] --> src/cat.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let line_count= &mut 0usize; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `line_count` [INFO] [stdout] --> src/cat.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let line_count= &mut 0usize; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_line_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cat` is never used [INFO] [stdout] --> src/cat.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn cat() {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_cat` is never used [INFO] [stdout] --> src/cat.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn simple_cat() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vE` should have a snake case name [INFO] [stdout] --> src/cat.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | vE: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vT` should have a snake case name [INFO] [stdout] --> src/cat.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | vT: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cat` is never used [INFO] [stdout] --> src/cat.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn cat() {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `simple_cat` is never used [INFO] [stdout] --> src/cat.rs:136:4 [INFO] [stdout] | [INFO] [stdout] 136 | fn simple_cat() {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vE` should have a snake case name [INFO] [stdout] --> src/cat.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | vE: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vT` should have a snake case name [INFO] [stdout] --> src/cat.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | vT: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `v_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/cat.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | paths: Vec, [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/cat.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | paths: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-coreutils` (bin "cat") due to 1 previous error; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-coreutils` (bin "cat" test) due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee0cded3423794711713d2ff89b0fbd2275eddaa5883b44330f2c6768fce1359", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee0cded3423794711713d2ff89b0fbd2275eddaa5883b44330f2c6768fce1359", kill_on_drop: false }` [INFO] [stdout] ee0cded3423794711713d2ff89b0fbd2275eddaa5883b44330f2c6768fce1359