[INFO] cloning repository https://github.com/jkdzzzz/simple-rust-todo
[INFO] running `"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"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkdzzzz%2Fsimple-rust-todo'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] c93b49b7327147bcfc086be67d67a7122a05e974
[INFO] testing jkdzzzz/simple-rust-todo against 1.100.0-beta.13+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjkdzzzz%2Fsimple-rust-todo" "/workspace/builds/worker-1-tc1/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jkdzzzz/simple-rust-todo on toolchain 1.100.0-beta.13
[INFO] running `"cargo" "+1.100.0-beta.13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/jkdzzzz/simple-rust-todo already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.100.0-beta.13" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 501a95a11114eefe5b5d679cfa5b61d166b3f2af2526ea6ebf677f378d5f1e41
[INFO] running `"docker" "start" "501a95a11114eefe5b5d679cfa5b61d166b3f2af2526ea6ebf677f378d5f1e41"`
[INFO] running `"docker" "inspect" "501a95a11114eefe5b5d679cfa5b61d166b3f2af2526ea6ebf677f378d5f1e41"`
[INFO] running `"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" "501a95a11114eefe5b5d679cfa5b61d166b3f2af2526ea6ebf677f378d5f1e41" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "501a95a11114eefe5b5d679cfa5b61d166b3f2af2526ea6ebf677f378d5f1e41"`
[INFO] running `"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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "501a95a11114eefe5b5d679cfa5b61d166b3f2af2526ea6ebf677f378d5f1e41" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.13" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling 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[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] 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] running `"docker" "inspect" "501a95a11114eefe5b5d679cfa5b61d166b3f2af2526ea6ebf677f378d5f1e41"`
[INFO] running `"docker" "rm" "-f" "501a95a11114eefe5b5d679cfa5b61d166b3f2af2526ea6ebf677f378d5f1e41"`
[INFO] [stdout] 501a95a11114eefe5b5d679cfa5b61d166b3f2af2526ea6ebf677f378d5f1e41
