[INFO] cloning repository https://github.com/Junscuzzy/mini_grep [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Junscuzzy/mini_grep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunscuzzy%2Fmini_grep", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunscuzzy%2Fmini_grep'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 22e730b02ebb4210ac8b37f0d2ba8ddf018024be [INFO] testing Junscuzzy/mini_grep against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunscuzzy%2Fmini_grep" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Junscuzzy/mini_grep on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Junscuzzy/mini_grep [INFO] finished tweaking git repo https://github.com/Junscuzzy/mini_grep [INFO] tweaked toml for git repo https://github.com/Junscuzzy/mini_grep written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Junscuzzy/mini_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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing Junscuzzy/mini_grep against try#17092ad00ed8fe1e7f81a7e38238ff70779034b1 for pr-140985 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunscuzzy%2Fmini_grep" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Junscuzzy/mini_grep on toolchain 17092ad00ed8fe1e7f81a7e38238ff70779034b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Junscuzzy/mini_grep [INFO] finished tweaking git repo https://github.com/Junscuzzy/mini_grep [INFO] tweaked toml for git repo https://github.com/Junscuzzy/mini_grep written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Junscuzzy/mini_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" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded structopt-derive v0.4.14 [INFO] [stderr] Downloaded structopt v0.3.21 [INFO] [stderr] Downloaded syn v1.0.73 [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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94371bf91bf1752803cf97a2ec65482046819cec30c59fe84d910445a24416f3 [INFO] running `Command { std: "docker" "start" "-a" "94371bf91bf1752803cf97a2ec65482046819cec30c59fe84d910445a24416f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94371bf91bf1752803cf97a2ec65482046819cec30c59fe84d910445a24416f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94371bf91bf1752803cf97a2ec65482046819cec30c59fe84d910445a24416f3", kill_on_drop: false }` [INFO] [stdout] 94371bf91bf1752803cf97a2ec65482046819cec30c59fe84d910445a24416f3 [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" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f932ec8251896bddbd9aa8ec4558cc633cf4df8cfa1ff541017569cd6531227 [INFO] running `Command { std: "docker" "start" "-a" "2f932ec8251896bddbd9aa8ec4558cc633cf4df8cfa1ff541017569cd6531227", 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 unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling textwrap 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 quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.18 [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: elided lifetime has a name [INFO] [stdout] --> src/line.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'a>(number: usize, content: &'a str) -> Line { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.40s [INFO] running `Command { std: "docker" "inspect" "2f932ec8251896bddbd9aa8ec4558cc633cf4df8cfa1ff541017569cd6531227", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f932ec8251896bddbd9aa8ec4558cc633cf4df8cfa1ff541017569cd6531227", kill_on_drop: false }` [INFO] [stdout] 2f932ec8251896bddbd9aa8ec4558cc633cf4df8cfa1ff541017569cd6531227 [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" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70d6bc60ee59329d6f6386eabe2cd210b84ae5e40b715b6a666bf629c2f8d125 [INFO] running `Command { std: "docker" "start" "-a" "70d6bc60ee59329d6f6386eabe2cd210b84ae5e40b715b6a666bf629c2f8d125", kill_on_drop: false }` [INFO] [stderr] Compiling hello_grep v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/line.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'a>(number: usize, content: &'a str) -> Line { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/line.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new<'a>(number: usize, content: &'a str) -> Line { [INFO] [stdout] | -- lifetime `'a` declared here ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "70d6bc60ee59329d6f6386eabe2cd210b84ae5e40b715b6a666bf629c2f8d125", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70d6bc60ee59329d6f6386eabe2cd210b84ae5e40b715b6a666bf629c2f8d125", kill_on_drop: false }` [INFO] [stdout] 70d6bc60ee59329d6f6386eabe2cd210b84ae5e40b715b6a666bf629c2f8d125 [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" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+17092ad00ed8fe1e7f81a7e38238ff70779034b1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54db88868b18de8b497c778fa692bbbfe0b17ea06dddff3a8724936beeae6569 [INFO] running `Command { std: "docker" "start" "-a" "54db88868b18de8b497c778fa692bbbfe0b17ea06dddff3a8724936beeae6569", kill_on_drop: false }` [INFO] [stderr] warning: elided lifetime has a name [INFO] [stderr] --> src/line.rs:14:56 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new<'a>(number: usize, content: &'a str) -> Line { [INFO] [stderr] | -- lifetime `'a` declared here ^^^^ this elided lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `hello_grep` (lib) generated 1 warning [INFO] [stderr] warning: `hello_grep` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hello_grep-2f4de69b3b305aaa) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test search::tests::search_all_case_sensitive ... ok [INFO] [stdout] test search::tests::test_is_matches ... ok [INFO] [stdout] test search::tests::test_is_matches_inverted_1 ... ok [INFO] [stdout] test search::tests::test_is_matches_inverted_2 ... 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::test_is_matches_line_regexp_1 ... ok [INFO] [stdout] test search::tests::test_search_match_with_match ... ok [INFO] [stdout] test search::tests::test_search_match_without_match ... ok [INFO] [stdout] test search::tests::test_is_matches_line_regexp_2 ... 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] [stdout] 130: run(config, &mut stdout()).unwrap(); [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.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hello_grep-6c1df93066a0ec1b) [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] [stderr] Doc-tests hello_grep [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" "54db88868b18de8b497c778fa692bbbfe0b17ea06dddff3a8724936beeae6569", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54db88868b18de8b497c778fa692bbbfe0b17ea06dddff3a8724936beeae6569", kill_on_drop: false }` [INFO] [stdout] 54db88868b18de8b497c778fa692bbbfe0b17ea06dddff3a8724936beeae6569