[INFO] cloning repository https://github.com/AyiokaMecha/chapter13_closures-iterators
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AyiokaMecha/chapter13_closures-iterators" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAyiokaMecha%2Fchapter13_closures-iterators", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAyiokaMecha%2Fchapter13_closures-iterators'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6931521e39ef4c9180c0850b1f1e8677e0412d5e
[INFO] checking AyiokaMecha/chapter13_closures-iterators against try#863511eff87e66198b396935f3b5c8a543022f53 for pr-139493-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAyiokaMecha%2Fchapter13_closures-iterators" "/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/AyiokaMecha/chapter13_closures-iterators
[INFO] finished tweaking git repo https://github.com/AyiokaMecha/chapter13_closures-iterators
[INFO] tweaked toml for git repo https://github.com/AyiokaMecha/chapter13_closures-iterators written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AyiokaMecha/chapter13_closures-iterators on toolchain 863511eff87e66198b396935f3b5c8a543022f53
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AyiokaMecha/chapter13_closures-iterators 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" "+863511eff87e66198b396935f3b5c8a543022f53" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c6817219e53098148c3de98bb6219029af3b3dee8dbc66c5b4723cfb81f674e1
[INFO] running `Command { std: "docker" "start" "-a" "c6817219e53098148c3de98bb6219029af3b3dee8dbc66c5b4723cfb81f674e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c6817219e53098148c3de98bb6219029af3b3dee8dbc66c5b4723cfb81f674e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6817219e53098148c3de98bb6219029af3b3dee8dbc66c5b4723cfb81f674e1", kill_on_drop: false }`
[INFO] [stdout] c6817219e53098148c3de98bb6219029af3b3dee8dbc66c5b4723cfb81f674e1
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+863511eff87e66198b396935f3b5c8a543022f53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 01a4ee30f093aca6161a8a48641c6dbfa8bd2de1a58b5ecef3eb3110e0aecd93
[INFO] running `Command { std: "docker" "start" "-a" "01a4ee30f093aca6161a8a48641c6dbfa8bd2de1a58b5ecef3eb3110e0aecd93", kill_on_drop: false }`
[INFO] [stderr]     Checking chapter_13_closures_and_iterators v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]   --> src/lib.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let ignore_case = env::var("IGNORE_CASE").is_ok();
[INFO] [stdout]    |                           ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Config` has no field named `query`
[INFO] [stdout]   --> src/lib.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             query,
[INFO] [stdout]    |             ^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 21 |             querry,
[INFO] [stdout]    |                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Config` has no field named `file_path`
[INFO] [stdout]   --> src/lib.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             file_path,
[INFO] [stdout]    |             ^^^^^^^^^ `Config` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `querry`, `filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Config` has no field named `ignore_case`
[INFO] [stdout]   --> src/lib.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             ignore_case,
[INFO] [stdout]    |             ^^^^^^^^^^^ `Config` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `querry`, `filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `env`
[INFO] [stdout]   --> src/lib.rs:19:27
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let ignore_case = env::var("IGNORE_CASE").is_ok();
[INFO] [stdout]    |                           ^^^ use of unresolved module or unlinked crate `env`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `env`, use `cargo add env` to add it to your `Cargo.toml`
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::env;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn search<'a> (
[INFO] [stdout]    |        ------ implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] ...
[INFO] [stdout] 31 | ) -> Vec<&'a str> {
[INFO] [stdout]    |      ^^^^^^^^^^^^ expected `Vec<&str>`, found `()`
[INFO] [stdout] ...
[INFO] [stdout] 42 |         .collect();
[INFO] [stdout]    |                   - help: remove this semicolon to return this value
[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: E0308, E0433, E0560.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Config` has no field named `query`
[INFO] [stdout]   --> src/lib.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |             query,
[INFO] [stdout]    |             ^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: a field with a similar name exists
[INFO] [stdout]    |
[INFO] [stdout] 21 |             querry,
[INFO] [stdout]    |                 +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Config` has no field named `file_path`
[INFO] [stdout]   --> src/lib.rs:22:13
[INFO] [stdout]    |
[INFO] [stdout] 22 |             file_path,
[INFO] [stdout]    |             ^^^^^^^^^ `Config` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `querry`, `filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0560]: struct `Config` has no field named `ignore_case`
[INFO] [stdout]   --> src/lib.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |             ignore_case,
[INFO] [stdout]    |             ^^^^^^^^^^^ `Config` does not have this field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `querry`, `filename`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chapter_13_closures_and_iterators` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:31:6
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub fn search<'a> (
[INFO] [stdout]    |        ------ implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout] ...
[INFO] [stdout] 31 | ) -> Vec<&'a str> {
[INFO] [stdout]    |      ^^^^^^^^^^^^ expected `Vec<&str>`, found `()`
[INFO] [stdout] ...
[INFO] [stdout] 42 |         .collect();
[INFO] [stdout]    |                   - help: remove this semicolon to return this value
[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: E0308, E0433, E0560.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chapter_13_closures_and_iterators` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "01a4ee30f093aca6161a8a48641c6dbfa8bd2de1a58b5ecef3eb3110e0aecd93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "01a4ee30f093aca6161a8a48641c6dbfa8bd2de1a58b5ecef3eb3110e0aecd93", kill_on_drop: false }`
[INFO] [stdout] 01a4ee30f093aca6161a8a48641c6dbfa8bd2de1a58b5ecef3eb3110e0aecd93
