[INFO] cloning repository https://github.com/jacksonKaan/grep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jacksonKaan/grep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjacksonKaan%2Fgrep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjacksonKaan%2Fgrep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5f7c2b91a49e8c82443cc4f7c3d480b9e942413 [INFO] testing jacksonKaan/grep against try#bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b for pr-154756 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjacksonKaan%2Fgrep" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jacksonKaan/grep [INFO] finished tweaking git repo https://github.com/jacksonKaan/grep [INFO] tweaked toml for git repo https://github.com/jacksonKaan/grep written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jacksonKaan/grep on toolchain bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jacksonKaan/grep 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" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 024094e097f935a27c86a67b593eba88d51354311f3cf8113872e3afd4f8b0e2 [INFO] running `Command { std: "docker" "start" "-a" "024094e097f935a27c86a67b593eba88d51354311f3cf8113872e3afd4f8b0e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "024094e097f935a27c86a67b593eba88d51354311f3cf8113872e3afd4f8b0e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "024094e097f935a27c86a67b593eba88d51354311f3cf8113872e3afd4f8b0e2", kill_on_drop: false }` [INFO] [stdout] 024094e097f935a27c86a67b593eba88d51354311f3cf8113872e3afd4f8b0e2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be48426ffeeec41c75dfeebef90b7b98ba454a1083758d31687252236ed3162a [INFO] running `Command { std: "docker" "start" "-a" "be48426ffeeec41c75dfeebef90b7b98ba454a1083758d31687252236ed3162a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling hello_grep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/line.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'a>(number: usize, content: &'a str) -> Line { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'a>(number: usize, content: &'a str) -> Line<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.88s [INFO] running `Command { std: "docker" "inspect" "be48426ffeeec41c75dfeebef90b7b98ba454a1083758d31687252236ed3162a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be48426ffeeec41c75dfeebef90b7b98ba454a1083758d31687252236ed3162a", kill_on_drop: false }` [INFO] [stdout] be48426ffeeec41c75dfeebef90b7b98ba454a1083758d31687252236ed3162a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 399d43495ab501ce75a10e96bef5311ce49a271def0ba859747a908fdb27181f [INFO] running `Command { std: "docker" "start" "-a" "399d43495ab501ce75a10e96bef5311ce49a271def0ba859747a908fdb27181f", kill_on_drop: false }` [INFO] [stderr] Compiling hello_grep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/line.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'a>(number: usize, content: &'a str) -> Line { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'a>(number: usize, content: &'a str) -> Line<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/line.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'a>(number: usize, content: &'a str) -> Line { [INFO] [stdout] | -- ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'a>(number: usize, content: &'a str) -> Line<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.03s [INFO] running `Command { std: "docker" "inspect" "399d43495ab501ce75a10e96bef5311ce49a271def0ba859747a908fdb27181f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "399d43495ab501ce75a10e96bef5311ce49a271def0ba859747a908fdb27181f", kill_on_drop: false }` [INFO] [stdout] 399d43495ab501ce75a10e96bef5311ce49a271def0ba859747a908fdb27181f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cb9574e41a207683a9afa76cddd99aaf0df899d606ef858cefcbc29f23137e54 [INFO] running `Command { std: "docker" "start" "-a" "cb9574e41a207683a9afa76cddd99aaf0df899d606ef858cefcbc29f23137e54", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/line.rs:14:56 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new<'a>(number: usize, content: &'a str) -> Line { [INFO] [stderr] | -- ^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named 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: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new<'a>(number: usize, content: &'a str) -> Line<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `hello_grep` (lib) generated 1 warning (run `cargo fix --lib -p hello_grep` to apply 1 suggestion) [INFO] [stderr] warning: `hello_grep` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hello_grep-c5dccd6f06340321) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test search::tests::test_is_matches_inverted_2 ... ok [INFO] [stdout] test search::tests::test_is_matches_inverted_1 ... ok [INFO] [stdout] test search::tests::search_all_inverted ... ok [INFO] [stdout] test search::tests::search_all_case_insensitive ... ok [INFO] [stdout] test search::tests::search_all_case_sensitive ... ok [INFO] [stdout] test search::tests::test_search_match_without_match ... ok [INFO] [stdout] test search::tests::test_is_matches ... ok [INFO] [stdout] test search::tests::test_is_matches_line_regexp_1 ... ok [INFO] [stdout] test search::tests::test_is_matches_line_regexp_2 ... ok [INFO] [stdout] test search::tests::test_search_match_with_match ... ok [INFO] [stdout] 13: pub fn run(config: CommandLineArgs, mut writer: impl Write) -> Result<(), Box> { [INFO] [stdout] 128: fn run_should_not_panic() -> Result<(), String> { [INFO] [stdout] 129: let config = create_test_config("run", true); [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hello_grep-02771046a6ae34b3) [INFO] [stdout] 130: run(config, &mut stdout()).unwrap(); [INFO] [stderr] Doc-tests hello_grep [INFO] [stdout] test tests::run_should_not_panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [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] [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" "cb9574e41a207683a9afa76cddd99aaf0df899d606ef858cefcbc29f23137e54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb9574e41a207683a9afa76cddd99aaf0df899d606ef858cefcbc29f23137e54", kill_on_drop: false }` [INFO] [stdout] cb9574e41a207683a9afa76cddd99aaf0df899d606ef858cefcbc29f23137e54