[INFO] cloning repository https://github.com/Anuoluwapo25/Rust_Collections
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Anuoluwapo25/Rust_Collections" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnuoluwapo25%2FRust_Collections", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnuoluwapo25%2FRust_Collections'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 15cee9e5bb9edbc2eb7f805e1b8b8f98e8e3e7e3
[INFO] checking Anuoluwapo25/Rust_Collections against master#3f6250a7bb79e600d9036bbc7c8f65af43933643 for pr-147859
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnuoluwapo25%2FRust_Collections" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Anuoluwapo25/Rust_Collections
[INFO] finished tweaking git repo https://github.com/Anuoluwapo25/Rust_Collections
[INFO] tweaked toml for git repo https://github.com/Anuoluwapo25/Rust_Collections written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Anuoluwapo25/Rust_Collections on toolchain 3f6250a7bb79e600d9036bbc7c8f65af43933643
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Anuoluwapo25/Rust_Collections 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" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ceaf0e91562820eef009bee74d6a2586921146f6f42a6bd825220e31877e9cdd
[INFO] running `Command { std: "docker" "start" "-a" "ceaf0e91562820eef009bee74d6a2586921146f6f42a6bd825220e31877e9cdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ceaf0e91562820eef009bee74d6a2586921146f6f42a6bd825220e31877e9cdd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ceaf0e91562820eef009bee74d6a2586921146f6f42a6bd825220e31877e9cdd", kill_on_drop: false }`
[INFO] [stdout] ceaf0e91562820eef009bee74d6a2586921146f6f42a6bd825220e31877e9cdd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+3f6250a7bb79e600d9036bbc7c8f65af43933643" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 622a99be01278cc19d1d43c1eafeabd73aca862966c9253beef4b13f76b88b57
[INFO] running `Command { std: "docker" "start" "-a" "622a99be01278cc19d1d43c1eafeabd73aca862966c9253beef4b13f76b88b57", kill_on_drop: false }`
[INFO] [stderr]     Checking Rust_folder v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: crate `Rust_folder` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `rust_folder`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `expense`
[INFO] [stdout]   --> src/main.rs:88:1
[INFO] [stdout]    |
[INFO] [stdout] 88 | mod expense;      // Looks for expense.rs
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `expense`, create file "src/expense.rs" or "src/expense/mod.rs"
[INFO] [stdout]    = note: if there is a `mod expense` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `operations`
[INFO] [stdout]   --> src/main.rs:89:1
[INFO] [stdout]    |
[INFO] [stdout] 89 | mod operations;   // Looks for operations.rs
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `operations`, create file "src/operations.rs" or "src/operations/mod.rs"
[INFO] [stdout]    = note: if there is a `mod operations` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `expense`
[INFO] [stdout]   --> src/main.rs:88:1
[INFO] [stdout]    |
[INFO] [stdout] 88 | mod expense;      // Looks for expense.rs
[INFO] [stdout]    | ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `expense`, create file "src/expense.rs" or "src/expense/mod.rs"
[INFO] [stdout]    = note: if there is a `mod expense` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0583]: file not found for module `operations`
[INFO] [stdout]   --> src/main.rs:89:1
[INFO] [stdout]    |
[INFO] [stdout] 89 | mod operations;   // Looks for operations.rs
[INFO] [stdout]    | ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: to create the module `operations`, create file "src/operations.rs" or "src/operations/mod.rs"
[INFO] [stdout]    = note: if there is a `mod operations` elsewhere in the crate already, import it with `use crate::...` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `operations::*`
[INFO] [stdout]   --> src/main.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | use operations::*;
[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 import: `super::*`
[INFO] [stdout]    --> src/main.rs:144:9
[INFO] [stdout]     |
[INFO] [stdout] 144 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     add_expense(&mut expenses, 45.50, "food", "2026-01-08");
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 |     add_expense(&mut expenses, 20.00, "transport", "2026-01-08");
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     add_expense(&mut expenses, 100.00, "rent", "2026-01-08");
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 |     add_expense(&mut expenses, 30.00, "food", "2026-01-07");
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_total` in this scope
[INFO] [stdout]    --> src/main.rs:114:33
[INFO] [stdout]     |
[INFO] [stdout] 114 |     println!("\nTotal: ${:.2}", calculate_total(&expenses));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `view_expenses_by_date` in this scope
[INFO] [stdout]    --> src/main.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let today = view_expenses_by_date(&expenses, "2026-01-08");
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `operations::*`
[INFO] [stdout]   --> src/main.rs:93:5
[INFO] [stdout]    |
[INFO] [stdout] 93 | use operations::*;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_by_category` in this scope
[INFO] [stdout]    --> src/main.rs:125:16
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let food = get_by_category(&expenses, "food");
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `total_by_category` in this scope
[INFO] [stdout]    --> src/main.rs:129:36
[INFO] [stdout]     |
[INFO] [stdout] 129 |     println!("Food total: ${:.2}", total_by_category(&expenses, "food"));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `find_max` in this scope
[INFO] [stdout]    --> src/main.rs:132:24
[INFO] [stdout]     |
[INFO] [stdout] 132 |     if let Some(max) = find_max(&expenses) {
[INFO] [stdout]     |                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `count_by_category` in this scope
[INFO] [stdout]    --> src/main.rs:138:42
[INFO] [stdout]     |
[INFO] [stdout] 138 |     println!("\nFood expense count: {}", count_by_category(&expenses, "food"));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:149:9
[INFO] [stdout]     |
[INFO] [stdout] 149 |         add_expense(&mut expenses, 20.0, "food", "2024-06-01");
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:102:5
[INFO] [stdout]     |
[INFO] [stdout] 102 |     add_expense(&mut expenses, 45.50, "food", "2026-01-08");
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:103:5
[INFO] [stdout]     |
[INFO] [stdout] 103 |     add_expense(&mut expenses, 20.00, "transport", "2026-01-08");
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:104:5
[INFO] [stdout]     |
[INFO] [stdout] 104 |     add_expense(&mut expenses, 100.00, "rent", "2026-01-08");
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:105:5
[INFO] [stdout]     |
[INFO] [stdout] 105 |     add_expense(&mut expenses, 30.00, "food", "2026-01-07");
[INFO] [stdout]     |     ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_total` in this scope
[INFO] [stdout]    --> src/main.rs:114:33
[INFO] [stdout]     |
[INFO] [stdout] 114 |     println!("\nTotal: ${:.2}", calculate_total(&expenses));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `view_expenses_by_date` in this scope
[INFO] [stdout]    --> src/main.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let today = view_expenses_by_date(&expenses, "2026-01-08");
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_by_category` in this scope
[INFO] [stdout]    --> src/main.rs:125:16
[INFO] [stdout]     |
[INFO] [stdout] 125 |     let food = get_by_category(&expenses, "food");
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `total_by_category` in this scope
[INFO] [stdout]    --> src/main.rs:129:36
[INFO] [stdout]     |
[INFO] [stdout] 129 |     println!("Food total: ${:.2}", total_by_category(&expenses, "food"));
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `find_max` in this scope
[INFO] [stdout]    --> src/main.rs:132:24
[INFO] [stdout]     |
[INFO] [stdout] 132 |     if let Some(max) = find_max(&expenses) {
[INFO] [stdout]     |                        ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `count_by_category` in this scope
[INFO] [stdout]    --> src/main.rs:138:42
[INFO] [stdout]     |
[INFO] [stdout] 138 |     println!("\nFood expense count: {}", count_by_category(&expenses, "food"));
[INFO] [stdout]     |                                          ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |         add_expense(&mut expenses, 10.0, "food", "2024-06-01");
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:159:9
[INFO] [stdout]     |
[INFO] [stdout] 159 |         add_expense(&mut expenses, 20.0, "transport", "2024-06-01");
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `calculate_total` in this scope
[INFO] [stdout]    --> src/main.rs:160:20
[INFO] [stdout]     |
[INFO] [stdout] 160 |         assert_eq!(calculate_total(&expenses), 30.0);
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:166:9
[INFO] [stdout]     |
[INFO] [stdout] 166 |         add_expense(&mut expenses, 10.0, "food", "2024-06-01");
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |         add_expense(&mut expenses, 50.0, "rent", "2024-06-01");
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `add_expense` in this scope
[INFO] [stdout]    --> src/main.rs:168:9
[INFO] [stdout]     |
[INFO] [stdout] 168 |         add_expense(&mut expenses, 20.0, "transport", "2024-06-01");
[INFO] [stdout]     |         ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust_folder` (bin "Rust_folder") due to 12 previous errors; 1 warning emitted
[INFO] [stdout] error[E0425]: cannot find function `find_max` in this scope
[INFO] [stdout]    --> src/main.rs:170:19
[INFO] [stdout]     |
[INFO] [stdout] 170 |         let max = find_max(&expenses).unwrap();
[INFO] [stdout]     |                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0425, E0583.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Rust_folder` (bin "Rust_folder" test) due to 20 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "622a99be01278cc19d1d43c1eafeabd73aca862966c9253beef4b13f76b88b57", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "622a99be01278cc19d1d43c1eafeabd73aca862966c9253beef4b13f76b88b57", kill_on_drop: false }`
[INFO] [stdout] 622a99be01278cc19d1d43c1eafeabd73aca862966c9253beef4b13f76b88b57
