[INFO] fetching crate rslint_cli 0.3.1... [INFO] checking rslint_cli-0.3.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rslint_cli 0.3.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate rslint_cli 0.3.1 [INFO] finished tweaking crates.io crate rslint_cli 0.3.1 [INFO] tweaked toml for crates.io crate rslint_cli 0.3.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rslint_cli 0.3.1 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 rslint_cli 0.3.1 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] 7b8e4b082eea1ee9e4316bf780b535dda9af24aa2ac4590e3d5b6c5a51fc3a8f [INFO] running `Command { std: "docker" "start" "-a" "7b8e4b082eea1ee9e4316bf780b535dda9af24aa2ac4590e3d5b6c5a51fc3a8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b8e4b082eea1ee9e4316bf780b535dda9af24aa2ac4590e3d5b6c5a51fc3a8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b8e4b082eea1ee9e4316bf780b535dda9af24aa2ac4590e3d5b6c5a51fc3a8f", kill_on_drop: false }` [INFO] [stdout] 7b8e4b082eea1ee9e4316bf780b535dda9af24aa2ac4590e3d5b6c5a51fc3a8f [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] 388c25a41d1a9b9f11913176fc0e8f8d8c2b9f831eb0e1edc5d763c9ac8a94cc [INFO] running `Command { std: "docker" "start" "-a" "388c25a41d1a9b9f11913176fc0e8f8d8c2b9f831eb0e1edc5d763c9ac8a94cc", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking text-size v1.1.0 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking smol_str v0.1.18 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling erased-serde v0.3.16 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Checking rslint_syntax v0.1.4 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking spin v0.9.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling slice-dst v1.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling indoc v1.0.3 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking dyn-clone v1.0.4 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking flume v0.10.9 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking rslint_rowan v0.10.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking yastl v0.1.2 [INFO] [stderr] Checking heck v0.3.3 [INFO] [stderr] Checking lexical v5.2.2 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling ctor v0.1.21 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling typetag-impl v0.1.7 [INFO] [stderr] Compiling rslint_macros v0.1.0 [INFO] [stderr] Compiling structopt-derive v0.4.16 [INFO] [stderr] Checking structopt v0.3.23 [INFO] [stderr] Checking triomphe v0.1.3 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking rowan v0.10.6 [INFO] [stderr] Checking rslint_text_edit v0.1.0 [INFO] [stderr] Checking rslint_errors v0.2.0 [INFO] [stderr] Checking typetag v0.1.7 [INFO] [stderr] Checking rslint_lexer v0.2.0 [INFO] [stderr] Checking rslint_regex v0.3.0 [INFO] [stderr] Checking rslint_parser v0.3.1 [INFO] [stderr] Checking rslint_core v0.3.0 [INFO] [stderr] Checking rslint_config v0.2.0 [INFO] [stderr] Checking rslint_cli v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_hook.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_hook.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn panic_hook(info: &PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_hook.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::panic::PanicInfo; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `std::panic::PanicInfo`: use `PanicHookInfo` instead [INFO] [stdout] --> src/panic_hook.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn panic_hook(info: &PanicInfo) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / /// A glob pattern to lint. [INFO] [stdout] 24 | | #[structopt(default_value = "./")] [INFO] [stdout] 25 | | files: Vec, [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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / /// Overwrite the name of the rslint ignore file (default: .rslintignore) [INFO] [stdout] 44 | | #[structopt(long)] [INFO] [stdout] 45 | | ignore_file: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / /// The error formatter to use, either "short" or "long" (default) [INFO] [stdout] 50 | | #[structopt(short = "F", long)] [INFO] [stdout] 51 | | formatter: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | Explain { rules: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | Infer { files: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rslint_cli` (bin "rslint" test) due to 5 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/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | / /// A glob pattern to lint. [INFO] [stdout] 24 | | #[structopt(default_value = "./")] [INFO] [stdout] 25 | | files: Vec, [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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | / /// Overwrite the name of the rslint ignore file (default: .rslintignore) [INFO] [stdout] 44 | | #[structopt(long)] [INFO] [stdout] 45 | | ignore_file: Option, [INFO] [stdout] | |________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | / /// The error formatter to use, either "short" or "long" (default) [INFO] [stdout] 50 | | #[structopt(short = "F", long)] [INFO] [stdout] 51 | | formatter: Option, [INFO] [stdout] | |_____________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:69:15 [INFO] [stdout] | [INFO] [stdout] 69 | Explain { rules: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | Infer { files: Vec }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rslint_cli` (bin "rslint") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "388c25a41d1a9b9f11913176fc0e8f8d8c2b9f831eb0e1edc5d763c9ac8a94cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "388c25a41d1a9b9f11913176fc0e8f8d8c2b9f831eb0e1edc5d763c9ac8a94cc", kill_on_drop: false }` [INFO] [stdout] 388c25a41d1a9b9f11913176fc0e8f8d8c2b9f831eb0e1edc5d763c9ac8a94cc