[INFO] cloning repository https://github.com/ledger-rs/ledger-parser-rewrite-1 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ledger-rs/ledger-parser-rewrite-1" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fledger-rs%2Fledger-parser-rewrite-1", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fledger-rs%2Fledger-parser-rewrite-1'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fac4a786707ae2c6aad13753c95830fb0d039564 [INFO] testing ledger-rs/ledger-parser-rewrite-1 against beta-2025-09-21 for beta-1.91-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fledger-rs%2Fledger-parser-rewrite-1" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ledger-rs/ledger-parser-rewrite-1 [INFO] finished tweaking git repo https://github.com/ledger-rs/ledger-parser-rewrite-1 [INFO] tweaked toml for git repo https://github.com/ledger-rs/ledger-parser-rewrite-1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ledger-rs/ledger-parser-rewrite-1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ledger-rs/ledger-parser-rewrite-1 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6064285f684f8c653f2ea74c4123d4b130b28029b349aca368ef9778e603748b [INFO] running `Command { std: "docker" "start" "-a" "6064285f684f8c653f2ea74c4123d4b130b28029b349aca368ef9778e603748b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6064285f684f8c653f2ea74c4123d4b130b28029b349aca368ef9778e603748b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6064285f684f8c653f2ea74c4123d4b130b28029b349aca368ef9778e603748b", kill_on_drop: false }` [INFO] [stdout] 6064285f684f8c653f2ea74c4123d4b130b28029b349aca368ef9778e603748b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 469b495ca14fb6158a8b2e233825a20f41802d20be5827cc94d6112bb84b309b [INFO] running `Command { std: "docker" "start" "-a" "469b495ca14fb6158a8b2e233825a20f41802d20be5827cc94d6112bb84b309b", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling ledger-parser-rewrite-1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/journal.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut count: usize = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_LINE` [INFO] [stdout] | [INFO] [stdout] 43 - let mut count: usize = 0; [INFO] [stdout] 43 + let mut context::MAX_LINE: usize = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/journal.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let current: ParseContextT; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/journal.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | count = read_textual(context); [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: variable `xact_count` is assigned to, but never used [INFO] [stdout] --> src/session.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut xact_count = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_xact_count` instead [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_LINE` [INFO] [stdout] | [INFO] [stdout] 58 - let mut xact_count = 0; [INFO] [stdout] 58 + let mut context::MAX_LINE = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acct` [INFO] [stdout] --> src/session.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let acct: AccountT; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_acct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pathname` [INFO] [stdout] --> src/session.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | for pathname in &self.data_files { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pathname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `master_account` [INFO] [stdout] --> src/session.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn read_data(&self, master_account: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_master_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent`, `name`, `note`, `depth`, `accounts`, and `full_name` are never read [INFO] [stdout] --> src/account.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AccountT<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | // account_t * parent; [INFO] [stdout] 8 | parent: Option<&'a AccountT<'a>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | // string name; [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | // optional note; [INFO] [stdout] 12 | note: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | // unsigned short depth; [INFO] [stdout] 14 | depth: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | // accounts_map accounts; [INFO] [stdout] 16 | accounts: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | full_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LINE` is never used [INFO] [stdout] --> src/context.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MAX_LINE: usize = 4096; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pathname`, `current_directory`, and `journal` are never read [INFO] [stdout] --> src/context.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ParseContextT<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pathname: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | // path current_directory; [INFO] [stdout] 20 | current_directory: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | // journal_t * journal; [INFO] [stdout] 22 | journal: JournalT<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `show_version_info` is never used [INFO] [stdout] --> src/global.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl GlobalScopeT<'_> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn show_version_info() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/journal.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct JournalT<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | master: Box>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | bucket: Option>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | was_loaded: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | check_payees: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | day_break: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | recursive_aliases: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | no_aliases: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | current_context: Option<&'a ParseContextT<'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScopeT` is never constructed [INFO] [stdout] --> src/scope.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct ScopeT {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context_stack` and `context` are never read [INFO] [stdout] --> src/textual.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct InstanceT<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | // parse_context_stack_t& context_stack; [INFO] [stdout] 10 | context_stack: &'a ParseContextStackT<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | // parse_context_t& context; [INFO] [stdout] 12 | context: &'a ParseContextT<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `description` is never used [INFO] [stdout] --> src/textual.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> InstanceT<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub(crate) fn description() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_current(&self) -> &ParseContextT { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_current(&self) -> &ParseContextT<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/global.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn session(&self) -> &SessionT { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] 21 | pub fn session(&self) -> &SessionT<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/session.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn read_journal_files(&self) -> JournalT { [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] 33 | pub fn read_journal_files(&self) -> JournalT<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `status` is assigned to, but never used [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut status = 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_status` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `status` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | status = 0; [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "469b495ca14fb6158a8b2e233825a20f41802d20be5827cc94d6112bb84b309b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "469b495ca14fb6158a8b2e233825a20f41802d20be5827cc94d6112bb84b309b", kill_on_drop: false }` [INFO] [stdout] 469b495ca14fb6158a8b2e233825a20f41802d20be5827cc94d6112bb84b309b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea37684d1161bd6ef3a18f4565d4d02127d2c27d2383c44c137712455b0c2f7c [INFO] running `Command { std: "docker" "start" "-a" "ea37684d1161bd6ef3a18f4565d4d02127d2c27d2383c44c137712455b0c2f7c", kill_on_drop: false }` [INFO] [stderr] Compiling ledger-parser-rewrite-1 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/journal.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut count: usize = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_LINE` [INFO] [stdout] | [INFO] [stdout] 43 - let mut count: usize = 0; [INFO] [stdout] 43 + let mut context::MAX_LINE: usize = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/journal.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let current: ParseContextT; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/journal.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | count = read_textual(context); [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: variable `xact_count` is assigned to, but never used [INFO] [stdout] --> src/session.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut xact_count = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_xact_count` instead [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_LINE` [INFO] [stdout] | [INFO] [stdout] 58 - let mut xact_count = 0; [INFO] [stdout] 58 + let mut context::MAX_LINE = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acct` [INFO] [stdout] --> src/session.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let acct: AccountT; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_acct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pathname` [INFO] [stdout] --> src/session.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | for pathname in &self.data_files { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pathname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `master_account` [INFO] [stdout] --> src/session.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn read_data(&self, master_account: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_master_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent`, `name`, `note`, `depth`, `accounts`, and `full_name` are never read [INFO] [stdout] --> src/account.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AccountT<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | // account_t * parent; [INFO] [stdout] 8 | parent: Option<&'a AccountT<'a>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | // string name; [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | // optional note; [INFO] [stdout] 12 | note: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | // unsigned short depth; [INFO] [stdout] 14 | depth: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | // accounts_map accounts; [INFO] [stdout] 16 | accounts: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | full_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LINE` is never used [INFO] [stdout] --> src/context.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MAX_LINE: usize = 4096; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pathname`, `current_directory`, and `journal` are never read [INFO] [stdout] --> src/context.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ParseContextT<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pathname: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | // path current_directory; [INFO] [stdout] 20 | current_directory: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | // journal_t * journal; [INFO] [stdout] 22 | journal: JournalT<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `show_version_info` is never used [INFO] [stdout] --> src/global.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl GlobalScopeT<'_> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn show_version_info() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/journal.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct JournalT<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | master: Box>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | bucket: Option>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | was_loaded: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | check_payees: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | day_break: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | recursive_aliases: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | no_aliases: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | current_context: Option<&'a ParseContextT<'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScopeT` is never constructed [INFO] [stdout] --> src/scope.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct ScopeT {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context_stack` and `context` are never read [INFO] [stdout] --> src/textual.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct InstanceT<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | // parse_context_stack_t& context_stack; [INFO] [stdout] 10 | context_stack: &'a ParseContextStackT<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | // parse_context_t& context; [INFO] [stdout] 12 | context: &'a ParseContextT<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `description` is never used [INFO] [stdout] --> src/textual.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> InstanceT<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub(crate) fn description() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_current(&self) -> &ParseContextT { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_current(&self) -> &ParseContextT<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/global.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn session(&self) -> &SessionT { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] 21 | pub fn session(&self) -> &SessionT<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/session.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn read_journal_files(&self) -> JournalT { [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] 33 | pub fn read_journal_files(&self) -> JournalT<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `count` is assigned to, but never used [INFO] [stdout] --> src/journal.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut count: usize = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_count` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_LINE` [INFO] [stdout] | [INFO] [stdout] 43 - let mut count: usize = 0; [INFO] [stdout] 43 + let mut context::MAX_LINE: usize = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current` [INFO] [stdout] --> src/journal.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | let current: ParseContextT; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `count` is never read [INFO] [stdout] --> src/journal.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | count = read_textual(context); [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: variable `xact_count` is assigned to, but never used [INFO] [stdout] --> src/session.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut xact_count = 0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_xact_count` instead [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_LINE` [INFO] [stdout] | [INFO] [stdout] 58 - let mut xact_count = 0; [INFO] [stdout] 58 + let mut context::MAX_LINE = 0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `acct` [INFO] [stdout] --> src/session.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let acct: AccountT; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_acct` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pathname` [INFO] [stdout] --> src/session.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | for pathname in &self.data_files { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pathname` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `master_account` [INFO] [stdout] --> src/session.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn read_data(&self, master_account: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_master_account` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent`, `name`, `note`, `depth`, `accounts`, and `full_name` are never read [INFO] [stdout] --> src/account.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AccountT<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | // account_t * parent; [INFO] [stdout] 8 | parent: Option<&'a AccountT<'a>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | // string name; [INFO] [stdout] 10 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | // optional note; [INFO] [stdout] 12 | note: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | // unsigned short depth; [INFO] [stdout] 14 | depth: u16, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | // accounts_map accounts; [INFO] [stdout] 16 | accounts: HashMap>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | full_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_LINE` is never used [INFO] [stdout] --> src/context.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const MAX_LINE: usize = 4096; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pathname`, `current_directory`, and `journal` are never read [INFO] [stdout] --> src/context.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct ParseContextT<'a> { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pathname: PathBuf, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 19 | // path current_directory; [INFO] [stdout] 20 | current_directory: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | // journal_t * journal; [INFO] [stdout] 22 | journal: JournalT<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `show_version_info` is never used [INFO] [stdout] --> src/global.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl GlobalScopeT<'_> { [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn show_version_info() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/journal.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct JournalT<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 13 | master: Box>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | bucket: Option>>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | was_loaded: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 19 | check_payees: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 20 | day_break: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | recursive_aliases: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | no_aliases: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | [INFO] [stdout] 24 | current_context: Option<&'a ParseContextT<'a>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScopeT` is never constructed [INFO] [stdout] --> src/scope.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct ScopeT {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `context_stack` and `context` are never read [INFO] [stdout] --> src/textual.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct InstanceT<'a> { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | // parse_context_stack_t& context_stack; [INFO] [stdout] 10 | context_stack: &'a ParseContextStackT<'a>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 11 | // parse_context_t& context; [INFO] [stdout] 12 | context: &'a ParseContextT<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `description` is never used [INFO] [stdout] --> src/textual.rs:100:19 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'a> InstanceT<'a> { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub(crate) fn description() -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/context.rs:47:24 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_current(&self) -> &ParseContextT { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 47 | pub fn get_current(&self) -> &ParseContextT<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/global.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn session(&self) -> &SessionT { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided 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] 21 | pub fn session(&self) -> &SessionT<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/session.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn read_journal_files(&self) -> JournalT { [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] 33 | pub fn read_journal_files(&self) -> JournalT<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `status` is assigned to, but never used [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut status = 1; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_status` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `status` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | status = 0; [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.53s [INFO] running `Command { std: "docker" "inspect" "ea37684d1161bd6ef3a18f4565d4d02127d2c27d2383c44c137712455b0c2f7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea37684d1161bd6ef3a18f4565d4d02127d2c27d2383c44c137712455b0c2f7c", kill_on_drop: false }` [INFO] [stdout] ea37684d1161bd6ef3a18f4565d4d02127d2c27d2383c44c137712455b0c2f7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c436d332c74e8ad58854401c5d665d8a851b8e9e399ff6af3b555f34c9214b1b [INFO] running `Command { std: "docker" "start" "-a" "c436d332c74e8ad58854401c5d665d8a851b8e9e399ff6af3b555f34c9214b1b", kill_on_drop: false }` [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] warning: variable `count` is assigned to, but never used [INFO] [stderr] --> src/journal.rs:43:17 [INFO] [stderr] | [INFO] [stderr] 43 | let mut count: usize = 0; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_count` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `MAX_LINE` [INFO] [stderr] | [INFO] [stderr] 43 - let mut count: usize = 0; [INFO] [stderr] 43 + let mut context::MAX_LINE: usize = 0; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `current` [INFO] [stderr] --> src/journal.rs:46:13 [INFO] [stderr] | [INFO] [stderr] 46 | let current: ParseContextT; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `count` is never read [INFO] [stderr] --> src/journal.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | count = read_textual(context); [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: variable `xact_count` is assigned to, but never used [INFO] [stderr] --> src/session.rs:58:17 [INFO] [stderr] | [INFO] [stderr] 58 | let mut xact_count = 0; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_xact_count` instead [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `MAX_LINE` [INFO] [stderr] | [INFO] [stderr] 58 - let mut xact_count = 0; [INFO] [stderr] 58 + let mut context::MAX_LINE = 0; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `acct` [INFO] [stderr] --> src/session.rs:60:13 [INFO] [stderr] | [INFO] [stderr] 60 | let acct: AccountT; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_acct` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `pathname` [INFO] [stderr] --> src/session.rs:69:13 [INFO] [stderr] | [INFO] [stderr] 69 | for pathname in &self.data_files { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pathname` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `master_account` [INFO] [stderr] --> src/session.rs:51:29 [INFO] [stderr] | [INFO] [stderr] 51 | pub fn read_data(&self, master_account: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_master_account` [INFO] [stderr] [INFO] [stderr] warning: fields `parent`, `name`, `note`, `depth`, `accounts`, and `full_name` are never read [INFO] [stderr] --> src/account.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct AccountT<'a> { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 7 | // account_t * parent; [INFO] [stderr] 8 | parent: Option<&'a AccountT<'a>>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 9 | // string name; [INFO] [stderr] 10 | name: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] 11 | // optional note; [INFO] [stderr] 12 | note: Option, [INFO] [stderr] | ^^^^ [INFO] [stderr] 13 | // unsigned short depth; [INFO] [stderr] 14 | depth: u16, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 15 | // accounts_map accounts; [INFO] [stderr] 16 | accounts: HashMap>, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 23 | full_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_LINE` is never used [INFO] [stderr] --> src/context.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | const MAX_LINE: usize = 4096; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `pathname`, `current_directory`, and `journal` are never read [INFO] [stderr] --> src/context.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct ParseContextT<'a> { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 18 | pathname: PathBuf, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 19 | // path current_directory; [INFO] [stderr] 20 | current_directory: PathBuf, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 21 | // journal_t * journal; [INFO] [stderr] 22 | journal: JournalT<'a>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `show_version_info` is never used [INFO] [stderr] --> src/global.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 14 | impl GlobalScopeT<'_> { [INFO] [stderr] | --------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 25 | fn show_version_info() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/journal.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct JournalT<'a> { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 13 | master: Box>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 14 | bucket: Option>>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | was_loaded: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 19 | check_payees: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 20 | day_break: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 21 | recursive_aliases: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 22 | no_aliases: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 23 | [INFO] [stderr] 24 | current_context: Option<&'a ParseContextT<'a>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ScopeT` is never constructed [INFO] [stderr] --> src/scope.rs:2:19 [INFO] [stderr] | [INFO] [stderr] 2 | pub(crate) struct ScopeT {} [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `context_stack` and `context` are never read [INFO] [stderr] --> src/textual.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 8 | pub(crate) struct InstanceT<'a> { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 9 | // parse_context_stack_t& context_stack; [INFO] [stderr] 10 | context_stack: &'a ParseContextStackT<'a>, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 11 | // parse_context_t& context; [INFO] [stderr] 12 | context: &'a ParseContextT<'a>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `description` is never used [INFO] [stderr] --> src/textual.rs:100:19 [INFO] [stderr] | [INFO] [stderr] 22 | impl<'a> InstanceT<'a> { [INFO] [stderr] | ---------------------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 100 | pub(crate) fn description() -> String { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/context.rs:47:24 [INFO] [stderr] | [INFO] [stderr] 47 | pub fn get_current(&self) -> &ParseContextT { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided 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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 47 | pub fn get_current(&self) -> &ParseContextT<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/global.rs:21:20 [INFO] [stderr] | [INFO] [stderr] 21 | pub fn session(&self) -> &SessionT { [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided 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] 21 | pub fn session(&self) -> &SessionT<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/session.rs:33:31 [INFO] [stderr] | [INFO] [stderr] 33 | pub fn read_journal_files(&self) -> JournalT { [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] 33 | pub fn read_journal_files(&self) -> JournalT<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `ledger-parser-rewrite-1` (lib) generated 18 warnings (run `cargo fix --lib -p ledger-parser-rewrite-1` to apply 5 suggestions) [INFO] [stderr] warning: variable `status` is assigned to, but never used [INFO] [stderr] --> src/main.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | let mut status = 1; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_status` instead [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `status` is never read [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | status = 0; [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: `ledger-parser-rewrite-1` (bin "ledger-parser-rewrite-1" test) generated 2 warnings [INFO] [stderr] warning: `ledger-parser-rewrite-1` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ledger_parser_rewrite_1-19c0928be2f0f14f) [INFO] [stdout] test journal::tests::test_read ... FAILED [INFO] [stdout] test journal::tests::test_read_textual ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- journal::tests::test_read stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'journal::tests::test_read' (16) panicked at src/journal.rs:95:9: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b1fea23baa2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b1fea23baa2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b1fea23baa2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b1fea23baa2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b1fea24bbcf - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b1fea24bbcf - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5b1fea209011 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b1fea209011 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5b1fea215072 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b1fea219bbf - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5b1fea219a51 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5b1fea1da61e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5b1fea1da61e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b1fea21a27f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5b1fea21a27f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5b1fea21a0a6 - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x5b1fea2151a9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5b1fea1fd4ed - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5b1fea253390 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5b1fea25336c - core::panicking::panic::h355c5fec13755e30 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x5b1fea1b88fa - ledger_parser_rewrite_1::journal::tests::test_read::hca3e72e5e0ab841d [INFO] [stdout] at /opt/rustwide/workdir/src/journal.rs:95:9 [INFO] [stdout] 21: 0x5b1fea1b8917 - ledger_parser_rewrite_1::journal::tests::test_read::{{closure}}::hf6535b45f80c49b8 [INFO] [stdout] at /opt/rustwide/workdir/src/journal.rs:94:19 [INFO] [stdout] 22: 0x5b1fea1b8a36 - core::ops::function::FnOnce::call_once::h449ccbc3e0a52e99 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5b1fea1da3db - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5b1fea1da3db - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x5b1fea1f0045 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x5b1fea1f0045 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x5b1fea1f0045 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5b1fea1f0045 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5b1fea1f0045 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5b1fea1f0045 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x5b1fea1f0045 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x5b1fea1c6834 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x5b1fea1c6834 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x5b1fea1ca0fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x5b1fea1ca0fa - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x5b1fea1ca0fa - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x5b1fea1ca0fa - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x5b1fea1ca0fa - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5b1fea1ca0fa - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x5b1fea1ca0fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5b1fea21030f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 42: 0x5b1fea21030f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 43: 0x73f4b05c1aa4 - [INFO] [stdout] 44: 0x73f4b064ea34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- journal::tests::test_read_textual stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'journal::tests::test_read_textual' (17) panicked at src/journal.rs:100:9: [INFO] [stdout] not yet implemented [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5b1fea23baa2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5b1fea23baa2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5b1fea23baa2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5b1fea23baa2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5b1fea24bbcf - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5b1fea24bbcf - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5b1fea209011 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5b1fea209011 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5b1fea215072 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5b1fea219bbf - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5b1fea219a51 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5b1fea1da61e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x5b1fea1da61e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5b1fea21a27f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x5b1fea21a27f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5b1fea21a0a6 - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x5b1fea2151a9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5b1fea1fd4ed - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5b1fea253390 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5b1fea25336c - core::panicking::panic::h355c5fec13755e30 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x5b1fea1b88aa - ledger_parser_rewrite_1::journal::tests::test_read_textual::h3231e85f4164eba3 [INFO] [stdout] at /opt/rustwide/workdir/src/journal.rs:100:9 [INFO] [stdout] 21: 0x5b1fea1b88c7 - ledger_parser_rewrite_1::journal::tests::test_read_textual::{{closure}}::h778a65a18c5b5afa [INFO] [stdout] at /opt/rustwide/workdir/src/journal.rs:99:27 [INFO] [stdout] 22: 0x5b1fea1b8ab6 - core::ops::function::FnOnce::call_once::hc2d2804023f78dcb [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5b1fea1da3db - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5b1fea1da3db - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x5b1fea1f0045 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x5b1fea1f0045 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x5b1fea1f0045 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5b1fea1f0045 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5b1fea1f0045 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5b1fea1f0045 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x5b1fea1f0045 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x5b1fea1c6834 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x5b1fea1c6834 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x5b1fea1ca0fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x5b1fea1ca0fa - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x5b1fea1ca0fa - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x5b1fea1ca0fa - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x5b1fea1ca0fa - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x5b1fea1ca0fa - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x5b1fea1ca0fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5b1fea21030f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 42: 0x5b1fea21030f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 43: 0x73f4b05c1aa4 - [INFO] [stdout] 44: 0x73f4b064ea34 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] journal::tests::test_read [INFO] [stdout] journal::tests::test_read_textual [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "c436d332c74e8ad58854401c5d665d8a851b8e9e399ff6af3b555f34c9214b1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c436d332c74e8ad58854401c5d665d8a851b8e9e399ff6af3b555f34c9214b1b", kill_on_drop: false }` [INFO] [stdout] c436d332c74e8ad58854401c5d665d8a851b8e9e399ff6af3b555f34c9214b1b