[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#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAriBhuiya%2Ftodo-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-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-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AriBhuiya/todo-rs on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8482b3c96a82464370a1e7a9b0cedd702e04630180c6834b96c471b334339f7b
[INFO] running `Command { std: "docker" "start" "-a" "8482b3c96a82464370a1e7a9b0cedd702e04630180c6834b96c471b334339f7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8482b3c96a82464370a1e7a9b0cedd702e04630180c6834b96c471b334339f7b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8482b3c96a82464370a1e7a9b0cedd702e04630180c6834b96c471b334339f7b", kill_on_drop: false }`
[INFO] [stdout] 8482b3c96a82464370a1e7a9b0cedd702e04630180c6834b96c471b334339f7b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9591b2eb4563be6a2797ea70606078606d41788602c2c2034464206ef4548c2f
[INFO] running `Command { std: "docker" "start" "-a" "9591b2eb4563be6a2797ea70606078606d41788602c2c2034464206ef4548c2f", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]     Checking anstream v0.6.20
[INFO] [stderr]     Checking clap_builder v4.5.44
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking dirs-sys v0.5.0
[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 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] 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]   --> /rustc/779e19d8baa3e3625bd4fc5c85cbb2ad47b43155/library/std/src/io/mod.rs:1835:8
[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 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 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] [stderr] warning: build failed, waiting for other jobs to finish...
[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]   --> /rustc/779e19d8baa3e3625bd4fc5c85cbb2ad47b43155/library/std/src/io/mod.rs:1835:8
[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] running `Command { std: "docker" "inspect" "9591b2eb4563be6a2797ea70606078606d41788602c2c2034464206ef4548c2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9591b2eb4563be6a2797ea70606078606d41788602c2c2034464206ef4548c2f", kill_on_drop: false }`
[INFO] [stdout] 9591b2eb4563be6a2797ea70606078606d41788602c2c2034464206ef4548c2f
