[INFO] fetching crate fuzzcheck_arg_parser 0.4.0... [INFO] checking fuzzcheck_arg_parser-0.4.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate fuzzcheck_arg_parser 0.4.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate fuzzcheck_arg_parser 0.4.0 [INFO] finished tweaking crates.io crate fuzzcheck_arg_parser 0.4.0 [INFO] tweaked toml for crates.io crate fuzzcheck_arg_parser 0.4.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fuzzcheck_arg_parser 0.4.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 2 packages to latest compatible versions [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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 81b62cc3fa809fa64d5895b3c661122c751514543aa7b324715eda047fdde8d5 [INFO] running `Command { std: "docker" "start" "-a" "81b62cc3fa809fa64d5895b3c661122c751514543aa7b324715eda047fdde8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81b62cc3fa809fa64d5895b3c661122c751514543aa7b324715eda047fdde8d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81b62cc3fa809fa64d5895b3c661122c751514543aa7b324715eda047fdde8d5", kill_on_drop: false }` [INFO] [stdout] 81b62cc3fa809fa64d5895b3c661122c751514543aa7b324715eda047fdde8d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a87b025230ab31d00733bc98412c0d03ace2e80756731d27a97f2907ade4cb83 [INFO] running `Command { std: "docker" "start" "-a" "a87b025230ab31d00733bc98412c0d03ace2e80756731d27a97f2907ade4cb83", kill_on_drop: false }` [INFO] [stderr] Checking fuzzcheck_arg_parser v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:182:89 [INFO] [stdout] | [INFO] [stdout] 182 | let input_file: Option = matches.opt_str(INPUT_FILE_FLAG).and_then(|x| x.parse::().ok()); [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/lib.rs:182:89 [INFO] [stdout] | [INFO] [stdout] 182 | let input_file: Option = matches.opt_str(INPUT_FILE_FLAG).and_then(|x| x.parse::().ok()); [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/lib.rs:186:87 [INFO] [stdout] | [INFO] [stdout] 186 | let corpus_in: Option = matches.opt_str(IN_CORPUS_FLAG).and_then(|x| x.parse::().ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:194:89 [INFO] [stdout] | [INFO] [stdout] 194 | let corpus_out: Option = matches.opt_str(OUT_CORPUS_FLAG).and_then(|x| x.parse::().ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:186:87 [INFO] [stdout] | [INFO] [stdout] 186 | let corpus_in: Option = matches.opt_str(IN_CORPUS_FLAG).and_then(|x| x.parse::().ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:202:94 [INFO] [stdout] | [INFO] [stdout] 202 | let artifacts_folder: Option = matches.opt_str(ARTIFACTS_FLAG).and_then(|x| x.parse::().ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:194:89 [INFO] [stdout] | [INFO] [stdout] 194 | let corpus_out: Option = matches.opt_str(OUT_CORPUS_FLAG).and_then(|x| x.parse::().ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:202:94 [INFO] [stdout] | [INFO] [stdout] 202 | let artifacts_folder: Option = matches.opt_str(ARTIFACTS_FLAG).and_then(|x| x.parse::().ok()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | panic!("An input file must be given when minifying a test case".to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 247 | panic!("{}", "An input file must be given when minifying a test case".to_owned()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | panic!("An input corpus must be given when minifying a corpus".to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 251 | panic!("{}", "An input corpus must be given when minifying a corpus".to_owned()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:247:24 [INFO] [stdout] | [INFO] [stdout] 247 | panic!("An input file must be given when minifying a test case".to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 247 | panic!("{}", "An input file must be given when minifying a test case".to_owned()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/lib.rs:251:24 [INFO] [stdout] | [INFO] [stdout] 251 | panic!("An input corpus must be given when minifying a corpus".to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 251 | panic!("{}", "An input corpus must be given when minifying a corpus".to_owned()) [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fuzzcheck_arg_parser` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fuzzcheck_arg_parser` (lib) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "a87b025230ab31d00733bc98412c0d03ace2e80756731d27a97f2907ade4cb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a87b025230ab31d00733bc98412c0d03ace2e80756731d27a97f2907ade4cb83", kill_on_drop: false }` [INFO] [stdout] a87b025230ab31d00733bc98412c0d03ace2e80756731d27a97f2907ade4cb83