[INFO] fetching crate cbdr 0.2.4... [INFO] checking cbdr-0.2.4 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate cbdr 0.2.4 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate cbdr 0.2.4 [INFO] finished tweaking crates.io crate cbdr 0.2.4 [INFO] tweaked toml for crates.io crate cbdr 0.2.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cbdr 0.2.4 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 cbdr 0.2.4 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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 3405e74e3828b5181f2d7ce85f25ba41bf6d10ac69392095e5dc231d48686bd8 [INFO] running `Command { std: "docker" "start" "-a" "3405e74e3828b5181f2d7ce85f25ba41bf6d10ac69392095e5dc231d48686bd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3405e74e3828b5181f2d7ce85f25ba41bf6d10ac69392095e5dc231d48686bd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3405e74e3828b5181f2d7ce85f25ba41bf6d10ac69392095e5dc231d48686bd8", kill_on_drop: false }` [INFO] [stdout] 3405e74e3828b5181f2d7ce85f25ba41bf6d10ac69392095e5dc231d48686bd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 9a1552e327d1a998b8be4f75e578a2eb005ce33f8254d820c80c497497de12a0 [INFO] running `Command { std: "docker" "start" "-a" "9a1552e327d1a998b8be4f75e578a2eb005ce33f8254d820c80c497497de12a0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling signal-hook v0.3.10 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking utf8parse v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.50 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking arc-swap v1.5.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.5 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking special v0.8.1 [INFO] [stderr] Checking time-cmd v0.1.0 [INFO] [stderr] Checking behrens-fisher v0.2.0 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.1 [INFO] [stderr] Checking signal-hook-mio v0.2.1 [INFO] [stderr] Checking crossterm v0.20.0 [INFO] [stderr] Checking crossterm v0.22.1 [INFO] [stderr] Checking vte v0.10.1 [INFO] [stderr] Checking env_logger v0.9.0 [INFO] [stderr] Checking tabwriter v1.2.1 [INFO] [stderr] Checking liveterm v0.3.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking cbdr v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/analyze.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// A "base" label. If specified, all labels will be compared to this. [INFO] [stdout] 22 | | #[structopt(long)] [INFO] [stdout] 23 | | pub base: 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/analyze.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / /// Benchs to compare. If "base" is not specified, they'll be compared [INFO] [stdout] 25 | | /// consecutively. [INFO] [stdout] 26 | | pub labels: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / /// A benchmark script to use. Labels will be passed as $1 [INFO] [stdout] 16 | | #[structopt(long, short)] [INFO] [stdout] 17 | | pub bench: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// These benchmarks will be run in a shell and their output will be used to compute stats [INFO] [stdout] 19 | | #[structopt(long, short)] [INFO] [stdout] 20 | | pub scripts: Vec, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// If a script is given as --bench, these will be passed to it as $1; [INFO] [stdout] 22 | | /// if not, these will be treated like --script arguments. [INFO] [stdout] 23 | | pub targets: Vec, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// A target labeled "before". "--before=foo" is equivalent to "before:foo". [INFO] [stdout] 29 | | #[structopt(long)] [INFO] [stdout] 30 | | pub before: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// A target labeled "after". "--after=foo" is equivalent to "after:foo". [INFO] [stdout] 32 | | #[structopt(long)] [INFO] [stdout] 33 | | pub after: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 40 | fn from_str(x: &str) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 41 | | let xs = x.splitn(2, ':').collect::>(); [INFO] [stdout] 42 | | match &xs[..] { [INFO] [stdout] 43 | | [x] => Ok(NamedString(None, x.to_string())), [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / match &xs[..] { [INFO] [stdout] 43 | | [x] => Ok(NamedString(None, x.to_string())), [INFO] [stdout] 44 | | [name, x] => Ok(NamedString(Some(name.to_string()), x.to_string())), [INFO] [stdout] 45 | | _ => unreachable!(), [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | [x] => Ok(NamedString(None, x.to_string())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | [name, x] => Ok(NamedString(Some(name.to_string()), x.to_string())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cbdr` (bin "cbdr" test) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/analyze.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// A "base" label. If specified, all labels will be compared to this. [INFO] [stdout] 22 | | #[structopt(long)] [INFO] [stdout] 23 | | pub base: 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/analyze.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | / /// Benchs to compare. If "base" is not specified, they'll be compared [INFO] [stdout] 25 | | /// consecutively. [INFO] [stdout] 26 | | pub labels: Vec, [INFO] [stdout] | |___________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | / /// A benchmark script to use. Labels will be passed as $1 [INFO] [stdout] 16 | | #[structopt(long, short)] [INFO] [stdout] 17 | | pub bench: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | / /// These benchmarks will be run in a shell and their output will be used to compute stats [INFO] [stdout] 19 | | #[structopt(long, short)] [INFO] [stdout] 20 | | pub scripts: Vec, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | / /// If a script is given as --bench, these will be passed to it as $1; [INFO] [stdout] 22 | | /// if not, these will be treated like --script arguments. [INFO] [stdout] 23 | | pub targets: Vec, [INFO] [stdout] | |_________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | / /// A target labeled "before". "--before=foo" is equivalent to "before:foo". [INFO] [stdout] 29 | | #[structopt(long)] [INFO] [stdout] 30 | | pub before: Option, [INFO] [stdout] | |______________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | / /// A target labeled "after". "--after=foo" is equivalent to "after:foo". [INFO] [stdout] 32 | | #[structopt(long)] [INFO] [stdout] 33 | | pub after: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:40:61 [INFO] [stdout] | [INFO] [stdout] 40 | fn from_str(x: &str) -> Result { [INFO] [stdout] | _____________________________________________________________^ [INFO] [stdout] 41 | | let xs = x.splitn(2, ':').collect::>(); [INFO] [stdout] 42 | | match &xs[..] { [INFO] [stdout] 43 | | [x] => Ok(NamedString(None, x.to_string())), [INFO] [stdout] ... | [INFO] [stdout] 47 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | / match &xs[..] { [INFO] [stdout] 43 | | [x] => Ok(NamedString(None, x.to_string())), [INFO] [stdout] 44 | | [name, x] => Ok(NamedString(Some(name.to_string()), x.to_string())), [INFO] [stdout] 45 | | _ => unreachable!(), [INFO] [stdout] 46 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | [x] => Ok(NamedString(None, x.to_string())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sample.rs:44:26 [INFO] [stdout] | [INFO] [stdout] 44 | [name, x] => Ok(NamedString(Some(name.to_string()), x.to_string())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cbdr` (bin "cbdr") due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "9a1552e327d1a998b8be4f75e578a2eb005ce33f8254d820c80c497497de12a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a1552e327d1a998b8be4f75e578a2eb005ce33f8254d820c80c497497de12a0", kill_on_drop: false }` [INFO] [stdout] 9a1552e327d1a998b8be4f75e578a2eb005ce33f8254d820c80c497497de12a0