[INFO] cloning repository https://github.com/jkdzzzz/simple-rust-todo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jkdzzzz/simple-rust-todo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkdzzzz%2Fsimple-rust-todo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkdzzzz%2Fsimple-rust-todo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c93b49b7327147bcfc086be67d67a7122a05e974
[INFO] checking jkdzzzz/simple-rust-todo against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkdzzzz%2Fsimple-rust-todo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jkdzzzz/simple-rust-todo
[INFO] finished tweaking git repo https://github.com/jkdzzzz/simple-rust-todo
[INFO] tweaked toml for git repo https://github.com/jkdzzzz/simple-rust-todo written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jkdzzzz/simple-rust-todo on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jkdzzzz/simple-rust-todo 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "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] checking jkdzzzz/simple-rust-todo against 49a6044d37d694890450f52ceaceb66277a36b1e for pr-161154
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkdzzzz%2Fsimple-rust-todo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jkdzzzz/simple-rust-todo
[INFO] finished tweaking git repo https://github.com/jkdzzzz/simple-rust-todo
[INFO] tweaked toml for git repo https://github.com/jkdzzzz/simple-rust-todo written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jkdzzzz/simple-rust-todo on toolchain 49a6044d37d694890450f52ceaceb66277a36b1e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jkdzzzz/simple-rust-todo 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" "+49a6044d37d694890450f52ceaceb66277a36b1e" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 4788c77244c363f8eb749da23cd8144abcc8cbd5d771ee7e1c4b73eae5bd3273
[INFO] running `Command { std: "docker" "start" "4788c77244c363f8eb749da23cd8144abcc8cbd5d771ee7e1c4b73eae5bd3273", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4788c77244c363f8eb749da23cd8144abcc8cbd5d771ee7e1c4b73eae5bd3273", 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" "4788c77244c363f8eb749da23cd8144abcc8cbd5d771ee7e1c4b73eae5bd3273" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4788c77244c363f8eb749da23cd8144abcc8cbd5d771ee7e1c4b73eae5bd3273", 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" "4788c77244c363f8eb749da23cd8144abcc8cbd5d771ee7e1c4b73eae5bd3273" "/opt/rustwide/cargo-home/bin/cargo" "+49a6044d37d694890450f52ceaceb66277a36b1e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking simple-rust-todo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/utils.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 |       let lines: Vec<String> = reader.lines().filter_map(|line| {
[INFO] [stdout]    |  ________________-----------___^
[INFO] [stdout]    | |                |
[INFO] [stdout]    | |                expected due to this
[INFO] [stdout] 66 | |         let line = line.ok()?;
[INFO] [stdout] 67 | |         if &line != task_line {
[INFO] [stdout] 68 | |             Some(line)
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |     });
[INFO] [stdout]    | |______^ expected `Vec<String>`, found `FilterMap<Lines<_>, {closure@...}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<String>`
[INFO] [stdout]               found struct `FilterMap<std::io::Lines<BufReader<File>>, {closure@src/utils.rs:65:56: 65:62}>`
[INFO] [stdout] help: consider using `.collect()` to convert the `Iterator` into a `Vec<String>`
[INFO] [stdout]    |
[INFO] [stdout] 72 |     }).collect();
[INFO] [stdout]    |       ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/utils.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 |       let lines: Vec<String> = reader.lines().filter_map(|line| {
[INFO] [stdout]    |  ________________-----------___^
[INFO] [stdout]    | |                |
[INFO] [stdout]    | |                expected due to this
[INFO] [stdout] 66 | |         let line = line.ok()?;
[INFO] [stdout] 67 | |         if &line != task_line {
[INFO] [stdout] 68 | |             Some(line)
[INFO] [stdout] ...  |
[INFO] [stdout] 72 | |     });
[INFO] [stdout]    | |______^ expected `Vec<String>`, found `FilterMap<Lines<_>, {closure@...}>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `Vec<String>`
[INFO] [stdout]               found struct `FilterMap<std::io::Lines<BufReader<File>>, {closure@src/utils.rs:65:56: 65:62}>`
[INFO] [stdout] help: consider using `.collect()` to convert the `Iterator` into a `Vec<String>`
[INFO] [stdout]    |
[INFO] [stdout] 72 |     }).collect();
[INFO] [stdout]    |       ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `tasks`
[INFO] [stdout]   --> src/main.rs:40:46
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut tasks: Vec<String> = Vec::new();
[INFO] [stdout]    |             --------- move occurs because `tasks` has type `Vec<String>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 39 |         let command = utils::task_menu(tasks);
[INFO] [stdout]    |                                        ----- value moved here
[INFO] [stdout] 40 |         utils::handle_command(command, file, tasks);
[INFO] [stdout]    |                                              ^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `task_menu` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/utils.rs:5:25
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub fn task_menu(tasks: Vec<String>) -> String {
[INFO] [stdout]    |        ---------        ^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |        |
[INFO] [stdout]    |        in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let command = utils::task_menu(tasks.clone());
[INFO] [stdout]    |                                             ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `tasks`
[INFO] [stdout]   --> src/main.rs:40:46
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let mut tasks: Vec<String> = Vec::new();
[INFO] [stdout]    |             --------- move occurs because `tasks` has type `Vec<String>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 39 |         let command = utils::task_menu(tasks);
[INFO] [stdout]    |                                        ----- value moved here
[INFO] [stdout] 40 |         utils::handle_command(command, file, tasks);
[INFO] [stdout]    |                                              ^^^^^ value used here after move
[INFO] [stdout]    |
[INFO] [stdout] note: consider changing this parameter type in function `task_menu` to borrow instead if owning the value isn't necessary
[INFO] [stdout]   --> src/utils.rs:5:25
[INFO] [stdout]    |
[INFO] [stdout]  5 | pub fn task_menu(tasks: Vec<String>) -> String {
[INFO] [stdout]    |        ---------        ^^^^^^^^^^^ this parameter takes ownership of the value
[INFO] [stdout]    |        |
[INFO] [stdout]    |        in this function
[INFO] [stdout] help: consider cloning the value if the performance cost is acceptable
[INFO] [stdout]    |
[INFO] [stdout] 39 |         let command = utils::task_menu(tasks.clone());
[INFO] [stdout]    |                                             ++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0382.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `simple-rust-todo` (bin "simple-rust-todo") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `simple-rust-todo` (bin "simple-rust-todo" test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "4788c77244c363f8eb749da23cd8144abcc8cbd5d771ee7e1c4b73eae5bd3273", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4788c77244c363f8eb749da23cd8144abcc8cbd5d771ee7e1c4b73eae5bd3273", kill_on_drop: false }`
[INFO] [stdout] 4788c77244c363f8eb749da23cd8144abcc8cbd5d771ee7e1c4b73eae5bd3273
