[INFO] fetching crate ledger-rs-lib 0.7.0...
[INFO] testing ledger-rs-lib-0.7.0 against 1.96.0-beta.9 for beta-1.97-1
[INFO] extracting crate ledger-rs-lib 0.7.0 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate ledger-rs-lib 0.7.0
[INFO] finished tweaking crates.io crate ledger-rs-lib 0.7.0
[INFO] tweaked toml for crates.io crate ledger-rs-lib 0.7.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate ledger-rs-lib 0.7.0 on toolchain 1.96.0-beta.9
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.96.0-beta.9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ledger-rs-lib 0.7.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.96.0-beta.9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded log v0.4.20
[INFO] [stderr]   Downloaded wasm-bindgen-test-macro v0.3.37
[INFO] [stderr]   Downloaded quote v1.0.33
[INFO] [stderr]   Downloaded wasm-bindgen-test v0.3.37
[INFO] [stderr]   Downloaded proc-macro-crate v0.1.5
[INFO] [stderr]   Downloaded borsh-derive v0.10.3
[INFO] [stderr]   Downloaded ptr_meta v0.1.4
[INFO] [stderr]   Downloaded borsh-schema-derive-internal v0.10.3
[INFO] [stderr]   Downloaded rend v0.4.0
[INFO] [stderr]   Downloaded errno v0.3.3
[INFO] [stderr]   Downloaded borsh-derive-internal v0.10.3
[INFO] [stderr]   Downloaded shell-words v1.1.0
[INFO] [stderr]   Downloaded bytecheck_derive v0.6.11
[INFO] [stderr]   Downloaded test-log v0.2.12
[INFO] [stderr]   Downloaded ptr_meta_derive v0.1.4
[INFO] [stderr]   Downloaded bytecheck v0.6.11
[INFO] [stderr]   Downloaded arrayvec v0.7.4
[INFO] [stderr]   Downloaded termcolor v1.2.0
[INFO] [stderr]   Downloaded simdutf8 v0.1.4
[INFO] [stderr]   Downloaded rkyv_derive v0.7.42
[INFO] [stderr]   Downloaded borsh v0.10.3
[INFO] [stderr]   Downloaded seahash v4.1.0
[INFO] [stderr]   Downloaded anyhow v1.0.75
[INFO] [stderr]   Downloaded bitflags v2.4.0
[INFO] [stderr]   Downloaded cc v1.0.83
[INFO] [stderr]   Downloaded serde v1.0.188
[INFO] [stderr]   Downloaded num-traits v0.2.16
[INFO] [stderr]   Downloaded memchr v2.6.3
[INFO] [stderr]   Downloaded serde_derive v1.0.188
[INFO] [stderr]   Downloaded rkyv v0.7.42
[INFO] [stderr]   Downloaded serde_json v1.0.105
[INFO] [stderr]   Downloaded rust_decimal v1.32.0
[INFO] [stderr]   Downloaded petgraph v0.6.4
[INFO] [stderr]   Downloaded aho-corasick v1.0.5
[INFO] [stderr]   Downloaded chrono v0.4.29
[INFO] [stderr]   Downloaded ahash v0.7.6
[INFO] [stderr]   Downloaded uuid v1.4.1
[INFO] [stderr]   Downloaded syn v2.0.31
[INFO] [stderr]   Downloaded regex v1.9.5
[INFO] [stderr]   Downloaded env_logger v0.10.0
[INFO] [stderr]   Downloaded ahash v0.8.3
[INFO] [stderr]   Downloaded rustix v0.38.11
[INFO] [stderr]   Downloaded regex-automata v0.3.8
[INFO] [stderr]   Downloaded linux-raw-sys v0.4.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 563ce8c0d8b76d94acfeca6c56e8261bbc83117897081254337bbbadc8f355b4
[INFO] running `Command { std: "docker" "start" "-a" "563ce8c0d8b76d94acfeca6c56e8261bbc83117897081254337bbbadc8f355b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "563ce8c0d8b76d94acfeca6c56e8261bbc83117897081254337bbbadc8f355b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "563ce8c0d8b76d94acfeca6c56e8261bbc83117897081254337bbbadc8f355b4", kill_on_drop: false }`
[INFO] [stdout] 563ce8c0d8b76d94acfeca6c56e8261bbc83117897081254337bbbadc8f355b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0c2a2678c80ce0ef44b700e7022898ee78dd32014c158c663fed2e746a05d240
[INFO] running `Command { std: "docker" "start" "-a" "0c2a2678c80ce0ef44b700e7022898ee78dd32014c158c663fed2e746a05d240", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.147
[INFO] [stderr]    Compiling rustix v0.38.11
[INFO] [stderr]    Compiling memchr v2.6.3
[INFO] [stderr]    Compiling serde v1.0.188
[INFO] [stderr]    Compiling bitflags v2.4.0
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling linux-raw-sys v0.4.5
[INFO] [stderr]    Compiling hashbrown v0.14.0
[INFO] [stderr]    Compiling anyhow v1.0.75
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling rust_decimal v1.32.0
[INFO] [stderr]    Compiling humantime v2.1.0
[INFO] [stderr]    Compiling termcolor v1.2.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling iana-time-zone v0.1.57
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling shell-words v1.1.0
[INFO] [stderr]    Compiling num-traits v0.2.16
[INFO] [stderr]    Compiling indexmap v2.0.0
[INFO] [stderr]    Compiling aho-corasick v1.0.5
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling is-terminal v0.4.9
[INFO] [stderr]    Compiling petgraph v0.6.4
[INFO] [stderr]    Compiling chrono v0.4.29
[INFO] [stderr]    Compiling regex-automata v0.3.8
[INFO] [stderr]    Compiling regex v1.9.5
[INFO] [stderr]    Compiling env_logger v0.10.0
[INFO] [stderr]    Compiling ledger-rs-lib v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `moment`
[INFO] [stdout]   --> src/commodity.rs:44:49
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub(crate) fn find_price(commodity: &Commodity, moment: NaiveDateTime, oldest: NaiveDateTime) {
[INFO] [stdout]    |                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oldest`
[INFO] [stdout]   --> src/commodity.rs:44:72
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub(crate) fn find_price(commodity: &Commodity, moment: NaiveDateTime, oldest: NaiveDateTime) {
[INFO] [stdout]    |                                                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> src/commodity.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let target = commodity;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/history.rs:115:80
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let shortest_path = astar(&self.0, source, |finish| finish == target, |e| 1, |_| 0);
[INFO] [stdout]     |                                                                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moment`
[INFO] [stdout]    --> src/history.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         moment: NaiveDateTime,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oldest`
[INFO] [stdout]    --> src/history.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         oldest: NaiveDateTime,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `option_name`
[INFO] [stdout]   --> src/option.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |             let option_name = &arg[2..];
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_option_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser.rs:342:13
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let mut file_found = false;
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `journal`
[INFO] [stdout]   --> src/report.rs:99:64
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn format_balance_report(mut balances: Vec<(String, Balance)>, journal: &Journal) -> Vec<String> {
[INFO] [stdout]    |                                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_journal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_commodity`
[INFO] [stdout]    --> src/report.rs:135:11
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn market(target_commodity: &str) {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_commodity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aux_date`
[INFO] [stdout]    --> src/scanner.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let aux_date: &str;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aux_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `add_prices`
[INFO] [stdout]   --> src/value.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     add_prices: bool,
[INFO] [stdout]    |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_prices`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moment`
[INFO] [stdout]   --> src/value.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     moment: &NaiveDateTime,
[INFO] [stdout]    |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cdty`
[INFO] [stdout]   --> src/value.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let cdty = pool.find_or_create(commodities, None);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_cdty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moment`
[INFO] [stdout]   --> src/value.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_terms_of`
[INFO] [stdout]   --> src/value.rs:43:41
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_terms_of`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/value.rs:43:74
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |                                                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/value.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let point: Option<PricePoint>;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `null_post` is never read
[INFO] [stdout]    --> src/xact.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         null_post = std::ptr::null_mut();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `command_args`
[INFO] [stdout]   --> src/lib.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let command_args = &commands[1..];
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verb`
[INFO] [stdout]    --> src/lib.rs:124:24
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn look_for_precommand(verb: &str) {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_verb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `look_for_precommand` is never used
[INFO] [stdout]    --> src/lib.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn look_for_precommand(verb: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_price` is never used
[INFO] [stdout]   --> src/commodity.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub(crate) fn find_price(commodity: &Commodity, moment: NaiveDateTime, oldest: NaiveDateTime) {
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PricePoint` is never constructed
[INFO] [stdout]   --> src/commodity.rs:63:19
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub(crate) struct PricePoint {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commodity.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl PricePoint {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 69 |     pub fn new(when: NaiveDateTime, price: Amount) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DirectiveType` is never used
[INFO] [stdout]   --> src/directives.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |  pub enum DirectiveType {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `map_prices`, `find_price`, `calculate_rate`, `get_direct_price`, and `print_map` are never used
[INFO] [stdout]    --> src/history.rs:97:12
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl CommodityHistory {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn map_prices(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn find_price(
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     fn calculate_rate(&self, source: CommodityIndex, target_ptr: *const Commodity, path: Vec<NodeIndex>) -> (NaiveDateTime, Quantit...
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     pub fn get_direct_price(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn print_map(&self) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_latest_price` is never used
[INFO] [stdout]    --> src/history.rs:237:4
[INFO] [stdout]     |
[INFO] [stdout] 237 | fn get_latest_price(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleParserIter` is never constructed
[INFO] [stdout]   --> src/iterator.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct SimpleParserIter {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/iterator.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl SimpleParserIter {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JournalReader` is never constructed
[INFO] [stdout]  --> src/journalreader.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) struct JournalReader {}
[INFO] [stdout]   |                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/journalreader.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl JournalReader {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Kind` is never used
[INFO] [stdout]   --> src/option.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Kind {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_option` is never used
[INFO] [stdout]    --> src/option.rs:119:4
[INFO] [stdout]     |
[INFO] [stdout] 119 | fn find_option(letter: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lookup_option_global` is never used
[INFO] [stdout]    --> src/option.rs:130:4
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn lookup_option_global(kind: Kind, letter: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_option` is never used
[INFO] [stdout]    --> src/option.rs:146:4
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn process_option(whence: String, value: Option<String>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `session_lookup` is never used
[INFO] [stdout]    --> src/option.rs:163:4
[INFO] [stdout]     |
[INFO] [stdout] 163 | fn session_lookup(kind: Kind, name: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `session_lookup_option` is never used
[INFO] [stdout]    --> src/option.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn session_lookup_option(option: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lookup_report` is never used
[INFO] [stdout]    --> src/option.rs:203:4
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn lookup_report(kind: Kind, name: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lookup_option_report` is never used
[INFO] [stdout]    --> src/option.rs:269:4
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn lookup_option_report(letter: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `general_directive` and `include_directive` are never used
[INFO] [stdout]    --> src/parser.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl<'j, T: Read> Parser<'j, T> {
[INFO] [stdout]     | ------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 195 |     fn general_directive(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 325 |     fn include_directive(&self, argument: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `null_commodity` and `default_commodity` are never read
[INFO] [stdout]   --> src/pool.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CommodityPool {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     null_commodity: *const Commodity,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     default_commodity: *const Commodity,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `report_commodities` is never used
[INFO] [stdout]   --> src/report.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn report_commodities() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `report_payees` is never used
[INFO] [stdout]   --> src/report.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn report_payees() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_account_balances` is never used
[INFO] [stdout]   --> src/report.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn get_account_balances(journal: &Journal) -> Vec<(&str, Balance)> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_balance_report` is never used
[INFO] [stdout]   --> src/report.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn format_balance_report(mut balances: Vec<(String, Balance)>, journal: &Journal) -> Vec<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `market` is never used
[INFO] [stdout]    --> src/report.rs:135:4
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn market(target_commodity: &str) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `remainder` is never read
[INFO] [stdout]   --> src/scanner.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | struct CostTokens<'a> {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub remainder: &'a str,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `next_element` is never used
[INFO] [stdout]    --> src/scanner.rs:452:4
[INFO] [stdout]     |
[INFO] [stdout] 452 | fn next_element(input: &str) -> Option<&str> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exchange_commodities` is never used
[INFO] [stdout]   --> src/value.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub(crate) fn exchange_commodities(
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `value` is never used
[INFO] [stdout]   --> src/value.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `amount_value` is never used
[INFO] [stdout]   --> src/value.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/pool.rs:91:28
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut_ptr = cdty_ptr as *mut Commodity;
[INFO] [stdout]    |                           -------------------------- casting happened here
[INFO] [stdout] 91 |             let mut_cdty = &mut *mut_ptr;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: `#[warn(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scanner.rs:193:32
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub(crate) fn scan_post(input: &str) -> PostTokens {
[INFO] [stdout]     |                                ^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub(crate) fn scan_post(input: &str) -> PostTokens<'_> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scanner.rs:248:27
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn scan_amount(input: &str) -> (AmountTokens, &str) {
[INFO] [stdout]     |                           ^^^^      ^^^^^^^^^^^^  ^^^^ the same lifetime is elided here
[INFO] [stdout]     |                           |         |
[INFO] [stdout]     |                           |         the same lifetime is hidden here
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn scan_amount(input: &str) -> (AmountTokens<'_>, &str) {
[INFO] [stdout]     |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scanner.rs:267:28
[INFO] [stdout]     |
[INFO] [stdout] 267 | fn scan_annotations(input: &str) -> (AnnotationTokens, &str) {
[INFO] [stdout]     |                            ^^^^      ^^^^^^^^^^^^^^^^  ^^^^ the same lifetime is elided here
[INFO] [stdout]     |                            |         |
[INFO] [stdout]     |                            |         the same lifetime is hidden here
[INFO] [stdout]     |                            the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 267 | fn scan_annotations(input: &str) -> (AnnotationTokens<'_>, &str) {
[INFO] [stdout]     |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scanner.rs:368:21
[INFO] [stdout]     |
[INFO] [stdout] 368 | fn scan_cost(input: &str) -> CostTokens {
[INFO] [stdout]     |                     ^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 368 | fn scan_cost(input: &str) -> CostTokens<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.74s
[INFO] running `Command { std: "docker" "inspect" "0c2a2678c80ce0ef44b700e7022898ee78dd32014c158c663fed2e746a05d240", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0c2a2678c80ce0ef44b700e7022898ee78dd32014c158c663fed2e746a05d240", kill_on_drop: false }`
[INFO] [stdout] 0c2a2678c80ce0ef44b700e7022898ee78dd32014c158c663fed2e746a05d240
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2feb1ca7fe60c29654ba75260e4b9226ff5230a7e0443fc247a0e59a201eec7c
[INFO] running `Command { std: "docker" "start" "-a" "2feb1ca7fe60c29654ba75260e4b9226ff5230a7e0443fc247a0e59a201eec7c", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.66
[INFO] [stderr]    Compiling unicode-ident v1.0.11
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stdout] warning: unused variable: `moment`
[INFO] [stdout]   --> src/commodity.rs:44:49
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub(crate) fn find_price(commodity: &Commodity, moment: NaiveDateTime, oldest: NaiveDateTime) {
[INFO] [stdout]    |                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oldest`
[INFO] [stdout]   --> src/commodity.rs:44:72
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub(crate) fn find_price(commodity: &Commodity, moment: NaiveDateTime, oldest: NaiveDateTime) {
[INFO] [stdout]    |                                                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> src/commodity.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let target = commodity;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/history.rs:115:80
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let shortest_path = astar(&self.0, source, |finish| finish == target, |e| 1, |_| 0);
[INFO] [stdout]     |                                                                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moment`
[INFO] [stdout]    --> src/history.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         moment: NaiveDateTime,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oldest`
[INFO] [stdout]    --> src/history.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         oldest: NaiveDateTime,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `option_name`
[INFO] [stdout]   --> src/option.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |             let option_name = &arg[2..];
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_option_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser.rs:342:13
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let mut file_found = false;
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `journal`
[INFO] [stdout]   --> src/report.rs:99:64
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn format_balance_report(mut balances: Vec<(String, Balance)>, journal: &Journal) -> Vec<String> {
[INFO] [stdout]    |                                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_journal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_commodity`
[INFO] [stdout]    --> src/report.rs:135:11
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn market(target_commodity: &str) {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_commodity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aux_date`
[INFO] [stdout]    --> src/scanner.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let aux_date: &str;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aux_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `add_prices`
[INFO] [stdout]   --> src/value.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     add_prices: bool,
[INFO] [stdout]    |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_prices`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moment`
[INFO] [stdout]   --> src/value.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     moment: &NaiveDateTime,
[INFO] [stdout]    |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cdty`
[INFO] [stdout]   --> src/value.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let cdty = pool.find_or_create(commodities, None);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_cdty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moment`
[INFO] [stdout]   --> src/value.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_terms_of`
[INFO] [stdout]   --> src/value.rs:43:41
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_terms_of`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/value.rs:43:74
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |                                                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/value.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let point: Option<PricePoint>;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `null_post` is never read
[INFO] [stdout]    --> src/xact.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         null_post = std::ptr::null_mut();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `command_args`
[INFO] [stdout]   --> src/lib.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let command_args = &commands[1..];
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verb`
[INFO] [stdout]    --> src/lib.rs:124:24
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn look_for_precommand(verb: &str) {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_verb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `look_for_precommand` is never used
[INFO] [stdout]    --> src/lib.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn look_for_precommand(verb: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_price` is never used
[INFO] [stdout]   --> src/commodity.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub(crate) fn find_price(commodity: &Commodity, moment: NaiveDateTime, oldest: NaiveDateTime) {
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PricePoint` is never constructed
[INFO] [stdout]   --> src/commodity.rs:63:19
[INFO] [stdout]    |
[INFO] [stdout] 63 | pub(crate) struct PricePoint {
[INFO] [stdout]    |                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/commodity.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl PricePoint {
[INFO] [stdout]    | --------------- associated function in this implementation
[INFO] [stdout] 69 |     pub fn new(when: NaiveDateTime, price: Amount) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `DirectiveType` is never used
[INFO] [stdout]   --> src/directives.rs:10:11
[INFO] [stdout]    |
[INFO] [stdout] 10 |  pub enum DirectiveType {
[INFO] [stdout]    |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `map_prices`, `find_price`, `calculate_rate`, `get_direct_price`, and `print_map` are never used
[INFO] [stdout]    --> src/history.rs:97:12
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl CommodityHistory {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn map_prices(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     pub fn find_price(
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 152 |     fn calculate_rate(&self, source: CommodityIndex, target_ptr: *const Commodity, path: Vec<NodeIndex>) -> (NaiveDateTime, Quantit...
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     pub fn get_direct_price(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn print_map(&self) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_latest_price` is never used
[INFO] [stdout]    --> src/history.rs:237:4
[INFO] [stdout]     |
[INFO] [stdout] 237 | fn get_latest_price(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `SimpleParserIter` is never constructed
[INFO] [stdout]   --> src/iterator.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub struct SimpleParserIter {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/iterator.rs:16:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl SimpleParserIter {
[INFO] [stdout]    | --------------------- associated function in this implementation
[INFO] [stdout] 16 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `JournalReader` is never constructed
[INFO] [stdout]  --> src/journalreader.rs:7:19
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) struct JournalReader {}
[INFO] [stdout]   |                   ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/journalreader.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl JournalReader {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 10 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Kind` is never used
[INFO] [stdout]   --> src/option.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Kind {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_option` is never used
[INFO] [stdout]    --> src/option.rs:119:4
[INFO] [stdout]     |
[INFO] [stdout] 119 | fn find_option(letter: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lookup_option_global` is never used
[INFO] [stdout]    --> src/option.rs:130:4
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn lookup_option_global(kind: Kind, letter: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_option` is never used
[INFO] [stdout]    --> src/option.rs:146:4
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn process_option(whence: String, value: Option<String>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `session_lookup` is never used
[INFO] [stdout]    --> src/option.rs:163:4
[INFO] [stdout]     |
[INFO] [stdout] 163 | fn session_lookup(kind: Kind, name: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `session_lookup_option` is never used
[INFO] [stdout]    --> src/option.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn session_lookup_option(option: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lookup_report` is never used
[INFO] [stdout]    --> src/option.rs:203:4
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn lookup_report(kind: Kind, name: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lookup_option_report` is never used
[INFO] [stdout]    --> src/option.rs:269:4
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn lookup_option_report(letter: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `general_directive` and `include_directive` are never used
[INFO] [stdout]    --> src/parser.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl<'j, T: Read> Parser<'j, T> {
[INFO] [stdout]     | ------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 195 |     fn general_directive(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 325 |     fn include_directive(&self, argument: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `null_commodity` and `default_commodity` are never read
[INFO] [stdout]   --> src/pool.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CommodityPool {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     null_commodity: *const Commodity,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     default_commodity: *const Commodity,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `report_commodities` is never used
[INFO] [stdout]   --> src/report.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn report_commodities() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `report_payees` is never used
[INFO] [stdout]   --> src/report.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn report_payees() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_account_balances` is never used
[INFO] [stdout]   --> src/report.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn get_account_balances(journal: &Journal) -> Vec<(&str, Balance)> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_balance_report` is never used
[INFO] [stdout]   --> src/report.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn format_balance_report(mut balances: Vec<(String, Balance)>, journal: &Journal) -> Vec<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `market` is never used
[INFO] [stdout]    --> src/report.rs:135:4
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn market(target_commodity: &str) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `remainder` is never read
[INFO] [stdout]   --> src/scanner.rs:65:9
[INFO] [stdout]    |
[INFO] [stdout] 61 | struct CostTokens<'a> {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 65 |     pub remainder: &'a str,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `next_element` is never used
[INFO] [stdout]    --> src/scanner.rs:452:4
[INFO] [stdout]     |
[INFO] [stdout] 452 | fn next_element(input: &str) -> Option<&str> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exchange_commodities` is never used
[INFO] [stdout]   --> src/value.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub(crate) fn exchange_commodities(
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `value` is never used
[INFO] [stdout]   --> src/value.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `amount_value` is never used
[INFO] [stdout]   --> src/value.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/pool.rs:91:28
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut_ptr = cdty_ptr as *mut Commodity;
[INFO] [stdout]    |                           -------------------------- casting happened here
[INFO] [stdout] 91 |             let mut_cdty = &mut *mut_ptr;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: `#[warn(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scanner.rs:193:32
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub(crate) fn scan_post(input: &str) -> PostTokens {
[INFO] [stdout]     |                                ^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub(crate) fn scan_post(input: &str) -> PostTokens<'_> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scanner.rs:248:27
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn scan_amount(input: &str) -> (AmountTokens, &str) {
[INFO] [stdout]     |                           ^^^^      ^^^^^^^^^^^^  ^^^^ the same lifetime is elided here
[INFO] [stdout]     |                           |         |
[INFO] [stdout]     |                           |         the same lifetime is hidden here
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn scan_amount(input: &str) -> (AmountTokens<'_>, &str) {
[INFO] [stdout]     |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scanner.rs:267:28
[INFO] [stdout]     |
[INFO] [stdout] 267 | fn scan_annotations(input: &str) -> (AnnotationTokens, &str) {
[INFO] [stdout]     |                            ^^^^      ^^^^^^^^^^^^^^^^  ^^^^ the same lifetime is elided here
[INFO] [stdout]     |                            |         |
[INFO] [stdout]     |                            |         the same lifetime is hidden here
[INFO] [stdout]     |                            the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 267 | fn scan_annotations(input: &str) -> (AnnotationTokens<'_>, &str) {
[INFO] [stdout]     |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scanner.rs:368:21
[INFO] [stdout]     |
[INFO] [stdout] 368 | fn scan_cost(input: &str) -> CostTokens {
[INFO] [stdout]     |                     ^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 368 | fn scan_cost(input: &str) -> CostTokens<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling test-log v0.2.12
[INFO] [stderr]    Compiling ledger-rs-lib v0.7.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `expected`
[INFO] [stdout]   --> tests/ext-report-tests.rs:58:9
[INFO] [stdout]    |
[INFO] [stdout] 58 |     let expected = r#"Account Balances
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `actual`
[INFO] [stdout]   --> tests/ext-report-tests.rs:78:9
[INFO] [stdout]    |
[INFO] [stdout] 78 |     let actual = ledger_rs_lib::run_command("b -f tests/multiple_currencies.ledger");
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_account_filter` is never used
[INFO] [stdout]   --> tests/ext-report-tests.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn test_account_filter() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_balance_multiple_currencies` is never used
[INFO] [stdout]   --> tests/ext-report-tests.rs:77:4
[INFO] [stdout]    |
[INFO] [stdout] 77 | fn test_balance_multiple_currencies() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `pool::CommodityIndex`
[INFO] [stdout]   --> tests/ext-parser-tests.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pool::CommodityIndex, parse_text, commodity::Commodity,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_include` is never used
[INFO] [stdout]   --> tests/ext-parser-tests.rs:75:4
[INFO] [stdout]    |
[INFO] [stdout] 75 | fn test_include() {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_lot_sale` is never used
[INFO] [stdout]    --> tests/ext-parser-tests.rs:167:4
[INFO] [stdout]     |
[INFO] [stdout] 167 | fn test_lot_sale() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_parsing_trade_lot` is never used
[INFO] [stdout]    --> tests/ext-parser-tests.rs:200:4
[INFO] [stdout]     |
[INFO] [stdout] 200 | fn test_parsing_trade_lot() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> tests/poc.rs:127:28
[INFO] [stdout]     |
[INFO] [stdout] 117 |     let eur_mut_ptr = eur_ptr as *mut Commodity;
[INFO] [stdout]     |                       ------------------------- casting happened here
[INFO] [stdout] ...
[INFO] [stdout] 127 |         expected_mut_ref = &mut*eur_mut_ptr;
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: `#[warn(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_price_reading` is never used
[INFO] [stdout]   --> tests/functional-tests.rs:12:4
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn test_price_reading() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_commodity_conversion_with_price` is never used
[INFO] [stdout]   --> tests/functional-tests.rs:26:4
[INFO] [stdout]    |
[INFO] [stdout] 26 | fn test_commodity_conversion_with_price() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `PricePoint`
[INFO] [stdout]    --> src/history.rs:284:38
[INFO] [stdout]     |
[INFO] [stdout] 284 |         commodity::{self, Commodity, PricePoint},
[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 variable: `moment`
[INFO] [stdout]   --> src/commodity.rs:44:49
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub(crate) fn find_price(commodity: &Commodity, moment: NaiveDateTime, oldest: NaiveDateTime) {
[INFO] [stdout]    |                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oldest`
[INFO] [stdout]   --> src/commodity.rs:44:72
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub(crate) fn find_price(commodity: &Commodity, moment: NaiveDateTime, oldest: NaiveDateTime) {
[INFO] [stdout]    |                                                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target`
[INFO] [stdout]   --> src/commodity.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let target = commodity;
[INFO] [stdout]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]    --> src/history.rs:115:80
[INFO] [stdout]     |
[INFO] [stdout] 115 |         let shortest_path = astar(&self.0, source, |finish| finish == target, |e| 1, |_| 0);
[INFO] [stdout]     |                                                                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moment`
[INFO] [stdout]    --> src/history.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         moment: NaiveDateTime,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `oldest`
[INFO] [stdout]    --> src/history.rs:107:9
[INFO] [stdout]     |
[INFO] [stdout] 107 |         oldest: NaiveDateTime,
[INFO] [stdout]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cdty_index`
[INFO] [stdout]    --> src/history.rs:295:13
[INFO] [stdout]     |
[INFO] [stdout] 295 |         let cdty_index = hist.add_commodity(&c);
[INFO] [stdout]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cdty_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/journalreader.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 21 |         let x = JournalReader::new();
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `option_name`
[INFO] [stdout]   --> src/option.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |             let option_name = &arg[2..];
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_option_name`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `options`
[INFO] [stdout]    --> src/option.rs:374:24
[INFO] [stdout]     |
[INFO] [stdout] 374 |         let (commands, options) = process_arguments(args);
[INFO] [stdout]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `commands`
[INFO] [stdout]    --> src/option.rs:387:14
[INFO] [stdout]     |
[INFO] [stdout] 387 |         let (commands, options) = process_arguments(args);
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `commands`
[INFO] [stdout]    --> src/option.rs:397:14
[INFO] [stdout]     |
[INFO] [stdout] 397 |         let (commands, options) = process_arguments(args);
[INFO] [stdout]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/parser.rs:342:13
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let mut file_found = false;
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `journal`
[INFO] [stdout]   --> src/report.rs:99:64
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn format_balance_report(mut balances: Vec<(String, Balance)>, journal: &Journal) -> Vec<String> {
[INFO] [stdout]    |                                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_journal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `target_commodity`
[INFO] [stdout]    --> src/report.rs:135:11
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn market(target_commodity: &str) {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_commodity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `aux_date`
[INFO] [stdout]    --> src/scanner.rs:139:9
[INFO] [stdout]     |
[INFO] [stdout] 139 |     let aux_date: &str;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aux_date`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `add_prices`
[INFO] [stdout]   --> src/value.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     add_prices: bool,
[INFO] [stdout]    |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_prices`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moment`
[INFO] [stdout]   --> src/value.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 |     moment: &NaiveDateTime,
[INFO] [stdout]    |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cdty`
[INFO] [stdout]   --> src/value.rs:23:13
[INFO] [stdout]    |
[INFO] [stdout] 23 |         let cdty = pool.find_or_create(commodities, None);
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_cdty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `moment`
[INFO] [stdout]   --> src/value.rs:43:17
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `in_terms_of`
[INFO] [stdout]   --> src/value.rs:43:41
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_terms_of`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `pool`
[INFO] [stdout]   --> src/value.rs:43:74
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |                                                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `point`
[INFO] [stdout]   --> src/value.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let point: Option<PricePoint>;
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `null_post` is never read
[INFO] [stdout]    --> src/xact.rs:273:9
[INFO] [stdout]     |
[INFO] [stdout] 273 |         null_post = std::ptr::null_mut();
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `command_args`
[INFO] [stdout]   --> src/lib.rs:94:9
[INFO] [stdout]    |
[INFO] [stdout] 94 |     let command_args = &commands[1..];
[INFO] [stdout]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_args`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `verb`
[INFO] [stdout]    --> src/lib.rs:124:24
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn look_for_precommand(verb: &str) {
[INFO] [stdout]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_verb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `look_for_precommand` is never used
[INFO] [stdout]    --> src/lib.rs:124:4
[INFO] [stdout]     |
[INFO] [stdout] 124 | fn look_for_precommand(verb: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_price` is never used
[INFO] [stdout]   --> src/commodity.rs:44:15
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub(crate) fn find_price(commodity: &Commodity, moment: NaiveDateTime, oldest: NaiveDateTime) {
[INFO] [stdout]    |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/directives.rs:13:10
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Xact(Xact)
[INFO] [stdout]    |     ---- ^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DirectiveType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 13 -     Xact(Xact)
[INFO] [stdout] 13 +     Xact(())
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Comment` and `Price` are never constructed
[INFO] [stdout]   --> src/directives.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 10 |  pub enum DirectiveType {
[INFO] [stdout]    |           ------------- variants in this enum
[INFO] [stdout] 11 |     Comment,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 12 |     Price,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DirectiveType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `map_prices` and `print_map` are never used
[INFO] [stdout]    --> src/history.rs:97:12
[INFO] [stdout]     |
[INFO] [stdout]  38 | impl CommodityHistory {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  97 |     pub fn map_prices(&self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 213 |     fn print_map(&self) {
[INFO] [stdout]     |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_calculate_rate` is never used
[INFO] [stdout]    --> src/history.rs:425:8
[INFO] [stdout]     |
[INFO] [stdout] 425 |     fn test_calculate_rate() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_find_price_2_hops` is never used
[INFO] [stdout]    --> src/history.rs:452:8
[INFO] [stdout]     |
[INFO] [stdout] 452 |     fn test_find_price_2_hops() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Kind` is never used
[INFO] [stdout]   --> src/option.rs:12:10
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum Kind {
[INFO] [stdout]    |          ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_option` is never used
[INFO] [stdout]    --> src/option.rs:119:4
[INFO] [stdout]     |
[INFO] [stdout] 119 | fn find_option(letter: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lookup_option_global` is never used
[INFO] [stdout]    --> src/option.rs:130:4
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn lookup_option_global(kind: Kind, letter: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_option` is never used
[INFO] [stdout]    --> src/option.rs:146:4
[INFO] [stdout]     |
[INFO] [stdout] 146 | fn process_option(whence: String, value: Option<String>) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `session_lookup` is never used
[INFO] [stdout]    --> src/option.rs:163:4
[INFO] [stdout]     |
[INFO] [stdout] 163 | fn session_lookup(kind: Kind, name: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `session_lookup_option` is never used
[INFO] [stdout]    --> src/option.rs:178:4
[INFO] [stdout]     |
[INFO] [stdout] 178 | fn session_lookup_option(option: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lookup_report` is never used
[INFO] [stdout]    --> src/option.rs:203:4
[INFO] [stdout]     |
[INFO] [stdout] 203 | fn lookup_report(kind: Kind, name: &str) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `lookup_option_report` is never used
[INFO] [stdout]    --> src/option.rs:269:4
[INFO] [stdout]     |
[INFO] [stdout] 269 | fn lookup_option_report(letter: char) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `general_directive` and `include_directive` are never used
[INFO] [stdout]    --> src/parser.rs:195:8
[INFO] [stdout]     |
[INFO] [stdout]  94 | impl<'j, T: Read> Parser<'j, T> {
[INFO] [stdout]     | ------------------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 195 |     fn general_directive(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 325 |     fn include_directive(&self, argument: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_general_directive` is never used
[INFO] [stdout]    --> src/parser.rs:493:8
[INFO] [stdout]     |
[INFO] [stdout] 493 |     fn test_general_directive() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `null_commodity` and `default_commodity` are never read
[INFO] [stdout]   --> src/pool.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct CommodityPool {
[INFO] [stdout]    |            ------------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 32 |     null_commodity: *const Commodity,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 33 |     default_commodity: *const Commodity,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_exchange` is never used
[INFO] [stdout]    --> src/pool.rs:399:8
[INFO] [stdout]     |
[INFO] [stdout] 399 |     fn test_exchange() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_exchange_implicit` is never used
[INFO] [stdout]    --> src/pool.rs:413:8
[INFO] [stdout]     |
[INFO] [stdout] 413 |     fn test_exchange_implicit() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `report_commodities` is never used
[INFO] [stdout]   --> src/report.rs:20:4
[INFO] [stdout]    |
[INFO] [stdout] 20 | fn report_commodities() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `report_payees` is never used
[INFO] [stdout]   --> src/report.rs:24:4
[INFO] [stdout]    |
[INFO] [stdout] 24 | fn report_payees() {
[INFO] [stdout]    |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_account_balances` is never used
[INFO] [stdout]   --> src/report.rs:76:4
[INFO] [stdout]    |
[INFO] [stdout] 76 | fn get_account_balances(journal: &Journal) -> Vec<(&str, Balance)> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `format_balance_report` is never used
[INFO] [stdout]   --> src/report.rs:99:4
[INFO] [stdout]    |
[INFO] [stdout] 99 | fn format_balance_report(mut balances: Vec<(String, Balance)>, journal: &Journal) -> Vec<String> {
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `market` is never used
[INFO] [stdout]    --> src/report.rs:135:4
[INFO] [stdout]     |
[INFO] [stdout] 135 | fn market(target_commodity: &str) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_bal_market_prices` is never used
[INFO] [stdout]    --> src/report.rs:219:8
[INFO] [stdout]     |
[INFO] [stdout] 219 |     fn test_bal_market_prices() {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `next_element` is never used
[INFO] [stdout]    --> src/scanner.rs:452:4
[INFO] [stdout]     |
[INFO] [stdout] 452 | fn next_element(input: &str) -> Option<&str> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `exchange_commodities` is never used
[INFO] [stdout]   --> src/value.rs:15:15
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub(crate) fn exchange_commodities(
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `value` is never used
[INFO] [stdout]   --> src/value.rs:31:4
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |    ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `amount_value` is never used
[INFO] [stdout]   --> src/value.rs:43:4
[INFO] [stdout]    |
[INFO] [stdout] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_exchange` is never used
[INFO] [stdout]   --> src/value.rs:60:8
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn test_exchange() {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]   --> src/pool.rs:91:28
[INFO] [stdout]    |
[INFO] [stdout] 90 |             let mut_ptr = cdty_ptr as *mut Commodity;
[INFO] [stdout]    |                           -------------------------- casting happened here
[INFO] [stdout] 91 |             let mut_cdty = &mut *mut_ptr;
[INFO] [stdout]    |                            ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]    = note: `#[warn(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scanner.rs:193:32
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub(crate) fn scan_post(input: &str) -> PostTokens {
[INFO] [stdout]     |                                ^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 193 | pub(crate) fn scan_post(input: &str) -> PostTokens<'_> {
[INFO] [stdout]     |                                                   ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scanner.rs:248:27
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn scan_amount(input: &str) -> (AmountTokens, &str) {
[INFO] [stdout]     |                           ^^^^      ^^^^^^^^^^^^  ^^^^ the same lifetime is elided here
[INFO] [stdout]     |                           |         |
[INFO] [stdout]     |                           |         the same lifetime is hidden here
[INFO] [stdout]     |                           the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 248 | pub fn scan_amount(input: &str) -> (AmountTokens<'_>, &str) {
[INFO] [stdout]     |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scanner.rs:267:28
[INFO] [stdout]     |
[INFO] [stdout] 267 | fn scan_annotations(input: &str) -> (AnnotationTokens, &str) {
[INFO] [stdout]     |                            ^^^^      ^^^^^^^^^^^^^^^^  ^^^^ the same lifetime is elided here
[INFO] [stdout]     |                            |         |
[INFO] [stdout]     |                            |         the same lifetime is hidden here
[INFO] [stdout]     |                            the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 267 | fn scan_annotations(input: &str) -> (AnnotationTokens<'_>, &str) {
[INFO] [stdout]     |                                                      ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/scanner.rs:368:21
[INFO] [stdout]     |
[INFO] [stdout] 368 | fn scan_cost(input: &str) -> CostTokens {
[INFO] [stdout]     |                     ^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     the lifetime is elided here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 368 | fn scan_cost(input: &str) -> CostTokens<'_> {
[INFO] [stdout]     |                                        ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.67s
[INFO] running `Command { std: "docker" "inspect" "2feb1ca7fe60c29654ba75260e4b9226ff5230a7e0443fc247a0e59a201eec7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2feb1ca7fe60c29654ba75260e4b9226ff5230a7e0443fc247a0e59a201eec7c", kill_on_drop: false }`
[INFO] [stdout] 2feb1ca7fe60c29654ba75260e4b9226ff5230a7e0443fc247a0e59a201eec7c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.96.0-beta.9" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0da5088fad800f9ffd649ebc3ae842f2dd14e05e4b20538806c02b29723181c3
[INFO] running `Command { std: "docker" "start" "-a" "0da5088fad800f9ffd649ebc3ae842f2dd14e05e4b20538806c02b29723181c3", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `moment`
[INFO] [stderr]   --> src/commodity.rs:44:49
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub(crate) fn find_price(commodity: &Commodity, moment: NaiveDateTime, oldest: NaiveDateTime) {
[INFO] [stderr]    |                                                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `oldest`
[INFO] [stderr]   --> src/commodity.rs:44:72
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub(crate) fn find_price(commodity: &Commodity, moment: NaiveDateTime, oldest: NaiveDateTime) {
[INFO] [stderr]    |                                                                        ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldest`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `target`
[INFO] [stderr]   --> src/commodity.rs:46:9
[INFO] [stderr]    |
[INFO] [stderr] 46 |     let target = commodity;
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_target`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]    --> src/history.rs:115:80
[INFO] [stderr]     |
[INFO] [stderr] 115 |         let shortest_path = astar(&self.0, source, |finish| finish == target, |e| 1, |_| 0);
[INFO] [stderr]     |                                                                                ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `moment`
[INFO] [stderr]    --> src/history.rs:106:9
[INFO] [stderr]     |
[INFO] [stderr] 106 |         moment: NaiveDateTime,
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `oldest`
[INFO] [stderr]    --> src/history.rs:107:9
[INFO] [stderr]     |
[INFO] [stderr] 107 |         oldest: NaiveDateTime,
[INFO] [stderr]     |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldest`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `option_name`
[INFO] [stderr]   --> src/option.rs:54:17
[INFO] [stderr]    |
[INFO] [stderr] 54 |             let option_name = &arg[2..];
[INFO] [stderr]    |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_option_name`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/parser.rs:342:13
[INFO] [stderr]     |
[INFO] [stderr] 342 |         let mut file_found = false;
[INFO] [stderr]     |             ----^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `journal`
[INFO] [stderr]   --> src/report.rs:99:64
[INFO] [stderr]    |
[INFO] [stderr] 99 | fn format_balance_report(mut balances: Vec<(String, Balance)>, journal: &Journal) -> Vec<String> {
[INFO] [stderr]    |                                                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_journal`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `target_commodity`
[INFO] [stderr]    --> src/report.rs:135:11
[INFO] [stderr]     |
[INFO] [stderr] 135 | fn market(target_commodity: &str) {
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_target_commodity`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `aux_date`
[INFO] [stderr]    --> src/scanner.rs:139:9
[INFO] [stderr]     |
[INFO] [stderr] 139 |     let aux_date: &str;
[INFO] [stderr]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_aux_date`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `add_prices`
[INFO] [stderr]   --> src/value.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 17 |     add_prices: bool,
[INFO] [stderr]    |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_add_prices`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `moment`
[INFO] [stderr]   --> src/value.rs:18:5
[INFO] [stderr]    |
[INFO] [stderr] 18 |     moment: &NaiveDateTime,
[INFO] [stderr]    |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cdty`
[INFO] [stderr]   --> src/value.rs:23:13
[INFO] [stderr]    |
[INFO] [stderr] 23 |         let cdty = pool.find_or_create(commodities, None);
[INFO] [stderr]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_cdty`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `moment`
[INFO] [stderr]   --> src/value.rs:43:17
[INFO] [stderr]    |
[INFO] [stderr] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stderr]    |                 ^^^^^^ help: if this is intentional, prefix it with an underscore: `_moment`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `in_terms_of`
[INFO] [stderr]   --> src/value.rs:43:41
[INFO] [stderr]    |
[INFO] [stderr] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stderr]    |                                         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_in_terms_of`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `pool`
[INFO] [stderr]   --> src/value.rs:43:74
[INFO] [stderr]    |
[INFO] [stderr] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stderr]    |                                                                          ^^^^ help: if this is intentional, prefix it with an underscore: `_pool`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `point`
[INFO] [stderr]   --> src/value.rs:46:9
[INFO] [stderr]    |
[INFO] [stderr] 46 |     let point: Option<PricePoint>;
[INFO] [stderr]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_point`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `null_post` is never read
[INFO] [stderr]    --> src/xact.rs:273:9
[INFO] [stderr]     |
[INFO] [stderr] 273 |         null_post = std::ptr::null_mut();
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `command_args`
[INFO] [stderr]   --> src/lib.rs:94:9
[INFO] [stderr]    |
[INFO] [stderr] 94 |     let command_args = &commands[1..];
[INFO] [stderr]    |         ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_args`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `verb`
[INFO] [stderr]    --> src/lib.rs:124:24
[INFO] [stderr]     |
[INFO] [stderr] 124 | fn look_for_precommand(verb: &str) {
[INFO] [stderr]     |                        ^^^^ help: if this is intentional, prefix it with an underscore: `_verb`
[INFO] [stderr] 
[INFO] [stderr] warning: function `look_for_precommand` is never used
[INFO] [stderr]    --> src/lib.rs:124:4
[INFO] [stderr]     |
[INFO] [stderr] 124 | fn look_for_precommand(verb: &str) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `find_price` is never used
[INFO] [stderr]   --> src/commodity.rs:44:15
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub(crate) fn find_price(commodity: &Commodity, moment: NaiveDateTime, oldest: NaiveDateTime) {
[INFO] [stderr]    |               ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PricePoint` is never constructed
[INFO] [stderr]   --> src/commodity.rs:63:19
[INFO] [stderr]    |
[INFO] [stderr] 63 | pub(crate) struct PricePoint {
[INFO] [stderr]    |                   ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/commodity.rs:69:12
[INFO] [stderr]    |
[INFO] [stderr] 68 | impl PricePoint {
[INFO] [stderr]    | --------------- associated function in this implementation
[INFO] [stderr] 69 |     pub fn new(when: NaiveDateTime, price: Amount) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `DirectiveType` is never used
[INFO] [stderr]   --> src/directives.rs:10:11
[INFO] [stderr]    |
[INFO] [stderr] 10 |  pub enum DirectiveType {
[INFO] [stderr]    |           ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `map_prices`, `find_price`, `calculate_rate`, `get_direct_price`, and `print_map` are never used
[INFO] [stderr]    --> src/history.rs:97:12
[INFO] [stderr]     |
[INFO] [stderr]  38 | impl CommodityHistory {
[INFO] [stderr]     | --------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  97 |     pub fn map_prices(&self) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 102 |     pub fn find_price(
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 152 |     fn calculate_rate(&self, source: CommodityIndex, target_ptr: *const Commodity, path: Vec<NodeIndex>) -> (NaiveDateTime, Quantit...
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 195 |     pub fn get_direct_price(
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 213 |     fn print_map(&self) {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_latest_price` is never used
[INFO] [stderr]    --> src/history.rs:237:4
[INFO] [stderr]     |
[INFO] [stderr] 237 | fn get_latest_price(
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `SimpleParserIter` is never constructed
[INFO] [stderr]   --> src/iterator.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr] 10 | pub struct SimpleParserIter {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/iterator.rs:16:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | impl SimpleParserIter {
[INFO] [stderr]    | --------------------- associated function in this implementation
[INFO] [stderr] 16 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `JournalReader` is never constructed
[INFO] [stderr]  --> src/journalreader.rs:7:19
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub(crate) struct JournalReader {}
[INFO] [stderr]   |                   ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]   --> src/journalreader.rs:10:12
[INFO] [stderr]    |
[INFO] [stderr]  9 | impl JournalReader {
[INFO] [stderr]    | ------------------ associated function in this implementation
[INFO] [stderr] 10 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Kind` is never used
[INFO] [stderr]   --> src/option.rs:12:10
[INFO] [stderr]    |
[INFO] [stderr] 12 | pub enum Kind {
[INFO] [stderr]    |          ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `find_option` is never used
[INFO] [stderr]    --> src/option.rs:119:4
[INFO] [stderr]     |
[INFO] [stderr] 119 | fn find_option(letter: char) {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `lookup_option_global` is never used
[INFO] [stderr]    --> src/option.rs:130:4
[INFO] [stderr]     |
[INFO] [stderr] 130 | fn lookup_option_global(kind: Kind, letter: char) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `process_option` is never used
[INFO] [stderr]    --> src/option.rs:146:4
[INFO] [stderr]     |
[INFO] [stderr] 146 | fn process_option(whence: String, value: Option<String>) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `session_lookup` is never used
[INFO] [stderr]    --> src/option.rs:163:4
[INFO] [stderr]     |
[INFO] [stderr] 163 | fn session_lookup(kind: Kind, name: &str) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `session_lookup_option` is never used
[INFO] [stderr]    --> src/option.rs:178:4
[INFO] [stderr]     |
[INFO] [stderr] 178 | fn session_lookup_option(option: char) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `lookup_report` is never used
[INFO] [stderr]    --> src/option.rs:203:4
[INFO] [stderr]     |
[INFO] [stderr] 203 | fn lookup_report(kind: Kind, name: &str) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `lookup_option_report` is never used
[INFO] [stderr]    --> src/option.rs:269:4
[INFO] [stderr]     |
[INFO] [stderr] 269 | fn lookup_option_report(letter: char) {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `general_directive` and `include_directive` are never used
[INFO] [stderr]    --> src/parser.rs:195:8
[INFO] [stderr]     |
[INFO] [stderr]  94 | impl<'j, T: Read> Parser<'j, T> {
[INFO] [stderr]     | ------------------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 195 |     fn general_directive(&self) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 325 |     fn include_directive(&self, argument: &str) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `null_commodity` and `default_commodity` are never read
[INFO] [stderr]   --> src/pool.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub struct CommodityPool {
[INFO] [stderr]    |            ------------- fields in this struct
[INFO] [stderr] ...
[INFO] [stderr] 32 |     null_commodity: *const Commodity,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr] 33 |     default_commodity: *const Commodity,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `report_commodities` is never used
[INFO] [stderr]   --> src/report.rs:20:4
[INFO] [stderr]    |
[INFO] [stderr] 20 | fn report_commodities() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `report_payees` is never used
[INFO] [stderr]   --> src/report.rs:24:4
[INFO] [stderr]    |
[INFO] [stderr] 24 | fn report_payees() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_account_balances` is never used
[INFO] [stderr]   --> src/report.rs:76:4
[INFO] [stderr]    |
[INFO] [stderr] 76 | fn get_account_balances(journal: &Journal) -> Vec<(&str, Balance)> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `format_balance_report` is never used
[INFO] [stderr]   --> src/report.rs:99:4
[INFO] [stderr]    |
[INFO] [stderr] 99 | fn format_balance_report(mut balances: Vec<(String, Balance)>, journal: &Journal) -> Vec<String> {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `market` is never used
[INFO] [stderr]    --> src/report.rs:135:4
[INFO] [stderr]     |
[INFO] [stderr] 135 | fn market(target_commodity: &str) {
[INFO] [stderr]     |    ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `remainder` is never read
[INFO] [stderr]   --> src/scanner.rs:65:9
[INFO] [stderr]    |
[INFO] [stderr] 61 | struct CostTokens<'a> {
[INFO] [stderr]    |        ---------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 65 |     pub remainder: &'a str,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `next_element` is never used
[INFO] [stderr]    --> src/scanner.rs:452:4
[INFO] [stderr]     |
[INFO] [stderr] 452 | fn next_element(input: &str) -> Option<&str> {
[INFO] [stderr]     |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `exchange_commodities` is never used
[INFO] [stderr]   --> src/value.rs:15:15
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub(crate) fn exchange_commodities(
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `value` is never used
[INFO] [stderr]   --> src/value.rs:31:4
[INFO] [stderr]    |
[INFO] [stderr] 31 | fn value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stderr]    |    ^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `amount_value` is never used
[INFO] [stderr]   --> src/value.rs:43:4
[INFO] [stderr]    |
[INFO] [stderr] 43 | fn amount_value(moment: &NaiveDateTime, in_terms_of: Option<&Commodity>, pool: &CommodityPool) {
[INFO] [stderr]    |    ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stderr]   --> src/pool.rs:91:28
[INFO] [stderr]    |
[INFO] [stderr] 90 |             let mut_ptr = cdty_ptr as *mut Commodity;
[INFO] [stderr]    |                           -------------------------- casting happened here
[INFO] [stderr] 91 |             let mut_cdty = &mut *mut_ptr;
[INFO] [stderr]    |                            ^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stderr]    = note: `#[warn(invalid_reference_casting)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/scanner.rs:193:32
[INFO] [stderr]     |
[INFO] [stderr] 193 | pub(crate) fn scan_post(input: &str) -> PostTokens {
[INFO] [stderr]     |                                ^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                                |
[INFO] [stderr]     |                                the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 193 | pub(crate) fn scan_post(input: &str) -> PostTokens<'_> {
[INFO] [stderr]     |                                                   ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/scanner.rs:248:27
[INFO] [stderr]     |
[INFO] [stderr] 248 | pub fn scan_amount(input: &str) -> (AmountTokens, &str) {
[INFO] [stderr]     |                           ^^^^      ^^^^^^^^^^^^  ^^^^ the same lifetime is elided here
[INFO] [stderr]     |                           |         |
[INFO] [stderr]     |                           |         the same lifetime is hidden here
[INFO] [stderr]     |                           the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 248 | pub fn scan_amount(input: &str) -> (AmountTokens<'_>, &str) {
[INFO] [stderr]     |                                                 ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/scanner.rs:267:28
[INFO] [stderr]     |
[INFO] [stderr] 267 | fn scan_annotations(input: &str) -> (AnnotationTokens, &str) {
[INFO] [stderr]     |                            ^^^^      ^^^^^^^^^^^^^^^^  ^^^^ the same lifetime is elided here
[INFO] [stderr]     |                            |         |
[INFO] [stderr]     |                            |         the same lifetime is hidden here
[INFO] [stderr]     |                            the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 267 | fn scan_annotations(input: &str) -> (AnnotationTokens<'_>, &str) {
[INFO] [stderr]     |                                                      ++++
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]    --> src/scanner.rs:368:21
[INFO] [stderr]     |
[INFO] [stderr] 368 | fn scan_cost(input: &str) -> CostTokens {
[INFO] [stderr]     |                     ^^^^     ^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]     |                     |
[INFO] [stderr]     |                     the lifetime is elided here
[INFO] [stderr]     |
[INFO] [stderr]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]     |
[INFO] [stderr] 368 | fn scan_cost(input: &str) -> CostTokens<'_> {
[INFO] [stderr]     |                                        ++++
[INFO] [stderr] 
[INFO] [stderr] warning: `ledger-rs-lib` (lib) generated 57 warnings (run `cargo fix --lib -p ledger-rs-lib` to apply 24 suggestions)
[INFO] [stderr] warning: unused import: `PricePoint`
[INFO] [stderr]    --> src/history.rs:284:38
[INFO] [stderr]     |
[INFO] [stderr] 284 |         commodity::{self, Commodity, PricePoint},
[INFO] [stderr]     |                                      ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cdty_index`
[INFO] [stderr]    --> src/history.rs:295:13
[INFO] [stderr]     |
[INFO] [stderr] 295 |         let cdty_index = hist.add_commodity(&c);
[INFO] [stderr]     |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cdty_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/journalreader.rs:21:13
[INFO] [stderr]    |
[INFO] [stderr] 21 |         let x = JournalReader::new();
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `options`
[INFO] [stderr]    --> src/option.rs:374:24
[INFO] [stderr]     |
[INFO] [stderr] 374 |         let (commands, options) = process_arguments(args);
[INFO] [stderr]     |                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `commands`
[INFO] [stderr]    --> src/option.rs:387:14
[INFO] [stderr]     |
[INFO] [stderr] 387 |         let (commands, options) = process_arguments(args);
[INFO] [stderr]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `commands`
[INFO] [stderr]    --> src/option.rs:397:14
[INFO] [stderr]     |
[INFO] [stderr] 397 |         let (commands, options) = process_arguments(args);
[INFO] [stderr]     |              ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commands`
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]   --> src/directives.rs:13:10
[INFO] [stderr]    |
[INFO] [stderr] 13 |     Xact(Xact)
[INFO] [stderr]    |     ---- ^^^^
[INFO] [stderr]    |     |
[INFO] [stderr]    |     field in this variant
[INFO] [stderr]    |
[INFO] [stderr]    = note: `DirectiveType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]    |
[INFO] [stderr] 13 -     Xact(Xact)
[INFO] [stderr] 13 +     Xact(())
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Comment` and `Price` are never constructed
[INFO] [stderr]   --> src/directives.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |  pub enum DirectiveType {
[INFO] [stderr]    |           ------------- variants in this enum
[INFO] [stderr] 11 |     Comment,
[INFO] [stderr]    |     ^^^^^^^
[INFO] [stderr] 12 |     Price,
[INFO] [stderr]    |     ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `DirectiveType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `map_prices` and `print_map` are never used
[INFO] [stderr]    --> src/history.rs:97:12
[INFO] [stderr]     |
[INFO] [stderr]  38 | impl CommodityHistory {
[INFO] [stderr]     | --------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  97 |     pub fn map_prices(&self) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 213 |     fn print_map(&self) {
[INFO] [stderr]     |        ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_calculate_rate` is never used
[INFO] [stderr]    --> src/history.rs:425:8
[INFO] [stderr]     |
[INFO] [stderr] 425 |     fn test_calculate_rate() {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_find_price_2_hops` is never used
[INFO] [stderr]    --> src/history.rs:452:8
[INFO] [stderr]     |
[INFO] [stderr] 452 |     fn test_find_price_2_hops() {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_general_directive` is never used
[INFO] [stderr]    --> src/parser.rs:493:8
[INFO] [stderr]     |
[INFO] [stderr] 493 |     fn test_general_directive() {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_exchange` is never used
[INFO] [stderr]    --> src/pool.rs:399:8
[INFO] [stderr]     |
[INFO] [stderr] 399 |     fn test_exchange() {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_exchange_implicit` is never used
[INFO] [stderr]    --> src/pool.rs:413:8
[INFO] [stderr]     |
[INFO] [stderr] 413 |     fn test_exchange_implicit() {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_bal_market_prices` is never used
[INFO] [stderr]    --> src/report.rs:219:8
[INFO] [stderr]     |
[INFO] [stderr] 219 |     fn test_bal_market_prices() {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_exchange` is never used
[INFO] [stderr]   --> src/value.rs:60:8
[INFO] [stderr]    |
[INFO] [stderr] 60 |     fn test_exchange() {
[INFO] [stderr]    |        ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stderr]    --> tests/poc.rs:127:28
[INFO] [stderr]     |
[INFO] [stderr] 117 |     let eur_mut_ptr = eur_ptr as *mut Commodity;
[INFO] [stderr]     |                       ------------------------- casting happened here
[INFO] [stderr] ...
[INFO] [stderr] 127 |         expected_mut_ref = &mut*eur_mut_ptr;
[INFO] [stderr]     |                            ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stderr]     = note: `#[warn(invalid_reference_casting)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `pool::CommodityIndex`
[INFO] [stderr]   --> tests/ext-parser-tests.rs:10:5
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pool::CommodityIndex, parse_text, commodity::Commodity,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_include` is never used
[INFO] [stderr]   --> tests/ext-parser-tests.rs:75:4
[INFO] [stderr]    |
[INFO] [stderr] 75 | fn test_include() {
[INFO] [stderr]    |    ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_lot_sale` is never used
[INFO] [stderr]    --> tests/ext-parser-tests.rs:167:4
[INFO] [stderr]     |
[INFO] [stderr] 167 | fn test_lot_sale() {
[INFO] [stderr]     |    ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_parsing_trade_lot` is never used
[INFO] [stderr]    --> tests/ext-parser-tests.rs:200:4
[INFO] [stderr]     |
[INFO] [stderr] 200 | fn test_parsing_trade_lot() {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_price_reading` is never used
[INFO] [stderr]   --> tests/functional-tests.rs:12:4
[INFO] [stderr]    |
[INFO] [stderr] 12 | fn test_price_reading() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_commodity_conversion_with_price` is never used
[INFO] [stderr]   --> tests/functional-tests.rs:26:4
[INFO] [stderr]    |
[INFO] [stderr] 26 | fn test_commodity_conversion_with_price() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `expected`
[INFO] [stderr]   --> tests/ext-report-tests.rs:58:9
[INFO] [stderr]    |
[INFO] [stderr] 58 |     let expected = r#"Account Balances
[INFO] [stderr]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `actual`
[INFO] [stderr]   --> tests/ext-report-tests.rs:78:9
[INFO] [stderr]    |
[INFO] [stderr] 78 |     let actual = ledger_rs_lib::run_command("b -f tests/multiple_currencies.ledger");
[INFO] [stderr]    |         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_actual`
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_account_filter` is never used
[INFO] [stderr]   --> tests/ext-report-tests.rs:43:4
[INFO] [stderr]    |
[INFO] [stderr] 43 | fn test_account_filter() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `test_balance_multiple_currencies` is never used
[INFO] [stderr]   --> tests/ext-report-tests.rs:77:4
[INFO] [stderr]    |
[INFO] [stderr] 77 | fn test_balance_multiple_currencies() {
[INFO] [stderr]    |    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `ledger-rs-lib` (lib test) generated 63 warnings (47 duplicates) (run `cargo fix --lib -p ledger-rs-lib --tests` to apply 6 suggestions)
[INFO] [stderr] warning: `ledger-rs-lib` (test "poc") generated 1 warning
[INFO] [stderr] warning: `ledger-rs-lib` (test "ext-parser-tests") generated 4 warnings (run `cargo fix --test "ext-parser-tests" -p ledger-rs-lib` to apply 1 suggestion)
[INFO] [stderr] warning: `ledger-rs-lib` (test "functional-tests") generated 2 warnings
[INFO] [stderr] warning: `ledger-rs-lib` (test "ext-report-tests") generated 4 warnings (run `cargo fix --test "ext-report-tests" -p ledger-rs-lib` to apply 2 suggestions)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ledger_rs_lib-32c9823ee5b32686)
[INFO] [stdout] 
[INFO] [stdout] running 115 tests
[INFO] [stderr] 
[INFO] [stderr] thread 'account::tests::test_parent_pointers' (23) panicked at src/amount.rs:86:49:
[INFO] [stderr] null pointer dereference occurred
[INFO] [stderr] stack backtrace:
[INFO] [stderr]    0:     0x5597fe0f0d9a - std[9e526e5d2625d691]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stderr]    1:     0x5597fe0f0d9a - std[9e526e5d2625d691]::backtrace_rs::backtrace::trace_unsynchronized::<std[9e526e5d2625d691]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stderr]    2:     0x5597fe0f0d9a - std[9e526e5d2625d691]::sys::backtrace::_print_fmt
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:74:9
[INFO] [stderr]    3:     0x5597fe0f0d9a - <<std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[1a00ee6b329519b]::fmt::Display>::fmt
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:44:26
[INFO] [stderr]    4:     0x5597fe10752a - <core[1a00ee6b329519b]::fmt::rt::Argument>::fmt
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/fmt/rt.rs:152:76
[INFO] [stderr]    5:     0x5597fe10752a - core[1a00ee6b329519b]::fmt::write
[INFO] [stderr]    6:     0x5597fe0f64f2 - std[9e526e5d2625d691]::io::default_write_fmt::<std[9e526e5d2625d691]::sys::stdio::unix::Stderr>
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:621:11
[INFO] [stderr]    7:     0x5597fe0f64f2 - <std[9e526e5d2625d691]::sys::stdio::unix::Stderr as std[9e526e5d2625d691]::io::Write>::write_fmt
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/io/mod.rs:1976:13
[INFO] [stderr]    8:     0x5597fe0cf32f - <std[9e526e5d2625d691]::sys::backtrace::BacktraceLock>::print
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:47:9
[INFO] [stderr]    9:     0x5597fe0cf32f - std[9e526e5d2625d691]::panicking::default_hook::{closure#0}
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:292:27
[INFO] [stderr]   10:     0x5597fe0e8871 - std[9e526e5d2625d691]::panicking::default_hook
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:319:9
[INFO] [stderr]   11:     0x5597fe01f20c - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stderr]   12:     0x5597fe01f20c - test[9f9470c00e36cb47]::test_main_with_exit_callback::<test[9f9470c00e36cb47]::test_main::{closure#0}>::{closure#0}
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:145:21
[INFO] [stderr]   13:     0x5597fe0e8a62 - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn for<'a, 'b> core[1a00ee6b329519b]::ops::function::Fn<(&'a std[9e526e5d2625d691]::panic::PanicHookInfo<'b>,), Output = ()> + core[1a00ee6b329519b]::marker::Sync + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::Fn<(&std[9e526e5d2625d691]::panic::PanicHookInfo,)>>::call
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2263:9
[INFO] [stderr]   14:     0x5597fe0e8a62 - std[9e526e5d2625d691]::panicking::panic_with_hook
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:833:13
[INFO] [stderr]   15:     0x5597fe0cf41a - std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:691:13
[INFO] [stderr]   16:     0x5597fe0c6a29 - std[9e526e5d2625d691]::sys::backtrace::__rust_end_short_backtrace::<std[9e526e5d2625d691]::panicking::panic_handler::{closure#0}, !>
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:182:18
[INFO] [stderr]   17:     0x5597fe0d019d - __rustc[e5a86a241779e8d0]::rust_begin_unwind
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:689:5
[INFO] [stderr]   18:     0x5597fe107b8d - core[1a00ee6b329519b]::panicking::panic_nounwind_fmt::runtime
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:122:22
[INFO] [stderr]   19:     0x5597fe107b8d - core[1a00ee6b329519b]::panicking::panic_nounwind_fmt
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/intrinsics/mod.rs:2448:9
[INFO] [stderr]   20:     0x5597fe107cd7 - core[1a00ee6b329519b]::panicking::panic_null_pointer_dereference
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panicking.rs:302:5
[INFO] [stderr]   21:     0x5597fdd90243 - ledger_rs_lib::amount::Amount::inverse::h7d44fd32dad82b76
[INFO] [stderr]                                at /opt/rustwide/workdir/src/amount.rs:86:49
[INFO] [stderr]   22:     0x5597fddaeb9a - ledger_rs_lib::xact::finalize::hebd0630341cfc25c
[INFO] [stderr]                                at /opt/rustwide/workdir/src/xact.rs:264:21
[INFO] [stderr]   23:     0x5597fddb03b8 - ledger_rs_lib::parser::Parser<T>::xact_directive::ha283682b4b7d3dff
[INFO] [stderr]                                at /opt/rustwide/workdir/src/parser.rs:320:9
[INFO] [stderr]   24:     0x5597fddb1278 - ledger_rs_lib::parser::Parser<T>::read_next_directive::h2980eb9d60f0debf
[INFO] [stderr]                                at /opt/rustwide/workdir/src/parser.rs:162:30
[INFO] [stderr]   25:     0x5597fddb1a55 - ledger_rs_lib::parser::Parser<T>::parse::h88b42288c3f14c18
[INFO] [stderr]                                at /opt/rustwide/workdir/src/parser.rs:122:32
[INFO] [stderr]   26:     0x5597fddb1ddf - ledger_rs_lib::parser::read_into_journal::he43e3d412dd7d965
[INFO] [stderr]                                at /opt/rustwide/workdir/src/parser.rs:45:12
[INFO] [stderr]   27:     0x5597fdd9ed08 - ledger_rs_lib::parse_text::hdd78eea6607bbaf0
[INFO] [stderr]                                at /opt/rustwide/workdir/src/lib.rs:154:5
[INFO] [stderr]   28:     0x5597fddcf109 - ledger_rs_lib::account::tests::test_parent_pointers::test_impl::h7d2d5e4b2f98c4cf
[INFO] [stderr]                                at /opt/rustwide/workdir/src/account.rs:368:9
[INFO] [stderr]   29:     0x5597fddcefeb - ledger_rs_lib::account::tests::test_parent_pointers::h497cfedb925387b5
[INFO] [stderr]                                at /opt/rustwide/workdir/src/account.rs:360:5
[INFO] [stderr]   30:     0x5597fddcf007 - ledger_rs_lib::account::tests::test_parent_pointers::{{closure}}::h6f7fd19b1836eb60
[INFO] [stderr]                                at /opt/rustwide/workdir/src/account.rs:360:22
[INFO] [stderr]   31:     0x5597fddbb906 - core::ops::function::FnOnce::call_once::h3138f76fe8ca1df9
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stderr]   32:     0x5597fe01330b - <fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stderr]   33:     0x5597fe01330b - test[9f9470c00e36cb47]::__rust_begin_short_backtrace::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, fn() -> core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:663:18
[INFO] [stderr]   34:     0x5597fe01fcdb - test[9f9470c00e36cb47]::run_test_in_process::{closure#0}
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:74
[INFO] [stderr]   35:     0x5597fe01fcdb - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr]   36:     0x5597fe01fcdb - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stderr]   37:     0x5597fe01fcdb - std[9e526e5d2625d691]::panicking::catch_unwind::<core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>, core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>>
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stderr]   38:     0x5597fe01fcdb - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<test[9f9470c00e36cb47]::run_test_in_process::{closure#0}>, core[1a00ee6b329519b]::result::Result<(), alloc[dbd31e1fafb9eda0]::string::String>>
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stderr]   39:     0x5597fe01fcdb - test[9f9470c00e36cb47]::run_test_in_process
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:686:27
[INFO] [stderr]   40:     0x5597fe01fcdb - test[9f9470c00e36cb47]::run_test::{closure#0}
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:607:43
[INFO] [stderr]   41:     0x5597fe01b3f4 - test[9f9470c00e36cb47]::run_test::{closure#1}
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/test/src/lib.rs:637:41
[INFO] [stderr]   42:     0x5597fe01b3f4 - std[9e526e5d2625d691]::sys::backtrace::__rust_begin_short_backtrace::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/backtrace.rs:166:18
[INFO] [stderr]   43:     0x5597fe0228e2 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stderr]   44:     0x5597fe0228e2 - <core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stderr]   45:     0x5597fe0228e2 - std[9e526e5d2625d691]::panicking::catch_unwind::do_call::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:581:40
[INFO] [stderr]   46:     0x5597fe0228e2 - std[9e526e5d2625d691]::panicking::catch_unwind::<(), core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panicking.rs:544:19
[INFO] [stderr]   47:     0x5597fe0228e2 - std[9e526e5d2625d691]::panic::catch_unwind::<core[1a00ee6b329519b]::panic::unwind_safe::AssertUnwindSafe<std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/panic.rs:359:14
[INFO] [stderr]   48:     0x5597fe0228e2 - std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked::<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stderr]   49:     0x5597fe0228e2 - <std[9e526e5d2625d691]::thread::lifecycle::spawn_unchecked<test[9f9470c00e36cb47]::run_test::{closure#1}, ()>::{closure#1} as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/core/src/ops/function.rs:250:5
[INFO] [stderr]   50:     0x5597fe0f005f - <alloc[dbd31e1fafb9eda0]::boxed::Box<dyn core[1a00ee6b329519b]::ops::function::FnOnce<(), Output = ()> + core[1a00ee6b329519b]::marker::Send> as core[1a00ee6b329519b]::ops::function::FnOnce<()>>::call_once
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/alloc/src/boxed.rs:2249:9
[INFO] [stderr]   51:     0x5597fe0f005f - <std[9e526e5d2625d691]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stderr]                                at /rustc/a81575442ba3d72e542647658b7412bf49adaf3d/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stderr]   52:     0x751e05493aa4 - <unknown>
[INFO] [stderr]   53:     0x751e05520a64 - clone
[INFO] [stderr]   54:                0x0 - <unknown>
[INFO] [stderr] thread caused non-unwinding panic. aborting.
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/deps/ledger_rs_lib-32c9823ee5b32686` (signal: 6, SIGABRT: process abort signal)
[INFO] running `Command { std: "docker" "inspect" "0da5088fad800f9ffd649ebc3ae842f2dd14e05e4b20538806c02b29723181c3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0da5088fad800f9ffd649ebc3ae842f2dd14e05e4b20538806c02b29723181c3", kill_on_drop: false }`
[INFO] [stdout] 0da5088fad800f9ffd649ebc3ae842f2dd14e05e4b20538806c02b29723181c3
