[INFO] cloning repository https://github.com/JackkHuncho/personal_finance_tool-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JackkHuncho/personal_finance_tool-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackkHuncho%2Fpersonal_finance_tool-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackkHuncho%2Fpersonal_finance_tool-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0f0c3a2db5725c4f7ecee914bc1747482b1816db
[INFO] testing JackkHuncho/personal_finance_tool-rs against 1.98.0-beta.6+cargoflags=--release for beta-1.98-release-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJackkHuncho%2Fpersonal_finance_tool-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/JackkHuncho/personal_finance_tool-rs
[INFO] finished tweaking git repo https://github.com/JackkHuncho/personal_finance_tool-rs
[INFO] tweaked toml for git repo https://github.com/JackkHuncho/personal_finance_tool-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/JackkHuncho/personal_finance_tool-rs on toolchain 1.98.0-beta.6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/JackkHuncho/personal_finance_tool-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" "+1.98.0-beta.6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2
[INFO] running `Command { std: "docker" "start" "14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2", 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" "14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling anstyle-query v1.1.3
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling serde_json v1.0.141
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling encode_unicode v1.0.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling anstream v0.6.19
[INFO] [stderr]    Compiling clap_builder v4.5.41
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling csv-core v0.1.12
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling is-terminal v0.4.16
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling clap_derive v4.5.41
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap v4.5.41
[INFO] [stderr]    Compiling csv v1.3.1
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling prettytable-rs v0.10.0
[INFO] [stderr]    Compiling personal_finance_tool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `is_income` and `category_type` are never used
[INFO] [stdout]   --> src/models/category.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Category {
[INFO] [stdout]    | ------------- methods in this implementation
[INFO] [stdout] 24 |     pub fn is_income(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn category_type(&self) -> &'static str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `add` is never used
[INFO] [stdout]   --> src/models/transaction.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Transaction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn add(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 32.52s
[INFO] running `Command { std: "docker" "inspect" "14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr]    Compiling personal_finance_tool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: associated function `add` is never used
[INFO] [stdout]   --> src/models/transaction.rs:41:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | impl Transaction {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub fn add(
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 2.02s
[INFO] running `Command { std: "docker" "inspect" "14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2", 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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2" "/opt/rustwide/cargo-home/bin/cargo" "+1.98.0-beta.6" "test" "--frozen" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: associated function `add` is never used
[INFO] [stderr]   --> src/models/transaction.rs:41:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | impl Transaction {
[INFO] [stderr]    | ---------------- associated function in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 41 |     pub fn add(
[INFO] [stderr]    |            ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `personal_finance_tool` (bin "personal_finance_tool" test) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/deps/personal_finance_tool-2be5e87087a25579)
[INFO] [stdout] 
[INFO] [stdout] running 35 tests
[INFO] [stdout] test cli::commands::tests::test_add_command_creation ... ok
[INFO] [stdout] test cli::commands::tests::test_add_command_without_note ... ok
[INFO] [stdout] test cli::commands::tests::test_id_increment_logic ... ok
[INFO] [stdout] test cli::commands::tests::test_list_command ... ok
[INFO] [stdout] test cli::commands::tests::test_transaction_creation_from_add_command ... ok
[INFO] [stdout] test models::category::tests::test_category_display ... ok
[INFO] [stdout] test cli::commands::tests::test_transaction_creation_with_invalid_data ... ok
[INFO] [stdout] test models::category::tests::test_category_parsing ... ok
[INFO] [stdout] test models::category::tests::test_category_serialization ... ok
[INFO] [stdout] test models::category::tests::test_custom_category_invalid_format ... ok
[INFO] [stdout] test models::category::tests::test_custom_category_parsing ... ok
[INFO] [stdout] test models::category::tests::test_custom_category_parsing_expense ... ok
[INFO] [stdout] test models::category::tests::test_invalid_category_parsing ... ok
[INFO] [stdout] test models::category::tests::test_custom_category_display ... ok
[INFO] [stdout] test models::category::tests::test_category_type ... ok
[INFO] [stdout] test models::transaction::tests::test_parse_trans_invalid_category ... ok
[INFO] [stdout] test models::category::tests::test_custom_category_serialization ... ok
[INFO] [stdout] test models::transaction::tests::test_parse_trans_various_categories ... ok
[INFO] [stdout] test models::transaction::tests::test_parse_trans_invalid_date ... ok
[INFO] [stdout] test models::transaction::tests::test_parse_trans_invalid_amount ... ok
[INFO] [stdout] test models::transaction::tests::test_transaction_new_success ... ok
[INFO] [stdout] test models::transaction::tests::test_parse_trans_custom_category ... ok
[INFO] [stdout] test models::transaction::tests::test_transaction_new_without_note ... ok
[INFO] [stdout] test models::transaction::tests::test_transaction_serialization_roundtrip ... ok
[INFO] [stdout] test models::transaction::tests::test_trans_parse_happy ... ok
[INFO] [stdout] test storage::file_handler::tests::test_transaction_serialization ... ok
[INFO] [stdout] test storage::file_handler::tests::test_data_file_path ... ok
[INFO] [stdout] test models::transaction::tests::test_transaction_new_invalid_amount ... ok
[INFO] [stdout] test storage::file_handler::tests::test_save_empty_vector ... ok
[INFO] [stdout] test models::transaction::tests::test_transaction_new_invalid_category ... ok
[INFO] [stdout] test models::transaction::tests::test_transaction_new_invalid_date ... ok
[INFO] [stdout] test storage::file_handler::tests::test_load_empty_file ... ok
[INFO] [stdout] test storage::file_handler::tests::test_save_and_load_transactions ... FAILED
[INFO] [stdout] test models::category::tests::test_custom_category_parsing_case_insensitive ... ok
[INFO] [stdout] test models::category::tests::test_is_income ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- storage::file_handler::tests::test_save_and_load_transactions stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'storage::file_handler::tests::test_save_and_load_transactions' (1083) panicked at src/storage/file_handler.rs:88:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 0
[INFO] [stdout]  right: 2
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x55591c663821 - <<std[93043b772a62376c]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[812a354ff5be3162]::fmt::Display>::fmt
[INFO] [stdout]    1:     0x55591c6792da - core[812a354ff5be3162]::fmt::write
[INFO] [stdout]    2:     0x55591c667d8c - <alloc[9902a75dd20b7c99]::vec::Vec<u8> as std[93043b772a62376c]::io::Write>::write_fmt
[INFO] [stdout]    3:     0x55591c640e86 - std[93043b772a62376c]::panicking::default_hook::{closure#0}
[INFO] [stdout]    4:     0x55591c65b489 - std[93043b772a62376c]::panicking::default_hook
[INFO] [stdout]    5:     0x55591c5e8860 - test[8de0c696b8e66f4f]::test_main_inner::<test[8de0c696b8e66f4f]::test_main_static::{closure#0}>::{closure#0}
[INFO] [stdout]    6:     0x55591c65b642 - std[93043b772a62376c]::panicking::panic_with_hook
[INFO] [stdout]    7:     0x55591c640f32 - std[93043b772a62376c]::panicking::panic_handler::{closure#0}
[INFO] [stdout]    8:     0x55591c6385a9 - std[93043b772a62376c]::sys::backtrace::__rust_end_short_backtrace::<std[93043b772a62376c]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]    9:     0x55591c641b2d - __rustc[9fcb67b4460bf95]::rust_begin_unwind
[INFO] [stdout]   10:     0x55591c679a0c - core[812a354ff5be3162]::panicking::panic_fmt
[INFO] [stdout]   11:     0x55591c679923 - core[812a354ff5be3162]::panicking::assert_failed_inner
[INFO] [stdout]   12:     0x55591c675418 - core[812a354ff5be3162]::panicking::assert_failed::<usize, usize>
[INFO] [stdout]   13:     0x55591c5d7fba - personal_finance_tool[51889e5f95c38461]::storage::file_handler::tests::test_save_and_load_transactions
[INFO] [stdout]   14:     0x55591c5d14b9 - <personal_finance_tool[51889e5f95c38461]::storage::file_handler::tests::test_save_and_load_transactions::{closure#0} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]   15:     0x55591c5dbb9b - test[8de0c696b8e66f4f]::__rust_begin_short_backtrace::<core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>, fn() -> core[812a354ff5be3162]::result::Result<(), alloc[9902a75dd20b7c99]::string::String>>
[INFO] [stdout]   16:     0x55591c5e91e5 - test[8de0c696b8e66f4f]::run_test::{closure#0}
[INFO] [stdout]   17:     0x55591c5e3c94 - std[93043b772a62376c]::sys::backtrace::__rust_begin_short_backtrace::<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>
[INFO] [stdout]   18:     0x55591c5ec332 - <std[93043b772a62376c]::thread::lifecycle::spawn_unchecked<test[8de0c696b8e66f4f]::run_test::{closure#1}, ()>::{closure#1} as core[812a354ff5be3162]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]   19:     0x55591c662b3f - <std[93043b772a62376c]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]   20:     0x758f094d107a - <unknown>
[INFO] [stdout]   21:     0x758f09564534 - clone
[INFO] [stdout]   22:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     storage::file_handler::tests::test_save_and_load_transactions
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 34 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--bin personal_finance_tool`
[INFO] running `Command { std: "docker" "inspect" "14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2", kill_on_drop: false }`
[INFO] [stdout] 14374b6eb1d3a79e8f0622b5f79173e4e56b48f8051f5126eda1490d6cab14f2
