[INFO] cloning repository https://github.com/BLANKatGITHUB/minigrep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BLANKatGITHUB/minigrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBLANKatGITHUB%2Fminigrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBLANKatGITHUB%2Fminigrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b7944d08b9ad0aa2f14dc2653d53191199db14e7
[INFO] checking BLANKatGITHUB/minigrep against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBLANKatGITHUB%2Fminigrep" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/BLANKatGITHUB/minigrep on toolchain 5fee451ebd94296ea05214e819c311e164b30af6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/BLANKatGITHUB/minigrep
[INFO] finished tweaking git repo https://github.com/BLANKatGITHUB/minigrep
[INFO] tweaked toml for git repo https://github.com/BLANKatGITHUB/minigrep written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/BLANKatGITHUB/minigrep 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1c9d1300b9104f94185aa0035ea1df14ccda914012e35c2ed45e52f6c005b4ba
[INFO] running `Command { std: "docker" "start" "-a" "1c9d1300b9104f94185aa0035ea1df14ccda914012e35c2ed45e52f6c005b4ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c9d1300b9104f94185aa0035ea1df14ccda914012e35c2ed45e52f6c005b4ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c9d1300b9104f94185aa0035ea1df14ccda914012e35c2ed45e52f6c005b4ba", kill_on_drop: false }`
[INFO] [stdout] 1c9d1300b9104f94185aa0035ea1df14ccda914012e35c2ed45e52f6c005b4ba
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c63c45e6c19b67a4737d9dc3f93903f6a42e26684f88dbb87ab364a3a33f1f5
[INFO] running `Command { std: "docker" "start" "-a" "7c63c45e6c19b67a4737d9dc3f93903f6a42e26684f88dbb87ab364a3a33f1f5", kill_on_drop: false }`
[INFO] [stderr]     Checking minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found keyword `type`
[INFO] [stdout]   --> src/lib.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn build( mut args: impl Iterator <type = String> ) -> Result<Config,&str> {
[INFO] [stdout]    |                                        ^^^^ expected one of `>`, a const expression, lifetime, or type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `>`, a const expression, lifetime, or type, found keyword `type`
[INFO] [stdout]   --> src/lib.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn build( mut args: impl Iterator <type = String> ) -> Result<Config,&str> {
[INFO] [stdout]    |                                        ^^^^ expected one of `>`, a const expression, lifetime, or type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/lib.rs:10:74
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn build( mut args: impl Iterator <type = String> ) -> Result<Config,&str> {
[INFO] [stdout]    |                                                                          ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn build( mut args: impl Iterator <type = String> ) -> Result<Config,&'static str> {
[INFO] [stdout]    |                                                                           +++++++
[INFO] [stdout] help: instead, you are more likely to want to change the argument to be borrowed...
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn build( mut args: impl Iterator &<type = String> ) -> Result<Config,&str> {
[INFO] [stdout]    |                                       +
[INFO] [stdout] help: ...or alternatively, you might want to return an owned value
[INFO] [stdout]    |
[INFO] [stdout] 10 - pub fn build( mut args: impl Iterator <type = String> ) -> Result<Config,&str> {
[INFO] [stdout] 10 + pub fn build( mut args: impl Iterator <type = String> ) -> Result<Config,String> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0106]: missing lifetime specifier
[INFO] [stdout]   --> src/lib.rs:10:74
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn build( mut args: impl Iterator <type = String> ) -> Result<Config,&str> {
[INFO] [stdout]    |                                                                          ^ expected named lifetime parameter
[INFO] [stdout]    |
[INFO] [stdout]    = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from
[INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static`
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn build( mut args: impl Iterator <type = String> ) -> Result<Config,&'static str> {
[INFO] [stdout]    |                                                                           +++++++
[INFO] [stdout] help: instead, you are more likely to want to change the argument to be borrowed...
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub fn build( mut args: impl Iterator &<type = String> ) -> Result<Config,&str> {
[INFO] [stdout]    |                                       +
[INFO] [stdout] help: ...or alternatively, you might want to return an owned value
[INFO] [stdout]    |
[INFO] [stdout] 10 - pub fn build( mut args: impl Iterator <type = String> ) -> Result<Config,&str> {
[INFO] [stdout] 10 + pub fn build( mut args: impl Iterator <type = String> ) -> Result<Config,String> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/lib.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |      args.next();
[INFO] [stdout]    |      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let query = match args.next(){
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/lib.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let file_path = match args.next(){
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `contents` in this scope
[INFO] [stdout]   --> src/lib.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     contents
[INFO] [stdout]    |     ^^^^^^^^ help: a local variable with a similar name exists: `content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/lib.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 |      args.next();
[INFO] [stdout]    |      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `contents` in this scope
[INFO] [stdout]   --> src/lib.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let results = contents
[INFO] [stdout]    |                   ^^^^^^^^ help: a local variable with a similar name exists: `content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/lib.rs:12:23
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let query = match args.next(){
[INFO] [stdout]    |                       ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `args` in this scope
[INFO] [stdout]   --> src/lib.rs:17:27
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let file_path = match args.next(){
[INFO] [stdout]    |                           ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions
[INFO] [stdout]    |
[INFO] [stdout] 1  + use crate::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 1  + use std::env::args;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `contents` in this scope
[INFO] [stdout]   --> src/lib.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 |     contents
[INFO] [stdout]    |     ^^^^^^^^ help: a local variable with a similar name exists: `content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `contents` in this scope
[INFO] [stdout]   --> src/lib.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     let results = contents
[INFO] [stdout]    |                   ^^^^^^^^ help: a local variable with a similar name exists: `content`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:57:64
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn search_insensitive<'a>(query:&str, content: &'a str) -> Vec<&'a str>{
[INFO] [stdout]    |        ------------------                                      ^^^^^^^^^^^^ expected `Vec<&str>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<&'a str>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:57:64
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub fn search_insensitive<'a>(query:&str, content: &'a str) -> Vec<&'a str>{
[INFO] [stdout]    |        ------------------                                      ^^^^^^^^^^^^ expected `Vec<&str>`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<&'a str>`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0106, E0308, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0106`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `minigrep` (lib) due to 8 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `minigrep` (lib test) due to 8 previous errors
[INFO] running `Command { std: "docker" "inspect" "7c63c45e6c19b67a4737d9dc3f93903f6a42e26684f88dbb87ab364a3a33f1f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c63c45e6c19b67a4737d9dc3f93903f6a42e26684f88dbb87ab364a3a33f1f5", kill_on_drop: false }`
[INFO] [stdout] 7c63c45e6c19b67a4737d9dc3f93903f6a42e26684f88dbb87ab364a3a33f1f5
