[INFO] cloning repository https://github.com/AriBhuiya/todo-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AriBhuiya/todo-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAriBhuiya%2Ftodo-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAriBhuiya%2Ftodo-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c1f113140c6ccd1bbee26a281b6e6868ccd97df6
[INFO] checking AriBhuiya/todo-rs against master#f2c70877a7dbc51cd98e2d5d25209b24d4a586d5 for pr-150097
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAriBhuiya%2Ftodo-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AriBhuiya/todo-rs
[INFO] finished tweaking git repo https://github.com/AriBhuiya/todo-rs
[INFO] tweaked toml for git repo https://github.com/AriBhuiya/todo-rs written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AriBhuiya/todo-rs on toolchain f2c70877a7dbc51cd98e2d5d25209b24d4a586d5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AriBhuiya/todo-rs 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" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c75da94094cc8f3185273c1e809ec57b0c09bad2029baba5f1f1d65514d1030e
[INFO] running `Command { std: "docker" "start" "-a" "c75da94094cc8f3185273c1e809ec57b0c09bad2029baba5f1f1d65514d1030e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c75da94094cc8f3185273c1e809ec57b0c09bad2029baba5f1f1d65514d1030e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c75da94094cc8f3185273c1e809ec57b0c09bad2029baba5f1f1d65514d1030e", kill_on_drop: false }`
[INFO] [stdout] c75da94094cc8f3185273c1e809ec57b0c09bad2029baba5f1f1d65514d1030e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+f2c70877a7dbc51cd98e2d5d25209b24d4a586d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 05e4b3d84ea52cc9a09b9058ec800eed05a741b27687e093f3a3d10c78cd7454
[INFO] running `Command { std: "docker" "start" "-a" "05e4b3d84ea52cc9a09b9058ec800eed05a741b27687e093f3a3d10c78cd7454", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking dirs-sys v0.5.0
[INFO] [stderr]     Checking clap_builder v4.5.44
[INFO] [stderr]     Checking dirs v6.0.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling clap_derive v4.5.45
[INFO] [stderr]     Checking clap v4.5.45
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking serde_json v1.0.143
[INFO] [stderr]     Checking todo-cli-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `TodoItem` and `TodoList`
[INFO] [stdout]  --> src/main.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::data::{App, TodoItem, TodoList};
[INFO] [stdout]   |                        ^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/app.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `TodoItem` and `TodoList`
[INFO] [stdout]  --> src/main.rs:3:24
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::data::{App, TodoItem, TodoList};
[INFO] [stdout]   |                        ^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]  --> src/app.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/storage.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 26 |             file.write_all(initial_data_if_not_exists).expect("Failed to write initial contents");
[INFO] [stdout]    |                  --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `String`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> library/std/src/io/mod.rs:1850:7
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/app.rs:8:23
[INFO] [stdout]    |
[INFO] [stdout]  8 |         let storage = Storage::get();
[INFO] [stdout]    |                       ^^^^^^^^^^^^-- argument #1 of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/storage.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn get(initial_data_if_not_exists:String) -> Self {
[INFO] [stdout]    |            ^^^ ---------------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout]  8 |         let storage = Storage::get(/* std::string::String */);
[INFO] [stdout]    |                                    +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/app.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let storage = Storage::get();
[INFO] [stdout]    |                       ^^^^^^^^^^^^-- argument #1 of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/storage.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn get(initial_data_if_not_exists:String) -> Self {
[INFO] [stdout]    |            ^^^ ---------------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let storage = Storage::get(/* std::string::String */);
[INFO] [stdout]    |                                    +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/storage.rs:26:28
[INFO] [stdout]    |
[INFO] [stdout] 26 |             file.write_all(initial_data_if_not_exists).expect("Failed to write initial contents");
[INFO] [stdout]    |                  --------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&[u8]`, found `String`
[INFO] [stdout]    |                  |
[INFO] [stdout]    |                  arguments to this method are incorrect
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> library/std/src/io/mod.rs:1850:7
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/app.rs:8:23
[INFO] [stdout]    |
[INFO] [stdout]  8 |         let storage = Storage::get();
[INFO] [stdout]    |                       ^^^^^^^^^^^^-- argument #1 of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/storage.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn get(initial_data_if_not_exists:String) -> Self {
[INFO] [stdout]    |            ^^^ ---------------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout]  8 |         let storage = Storage::get(/* std::string::String */);
[INFO] [stdout]    |                                    +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/app.rs:16:23
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let storage = Storage::get();
[INFO] [stdout]    |                       ^^^^^^^^^^^^-- argument #1 of type `std::string::String` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> src/storage.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn get(initial_data_if_not_exists:String) -> Self {
[INFO] [stdout]    |            ^^^ ---------------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let storage = Storage::get(/* std::string::String */);
[INFO] [stdout]    |                                    +++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `id_or_name`
[INFO] [stdout]   --> src/app.rs:83:35
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn remove_todo(&mut self, id_or_name: &str) {
[INFO] [stdout]    |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_or_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]   --> src/app.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let list = match self.lists.iter_mut().find(|l| &l.name == list_name) {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut app = App::load();
[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] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `todo-cli-rs` (bin "todo-cli-rs") due to 3 previous errors; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `id_or_name`
[INFO] [stdout]   --> src/app.rs:83:35
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn remove_todo(&mut self, id_or_name: &str) {
[INFO] [stdout]    |                                   ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_id_or_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]   --> src/app.rs:91:13
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let list = match self.lists.iter_mut().find(|l| &l.name == list_name) {
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let mut app = App::load();
[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] Some errors have detailed explanations: E0061, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `todo-cli-rs` (bin "todo-cli-rs" test) due to 3 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "05e4b3d84ea52cc9a09b9058ec800eed05a741b27687e093f3a3d10c78cd7454", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "05e4b3d84ea52cc9a09b9058ec800eed05a741b27687e093f3a3d10c78cd7454", kill_on_drop: false }`
[INFO] [stdout] 05e4b3d84ea52cc9a09b9058ec800eed05a741b27687e093f3a3d10c78cd7454
