[INFO] fetching crate rsgrep 0.5.0... [INFO] testing rsgrep-0.5.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate rsgrep 0.5.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate rsgrep 0.5.0 [INFO] finished tweaking crates.io crate rsgrep 0.5.0 [INFO] tweaked toml for crates.io crate rsgrep 0.5.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rsgrep 0.5.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rsgrep 0.5.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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f5354e39cf894172e07c94798b25380ffca16923204054b3ab5feb717ec36f26 [INFO] running `Command { std: "docker" "start" "-a" "f5354e39cf894172e07c94798b25380ffca16923204054b3ab5feb717ec36f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f5354e39cf894172e07c94798b25380ffca16923204054b3ab5feb717ec36f26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5354e39cf894172e07c94798b25380ffca16923204054b3ab5feb717ec36f26", kill_on_drop: false }` [INFO] [stdout] f5354e39cf894172e07c94798b25380ffca16923204054b3ab5feb717ec36f26 [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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9595eecf0875a041121b51295cbb05c85f492f0b8bd10a0b1ac47e8db091d6dc [INFO] running `Command { std: "docker" "start" "-a" "9595eecf0875a041121b51295cbb05c85f492f0b8bd10a0b1ac47e8db091d6dc", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling bitflags v1.2.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling rsgrep v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: bounds on `Self: Drop` are most likely incorrect, consider instead using `std::mem::needs_drop` to detect whether a type can be trivially dropped [INFO] [stdout] --> src/rsgrep.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait Writer: Drop { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(drop_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rsgrep.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(output: &mut Output) -> LocWriter { [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] 43 | pub fn new(output: &mut Output) -> LocWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rsgrep.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new(output: &mut Output) -> ErrWriter { [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] 70 | pub fn new(output: &mut Output) -> ErrWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rsgrep.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new(output: &mut Output) -> WarnWriter { [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] 97 | pub fn new(output: &mut Output) -> WarnWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.21s [INFO] running `Command { std: "docker" "inspect" "9595eecf0875a041121b51295cbb05c85f492f0b8bd10a0b1ac47e8db091d6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9595eecf0875a041121b51295cbb05c85f492f0b8bd10a0b1ac47e8db091d6dc", kill_on_drop: false }` [INFO] [stdout] 9595eecf0875a041121b51295cbb05c85f492f0b8bd10a0b1ac47e8db091d6dc [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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b8d05c81ed55f0b83d17abcc670a17dc3a88287ae3d419bad72c8543de182cd [INFO] running `Command { std: "docker" "start" "-a" "9b8d05c81ed55f0b83d17abcc670a17dc3a88287ae3d419bad72c8543de182cd", kill_on_drop: false }` [INFO] [stderr] Compiling rsgrep v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: bounds on `Self: Drop` are most likely incorrect, consider instead using `std::mem::needs_drop` to detect whether a type can be trivially dropped [INFO] [stdout] --> src/rsgrep.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub trait Writer: Drop { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(drop_bounds)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rsgrep.rs:43:24 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn new(output: &mut Output) -> LocWriter { [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] 43 | pub fn new(output: &mut Output) -> LocWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rsgrep.rs:70:24 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn new(output: &mut Output) -> ErrWriter { [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] 70 | pub fn new(output: &mut Output) -> ErrWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/rsgrep.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new(output: &mut Output) -> WarnWriter { [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] 97 | pub fn new(output: &mut Output) -> WarnWriter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "9b8d05c81ed55f0b83d17abcc670a17dc3a88287ae3d419bad72c8543de182cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b8d05c81ed55f0b83d17abcc670a17dc3a88287ae3d419bad72c8543de182cd", kill_on_drop: false }` [INFO] [stdout] 9b8d05c81ed55f0b83d17abcc670a17dc3a88287ae3d419bad72c8543de182cd [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" "-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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6258fedd3d260b638b0c3fd1a06111c07cac607d8d1443070c86eb31a79fa0c9 [INFO] running `Command { std: "docker" "start" "-a" "6258fedd3d260b638b0c3fd1a06111c07cac607d8d1443070c86eb31a79fa0c9", kill_on_drop: false }` [INFO] [stderr] warning: bounds on `Self: Drop` are most likely incorrect, consider instead using `std::mem::needs_drop` to detect whether a type can be trivially dropped [INFO] [stderr] --> src/rsgrep.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | pub trait Writer: Drop { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(drop_bounds)]` on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rsgrep.rs:43:24 [INFO] [stderr] | [INFO] [stderr] 43 | pub fn new(output: &mut Output) -> LocWriter { [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 43 | pub fn new(output: &mut Output) -> LocWriter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rsgrep.rs:70:24 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new(output: &mut Output) -> ErrWriter { [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 70 | pub fn new(output: &mut Output) -> ErrWriter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/rsgrep.rs:97:24 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn new(output: &mut Output) -> WarnWriter { [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 97 | pub fn new(output: &mut Output) -> WarnWriter<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `rsgrep` (bin "rsgrep" test) generated 4 warnings (run `cargo fix --bin "rsgrep" -p rsgrep --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rsgrep-2156e9a2a9e3a626) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6258fedd3d260b638b0c3fd1a06111c07cac607d8d1443070c86eb31a79fa0c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6258fedd3d260b638b0c3fd1a06111c07cac607d8d1443070c86eb31a79fa0c9", kill_on_drop: false }` [INFO] [stdout] 6258fedd3d260b638b0c3fd1a06111c07cac607d8d1443070c86eb31a79fa0c9