[INFO] cloning repository https://github.com/Cesare-Liu/alg_liuyi
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cesare-Liu/alg_liuyi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCesare-Liu%2Falg_liuyi", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCesare-Liu%2Falg_liuyi'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ae157e4eb2b0ee77430b831d37d6959d55681266
[INFO] checking Cesare-Liu/alg_liuyi against try#f77b5bc6c7c84df104f86b0dd01d9490e3923fa8 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCesare-Liu%2Falg_liuyi" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Cesare-Liu/alg_liuyi
[INFO] finished tweaking git repo https://github.com/Cesare-Liu/alg_liuyi
[INFO] tweaked toml for git repo https://github.com/Cesare-Liu/alg_liuyi written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Cesare-Liu/alg_liuyi on toolchain f77b5bc6c7c84df104f86b0dd01d9490e3923fa8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Cesare-Liu/alg_liuyi 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" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 92503be1f41c17adae392b9c6c6093eec93b1a23e0544b83ed76e92493f72636
[INFO] running `Command { std: "docker" "start" "-a" "92503be1f41c17adae392b9c6c6093eec93b1a23e0544b83ed76e92493f72636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "92503be1f41c17adae392b9c6c6093eec93b1a23e0544b83ed76e92493f72636", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92503be1f41c17adae392b9c6c6093eec93b1a23e0544b83ed76e92493f72636", kill_on_drop: false }`
[INFO] [stdout] 92503be1f41c17adae392b9c6c6093eec93b1a23e0544b83ed76e92493f72636
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+f77b5bc6c7c84df104f86b0dd01d9490e3923fa8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ed2b322736be55a1c18698d6ed713bea8118226945debcaf5b60900342038eda
[INFO] running `Command { std: "docker" "start" "-a" "ed2b322736be55a1c18698d6ed713bea8118226945debcaf5b60900342038eda", kill_on_drop: false }`
[INFO] [stderr]     Checking alg_liuyi v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0434]: can't capture dynamic environment in a fn item
[INFO] [stdout]   --> src/leetcode/solution/leetcode10.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |             if s1[i] == p1[j] {
[INFO] [stdout]    |                ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use the `|| { ... }` closure form instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0434]: can't capture dynamic environment in a fn item
[INFO] [stdout]   --> src/leetcode/solution/leetcode10.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |             if s1[i] == p1[j] {
[INFO] [stdout]    |                         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use the `|| { ... }` closure form instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0434]: can't capture dynamic environment in a fn item
[INFO] [stdout]   --> src/leetcode/solution/leetcode10.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |             if p[j] = '*' {
[INFO] [stdout]    |                ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use the `|| { ... }` closure form instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/leetcode/solution/leetcode10.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |           if s1.len() >= 2 && s1[1] == '*' {
[INFO] [stdout]    |  __________________________________________^
[INFO] [stdout] 33 | |
[INFO] [stdout] 34 | |         }
[INFO] [stdout]    | |_________^ expected `bool`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/leetcode/solution/leetcode1.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut map: HashMap<i32, usize> = HashMap::new();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]   --> src/leetcode/solution/leetcode1.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut map: HashMap<i32, usize> = HashMap::new();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map`
[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: E0308, E0434.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `alg_liuyi` (lib) due to 4 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0434]: can't capture dynamic environment in a fn item
[INFO] [stdout]   --> src/leetcode/solution/leetcode10.rs:15:7
[INFO] [stdout]    |
[INFO] [stdout] 15 |             if s1[i] == p1[j] {
[INFO] [stdout]    |                ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use the `|| { ... }` closure form instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0434]: can't capture dynamic environment in a fn item
[INFO] [stdout]   --> src/leetcode/solution/leetcode10.rs:15:16
[INFO] [stdout]    |
[INFO] [stdout] 15 |             if s1[i] == p1[j] {
[INFO] [stdout]    |                         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use the `|| { ... }` closure form instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0434]: can't capture dynamic environment in a fn item
[INFO] [stdout]   --> src/leetcode/solution/leetcode10.rs:18:7
[INFO] [stdout]    |
[INFO] [stdout] 18 |             if p[j] = '*' {
[INFO] [stdout]    |                ^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use the `|| { ... }` closure form instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/leetcode/solution/leetcode10.rs:32:36
[INFO] [stdout]    |
[INFO] [stdout] 32 |           if s1.len() >= 2 && s1[1] == '*' {
[INFO] [stdout]    |  __________________________________________^
[INFO] [stdout] 33 | |
[INFO] [stdout] 34 | |         }
[INFO] [stdout]    | |_________^ expected `bool`, found `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/leetcode/solution/leetcode1.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut map: HashMap<i32, usize> = HashMap::new();
[INFO] [stdout]    |             ----^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `map`
[INFO] [stdout]   --> src/leetcode/solution/leetcode1.rs:68:7
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut map: HashMap<i32, usize> = HashMap::new();
[INFO] [stdout]    |             ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_map`
[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: E0308, E0434.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `alg_liuyi` (lib test) due to 4 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "ed2b322736be55a1c18698d6ed713bea8118226945debcaf5b60900342038eda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed2b322736be55a1c18698d6ed713bea8118226945debcaf5b60900342038eda", kill_on_drop: false }`
[INFO] [stdout] ed2b322736be55a1c18698d6ed713bea8118226945debcaf5b60900342038eda
