[INFO] fetching crate cargo-hf2 0.3.3... [INFO] checking cargo-hf2-0.3.3 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate cargo-hf2 0.3.3 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate cargo-hf2 0.3.3 [INFO] finished tweaking crates.io crate cargo-hf2 0.3.3 [INFO] tweaked toml for crates.io crate cargo-hf2 0.3.3 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cargo-hf2 0.3.3 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 cargo-hf2 0.3.3 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-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] 7ae36cbdfad1e80949454f603974f38a9b2460efeb0f510d412a8ded29b6fcc4 [INFO] running `Command { std: "docker" "start" "-a" "7ae36cbdfad1e80949454f603974f38a9b2460efeb0f510d412a8ded29b6fcc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ae36cbdfad1e80949454f603974f38a9b2460efeb0f510d412a8ded29b6fcc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ae36cbdfad1e80949454f603974f38a9b2460efeb0f510d412a8ded29b6fcc4", kill_on_drop: false }` [INFO] [stdout] 7ae36cbdfad1e80949454f603974f38a9b2460efeb0f510d412a8ded29b6fcc4 [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] 22e0f20d015dfc1bfd23ea0bee4a84d7236bac695250717d5073e73cdc12a75f [INFO] running `Command { std: "docker" "start" "-a" "22e0f20d015dfc1bfd23ea0bee4a84d7236bac695250717d5073e73cdc12a75f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking crc-any v2.4.1 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling backtrace v0.3.62 [INFO] [stderr] Compiling hidapi v1.2.6 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rustc-cfg v0.4.0 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking goblin v0.2.3 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking cargo-project v0.2.7 [INFO] [stderr] Checking hf2 v0.3.2 [INFO] [stderr] Checking cargo-hf2 v0.3.3 (/opt/rustwide/workdir) [INFO] [stderr] error: could not compile `cargo-hf2` (bin "cargo-hf2") due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `package`, `manifest_path`, `no_default_features`, `all_features`, and `features` are never read [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 151 | struct Opt { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | package: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | manifest_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 165 | #[structopt(long)] [INFO] [stdout] 166 | no_default_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | #[structopt(long)] [INFO] [stdout] 168 | all_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 169 | #[structopt(long)] [INFO] [stdout] 170 | features: Vec, [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 [INFO] [stdout] --> src/main.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | / #[structopt(name = "binary", long = "bin")] [INFO] [stdout] 154 | | bin: Option, [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/main.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | / #[structopt(name = "example", long = "example")] [INFO] [stdout] 156 | | example: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / #[structopt(name = "package", short = "p", long = "package")] [INFO] [stdout] 158 | | package: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / #[structopt(name = "target", long = "target")] [INFO] [stdout] 162 | | target: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | / #[structopt(long)] [INFO] [stdout] 170 | | features: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `package`, `manifest_path`, `no_default_features`, `all_features`, and `features` are never read [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 151 | struct Opt { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | package: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | manifest_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 165 | #[structopt(long)] [INFO] [stdout] 166 | no_default_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 167 | #[structopt(long)] [INFO] [stdout] 168 | all_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 169 | #[structopt(long)] [INFO] [stdout] 170 | features: Vec, [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 [INFO] [stdout] --> src/main.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | / #[structopt(name = "binary", long = "bin")] [INFO] [stdout] 154 | | bin: Option, [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/main.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | / #[structopt(name = "example", long = "example")] [INFO] [stdout] 156 | | example: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | / #[structopt(name = "package", short = "p", long = "package")] [INFO] [stdout] 158 | | package: Option, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / #[structopt(name = "target", long = "target")] [INFO] [stdout] 162 | | target: Option, [INFO] [stdout] | |__________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | / #[structopt(long)] [INFO] [stdout] 170 | | features: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-hf2` (bin "cargo-hf2" test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "22e0f20d015dfc1bfd23ea0bee4a84d7236bac695250717d5073e73cdc12a75f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22e0f20d015dfc1bfd23ea0bee4a84d7236bac695250717d5073e73cdc12a75f", kill_on_drop: false }` [INFO] [stdout] 22e0f20d015dfc1bfd23ea0bee4a84d7236bac695250717d5073e73cdc12a75f