[INFO] cloning repository https://github.com/Abhaykumarsahu1/I-O-CLI-MiniGrep
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Abhaykumarsahu1/I-O-CLI-MiniGrep" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhaykumarsahu1%2FI-O-CLI-MiniGrep", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhaykumarsahu1%2FI-O-CLI-MiniGrep'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3bfc33201bc18bb91f4e125731eda5770d7762d2
[INFO] checking Abhaykumarsahu1/I-O-CLI-MiniGrep against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6 for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAbhaykumarsahu1%2FI-O-CLI-MiniGrep" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Abhaykumarsahu1/I-O-CLI-MiniGrep
[INFO] finished tweaking git repo https://github.com/Abhaykumarsahu1/I-O-CLI-MiniGrep
[INFO] tweaked toml for git repo https://github.com/Abhaykumarsahu1/I-O-CLI-MiniGrep written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Abhaykumarsahu1/I-O-CLI-MiniGrep on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Abhaykumarsahu1/I-O-CLI-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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 847e4bba3a40142cb55c0495c2c038dd182b7cff5c725f0b3b541318561cf209
[INFO] running `Command { std: "docker" "start" "847e4bba3a40142cb55c0495c2c038dd182b7cff5c725f0b3b541318561cf209", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "847e4bba3a40142cb55c0495c2c038dd182b7cff5c725f0b3b541318561cf209", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "847e4bba3a40142cb55c0495c2c038dd182b7cff5c725f0b3b541318561cf209" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "847e4bba3a40142cb55c0495c2c038dd182b7cff5c725f0b3b541318561cf209", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "847e4bba3a40142cb55c0495c2c038dd182b7cff5c725f0b3b541318561cf209" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking Minigrep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: crate `Minigrep` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `minigrep`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/main.rs:79:10
[INFO] [stdout]    |
[INFO] [stdout] 79 |         }
[INFO] [stdout]    |          ^ help: add `;` here
[INFO] [stdout] 80 |
[INFO] [stdout] 81 |         let file_path = match args.next(){
[INFO] [stdout]    |         --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/main.rs:85:10
[INFO] [stdout]    |
[INFO] [stdout] 85 |         }
[INFO] [stdout]    |          ^ help: add `;` here
[INFO] [stdout] 86 |
[INFO] [stdout] 87 |         let ignore_case = env::var("IGNORE_CASE").is_ok();
[INFO] [stdout]    |         --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/main.rs:79:10
[INFO] [stdout]    |
[INFO] [stdout] 79 |         }
[INFO] [stdout]    |          ^ help: add `;` here
[INFO] [stdout] 80 |
[INFO] [stdout] 81 |         let file_path = match args.next(){
[INFO] [stdout]    |         --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/main.rs:85:10
[INFO] [stdout]    |
[INFO] [stdout] 85 |         }
[INFO] [stdout]    |          ^ help: add `;` here
[INFO] [stdout] 86 |
[INFO] [stdout] 87 |         let ignore_case = env::var("IGNORE_CASE").is_ok();
[INFO] [stdout]    |         --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0220]: associated type `item` not found for `Iterator`
[INFO] [stdout]   --> src/main.rs:68:38
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn build(mut args: impl Iterator<item = String>,)-> Result<Config, &'static str>{
[INFO] [stdout]    |                                      ^^^^ help: there is an associated type with a similar name (notice the capitalization): `Item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `fn() -> Args {args}` is not an iterator
[INFO] [stdout]   --> src/main.rs:24:32
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let config = Config::build(env::args).unwrap_or_else(|err|{
[INFO] [stdout]    |                  ------------- ^^^^^^^^^ `fn() -> Args {args}` is not an iterator
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Iterator` is not implemented for fn item `fn() -> Args {args}`
[INFO] [stdout] note: required by a bound in `Config::build`
[INFO] [stdout]   --> src/main.rs:68:29
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl Config{
[INFO] [stdout] 68 |     fn build(mut args: impl Iterator<item = String>,)-> Result<Config, &'static str>{
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Config::build`
[INFO] [stdout] help: use parentheses to call this function
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let config = Config::build(env::args()).unwrap_or_else(|err|{
[INFO] [stdout]    |                                         ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0220]: associated type `item` not found for `Iterator`
[INFO] [stdout]   --> src/main.rs:68:38
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn build(mut args: impl Iterator<item = String>,)-> Result<Config, &'static str>{
[INFO] [stdout]    |                                      ^^^^ help: there is an associated type with a similar name (notice the capitalization): `Item`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             query,
[INFO] [stdout]    |             ^^^^^ expected `String`, found associated type
[INFO] [stdout]    |
[INFO] [stdout]    = note:       expected struct `String`
[INFO] [stdout]            found associated type `<impl Iterator<item = String> as Iterator>::Item`
[INFO] [stdout] help: consider constraining the associated type `<impl Iterator<item = String> as Iterator>::Item` to `String`
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn build(mut args: impl Iterator<item = String, Item = String>,)-> Result<Config, &'static str>{
[INFO] [stdout]    |                                                   +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             file_path,
[INFO] [stdout]    |             ^^^^^^^^^ expected `String`, found associated type
[INFO] [stdout]    |
[INFO] [stdout]    = note:       expected struct `String`
[INFO] [stdout]            found associated type `<impl Iterator<item = String> as Iterator>::Item`
[INFO] [stdout] help: consider constraining the associated type `<impl Iterator<item = String> as Iterator>::Item` to `String`
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn build(mut args: impl Iterator<item = String, Item = String>,)-> Result<Config, &'static str>{
[INFO] [stdout]    |                                                   +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]   --> src/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let results = if config.ignore_case{
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0220, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0220`.
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `fn() -> Args {args}` is not an iterator
[INFO] [stdout]   --> src/main.rs:24:32
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let config = Config::build(env::args).unwrap_or_else(|err|{
[INFO] [stdout]    |                  ------------- ^^^^^^^^^ `fn() -> Args {args}` is not an iterator
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Iterator` is not implemented for fn item `fn() -> Args {args}`
[INFO] [stdout] note: required by a bound in `Config::build`
[INFO] [stdout]   --> src/main.rs:68:29
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl Config{
[INFO] [stdout] 68 |     fn build(mut args: impl Iterator<item = String>,)-> Result<Config, &'static str>{
[INFO] [stdout]    |                             ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Config::build`
[INFO] [stdout] help: use parentheses to call this function
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let config = Config::build(env::args()).unwrap_or_else(|err|{
[INFO] [stdout]    |                                         ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Minigrep` (bin "Minigrep") due to 6 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:89:13
[INFO] [stdout]    |
[INFO] [stdout] 89 |             query,
[INFO] [stdout]    |             ^^^^^ expected `String`, found associated type
[INFO] [stdout]    |
[INFO] [stdout]    = note:       expected struct `String`
[INFO] [stdout]            found associated type `<impl Iterator<item = String> as Iterator>::Item`
[INFO] [stdout] help: consider constraining the associated type `<impl Iterator<item = String> as Iterator>::Item` to `String`
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn build(mut args: impl Iterator<item = String, Item = String>,)-> Result<Config, &'static str>{
[INFO] [stdout]    |                                                   +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:90:13
[INFO] [stdout]    |
[INFO] [stdout] 90 |             file_path,
[INFO] [stdout]    |             ^^^^^^^^^ expected `String`, found associated type
[INFO] [stdout]    |
[INFO] [stdout]    = note:       expected struct `String`
[INFO] [stdout]            found associated type `<impl Iterator<item = String> as Iterator>::Item`
[INFO] [stdout] help: consider constraining the associated type `<impl Iterator<item = String> as Iterator>::Item` to `String`
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn build(mut args: impl Iterator<item = String, Item = String>,)-> Result<Config, &'static str>{
[INFO] [stdout]    |                                                   +++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `results`
[INFO] [stdout]   --> src/main.rs:47:9
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let results = if config.ignore_case{
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_results`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0220, E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0220`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Minigrep` (bin "Minigrep" test) due to 6 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "847e4bba3a40142cb55c0495c2c038dd182b7cff5c725f0b3b541318561cf209", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "847e4bba3a40142cb55c0495c2c038dd182b7cff5c725f0b3b541318561cf209", kill_on_drop: false }`
[INFO] [stdout] 847e4bba3a40142cb55c0495c2c038dd182b7cff5c725f0b3b541318561cf209
