[INFO] fetching crate structopt-derive 0.4.18... [INFO] checking structopt-derive-0.4.18 against master#35936c4839dd272646394779d151e060d0f6b3ac for pr-122960-1 [INFO] extracting crate structopt-derive 0.4.18 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate structopt-derive 0.4.18 on toolchain 35936c4839dd272646394779d151e060d0f6b3ac [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate structopt-derive 0.4.18 [INFO] finished tweaking crates.io crate structopt-derive 0.4.18 [INFO] tweaked toml for crates.io crate structopt-derive 0.4.18 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "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-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c15c9e98710c5518fe4e614f79e1c57b157e3055970403260c6185f78c952ef [INFO] running `Command { std: "docker" "start" "-a" "1c15c9e98710c5518fe4e614f79e1c57b157e3055970403260c6185f78c952ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c15c9e98710c5518fe4e614f79e1c57b157e3055970403260c6185f78c952ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c15c9e98710c5518fe4e614f79e1c57b157e3055970403260c6185f78c952ef", kill_on_drop: false }` [INFO] [stdout] 1c15c9e98710c5518fe4e614f79e1c57b157e3055970403260c6185f78c952ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+35936c4839dd272646394779d151e060d0f6b3ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 51a06bd6e2855509f13356a17a3df89ce7d48696e02e06e884748e7c636841ac [INFO] running `Command { std: "docker" "start" "-a" "51a06bd6e2855509f13356a17a3df89ce7d48696e02e06e884748e7c636841ac", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking proc-macro2 v1.0.79 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking quote v1.0.35 [INFO] [stderr] Checking structopt-derive v0.4.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/attrs.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | self, ext::IdentExt, spanned::Spanned, Attribute, Expr, Ident, LitStr, MetaNameValue, Type, [INFO] [stdout] | ^^^^ the item `syn` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/parse.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | self, parenthesized, [INFO] [stdout] | ^^^^ the item `syn` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | "about" => (Ok(About(name, None))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 177 - "about" => (Ok(About(name, None))), [INFO] [stdout] 177 + "about" => Ok(About(name, None)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse.rs:178:29 [INFO] [stdout] | [INFO] [stdout] 178 | "author" => (Ok(Author(name, None))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - "author" => (Ok(Author(name, None))), [INFO] [stdout] 178 + "author" => Ok(Author(name, None)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/attrs.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | self, ext::IdentExt, spanned::Spanned, Attribute, Expr, Ident, LitStr, MetaNameValue, Type, [INFO] [stdout] | ^^^^ the item `syn` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `syn` is imported redundantly [INFO] [stdout] --> src/parse.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | self, parenthesized, [INFO] [stdout] | ^^^^ the item `syn` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse.rs:177:28 [INFO] [stdout] | [INFO] [stdout] 177 | "about" => (Ok(About(name, None))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 177 - "about" => (Ok(About(name, None))), [INFO] [stdout] 177 + "about" => Ok(About(name, None)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse.rs:178:29 [INFO] [stdout] | [INFO] [stdout] 178 | "author" => (Ok(Author(name, None))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 178 - "author" => (Ok(Author(name, None))), [INFO] [stdout] 178 + "author" => Ok(Author(name, None)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | RenameAllEnv(Ident, LitStr), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | RenameAllEnv((), LitStr), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | RenameAll(Ident, LitStr), [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | RenameAll((), LitStr), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq_token` is never read [INFO] [stdout] --> src/parse.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct ParserSpec { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 197 | pub kind: Ident, [INFO] [stdout] 198 | pub eq_token: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserSpec` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | RenameAllEnv(Ident, LitStr), [INFO] [stdout] | ------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | RenameAllEnv((), LitStr), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/parse.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | RenameAll(Ident, LitStr), [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | RenameAll((), LitStr), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `eq_token` is never read [INFO] [stdout] --> src/parse.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 196 | pub struct ParserSpec { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 197 | pub kind: Ident, [INFO] [stdout] 198 | pub eq_token: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParserSpec` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.85s [INFO] running `Command { std: "docker" "inspect" "51a06bd6e2855509f13356a17a3df89ce7d48696e02e06e884748e7c636841ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "51a06bd6e2855509f13356a17a3df89ce7d48696e02e06e884748e7c636841ac", kill_on_drop: false }` [INFO] [stdout] 51a06bd6e2855509f13356a17a3df89ce7d48696e02e06e884748e7c636841ac