[INFO] fetching crate fnr 0.1.0... [INFO] checking fnr-0.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate fnr 0.1.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate fnr 0.1.0 [INFO] finished tweaking crates.io crate fnr 0.1.0 [INFO] tweaked toml for crates.io crate fnr 0.1.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fnr 0.1.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] crate crates.io crate fnr 0.1.0 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 7d8f2455ce48826716d25e12bfb2cd64ce8858429061e738ba309372a14e118f [INFO] running `Command { std: "docker" "start" "-a" "7d8f2455ce48826716d25e12bfb2cd64ce8858429061e738ba309372a14e118f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d8f2455ce48826716d25e12bfb2cd64ce8858429061e738ba309372a14e118f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d8f2455ce48826716d25e12bfb2cd64ce8858429061e738ba309372a14e118f", kill_on_drop: false }` [INFO] [stdout] 7d8f2455ce48826716d25e12bfb2cd64ce8858429061e738ba309372a14e118f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 1ebf977ec108f9ddff40883dbeb7faec7d3c8692a9f0543ab99470927e9ee37a [INFO] running `Command { std: "docker" "start" "-a" "1ebf977ec108f9ddff40883dbeb7faec7d3c8692a9f0543ab99470927e9ee37a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking grep-matcher v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking predicates-core v1.0.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking termtree v0.2.3 [INFO] [stderr] Checking text_io v0.1.9 [INFO] [stderr] Checking predicates-tree v1.0.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking grep-regex v0.1.9 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking grep-cli v0.1.6 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking predicates v2.1.0 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking grep-searcher v0.1.8 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking assert_cmd v1.0.8 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking structopt v0.3.25 [INFO] [stderr] Checking grep-printer v0.1.6 [INFO] [stderr] Checking grep v0.2.8 [INFO] [stderr] Checking fnr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | fn search_timer(&self) -> StatSearchTimer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | fn search_timer(&self) -> StatSearchTimer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | / /// Include only files or directories matching pattern. [INFO] [stdout] 234 | | #[structopt(short = "I", long)] [INFO] [stdout] 235 | | include: 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:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | / /// Exclude files or directories matching pattern. [INFO] [stdout] 238 | | #[structopt(short = "E", long)] [INFO] [stdout] 239 | | exclude: Vec, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | / /// What to search for. Literal string or regular expression. [INFO] [stdout] 255 | | /// [INFO] [stdout] 256 | | /// For supported regular expression syntax, see: [INFO] [stdout] 257 | | /// https://docs.rs/regex/latest/regex/#syntax [INFO] [stdout] 258 | | #[structopt(name = "FIND", required = true)] [INFO] [stdout] 259 | | find: String, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | / /// What to replace it with. [INFO] [stdout] 262 | | /// [INFO] [stdout] 263 | | /// May contain numbered references to capture groups given in [INFO] [stdout] 264 | | /// FIND in the form $1, $2, etc. [INFO] [stdout] 265 | | #[structopt(name = "REPLACE", required = true)] [INFO] [stdout] 266 | | replace: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | fn pattern(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 295 | fn pattern(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | fn search_paths(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | fn search_paths(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fnr` (bin "fnr") due to 4 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | fn search_timer(&self) -> StatSearchTimer { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 86 | fn search_timer(&self) -> StatSearchTimer<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:233:5 [INFO] [stdout] | [INFO] [stdout] 233 | / /// Include only files or directories matching pattern. [INFO] [stdout] 234 | | #[structopt(short = "I", long)] [INFO] [stdout] 235 | | include: 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:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | / /// Exclude files or directories matching pattern. [INFO] [stdout] 238 | | #[structopt(short = "E", long)] [INFO] [stdout] 239 | | exclude: Vec, [INFO] [stdout] | |________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | / /// What to search for. Literal string or regular expression. [INFO] [stdout] 255 | | /// [INFO] [stdout] 256 | | /// For supported regular expression syntax, see: [INFO] [stdout] 257 | | /// https://docs.rs/regex/latest/regex/#syntax [INFO] [stdout] 258 | | #[structopt(name = "FIND", required = true)] [INFO] [stdout] 259 | | find: String, [INFO] [stdout] | |________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 261 | / /// What to replace it with. [INFO] [stdout] 262 | | /// [INFO] [stdout] 263 | | /// May contain numbered references to capture groups given in [INFO] [stdout] 264 | | /// FIND in the form $1, $2, etc. [INFO] [stdout] 265 | | #[structopt(name = "REPLACE", required = true)] [INFO] [stdout] 266 | | replace: String, [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:295:16 [INFO] [stdout] | [INFO] [stdout] 295 | fn pattern(&self) -> Cow { [INFO] [stdout] | ^^^^^ ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 295 | fn pattern(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/main.rs:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | fn search_paths(&self) -> Result> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 314 | fn search_paths(&self) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fnr` (bin "fnr" test) due to 4 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1ebf977ec108f9ddff40883dbeb7faec7d3c8692a9f0543ab99470927e9ee37a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ebf977ec108f9ddff40883dbeb7faec7d3c8692a9f0543ab99470927e9ee37a", kill_on_drop: false }` [INFO] [stdout] 1ebf977ec108f9ddff40883dbeb7faec7d3c8692a9f0543ab99470927e9ee37a