[INFO] cloning repository https://github.com/d2ci8xc5/ledger
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/d2ci8xc5/ledger" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd2ci8xc5%2Fledger"`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd2ci8xc5%2Fledger'...
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 4195ba2fecc8f1e73d48eb70dc333ad7a668ea89
[INFO] testing d2ci8xc5/ledger against 1.101.0-beta.1+cargoflags=--release for beta-release-1.101-2
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fd2ci8xc5%2Fledger" "/workspace/builds/worker-0-tc2/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/d2ci8xc5/ledger
[INFO] finished tweaking git repo https://github.com/d2ci8xc5/ledger
[INFO] tweaked toml for git repo https://github.com/d2ci8xc5/ledger written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/d2ci8xc5/ledger on toolchain 1.101.0-beta.1
[INFO] running `"cargo" "+1.101.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps"`
[INFO] crate git repo https://github.com/d2ci8xc5/ledger already has a lockfile, it will not be regenerated
[INFO] running `"cargo" "+1.101.0-beta.1" "fetch" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:13253766d39459fde29cea4e7c35a3fe37c2c19b4a224f71f2c27711c2837d36" "sleep" "infinity"`
[INFO] [stdout] 5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089
[INFO] running `"docker" "start" "5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089"`
[INFO] running `"docker" "inspect" "5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089"`
[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" "5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "metadata" "--no-deps" "--format-version=1"`
[INFO] running `"docker" "inspect" "5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089"`
[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" "5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "build" "--frozen" "--message-format=json" "--release"`
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.8
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling serde v1.0.102
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling ryu v1.0.2
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling encode_unicode v0.3.6
[INFO] [stderr]    Compiling remove_dir_all v0.5.2
[INFO] [stderr]    Compiling unicode-width v0.1.6
[INFO] [stderr]    Compiling num-traits v0.2.9
[INFO] [stderr]    Compiling num-integer v0.1.41
[INFO] [stderr]    Compiling regex-automata v0.1.8
[INFO] [stderr]    Compiling dirs v1.0.5
[INFO] [stderr]    Compiling time v0.1.42
[INFO] [stderr]    Compiling atty v0.2.13
[INFO] [stderr]    Compiling c2-chacha v0.2.3
[INFO] [stderr]    Compiling term v0.5.2
[INFO] [stderr]    Compiling csv-core v0.1.6
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling chrono v0.4.9
[INFO] [stderr]    Compiling tempfile v3.1.0
[INFO] [stderr]    Compiling serde_derive v1.0.102
[INFO] [stderr]    Compiling bstr v0.2.8
[INFO] [stderr]    Compiling serde_json v1.0.41
[INFO] [stderr]    Compiling csv v1.1.1
[INFO] [stderr]    Compiling prettytable-rs v0.8.0
[INFO] [stderr]    Compiling ledger v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/account.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/account.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/account.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         (self.name == other.name && self.balance == other.balance && self.id == other.id)
[INFO] [stdout]    |         ^                                                                               ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -         (self.name == other.name && self.balance == other.balance && self.id == other.id)
[INFO] [stdout] 26 +         self.name == other.name && self.balance == other.balance && self.id == other.id
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/ledger.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/ledger.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]  --> src/transaction.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::prelude::*;
[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: `std::fmt`
[INFO] [stdout]  --> src/transaction.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/transaction.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/transaction.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/transaction.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::account::Account`
[INFO] [stdout]   --> src/transaction.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     use crate::account::Account;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ledger::Ledger`
[INFO] [stdout]  --> src/utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::ledger::Ledger;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `help` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     help,
[INFO] [stdout]   |     ^^^^ help: convert the identifier to upper camel case: `Help`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `create_account` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     create_account,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateAccount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `create_transaction` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     create_transaction,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateTransaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `list_account` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     list_account,
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ListAccount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `list_transaction` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     list_transaction,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ListTransaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `save_ledger` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     save_ledger,
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SaveLedger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `clear_ledger` should have an upper camel case name
[INFO] [stdout]   --> src/command.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     clear_ledger,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClearLedger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `load_ledger` should have an upper camel case name
[INFO] [stdout]   --> src/command.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     load_ledger,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadLedger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `quit` should have an upper camel case name
[INFO] [stdout]   --> src/command.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     quit,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to upper camel case: `Quit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `no_save_quit` should have an upper camel case name
[INFO] [stdout]   --> src/command.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     no_save_quit,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoSaveQuit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ledger`
[INFO] [stdout]   --> src/ledger.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 74 |             Ok(ledger) => {}
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/ledger.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |             Err(reason) => {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ledger`
[INFO] [stdout]   --> src/ledger.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Ok(ledger) => {}
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/ledger.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Err(reason) => {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/ledger.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Err(reason) => Err("Unable to parse string to ledger"),
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `date`
[INFO] [stdout]   --> src/transaction.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Ok(date) => (),
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chrono_except`
[INFO] [stdout]   --> src/transaction.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Err(chrono_except) => return Err("Invalid date"),
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chrono_except`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/lib.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/lib.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout]  49 |             Command::help => {
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  52 |             Command::save_ledger => {
[INFO] [stdout]     |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  61 |             Command::load_ledger => {
[INFO] [stdout]     |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  73 |             Command::clear_ledger => {
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 187 |             _ => {
[INFO] [stdout]     |             ^ ...and 6 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/lib.rs:179:21
[INFO] [stdout]     |
[INFO] [stdout] 179 |                     _ => panic!("unknown save error"),
[INFO] [stdout]     |                     ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/lib.rs:179:21
[INFO] [stdout]     |
[INFO] [stdout] 177 |                     Ok(()) => {}
[INFO] [stdout]     |                     ------ matches some of the same values
[INFO] [stdout] 178 |                     Err(reason) => println!("{}", reason),
[INFO] [stdout]     |                     ----------- matches some of the same values
[INFO] [stdout] 179 |                     _ => panic!("unknown save error"),
[INFO] [stdout]     |                     ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/lib.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     Err(b) => {
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/lib.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     &entries.push((acc, amount));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     let _ = &entries.push((acc, amount));
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/account.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Serialize` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Account`
[INFO] [stdout] 6 | pub struct Account {
[INFO] [stdout]   |            ------- `Account` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/account.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |                     ^----------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Deserialize` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Account`
[INFO] [stdout] 6 | pub struct Account {
[INFO] [stdout]   |            ------- `Account` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/ledger.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Ledger`
[INFO] [stdout] 10 | pub struct Ledger {
[INFO] [stdout]    |            ------ `Ledger` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/ledger.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Ledger`
[INFO] [stdout] 10 | pub struct Ledger {
[INFO] [stdout]    |            ------ `Ledger` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/ledger.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         file.set_len(0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let _ = file.set_len(0);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/transaction.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Transaction`
[INFO] [stdout] 10 | pub struct Transaction {
[INFO] [stdout]    |            ----------- `Transaction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/transaction.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Transaction`
[INFO] [stdout] 10 | pub struct Transaction {
[INFO] [stdout]    |            ----------- `Transaction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `tempfile`
[INFO] [stderr]  --> Cargo.toml:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | tempfile = "3"
[INFO] [stderr]   | ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `tempfile`
[INFO] [stderr] warning: `ledger` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 20.24s
[INFO] running `"docker" "inspect" "5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089"`
[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" "5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release"`
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/account.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/account.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/account.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         (self.name == other.name && self.balance == other.balance && self.id == other.id)
[INFO] [stdout]    |         ^                                                                               ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -         (self.name == other.name && self.balance == other.balance && self.id == other.id)
[INFO] [stdout] 26 +         self.name == other.name && self.balance == other.balance && self.id == other.id
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/ledger.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/ledger.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]  --> src/transaction.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::prelude::*;
[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: `std::fmt`
[INFO] [stdout]  --> src/transaction.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/transaction.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/transaction.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/transaction.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::account::Account`
[INFO] [stdout]   --> src/transaction.rs:55:9
[INFO] [stdout]    |
[INFO] [stdout] 55 |     use crate::account::Account;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ledger::Ledger`
[INFO] [stdout]  --> src/utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::ledger::Ledger;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `help` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     help,
[INFO] [stdout]   |     ^^^^ help: convert the identifier to upper camel case: `Help`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `create_account` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     create_account,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateAccount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `create_transaction` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     create_transaction,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateTransaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `list_account` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     list_account,
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ListAccount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `list_transaction` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     list_transaction,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ListTransaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `save_ledger` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     save_ledger,
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SaveLedger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `clear_ledger` should have an upper camel case name
[INFO] [stdout]   --> src/command.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     clear_ledger,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClearLedger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `load_ledger` should have an upper camel case name
[INFO] [stdout]   --> src/command.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     load_ledger,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadLedger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `quit` should have an upper camel case name
[INFO] [stdout]   --> src/command.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     quit,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to upper camel case: `Quit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `no_save_quit` should have an upper camel case name
[INFO] [stdout]   --> src/command.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     no_save_quit,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoSaveQuit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ledger`
[INFO] [stdout]   --> src/ledger.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 74 |             Ok(ledger) => {}
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/ledger.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |             Err(reason) => {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ledger`
[INFO] [stdout]   --> src/ledger.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Ok(ledger) => {}
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/ledger.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Err(reason) => {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/ledger.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Err(reason) => Err("Unable to parse string to ledger"),
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `date`
[INFO] [stdout]   --> src/transaction.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Ok(date) => (),
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chrono_except`
[INFO] [stdout]   --> src/transaction.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Err(chrono_except) => return Err("Invalid date"),
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chrono_except`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling ledger v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/lib.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/lib.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout]  49 |             Command::help => {
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  52 |             Command::save_ledger => {
[INFO] [stdout]     |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  61 |             Command::load_ledger => {
[INFO] [stdout]     |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  73 |             Command::clear_ledger => {
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 187 |             _ => {
[INFO] [stdout]     |             ^ ...and 6 other patterns collectively make this unreachable
[INFO] [stdout]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/lib.rs:179:21
[INFO] [stdout]     |
[INFO] [stdout] 179 |                     _ => panic!("unknown save error"),
[INFO] [stdout]     |                     ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/lib.rs:179:21
[INFO] [stdout]     |
[INFO] [stdout] 177 |                     Ok(()) => {}
[INFO] [stdout]     |                     ------ matches some of the same values
[INFO] [stdout] 178 |                     Err(reason) => println!("{}", reason),
[INFO] [stdout]     |                     ----------- matches some of the same values
[INFO] [stdout] 179 |                     _ => panic!("unknown save error"),
[INFO] [stdout]     |                     ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/lib.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     Err(b) => {
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/lib.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     &entries.push((acc, amount));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     let _ = &entries.push((acc, amount));
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/account.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Serialize` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Account`
[INFO] [stdout] 6 | pub struct Account {
[INFO] [stdout]   |            ------- `Account` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/account.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |                     ^----------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Deserialize` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Account`
[INFO] [stdout] 6 | pub struct Account {
[INFO] [stdout]   |            ------- `Account` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/ledger.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Ledger`
[INFO] [stdout] 10 | pub struct Ledger {
[INFO] [stdout]    |            ------ `Ledger` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/ledger.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Ledger`
[INFO] [stdout] 10 | pub struct Ledger {
[INFO] [stdout]    |            ------ `Ledger` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/ledger.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         file.set_len(0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let _ = file.set_len(0);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/transaction.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Transaction`
[INFO] [stdout] 10 | pub struct Transaction {
[INFO] [stdout]    |            ----------- `Transaction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/transaction.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Transaction`
[INFO] [stdout] 10 | pub struct Transaction {
[INFO] [stdout]    |            ----------- `Transaction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/account.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/account.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around block return value
[INFO] [stdout]   --> src/account.rs:26:9
[INFO] [stdout]    |
[INFO] [stdout] 26 |         (self.name == other.name && self.balance == other.balance && self.id == other.id)
[INFO] [stdout]    |         ^                                                                               ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 26 -         (self.name == other.name && self.balance == other.balance && self.id == other.id)
[INFO] [stdout] 26 +         self.name == other.name && self.balance == other.balance && self.id == other.id
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/ledger.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/ledger.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]    --> src/ledger.rs:118:17
[INFO] [stdout]     |
[INFO] [stdout] 118 |     use serde::{Deserialize, Serialize};
[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: `chrono::prelude::*`
[INFO] [stdout]  --> src/transaction.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use chrono::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt`
[INFO] [stdout]  --> src/transaction.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::fmt;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/transaction.rs:9:10
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stdout]  --> src/transaction.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |                     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: no expected values for `feature`
[INFO] [stdout]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stdout]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stdout]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::ledger::Ledger`
[INFO] [stdout]  --> src/utils.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::ledger::Ledger;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `help` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     help,
[INFO] [stdout]   |     ^^^^ help: convert the identifier to upper camel case: `Help`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `create_account` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     create_account,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateAccount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `create_transaction` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     create_transaction,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateTransaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `list_account` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     list_account,
[INFO] [stdout]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ListAccount`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `list_transaction` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     list_transaction,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ListTransaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `save_ledger` should have an upper camel case name
[INFO] [stdout]  --> src/command.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 |     save_ledger,
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SaveLedger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `clear_ledger` should have an upper camel case name
[INFO] [stdout]   --> src/command.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     clear_ledger,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClearLedger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `load_ledger` should have an upper camel case name
[INFO] [stdout]   --> src/command.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     load_ledger,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadLedger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `quit` should have an upper camel case name
[INFO] [stdout]   --> src/command.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     quit,
[INFO] [stdout]    |     ^^^^ help: convert the identifier to upper camel case: `Quit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `no_save_quit` should have an upper camel case name
[INFO] [stdout]   --> src/command.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     no_save_quit,
[INFO] [stdout]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoSaveQuit`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]   --> src/lib.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use std::fs::File;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/account.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 40 |             _ => assert!(false),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/account.rs:40:13
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Ok(acc) => assert!(true),
[INFO] [stdout]    |             ------- matches some of the same values
[INFO] [stdout] 39 |             Err(reason) => assert!(false),
[INFO] [stdout]    |             ----------- matches some of the same values
[INFO] [stdout] 40 |             _ => assert!(false),
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]   --> src/account.rs:38:16
[INFO] [stdout]    |
[INFO] [stdout] 38 |             Ok(acc) => assert!(true),
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/account.rs:39:17
[INFO] [stdout]    |
[INFO] [stdout] 39 |             Err(reason) => assert!(false),
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/account.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 56 |             _ => assert!(false),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/account.rs:56:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Ok(acc) => assert!(false),
[INFO] [stdout]    |             ------- matches some of the same values
[INFO] [stdout] 55 |             Err(reason) => (),
[INFO] [stdout]    |             ----------- matches some of the same values
[INFO] [stdout] 56 |             _ => assert!(false),
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `acc`
[INFO] [stdout]   --> src/account.rs:54:16
[INFO] [stdout]    |
[INFO] [stdout] 54 |             Ok(acc) => assert!(false),
[INFO] [stdout]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/account.rs:55:17
[INFO] [stdout]    |
[INFO] [stdout] 55 |             Err(reason) => (),
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ledger`
[INFO] [stdout]   --> src/ledger.rs:74:16
[INFO] [stdout]    |
[INFO] [stdout] 74 |             Ok(ledger) => {}
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/ledger.rs:75:17
[INFO] [stdout]    |
[INFO] [stdout] 75 |             Err(reason) => {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ledger`
[INFO] [stdout]   --> src/ledger.rs:82:16
[INFO] [stdout]    |
[INFO] [stdout] 82 |             Ok(ledger) => {}
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/ledger.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |             Err(reason) => {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/ledger.rs:90:17
[INFO] [stdout]    |
[INFO] [stdout] 90 |             Err(reason) => Err("Unable to parse string to ledger"),
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ledger`
[INFO] [stdout]    --> src/ledger.rs:125:13
[INFO] [stdout]     |
[INFO] [stdout] 125 |         let ledger = Ledger::new(acc_vec, tx_vec);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `serde_ledger`
[INFO] [stdout]    --> src/ledger.rs:154:13
[INFO] [stdout]     |
[INFO] [stdout] 154 |         let serde_ledger: Ledger = serde_json::from_str(&buf.to_string()).unwrap();
[INFO] [stdout]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_ledger`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `date`
[INFO] [stdout]   --> src/transaction.rs:40:16
[INFO] [stdout]    |
[INFO] [stdout] 40 |             Ok(date) => (),
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `chrono_except`
[INFO] [stdout]   --> src/transaction.rs:41:17
[INFO] [stdout]    |
[INFO] [stdout] 41 |             Err(chrono_except) => return Err("Invalid date"),
[INFO] [stdout]    |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chrono_except`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/transaction.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 66 |             _ => assert!(false),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/transaction.rs:66:13
[INFO] [stdout]    |
[INFO] [stdout] 64 |             Ok(tx) => (),
[INFO] [stdout]    |             ------ matches some of the same values
[INFO] [stdout] 65 |             Err(reason) => assert!(false),
[INFO] [stdout]    |             ----------- matches some of the same values
[INFO] [stdout] 66 |             _ => assert!(false),
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/transaction.rs:64:16
[INFO] [stdout]    |
[INFO] [stdout] 64 |             Ok(tx) => (),
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/transaction.rs:65:17
[INFO] [stdout]    |
[INFO] [stdout] 65 |             Err(reason) => assert!(false),
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/transaction.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 81 |             _ => assert!(false),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/transaction.rs:81:13
[INFO] [stdout]    |
[INFO] [stdout] 79 |             Ok(tx) => assert!(false),
[INFO] [stdout]    |             ------ matches some of the same values
[INFO] [stdout] 80 |             Err(reason) => (),
[INFO] [stdout]    |             ----------- matches some of the same values
[INFO] [stdout] 81 |             _ => assert!(false),
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/transaction.rs:79:16
[INFO] [stdout]    |
[INFO] [stdout] 79 |             Ok(tx) => assert!(false),
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/transaction.rs:80:17
[INFO] [stdout]    |
[INFO] [stdout] 80 |             Err(reason) => (),
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]   --> src/transaction.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 98 |             _ => assert!(false),
[INFO] [stdout]    |             ^ no value can reach this
[INFO] [stdout]    |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]   --> src/transaction.rs:98:13
[INFO] [stdout]    |
[INFO] [stdout] 96 |             Ok(tx) => assert!(false),
[INFO] [stdout]    |             ------ matches some of the same values
[INFO] [stdout] 97 |             Err(reason) => (),
[INFO] [stdout]    |             ----------- matches some of the same values
[INFO] [stdout] 98 |             _ => assert!(false),
[INFO] [stdout]    |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/transaction.rs:96:16
[INFO] [stdout]    |
[INFO] [stdout] 96 |             Ok(tx) => assert!(false),
[INFO] [stdout]    |                ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]   --> src/transaction.rs:97:17
[INFO] [stdout]    |
[INFO] [stdout] 97 |             Err(reason) => (),
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/transaction.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 115 |             _ => assert!(false),
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/transaction.rs:115:13
[INFO] [stdout]     |
[INFO] [stdout] 113 |             Ok(tx) => assert!(false),
[INFO] [stdout]     |             ------ matches some of the same values
[INFO] [stdout] 114 |             Err(reason) => (),
[INFO] [stdout]     |             ----------- matches some of the same values
[INFO] [stdout] 115 |             _ => assert!(false),
[INFO] [stdout]     |             ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]    --> src/transaction.rs:113:16
[INFO] [stdout]     |
[INFO] [stdout] 113 |             Ok(tx) => assert!(false),
[INFO] [stdout]     |                ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `reason`
[INFO] [stdout]    --> src/transaction.rs:114:17
[INFO] [stdout]     |
[INFO] [stdout] 114 |             Err(reason) => (),
[INFO] [stdout]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/lib.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout] 187 |             _ => {
[INFO] [stdout]     |             ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/lib.rs:187:13
[INFO] [stdout]     |
[INFO] [stdout]  49 |             Command::help => {
[INFO] [stdout]     |             ------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  52 |             Command::save_ledger => {
[INFO] [stdout]     |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  61 |             Command::load_ledger => {
[INFO] [stdout]     |             -------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout]  73 |             Command::clear_ledger => {
[INFO] [stdout]     |             --------------------- matches some of the same values
[INFO] [stdout] ...
[INFO] [stdout] 187 |             _ => {
[INFO] [stdout]     |             ^ ...and 6 other patterns collectively make this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable pattern
[INFO] [stdout]    --> src/lib.rs:179:21
[INFO] [stdout]     |
[INFO] [stdout] 179 |                     _ => panic!("unknown save error"),
[INFO] [stdout]     |                     ^ no value can reach this
[INFO] [stdout]     |
[INFO] [stdout] note: multiple earlier patterns match some of the same values
[INFO] [stdout]    --> src/lib.rs:179:21
[INFO] [stdout]     |
[INFO] [stdout] 177 |                     Ok(()) => {}
[INFO] [stdout]     |                     ------ matches some of the same values
[INFO] [stdout] 178 |                     Err(reason) => println!("{}", reason),
[INFO] [stdout]     |                     ----------- matches some of the same values
[INFO] [stdout] 179 |                     _ => panic!("unknown save error"),
[INFO] [stdout]     |                     ^ collectively making this unreachable
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `b`
[INFO] [stdout]   --> src/lib.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     Err(b) => {
[INFO] [stdout]    |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]    --> src/lib.rs:134:21
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     &entries.push((acc, amount));
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]     |
[INFO] [stdout] 134 |                     let _ = &entries.push((acc, amount));
[INFO] [stdout]     |                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/account.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Serialize` is not local
[INFO] [stdout]   |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Account`
[INFO] [stdout] 6 | pub struct Account {
[INFO] [stdout]   |            ------- `Account` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/account.rs:5:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]   |                     ^----------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Deserialize` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Account`
[INFO] [stdout] 6 | pub struct Account {
[INFO] [stdout]   |            ------- `Account` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/ledger.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Ledger`
[INFO] [stdout] 10 | pub struct Ledger {
[INFO] [stdout]    |            ------ `Ledger` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/ledger.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Ledger`
[INFO] [stdout] 10 | pub struct Ledger {
[INFO] [stdout]    |            ------ `Ledger` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/ledger.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |         file.set_len(0);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]    |
[INFO] [stdout] 66 |         let _ = file.set_len(0);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/ledger.rs:147:9
[INFO] [stdout]     |
[INFO] [stdout] 147 |         ledger.save(&mut tmp_file);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stdout]     |
[INFO] [stdout] 147 |         let _ = ledger.save(&mut tmp_file);
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/transaction.rs:9:10
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Serialize` is not local
[INFO] [stdout]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Transaction`
[INFO] [stdout] 10 | pub struct Transaction {
[INFO] [stdout]    |            ----------- `Transaction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/transaction.rs:9:21
[INFO] [stdout]    |
[INFO] [stdout]  9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stdout]    |                     ^----------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Deserialize` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Transaction`
[INFO] [stdout] 10 | pub struct Transaction {
[INFO] [stdout]    |            ----------- `Transaction` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: unused dependency `tempfile`
[INFO] [stderr]  --> Cargo.toml:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | tempfile = "3"
[INFO] [stderr]   | ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `tempfile`
[INFO] [stderr] help: to still use for development builds, move to `dev-dependencies`
[INFO] [stderr] warning: `ledger` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 1.74s
[INFO] running `"docker" "inspect" "5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089"`
[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" "5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089" "/opt/rustwide/cargo-home/bin/cargo" "+1.101.0-beta.1" "test" "--frozen" "--release"`
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr]  --> src/account.rs:5:10
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stderr]   |          ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]   = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr]  --> src/account.rs:5:21
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stderr]   |                     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]   --> src/account.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |         (self.name == other.name && self.balance == other.balance && self.id == other.id)
[INFO] [stderr]    |         ^                                                                               ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 26 -         (self.name == other.name && self.balance == other.balance && self.id == other.id)
[INFO] [stderr] 26 +         self.name == other.name && self.balance == other.balance && self.id == other.id
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr]  --> src/ledger.rs:9:10
[INFO] [stderr]   |
[INFO] [stderr] 9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stderr]   |          ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]   = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr]  --> src/ledger.rs:9:21
[INFO] [stderr]   |
[INFO] [stderr] 9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stderr]   |                     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::prelude::*`
[INFO] [stderr]  --> src/transaction.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use chrono::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fmt`
[INFO] [stderr]  --> src/transaction.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 | use std::fmt;
[INFO] [stderr]   |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr]  --> src/transaction.rs:9:10
[INFO] [stderr]   |
[INFO] [stderr] 9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stderr]   |          ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]   = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy`
[INFO] [stderr]  --> src/transaction.rs:9:21
[INFO] [stderr]   |
[INFO] [stderr] 9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stderr]   |                     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: no expected values for `feature`
[INFO] [stderr]   = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate
[INFO] [stderr]   = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg
[INFO] [stderr]   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stderr]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `super::*`
[INFO] [stderr]   --> src/transaction.rs:54:9
[INFO] [stderr]    |
[INFO] [stderr] 54 |     use super::*;
[INFO] [stderr]    |         ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::account::Account`
[INFO] [stderr]   --> src/transaction.rs:55:9
[INFO] [stderr]    |
[INFO] [stderr] 55 |     use crate::account::Account;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::ledger::Ledger`
[INFO] [stderr]  --> src/utils.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::ledger::Ledger;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variant `help` should have an upper camel case name
[INFO] [stderr]  --> src/command.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     help,
[INFO] [stderr]   |     ^^^^ help: convert the identifier to upper camel case: `Help`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `create_account` should have an upper camel case name
[INFO] [stderr]  --> src/command.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 |     create_account,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateAccount`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `create_transaction` should have an upper camel case name
[INFO] [stderr]  --> src/command.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 |     create_transaction,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateTransaction`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `list_account` should have an upper camel case name
[INFO] [stderr]  --> src/command.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     list_account,
[INFO] [stderr]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ListAccount`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `list_transaction` should have an upper camel case name
[INFO] [stderr]  --> src/command.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 |     list_transaction,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ListTransaction`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `save_ledger` should have an upper camel case name
[INFO] [stderr]  --> src/command.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 |     save_ledger,
[INFO] [stderr]   |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SaveLedger`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `clear_ledger` should have an upper camel case name
[INFO] [stderr]   --> src/command.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     clear_ledger,
[INFO] [stderr]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClearLedger`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `load_ledger` should have an upper camel case name
[INFO] [stderr]   --> src/command.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     load_ledger,
[INFO] [stderr]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadLedger`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `quit` should have an upper camel case name
[INFO] [stderr]   --> src/command.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     quit,
[INFO] [stderr]    |     ^^^^ help: convert the identifier to upper camel case: `Quit`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `no_save_quit` should have an upper camel case name
[INFO] [stderr]   --> src/command.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     no_save_quit,
[INFO] [stderr]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoSaveQuit`
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `std::fs::File`
[INFO] [stderr]   --> src/lib.rs:15:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | use std::fs::File;
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ledger`
[INFO] [stderr]   --> src/ledger.rs:74:16
[INFO] [stderr]    |
[INFO] [stderr] 74 |             Ok(ledger) => {}
[INFO] [stderr]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reason`
[INFO] [stderr]   --> src/ledger.rs:75:17
[INFO] [stderr]    |
[INFO] [stderr] 75 |             Err(reason) => {
[INFO] [stderr]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ledger`
[INFO] [stderr]   --> src/ledger.rs:82:16
[INFO] [stderr]    |
[INFO] [stderr] 82 |             Ok(ledger) => {}
[INFO] [stderr]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reason`
[INFO] [stderr]   --> src/ledger.rs:83:17
[INFO] [stderr]    |
[INFO] [stderr] 83 |             Err(reason) => {
[INFO] [stderr]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reason`
[INFO] [stderr]   --> src/ledger.rs:90:17
[INFO] [stderr]    |
[INFO] [stderr] 90 |             Err(reason) => Err("Unable to parse string to ledger"),
[INFO] [stderr]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `date`
[INFO] [stderr]   --> src/transaction.rs:40:16
[INFO] [stderr]    |
[INFO] [stderr] 40 |             Ok(date) => (),
[INFO] [stderr]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_date`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `chrono_except`
[INFO] [stderr]   --> src/transaction.rs:41:17
[INFO] [stderr]    |
[INFO] [stderr] 41 |             Err(chrono_except) => return Err("Invalid date"),
[INFO] [stderr]    |                 ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_chrono_except`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/lib.rs:187:13
[INFO] [stderr]     |
[INFO] [stderr] 187 |             _ => {
[INFO] [stderr]     |             ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/lib.rs:187:13
[INFO] [stderr]     |
[INFO] [stderr]  49 |             Command::help => {
[INFO] [stderr]     |             ------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr]  52 |             Command::save_ledger => {
[INFO] [stderr]     |             -------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr]  61 |             Command::load_ledger => {
[INFO] [stderr]     |             -------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr]  73 |             Command::clear_ledger => {
[INFO] [stderr]     |             --------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 187 |             _ => {
[INFO] [stderr]     |             ^ ...and 6 other patterns collectively make this unreachable
[INFO] [stderr]     = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/lib.rs:179:21
[INFO] [stderr]     |
[INFO] [stderr] 179 |                     _ => panic!("unknown save error"),
[INFO] [stderr]     |                     ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/lib.rs:179:21
[INFO] [stderr]     |
[INFO] [stderr] 177 |                     Ok(()) => {}
[INFO] [stderr]     |                     ------ matches some of the same values
[INFO] [stderr] 178 |                     Err(reason) => println!("{}", reason),
[INFO] [stderr]     |                     ----------- matches some of the same values
[INFO] [stderr] 179 |                     _ => panic!("unknown save error"),
[INFO] [stderr]     |                     ^ collectively making this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `b`
[INFO] [stderr]   --> src/lib.rs:91:25
[INFO] [stderr]    |
[INFO] [stderr] 91 |                     Err(b) => {
[INFO] [stderr]    |                         ^ help: if this is intentional, prefix it with an underscore: `_b`
[INFO] [stderr] 
[INFO] [stderr] warning: unused borrow that must be used
[INFO] [stderr]    --> src/lib.rs:134:21
[INFO] [stderr]     |
[INFO] [stderr] 134 |                     &entries.push((acc, amount));
[INFO] [stderr]     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stderr]     |
[INFO] [stderr] 134 |                     let _ = &entries.push((acc, amount));
[INFO] [stderr]     |                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/account.rs:5:10
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stderr]   |          ^--------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `Serialize` is not local
[INFO] [stderr]   |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Account`
[INFO] [stderr] 6 | pub struct Account {
[INFO] [stderr]   |            ------- `Account` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/account.rs:5:21
[INFO] [stderr]   |
[INFO] [stderr] 5 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stderr]   |                     ^----------
[INFO] [stderr]   |                     |
[INFO] [stderr]   |                     `Deserialize` is not local
[INFO] [stderr]   |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Account`
[INFO] [stderr] 6 | pub struct Account {
[INFO] [stderr]   |            ------- `Account` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]   = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/ledger.rs:9:10
[INFO] [stderr]    |
[INFO] [stderr]  9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stderr]    |          ^--------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Serialize` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Ledger`
[INFO] [stderr] 10 | pub struct Ledger {
[INFO] [stderr]    |            ------ `Ledger` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/ledger.rs:9:21
[INFO] [stderr]    |
[INFO] [stderr]  9 | #[derive(Serialize, Deserialize, Debug)]
[INFO] [stderr]    |                     ^----------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Deserialize` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Ledger`
[INFO] [stderr] 10 | pub struct Ledger {
[INFO] [stderr]    |            ------ `Ledger` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]   --> src/ledger.rs:66:9
[INFO] [stderr]    |
[INFO] [stderr] 66 |         file.set_len(0);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stderr]    |
[INFO] [stderr] 66 |         let _ = file.set_len(0);
[INFO] [stderr]    |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/transaction.rs:9:10
[INFO] [stderr]    |
[INFO] [stderr]  9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stderr]    |          ^--------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Serialize` is not local
[INFO] [stderr]    |          move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Transaction`
[INFO] [stderr] 10 | pub struct Transaction {
[INFO] [stderr]    |            ----------- `Transaction` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/transaction.rs:9:21
[INFO] [stderr]    |
[INFO] [stderr]  9 | #[derive(Serialize, Deserialize, Clone, Debug)]
[INFO] [stderr]    |                     ^----------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Deserialize` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Transaction`
[INFO] [stderr] 10 | pub struct Transaction {
[INFO] [stderr]    |            ----------- `Transaction` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stderr]    = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stderr]    --> src/ledger.rs:118:17
[INFO] [stderr]     |
[INFO] [stderr] 118 |     use serde::{Deserialize, Serialize};
[INFO] [stderr]     |                 ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::prelude::*`
[INFO] [stderr]  --> src/transaction.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use chrono::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/account.rs:40:13
[INFO] [stderr]    |
[INFO] [stderr] 40 |             _ => assert!(false),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/account.rs:40:13
[INFO] [stderr]    |
[INFO] [stderr] 38 |             Ok(acc) => assert!(true),
[INFO] [stderr]    |             ------- matches some of the same values
[INFO] [stderr] 39 |             Err(reason) => assert!(false),
[INFO] [stderr]    |             ----------- matches some of the same values
[INFO] [stderr] 40 |             _ => assert!(false),
[INFO] [stderr]    |             ^ collectively making this unreachable
[INFO] [stderr]    = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `acc`
[INFO] [stderr]   --> src/account.rs:38:16
[INFO] [stderr]    |
[INFO] [stderr] 38 |             Ok(acc) => assert!(true),
[INFO] [stderr]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reason`
[INFO] [stderr]   --> src/account.rs:39:17
[INFO] [stderr]    |
[INFO] [stderr] 39 |             Err(reason) => assert!(false),
[INFO] [stderr]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/account.rs:56:13
[INFO] [stderr]    |
[INFO] [stderr] 56 |             _ => assert!(false),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/account.rs:56:13
[INFO] [stderr]    |
[INFO] [stderr] 54 |             Ok(acc) => assert!(false),
[INFO] [stderr]    |             ------- matches some of the same values
[INFO] [stderr] 55 |             Err(reason) => (),
[INFO] [stderr]    |             ----------- matches some of the same values
[INFO] [stderr] 56 |             _ => assert!(false),
[INFO] [stderr]    |             ^ collectively making this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `acc`
[INFO] [stderr]   --> src/account.rs:54:16
[INFO] [stderr]    |
[INFO] [stderr] 54 |             Ok(acc) => assert!(false),
[INFO] [stderr]    |                ^^^ help: if this is intentional, prefix it with an underscore: `_acc`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reason`
[INFO] [stderr]   --> src/account.rs:55:17
[INFO] [stderr]    |
[INFO] [stderr] 55 |             Err(reason) => (),
[INFO] [stderr]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ledger`
[INFO] [stderr]   --> src/ledger.rs:74:16
[INFO] [stderr]    |
[INFO] [stderr] 74 |             Ok(ledger) => {}
[INFO] [stderr]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ledger`
[INFO] [stderr]    --> src/ledger.rs:125:13
[INFO] [stderr]     |
[INFO] [stderr] 125 |         let ledger = Ledger::new(acc_vec, tx_vec);
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_ledger`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `serde_ledger`
[INFO] [stderr]    --> src/ledger.rs:154:13
[INFO] [stderr]     |
[INFO] [stderr] 154 |         let serde_ledger: Ledger = serde_json::from_str(&buf.to_string()).unwrap();
[INFO] [stderr]     |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serde_ledger`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/transaction.rs:66:13
[INFO] [stderr]    |
[INFO] [stderr] 66 |             _ => assert!(false),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/transaction.rs:66:13
[INFO] [stderr]    |
[INFO] [stderr] 64 |             Ok(tx) => (),
[INFO] [stderr]    |             ------ matches some of the same values
[INFO] [stderr] 65 |             Err(reason) => assert!(false),
[INFO] [stderr]    |             ----------- matches some of the same values
[INFO] [stderr] 66 |             _ => assert!(false),
[INFO] [stderr]    |             ^ collectively making this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx`
[INFO] [stderr]   --> src/transaction.rs:64:16
[INFO] [stderr]    |
[INFO] [stderr] 64 |             Ok(tx) => (),
[INFO] [stderr]    |                ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reason`
[INFO] [stderr]   --> src/transaction.rs:65:17
[INFO] [stderr]    |
[INFO] [stderr] 65 |             Err(reason) => assert!(false),
[INFO] [stderr]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/transaction.rs:81:13
[INFO] [stderr]    |
[INFO] [stderr] 81 |             _ => assert!(false),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/transaction.rs:81:13
[INFO] [stderr]    |
[INFO] [stderr] 79 |             Ok(tx) => assert!(false),
[INFO] [stderr]    |             ------ matches some of the same values
[INFO] [stderr] 80 |             Err(reason) => (),
[INFO] [stderr]    |             ----------- matches some of the same values
[INFO] [stderr] 81 |             _ => assert!(false),
[INFO] [stderr]    |             ^ collectively making this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx`
[INFO] [stderr]   --> src/transaction.rs:79:16
[INFO] [stderr]    |
[INFO] [stderr] 79 |             Ok(tx) => assert!(false),
[INFO] [stderr]    |                ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reason`
[INFO] [stderr]   --> src/transaction.rs:80:17
[INFO] [stderr]    |
[INFO] [stderr] 80 |             Err(reason) => (),
[INFO] [stderr]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]   --> src/transaction.rs:98:13
[INFO] [stderr]    |
[INFO] [stderr] 98 |             _ => assert!(false),
[INFO] [stderr]    |             ^ no value can reach this
[INFO] [stderr]    |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]   --> src/transaction.rs:98:13
[INFO] [stderr]    |
[INFO] [stderr] 96 |             Ok(tx) => assert!(false),
[INFO] [stderr]    |             ------ matches some of the same values
[INFO] [stderr] 97 |             Err(reason) => (),
[INFO] [stderr]    |             ----------- matches some of the same values
[INFO] [stderr] 98 |             _ => assert!(false),
[INFO] [stderr]    |             ^ collectively making this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx`
[INFO] [stderr]   --> src/transaction.rs:96:16
[INFO] [stderr]    |
[INFO] [stderr] 96 |             Ok(tx) => assert!(false),
[INFO] [stderr]    |                ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reason`
[INFO] [stderr]   --> src/transaction.rs:97:17
[INFO] [stderr]    |
[INFO] [stderr] 97 |             Err(reason) => (),
[INFO] [stderr]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/transaction.rs:115:13
[INFO] [stderr]     |
[INFO] [stderr] 115 |             _ => assert!(false),
[INFO] [stderr]     |             ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/transaction.rs:115:13
[INFO] [stderr]     |
[INFO] [stderr] 113 |             Ok(tx) => assert!(false),
[INFO] [stderr]     |             ------ matches some of the same values
[INFO] [stderr] 114 |             Err(reason) => (),
[INFO] [stderr]     |             ----------- matches some of the same values
[INFO] [stderr] 115 |             _ => assert!(false),
[INFO] [stderr]     |             ^ collectively making this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tx`
[INFO] [stderr]    --> src/transaction.rs:113:16
[INFO] [stderr]     |
[INFO] [stderr] 113 |             Ok(tx) => assert!(false),
[INFO] [stderr]     |                ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `reason`
[INFO] [stderr]    --> src/transaction.rs:114:17
[INFO] [stderr]     |
[INFO] [stderr] 114 |             Err(reason) => (),
[INFO] [stderr]     |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_reason`
[INFO] [stderr] 
[INFO] [stderr] warning: unreachable pattern
[INFO] [stderr]    --> src/lib.rs:187:13
[INFO] [stderr]     |
[INFO] [stderr] 187 |             _ => {
[INFO] [stderr]     |             ^ no value can reach this
[INFO] [stderr]     |
[INFO] [stderr] note: multiple earlier patterns match some of the same values
[INFO] [stderr]    --> src/lib.rs:187:13
[INFO] [stderr]     |
[INFO] [stderr]  49 |             Command::help => {
[INFO] [stderr]     |             ------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr]  52 |             Command::save_ledger => {
[INFO] [stderr]     |             -------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr]  61 |             Command::load_ledger => {
[INFO] [stderr]     |             -------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr]  73 |             Command::clear_ledger => {
[INFO] [stderr]     |             --------------------- matches some of the same values
[INFO] [stderr] ...
[INFO] [stderr] 187 |             _ => {
[INFO] [stderr]     |             ^ ...and 6 other patterns collectively make this unreachable
[INFO] [stderr] 
[INFO] [stderr] warning: unused `Result` that must be used
[INFO] [stderr]    --> src/ledger.rs:147:9
[INFO] [stderr]     |
[INFO] [stderr] 147 |         ledger.save(&mut tmp_file);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stderr] help: if you wish to disregard this recommendation, use `let _ = ...` to ignore the value
[INFO] [stderr]     |
[INFO] [stderr] 147 |         let _ = ledger.save(&mut tmp_file);
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `ledger` (lib) generated 41 warnings (run `cargo fix --lib -p ledger` to apply 15 suggestions)
[INFO] [stderr] warning: `ledger` (lib test) generated 61 warnings (36 duplicates) (run `cargo fix --lib -p ledger --tests` to apply 17 suggestions)
[INFO] [stderr] warning: unused dependency `tempfile`
[INFO] [stderr]  --> Cargo.toml:5:1
[INFO] [stderr]   |
[INFO] [stderr] 5 | tempfile = "3"
[INFO] [stderr]   | ^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `cargo::unused_dependencies` is set to `warn` by default
[INFO] [stderr] help: consider removing the dependency on `tempfile`
[INFO] [stderr] help: to still use for development builds, move to `dev-dependencies`
[INFO] [stderr] warning: `ledger` (manifest) generated 1 warning
[INFO] [stderr]     Finished `release` profile [optimized] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/release/build/ledger/f8f5f0e7c25767fb/out/ledger-f8f5f0e7c25767fb)
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test ledger::tests::test_ledger_new ... ok
[INFO] [stdout] test transaction::tests::test_invalid_date ... ok
[INFO] [stdout] test transaction::tests::test_transaction_unbalanced ... ok
[INFO] [stdout] test transaction::tests::test_transaction_new ... ok
[INFO] [stdout] test ledger::tests::test_get_acc_by_name ... ok
[INFO] [stdout] test account::tests::test_negative_balance_init ... ok
[INFO] [stdout] test account::tests::test_equality ... ok
[INFO] [stdout] test account::tests::test_account_new ... ok
[INFO] [stdout] test ledger::tests::test_commit ... ok
[INFO] [stdout] test transaction::tests::test_invalid_date_format ... ok
[INFO] [stdout] test ledger::tests::test_get_tx_by_name ... ok
[INFO] [stdout] test ledger::tests::test_serde_disk ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/release/build/ledger/128f2f10bf2feef7/out/ledger-128f2f10bf2feef7)
[INFO] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/release/build/ledger/eab3a6b33cbd8721/out/integration_test-eab3a6b33cbd8721)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test test_user_story ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ledger
[INFO] [stderr] warning: unnecessary parentheses around block return value
[INFO] [stderr]   --> src/account.rs:26:9
[INFO] [stderr]    |
[INFO] [stderr] 26 |         (self.name == other.name && self.balance == other.balance && self.id == other.id)
[INFO] [stderr]    |         ^                                                                               ^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]    |
[INFO] [stderr] 26 -         (self.name == other.name && self.balance == other.balance && self.id == other.id)
[INFO] [stderr] 26 +         self.name == other.name && self.balance == other.balance && self.id == other.id
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: variant `help` should have an upper camel case name
[INFO] [stderr]  --> src/command.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     help,
[INFO] [stderr]   |     ^^^^ help: convert the identifier to upper camel case: `Help`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variant `create_account` should have an upper camel case name
[INFO] [stderr]  --> src/command.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 |     create_account,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateAccount`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `create_transaction` should have an upper camel case name
[INFO] [stderr]  --> src/command.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 |     create_transaction,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CreateTransaction`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `list_account` should have an upper camel case name
[INFO] [stderr]  --> src/command.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     list_account,
[INFO] [stderr]   |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ListAccount`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `list_transaction` should have an upper camel case name
[INFO] [stderr]  --> src/command.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 |     list_transaction,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ListTransaction`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `save_ledger` should have an upper camel case name
[INFO] [stderr]  --> src/command.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 |     save_ledger,
[INFO] [stderr]   |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SaveLedger`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `clear_ledger` should have an upper camel case name
[INFO] [stderr]   --> src/command.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     clear_ledger,
[INFO] [stderr]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ClearLedger`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `load_ledger` should have an upper camel case name
[INFO] [stderr]   --> src/command.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     load_ledger,
[INFO] [stderr]    |     ^^^^^^^^^^^ help: convert the identifier to upper camel case: `LoadLedger`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `quit` should have an upper camel case name
[INFO] [stderr]   --> src/command.rs:12:5
[INFO] [stderr]    |
[INFO] [stderr] 12 |     quit,
[INFO] [stderr]    |     ^^^^ help: convert the identifier to upper camel case: `Quit`
[INFO] [stderr] 
[INFO] [stderr] warning: variant `no_save_quit` should have an upper camel case name
[INFO] [stderr]   --> src/command.rs:13:5
[INFO] [stderr]    |
[INFO] [stderr] 13 |     no_save_quit,
[INFO] [stderr]    |     ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoSaveQuit`
[INFO] [stderr] 
[INFO] [stderr] warning: 11 warnings emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `"docker" "inspect" "5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089"`
[INFO] running `"docker" "rm" "-f" "5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089"`
[INFO] [stdout] 5af87714a81578ff4060281db2fd4131d4eb23f3ac114c4e2dcd1c596d1b5089
