[INFO] cloning repository https://github.com/jacobrosenthal/cargo-uf2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacobrosenthal/cargo-uf2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobrosenthal%2Fcargo-uf2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjacobrosenthal%2Fcargo-uf2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 85dab52477d9a74676c9f102eb895cc575d77ceb [INFO] checking jacobrosenthal/cargo-uf2 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%2Fjacobrosenthal%2Fcargo-uf2" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jacobrosenthal/cargo-uf2 [INFO] finished tweaking git repo https://github.com/jacobrosenthal/cargo-uf2 [INFO] tweaked toml for git repo https://github.com/jacobrosenthal/cargo-uf2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jacobrosenthal/cargo-uf2 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/jacobrosenthal/cargo-uf2 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 8dfbc0166550005ade401f62a6823647a6ae30886f6d07272eb3a4a3d35ac175 [INFO] running `Command { std: "docker" "start" "-a" "8dfbc0166550005ade401f62a6823647a6ae30886f6d07272eb3a4a3d35ac175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dfbc0166550005ade401f62a6823647a6ae30886f6d07272eb3a4a3d35ac175", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dfbc0166550005ade401f62a6823647a6ae30886f6d07272eb3a4a3d35ac175", kill_on_drop: false }` [INFO] [stdout] 8dfbc0166550005ade401f62a6823647a6ae30886f6d07272eb3a4a3d35ac175 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4d0becc30f4eaef34fa1a91124c5ffe5ebe129bf1feb95a0913cab9cc3c2a87d [INFO] running `Command { std: "docker" "start" "-a" "4d0becc30f4eaef34fa1a91124c5ffe5ebe129bf1feb95a0913cab9cc3c2a87d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling syn v1.0.9 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling scroll v0.9.2 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling scroll_derive v0.9.5 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking termcolor v1.0.5 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking odds v0.2.26 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling hidapi v0.5.2 [INFO] [stderr] Checking arrayvec v0.3.25 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking itertools v0.4.19 [INFO] [stderr] Checking goblin v0.0.24 [INFO] [stderr] Checking colored v1.9.0 [INFO] [stderr] Checking crc-any v2.2.3 [INFO] [stderr] Checking backtrace v0.3.40 [INFO] [stderr] Checking pretty_env_logger v0.3.1 [INFO] [stderr] Checking hexdump v0.1.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling scroll_derive v0.10.1 [INFO] [stderr] Compiling structopt-derive v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking rustc-cfg v0.4.0 [INFO] [stderr] Checking scroll v0.10.1 [INFO] [stderr] Checking uf2 v0.1.0 (https://github.com/jacobrosenthal/uf2-rs?rev=7a7412aac538852f5aa44f652fee7acda47879a1#7a7412aa) [INFO] [stderr] Checking structopt v0.3.5 [INFO] [stderr] Checking cargo-project v0.2.3 [INFO] [stderr] Checking cargo-uf2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `package`, `manifest_path`, `no_default_features`, `all_features`, and `features` are never read [INFO] [stdout] --> src/main.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 267 | struct Opt { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 274 | package: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | manifest_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 281 | #[structopt(long)] [INFO] [stdout] 282 | no_default_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 283 | #[structopt(long)] [INFO] [stdout] 284 | all_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 285 | #[structopt(long)] [INFO] [stdout] 286 | 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:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | / #[structopt(name = "binary", long = "bin")] [INFO] [stdout] 270 | | 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:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | / #[structopt(name = "example", long = "example")] [INFO] [stdout] 272 | | 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:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | / #[structopt(name = "package", short = "p", long = "package")] [INFO] [stdout] 274 | | 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:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / #[structopt(name = "target", long = "target")] [INFO] [stdout] 278 | | 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:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | / #[structopt(long)] [INFO] [stdout] 286 | | features: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-uf2` (bin "cargo-uf2") 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:274:5 [INFO] [stdout] | [INFO] [stdout] 267 | struct Opt { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 274 | package: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | manifest_path: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 281 | #[structopt(long)] [INFO] [stdout] 282 | no_default_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 283 | #[structopt(long)] [INFO] [stdout] 284 | all_features: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 285 | #[structopt(long)] [INFO] [stdout] 286 | 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:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | / #[structopt(name = "binary", long = "bin")] [INFO] [stdout] 270 | | 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:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | / #[structopt(name = "example", long = "example")] [INFO] [stdout] 272 | | 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:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | / #[structopt(name = "package", short = "p", long = "package")] [INFO] [stdout] 274 | | 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:277:5 [INFO] [stdout] | [INFO] [stdout] 277 | / #[structopt(name = "target", long = "target")] [INFO] [stdout] 278 | | 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:285:5 [INFO] [stdout] | [INFO] [stdout] 285 | / #[structopt(long)] [INFO] [stdout] 286 | | features: Vec, [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-uf2` (bin "cargo-uf2" test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4d0becc30f4eaef34fa1a91124c5ffe5ebe129bf1feb95a0913cab9cc3c2a87d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d0becc30f4eaef34fa1a91124c5ffe5ebe129bf1feb95a0913cab9cc3c2a87d", kill_on_drop: false }` [INFO] [stdout] 4d0becc30f4eaef34fa1a91124c5ffe5ebe129bf1feb95a0913cab9cc3c2a87d