[INFO] cloning repository https://github.com/erik/fnr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/erik/fnr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferik%2Ffnr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ferik%2Ffnr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 280c5b12747223fa024ef23ebcbc59f2d6c711e8 [INFO] checking erik/fnr 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%2Ferik%2Ffnr" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/erik/fnr [INFO] finished tweaking git repo https://github.com/erik/fnr [INFO] tweaked toml for git repo https://github.com/erik/fnr written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/erik/fnr 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/erik/fnr 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] d3201653bfe5deb3d09460d55a58ffffb210facb6704305a005dc46c5165f4f4 [INFO] running `Command { std: "docker" "start" "-a" "d3201653bfe5deb3d09460d55a58ffffb210facb6704305a005dc46c5165f4f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d3201653bfe5deb3d09460d55a58ffffb210facb6704305a005dc46c5165f4f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3201653bfe5deb3d09460d55a58ffffb210facb6704305a005dc46c5165f4f4", kill_on_drop: false }` [INFO] [stdout] d3201653bfe5deb3d09460d55a58ffffb210facb6704305a005dc46c5165f4f4 [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] 14ec033554bf724100063b69d744d92d59cd41e2079dbe525e82c00df8233c31 [INFO] running `Command { std: "docker" "start" "-a" "14ec033554bf724100063b69d744d92d59cd41e2079dbe525e82c00df8233c31", 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] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling encoding_rs v0.8.29 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking grep-matcher v0.1.5 [INFO] [stderr] Checking bytecount v0.6.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking termtree v0.2.3 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking text_io v0.1.9 [INFO] [stderr] Checking predicates-tree v1.0.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking grep-regex v0.1.9 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking predicates v2.1.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking assert_cmd v1.0.8 [INFO] [stderr] Checking grep-cli v0.1.6 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Checking grep-searcher v0.1.8 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.0.5 [INFO] [stderr] Checking clap v3.0.5 [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:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | 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] 76 | 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:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | / /// Include only files or directories matching pattern. [INFO] [stdout] 231 | | #[clap(short = 'I', long)] [INFO] [stdout] 232 | | 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:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / /// Exclude files or directories matching pattern. [INFO] [stdout] 235 | | #[clap(short = 'E', long)] [INFO] [stdout] 236 | | 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:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | / /// What to search for. Literal string or regular expression. [INFO] [stdout] 247 | | /// [INFO] [stdout] 248 | | /// For supported regular expression syntax, see: [INFO] [stdout] 249 | | /// https://docs.rs/regex/latest/regex/#syntax [INFO] [stdout] 250 | | #[clap(name = "FIND", required = true)] [INFO] [stdout] 251 | | 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:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | / /// What to replace it with. [INFO] [stdout] 254 | | /// [INFO] [stdout] 255 | | /// May contain numbered references to capture groups given in [INFO] [stdout] 256 | | /// FIND in the form $1, $2, etc. [INFO] [stdout] 257 | | #[clap(name = "REPLACE", required = true)] [INFO] [stdout] 258 | | 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:287:16 [INFO] [stdout] | [INFO] [stdout] 287 | 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] 287 | 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:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | 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] 306 | 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:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | 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] 76 | 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:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | / /// Include only files or directories matching pattern. [INFO] [stdout] 231 | | #[clap(short = 'I', long)] [INFO] [stdout] 232 | | 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:234:5 [INFO] [stdout] | [INFO] [stdout] 234 | / /// Exclude files or directories matching pattern. [INFO] [stdout] 235 | | #[clap(short = 'E', long)] [INFO] [stdout] 236 | | 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:246:5 [INFO] [stdout] | [INFO] [stdout] 246 | / /// What to search for. Literal string or regular expression. [INFO] [stdout] 247 | | /// [INFO] [stdout] 248 | | /// For supported regular expression syntax, see: [INFO] [stdout] 249 | | /// https://docs.rs/regex/latest/regex/#syntax [INFO] [stdout] 250 | | #[clap(name = "FIND", required = true)] [INFO] [stdout] 251 | | 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:253:5 [INFO] [stdout] | [INFO] [stdout] 253 | / /// What to replace it with. [INFO] [stdout] 254 | | /// [INFO] [stdout] 255 | | /// May contain numbered references to capture groups given in [INFO] [stdout] 256 | | /// FIND in the form $1, $2, etc. [INFO] [stdout] 257 | | #[clap(name = "REPLACE", required = true)] [INFO] [stdout] 258 | | 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:287:16 [INFO] [stdout] | [INFO] [stdout] 287 | 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] 287 | 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:306:21 [INFO] [stdout] | [INFO] [stdout] 306 | 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] 306 | 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" "14ec033554bf724100063b69d744d92d59cd41e2079dbe525e82c00df8233c31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14ec033554bf724100063b69d744d92d59cd41e2079dbe525e82c00df8233c31", kill_on_drop: false }` [INFO] [stdout] 14ec033554bf724100063b69d744d92d59cd41e2079dbe525e82c00df8233c31