[INFO] cloning repository https://github.com/gnxlxnxx/cargo-dfu [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gnxlxnxx/cargo-dfu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgnxlxnxx%2Fcargo-dfu", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgnxlxnxx%2Fcargo-dfu'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bded1ebcaa3bed730bf071111699cc398d21e75 [INFO] checking gnxlxnxx/cargo-dfu 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%2Fgnxlxnxx%2Fcargo-dfu" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gnxlxnxx/cargo-dfu [INFO] finished tweaking git repo https://github.com/gnxlxnxx/cargo-dfu [INFO] tweaked toml for git repo https://github.com/gnxlxnxx/cargo-dfu written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gnxlxnxx/cargo-dfu 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/gnxlxnxx/cargo-dfu 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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 2ffd2e7441668b4fea26d324567c220f347697db34b885fb9ecc06b93690c53a [INFO] running `Command { std: "docker" "start" "-a" "2ffd2e7441668b4fea26d324567c220f347697db34b885fb9ecc06b93690c53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ffd2e7441668b4fea26d324567c220f347697db34b885fb9ecc06b93690c53a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ffd2e7441668b4fea26d324567c220f347697db34b885fb9ecc06b93690c53a", kill_on_drop: false }` [INFO] [stdout] 2ffd2e7441668b4fea26d324567c220f347697db34b885fb9ecc06b93690c53a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 302da141f4623f6ddb78129239abd88d8d1da200a3b765b6deb15a9045ceb788 [INFO] running `Command { std: "docker" "start" "-a" "302da141f4623f6ddb78129239abd88d8d1da200a3b765b6deb15a9045ceb788", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling rusb v0.9.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling libusb1-sys v0.6.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking maplit v1.0.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 thiserror-impl v1.0.30 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling displaydoc v0.2.3 [INFO] [stderr] Compiling scroll_derive v0.10.5 [INFO] [stderr] Compiling clap_derive v3.0.6 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking scroll v0.10.2 [INFO] [stderr] Checking rustc-cfg v0.4.0 [INFO] [stderr] Checking goblin v0.2.3 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking dfu-core v0.4.2 [INFO] [stderr] Checking clap v3.0.10 [INFO] [stderr] Checking dfu-libusb v0.3.0 [INFO] [stderr] Checking cargo-project v0.2.7 [INFO] [stderr] Checking cargo-dfu v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Elf(goblin::error::Error), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UtilError` 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] 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] 9 - Elf(goblin::error::Error), [INFO] [stdout] 9 + Elf(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Dfu(dfu_libusb::Error), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UtilError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 10 - Dfu(dfu_libusb::Error), [INFO] [stdout] 10 + Dfu(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | File(std::io::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UtilError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 11 - File(std::io::Error), [INFO] [stdout] 11 + File(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / #[clap(name = "binary", long = "bin")] [INFO] [stdout] 185 | | 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:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / #[clap(name = "example", long = "example")] [INFO] [stdout] 187 | | 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:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | / #[clap(name = "package", short = 'p', long = "package")] [INFO] [stdout] 189 | | 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:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / #[clap(name = "target", long = "target")] [INFO] [stdout] 193 | | 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:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / #[clap(long)] [INFO] [stdout] 201 | | features: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / #[clap(name = "chip", long = "chip")] [INFO] [stdout] 209 | | chip: Option, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Elf(goblin::error::Error), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UtilError` 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] 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] 9 - Elf(goblin::error::Error), [INFO] [stdout] 9 + Elf(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | Dfu(dfu_libusb::Error), [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UtilError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 10 - Dfu(dfu_libusb::Error), [INFO] [stdout] 10 + Dfu(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/utils.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | File(std::io::Error), [INFO] [stdout] | ---- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `UtilError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 11 - File(std::io::Error), [INFO] [stdout] 11 + File(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | / #[clap(name = "binary", long = "bin")] [INFO] [stdout] 185 | | 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:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / #[clap(name = "example", long = "example")] [INFO] [stdout] 187 | | 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:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | / #[clap(name = "package", short = 'p', long = "package")] [INFO] [stdout] 189 | | 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:192:5 [INFO] [stdout] | [INFO] [stdout] 192 | / #[clap(name = "target", long = "target")] [INFO] [stdout] 193 | | 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:200:5 [INFO] [stdout] | [INFO] [stdout] 200 | / #[clap(long)] [INFO] [stdout] 201 | | features: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 208 | / #[clap(name = "chip", long = "chip")] [INFO] [stdout] 209 | | chip: Option, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-dfu` (bin "cargo-dfu") due to 6 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cargo-dfu` (bin "cargo-dfu" test) due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "302da141f4623f6ddb78129239abd88d8d1da200a3b765b6deb15a9045ceb788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "302da141f4623f6ddb78129239abd88d8d1da200a3b765b6deb15a9045ceb788", kill_on_drop: false }` [INFO] [stdout] 302da141f4623f6ddb78129239abd88d8d1da200a3b765b6deb15a9045ceb788