[INFO] fetching crate structopt 0.3.26...
[INFO] checking structopt-0.3.26 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] extracting crate structopt 0.3.26 into /workspace/builds/worker-7-tc2/source
[INFO] started tweaking crates.io crate structopt 0.3.26
[INFO] finished tweaking crates.io crate structopt 0.3.26
[INFO] tweaked toml for crates.io crate structopt 0.3.26 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate structopt 0.3.26 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 crates.io crate structopt 0.3.26 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 5345f2e81d5cce876991c5f60b79149653a6ca806ddbacf13c7e1b3db874fe5c
[INFO] running `Command { std: "docker" "start" "-a" "5345f2e81d5cce876991c5f60b79149653a6ca806ddbacf13c7e1b3db874fe5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5345f2e81d5cce876991c5f60b79149653a6ca806ddbacf13c7e1b3db874fe5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5345f2e81d5cce876991c5f60b79149653a6ca806ddbacf13c7e1b3db874fe5c", kill_on_drop: false }`
[INFO] [stdout] 5345f2e81d5cce876991c5f60b79149653a6ca806ddbacf13c7e1b3db874fe5c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 9126f73efa049bba51fcabd7d3481848060ce78a70af47f30f4fea272111ef24
[INFO] running `Command { std: "docker" "start" "-a" "9126f73efa049bba51fcabd7d3481848060ce78a70af47f30f4fea272111ef24", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.61
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling serde_derive v1.0.123
[INFO] [stderr]    Compiling libc v0.2.87
[INFO] [stderr]    Compiling serde v1.0.123
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling rustversion v1.0.4
[INFO] [stderr]    Compiling trybuild v1.0.41
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]     Checking termcolor v1.1.2
[INFO] [stderr]     Checking dissimilar v1.0.2
[INFO] [stderr]     Checking glob v0.3.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]    Compiling strum_macros v0.21.1
[INFO] [stderr]    Compiling structopt-derive v0.4.18
[INFO] [stderr]     Checking structopt v0.3.26 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking strum v0.21.0
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stdout] warning: fields `api_url` and `retries` are never read
[INFO] [stdout]   --> examples/env.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | struct Opt {
[INFO] [stdout]    |        --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 |     api_url: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     retries: u32,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` 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 `debug` is never read
[INFO] [stdout]   --> examples/gen_completions.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct Opt {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 31 |     debug: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` 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] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> examples/env.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 | /     /// URL for the API server
[INFO] [stdout] 30 | |     #[structopt(long, env = "API_URL")]
[INFO] [stdout] 31 | |     api_url: 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] warning: field `format` is never read
[INFO] [stdout]   --> examples/enum_in_args_with_strum.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | struct Opt {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     format: Format,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` 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] [stderr] error: could not compile `structopt` (example "env") due to 1 previous error; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> tests/deny-warnings.rs:13:65
[INFO] [stdout]    |
[INFO] [stdout] 13 |   fn try_str(s: &str) -> Result<String, std::convert::Infallible> {
[INFO] [stdout]    |  _________________________________________________________________^
[INFO] [stdout] 14 | |     Ok(s.into())
[INFO] [stdout] 15 | | }
[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<String, Infallible>
[INFO] [stdout]   --> tests/deny-warnings.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 |     Ok(s.into())
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> tests/deny-warnings.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 |         #[structopt(parse(try_from_str = try_str))]
[INFO] [stdout]    |                                          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]   --> tests/deny-warnings.rs:37:46
[INFO] [stdout]    |
[INFO] [stdout] 37 |             #[structopt(parse(try_from_str = try_str))]
[INFO] [stdout]    |                                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `i` is never read
[INFO] [stdout]   --> examples/enum_in_args.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 31 | struct Opt {
[INFO] [stdout]    |        --- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 34 |     i: Baz,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` 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] [stderr] error: could not compile `structopt` (test "deny-warnings") due to 4 previous errors
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> tests/nested-subcommands.rs:115:9
[INFO] [stdout]     |
[INFO] [stdout] 115 |         file: 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<String, Infallible>
[INFO] [stdout]    --> tests/nested-subcommands.rs:157:11
[INFO] [stdout]     |
[INFO] [stdout] 157 |     Add { name: String, url: String },
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> tests/nested-subcommands.rs:157:25
[INFO] [stdout]     |
[INFO] [stdout] 157 |     Add { name: String, url: String },
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> tests/nested-subcommands.rs:158:14
[INFO] [stdout]     |
[INFO] [stdout] 158 |     Remove { name: String },
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `foo` is never read
[INFO] [stdout]   --> tests/doc-comments-help.rs:95:9
[INFO] [stdout]    |
[INFO] [stdout] 93 |     struct LoremIpsum {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] 94 |         #[structopt(subcommand)]
[INFO] [stdout] 95 |         foo: SubCommand,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LoremIpsum` 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 `bars` is never read
[INFO] [stdout]    --> tests/doc-comments-help.rs:105:13
[INFO] [stdout]     |
[INFO] [stdout] 103 |         Foo {
[INFO] [stdout]     |         --- field in this variant
[INFO] [stdout] 104 |             #[structopt(help = "foo")]
[INFO] [stdout] 105 |             bars: Vec<String>,
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SubCommand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `foo` is never read
[INFO] [stdout]    --> tests/doc-comments-help.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 138 |     struct SeeFigure1 {
[INFO] [stdout]     |            ---------- field in this struct
[INFO] [stdout] 139 |         #[structopt(long)]
[INFO] [stdout] 140 |         foo: bool,
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SeeFigure1` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `foo` and `bar` are never read
[INFO] [stdout]    --> tests/doc-comments-help.rs:170:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |     struct App {
[INFO] [stdout]     |            --- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 170 |         foo: bool,
[INFO] [stdout]     |         ^^^
[INFO] [stdout] ...
[INFO] [stdout] 173 |         bar: bool,
[INFO] [stdout]     |         ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `App` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `foo` and `bar` are never read
[INFO] [stdout]   --> tests/issues.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     struct Opt {
[INFO] [stdout]    |            --- fields in this struct
[INFO] [stdout] 15 |         #[structopt(long, group = "verb")]
[INFO] [stdout] 16 |         foo: bool,
[INFO] [stdout]    |         ^^^
[INFO] [stdout] 17 |         #[structopt(long, group = "verb")]
[INFO] [stdout] 18 |         bar: bool,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Opt` 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 `a` is never read
[INFO] [stdout]   --> tests/issues.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     struct Cli {
[INFO] [stdout]    |            --- field in this struct
[INFO] [stdout] 23 |         #[structopt(flatten)]
[INFO] [stdout] 24 |         a: Opt,
[INFO] [stdout]    |         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Cli` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `command` is never read
[INFO] [stdout]    --> tests/issues.rs:127:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |     struct Opts {
[INFO] [stdout]     |            ---- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 127 |         command: Command,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Opts` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `num_splines` is never read
[INFO] [stdout]    --> tests/issues.rs:136:13
[INFO] [stdout]     |
[INFO] [stdout] 134 |         Reticulate {
[INFO] [stdout]     |         ---------- field in this variant
[INFO] [stdout] 135 |             /// How many splines
[INFO] [stdout] 136 |             num_splines: u8,
[INFO] [stdout]     |             ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Command` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `opt_vec` and `opt_opt_vec` are never read
[INFO] [stdout]    --> tests/issues.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |     struct Opt {
[INFO] [stdout]     |            --- fields in this struct
[INFO] [stdout] 168 |         opt_vec: Vec<u16>,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 169 |         #[structopt(long)]
[INFO] [stdout] 170 |         opt_opt_vec: Option<Vec<u16>>,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Opt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> tests/doc-comments-help.rs:104:13
[INFO] [stdout]     |
[INFO] [stdout] 104 | /             #[structopt(help = "foo")]
[INFO] [stdout] 105 | |             bars: Vec<String>,
[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 `structopt` (test "nested-subcommands") due to 4 previous errors
[INFO] [stderr] error: could not compile `structopt` (test "doc-comments-help") due to 1 previous error; 4 warnings emitted
[INFO] [stdout] error: this type will no longer be must used: Result<String, Infallible>
[INFO] [stdout]    --> tests/options.rs:121:9
[INFO] [stdout]     |
[INFO] [stdout] 121 | /         #[structopt(short, default_value = "")]
[INFO] [stdout] 122 | |         arg: 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<String, Infallible>
[INFO] [stdout]    --> tests/options.rs:187:9
[INFO] [stdout]     |
[INFO] [stdout] 187 | /         #[structopt(long)]
[INFO] [stdout] 188 | |         field: Option<Option<String>>,
[INFO] [stdout]     | |_____________________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `structopt` (test "options") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "9126f73efa049bba51fcabd7d3481848060ce78a70af47f30f4fea272111ef24", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9126f73efa049bba51fcabd7d3481848060ce78a70af47f30f4fea272111ef24", kill_on_drop: false }`
[INFO] [stdout] 9126f73efa049bba51fcabd7d3481848060ce78a70af47f30f4fea272111ef24
