[INFO] cloning repository https://github.com/jdhirst/banksystem-rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jdhirst/banksystem-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdhirst%2Fbanksystem-rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdhirst%2Fbanksystem-rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc27046202a6869796c9fb2b899c8bb4f3d7a990
[INFO] testing jdhirst/banksystem-rs against 1.95.0 for beta-1.96-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjdhirst%2Fbanksystem-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/jdhirst/banksystem-rs
[INFO] finished tweaking git repo https://github.com/jdhirst/banksystem-rs
[INFO] tweaked toml for git repo https://github.com/jdhirst/banksystem-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/jdhirst/banksystem-rs on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/jdhirst/banksystem-rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.23
[INFO] [stderr]   Downloaded redox_syscall v0.5.12
[INFO] [stderr]   Downloaded tui v0.19.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4a5a2497a15659a9f0f5b33301da83bc3fe9b6c0956337715dcee03f47aba9cf
[INFO] running `Command { std: "docker" "start" "-a" "4a5a2497a15659a9f0f5b33301da83bc3fe9b6c0956337715dcee03f47aba9cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4a5a2497a15659a9f0f5b33301da83bc3fe9b6c0956337715dcee03f47aba9cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4a5a2497a15659a9f0f5b33301da83bc3fe9b6c0956337715dcee03f47aba9cf", kill_on_drop: false }`
[INFO] [stdout] 4a5a2497a15659a9f0f5b33301da83bc3fe9b6c0956337715dcee03f47aba9cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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.95.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e15c0e541fc36dcdba4182ca9cc9d5926b51515cf233c1f0126a6946ab4ce580
[INFO] running `Command { std: "docker" "start" "-a" "e15c0e541fc36dcdba4182ca9cc9d5926b51515cf233c1f0126a6946ab4ce580", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling tui v0.19.0
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling banksystem-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `StatusBar` is never constructed
[INFO] [stdout]  --> src/tui/widgets.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct StatusBar {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_message` are never used
[INFO] [stdout]   --> src/tui/widgets.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl StatusBar {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn set_message(&mut self, message: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tui/forms.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn render(&self, focused: bool) -> Spans {
[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] 60 |     pub fn render(&self, focused: bool) -> Spans<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `forms::FormField`
[INFO] [stdout]  --> src/tui/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use forms::FormField;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BankTui` is never constructed
[INFO] [stdout]  --> src/tui/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct BankTui {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `get_bank`, `get_bank_mut`, `set_screen`, and `get_screen` are never used
[INFO] [stdout]   --> src/tui/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl BankTui {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 15 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn run() -> std::io::Result<()> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn get_bank(&self) -> &Bank {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn get_bank_mut(&mut self) -> &mut Bank {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn set_screen(&mut self, screen: Screen) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn get_screen(&self) -> &Screen {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FormField` is never constructed
[INFO] [stdout]  --> src/tui/forms.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct FormField {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_validation`, `is_valid`, and `render` are never used
[INFO] [stdout]   --> src/tui/forms.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl FormField {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 38 |     pub fn new(label: &str, required: bool, max_length: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn with_validation(mut self, validation: Arc<dyn Fn(&str) -> bool + Send + Sync>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn render(&self, focused: bool) -> Spans {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Form` is never constructed
[INFO] [stdout]   --> src/tui/forms.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct Form {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/tui/forms.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl Form {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] 101 |     pub fn new(title: &str, fields: Vec<FormField>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn render<B: tui::backend::Backend>(
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn next_field(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn prev_field(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn input(&mut self, c: char) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn backspace(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn get_values(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StatusBar` is never constructed
[INFO] [stdout]  --> src/tui/widgets.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct StatusBar {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_message` are never used
[INFO] [stdout]   --> src/tui/widgets.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl StatusBar {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn set_message(&mut self, message: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Screen` is never used
[INFO] [stdout]   --> src/tui/screens.rs:92:10
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub enum Screen {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_tui` is never used
[INFO] [stdout]    --> src/tui/screens.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn run_tui(tui: &mut BankTui) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_terminal` is never used
[INFO] [stdout]    --> src/tui/screens.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn setup_terminal() -> io::Result<tui::Terminal<tui::backend::CrosstermBackend<io::Stdout>>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_customer_form` is never used
[INFO] [stdout]    --> src/tui/screens.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn create_customer_form() -> Form {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_account_form` is never used
[INFO] [stdout]    --> src/tui/screens.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn create_account_form() -> Form {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_screen` is never used
[INFO] [stdout]    --> src/tui/screens.rs:137:4
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn handle_screen<B: tui::backend::Backend>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_form_input` is never used
[INFO] [stdout]    --> src/tui/screens.rs:235:4
[INFO] [stdout]     |
[INFO] [stdout] 235 | fn handle_form_input<F, S>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_title` is never used
[INFO] [stdout]    --> src/tui/screens.rs:274:4
[INFO] [stdout]     |
[INFO] [stdout] 274 | fn render_title(screen: &Screen) -> Paragraph<'static> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_main_menu` is never used
[INFO] [stdout]    --> src/tui/screens.rs:293:4
[INFO] [stdout]     |
[INFO] [stdout] 293 | fn render_main_menu<B: tui::backend::Backend>(f: &mut tui::Frame<B>, area: Rect) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `centered_rect` is never used
[INFO] [stdout]    --> src/tui/screens.rs:310:4
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn centered_rect(percent_x: u16, percent_y: u16, r: Rect) -> Rect {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_customer_list` is never used
[INFO] [stdout]   --> src/tui/screens.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn render_customer_list<'a>(bank: &'a Bank) -> List<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_account_list` is never used
[INFO] [stdout]   --> src/tui/screens.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn render_account_list<'a>(bank: &'a Bank) -> List<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_account_details` is never used
[INFO] [stdout]   --> src/tui/screens.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn render_account_details<'a>(bank: &'a Bank, id: u64) -> Paragraph<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_transfer_form` is never used
[INFO] [stdout]   --> src/tui/screens.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn render_transfer_form<'a>() -> Paragraph<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tui/forms.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn render(&self, focused: bool) -> Spans {
[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] 60 |     pub fn render(&self, focused: bool) -> Spans<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.61s
[INFO] running `Command { std: "docker" "inspect" "e15c0e541fc36dcdba4182ca9cc9d5926b51515cf233c1f0126a6946ab4ce580", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e15c0e541fc36dcdba4182ca9cc9d5926b51515cf233c1f0126a6946ab4ce580", kill_on_drop: false }`
[INFO] [stdout] e15c0e541fc36dcdba4182ca9cc9d5926b51515cf233c1f0126a6946ab4ce580
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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.95.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ca79748415220db3df7e4deadf50adcdbc8a74308ca3bb79a3ab4596297e6405
[INFO] running `Command { std: "docker" "start" "-a" "ca79748415220db3df7e4deadf50adcdbc8a74308ca3bb79a3ab4596297e6405", kill_on_drop: false }`
[INFO] [stderr]    Compiling banksystem-rs v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: struct `StatusBar` is never constructed
[INFO] [stdout]  --> src/tui/widgets.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct StatusBar {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_message` are never used
[INFO] [stdout]   --> src/tui/widgets.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl StatusBar {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn set_message(&mut self, message: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tui/forms.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn render(&self, focused: bool) -> Spans {
[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] 60 |     pub fn render(&self, focused: bool) -> Spans<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `forms::FormField`
[INFO] [stdout]  --> src/tui/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use forms::FormField;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BankTui` is never constructed
[INFO] [stdout]  --> src/tui/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct BankTui {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `get_bank`, `get_bank_mut`, `set_screen`, and `get_screen` are never used
[INFO] [stdout]   --> src/tui/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl BankTui {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 15 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn run() -> std::io::Result<()> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn get_bank(&self) -> &Bank {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn get_bank_mut(&mut self) -> &mut Bank {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn set_screen(&mut self, screen: Screen) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn get_screen(&self) -> &Screen {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FormField` is never constructed
[INFO] [stdout]  --> src/tui/forms.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct FormField {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_validation`, `is_valid`, and `render` are never used
[INFO] [stdout]   --> src/tui/forms.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl FormField {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 38 |     pub fn new(label: &str, required: bool, max_length: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn with_validation(mut self, validation: Arc<dyn Fn(&str) -> bool + Send + Sync>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn render(&self, focused: bool) -> Spans {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Form` is never constructed
[INFO] [stdout]   --> src/tui/forms.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct Form {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/tui/forms.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl Form {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] 101 |     pub fn new(title: &str, fields: Vec<FormField>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn render<B: tui::backend::Backend>(
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn next_field(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn prev_field(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn input(&mut self, c: char) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn backspace(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn get_values(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StatusBar` is never constructed
[INFO] [stdout]  --> src/tui/widgets.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct StatusBar {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_message` are never used
[INFO] [stdout]   --> src/tui/widgets.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl StatusBar {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn set_message(&mut self, message: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Screen` is never used
[INFO] [stdout]   --> src/tui/screens.rs:92:10
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub enum Screen {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_tui` is never used
[INFO] [stdout]    --> src/tui/screens.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn run_tui(tui: &mut BankTui) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_terminal` is never used
[INFO] [stdout]    --> src/tui/screens.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn setup_terminal() -> io::Result<tui::Terminal<tui::backend::CrosstermBackend<io::Stdout>>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_customer_form` is never used
[INFO] [stdout]    --> src/tui/screens.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn create_customer_form() -> Form {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_account_form` is never used
[INFO] [stdout]    --> src/tui/screens.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn create_account_form() -> Form {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_screen` is never used
[INFO] [stdout]    --> src/tui/screens.rs:137:4
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn handle_screen<B: tui::backend::Backend>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_form_input` is never used
[INFO] [stdout]    --> src/tui/screens.rs:235:4
[INFO] [stdout]     |
[INFO] [stdout] 235 | fn handle_form_input<F, S>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_title` is never used
[INFO] [stdout]    --> src/tui/screens.rs:274:4
[INFO] [stdout]     |
[INFO] [stdout] 274 | fn render_title(screen: &Screen) -> Paragraph<'static> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_main_menu` is never used
[INFO] [stdout]    --> src/tui/screens.rs:293:4
[INFO] [stdout]     |
[INFO] [stdout] 293 | fn render_main_menu<B: tui::backend::Backend>(f: &mut tui::Frame<B>, area: Rect) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `centered_rect` is never used
[INFO] [stdout]    --> src/tui/screens.rs:310:4
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn centered_rect(percent_x: u16, percent_y: u16, r: Rect) -> Rect {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_customer_list` is never used
[INFO] [stdout]   --> src/tui/screens.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn render_customer_list<'a>(bank: &'a Bank) -> List<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_account_list` is never used
[INFO] [stdout]   --> src/tui/screens.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn render_account_list<'a>(bank: &'a Bank) -> List<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_account_details` is never used
[INFO] [stdout]   --> src/tui/screens.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn render_account_details<'a>(bank: &'a Bank, id: u64) -> Paragraph<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_transfer_form` is never used
[INFO] [stdout]   --> src/tui/screens.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn render_transfer_form<'a>() -> Paragraph<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tui/forms.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn render(&self, focused: bool) -> Spans {
[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] 60 |     pub fn render(&self, focused: bool) -> Spans<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Account`
[INFO] [stdout]  --> tests/bank_tests.rs:1:33
[INFO] [stdout]   |
[INFO] [stdout] 1 | use banksystem_rs::bank::{Bank, Account};
[INFO] [stdout]   |                                 ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `banksystem-rs` (test "customer_tests") due to 1 previous error; 2 warnings emitted
[INFO] [stdout] warning: unused variable: `checking_id`
[INFO] [stdout]   --> tests/customer_tests.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let checking_id = bank.create_account(customer_id, "Checking".to_string());
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checking_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `savings_id`
[INFO] [stdout]   --> tests/customer_tests.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let savings_id = bank.create_account(customer_id, "Savings".to_string());
[INFO] [stdout]    |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_savings_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `banksystem-rs` (test "bank_tests") due to 5 previous errors; 1 warning emitted
[INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/bank_tests.rs:6:19
[INFO] [stdout]    |
[INFO] [stdout]  6 |     let id = bank.create_account("Alice".to_string());
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^ ------------------- argument #1 of type `u64` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/bank/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn create_account(&mut self, customer_id: u64, account_type: String) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout]  6 |     let id = bank.create_account(/* u64 */, "Alice".to_string());
[INFO] [stdout]    |                                  ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/bank_tests.rs:16:19
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let id = bank.create_account("Bob".to_string());
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^ ----------------- argument #1 of type `u64` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/bank/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn create_account(&mut self, customer_id: u64, account_type: String) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let id = bank.create_account(/* u64 */, "Bob".to_string());
[INFO] [stdout]    |                                  ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0596]: cannot borrow `bank` as mutable, as it is not declared as mutable
[INFO] [stdout]   --> tests/customer_tests.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |     assert!(bank.get_customer_mut(999).is_none());
[INFO] [stdout]    |             ^^^^ cannot borrow as mutable
[INFO] [stdout]    |
[INFO] [stdout] help: consider changing this to be mutable
[INFO] [stdout]    |
[INFO] [stdout] 43 |     let mut bank = Bank::new();
[INFO] [stdout]    |         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0596`.
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/bank_tests.rs:25:19
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let id = bank.create_account("Carol".to_string());
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^ ------------------- argument #1 of type `u64` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/bank/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn create_account(&mut self, customer_id: u64, account_type: String) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let id = bank.create_account(/* u64 */, "Carol".to_string());
[INFO] [stdout]    |                                  ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/bank_tests.rs:39:20
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let id1 = bank.create_account("Dave".to_string());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ ------------------ argument #1 of type `u64` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/bank/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn create_account(&mut self, customer_id: u64, account_type: String) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let id1 = bank.create_account(/* u64 */, "Dave".to_string());
[INFO] [stdout]    |                                   ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied
[INFO] [stdout]   --> tests/bank_tests.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let id2 = bank.create_account("Eve".to_string());
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^ ----------------- argument #1 of type `u64` is missing
[INFO] [stdout]    |
[INFO] [stdout] note: method defined here
[INFO] [stdout]   --> src/bank/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn create_account(&mut self, customer_id: u64, account_type: String) -> u64 {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let id2 = bank.create_account(/* u64 */, "Eve".to_string());
[INFO] [stdout]    |                                   ++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `transaction_type` on type `Transaction`
[INFO] [stdout]   --> tests/transactions_tests.rs:20:27
[INFO] [stdout]    |
[INFO] [stdout] 20 |     assert_eq!(history[0].transaction_type, TransactionType::Deposit);
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `tx_type`, `amount`, `timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `transaction_type` on type `Transaction`
[INFO] [stdout]   --> tests/transactions_tests.rs:22:27
[INFO] [stdout]    |
[INFO] [stdout] 22 |     assert_eq!(history[1].transaction_type, TransactionType::Withdrawal);
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^^^ unknown field
[INFO] [stdout]    |
[INFO] [stdout]    = note: available fields are: `tx_type`, `amount`, `timestamp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0499]: cannot borrow `bank` as mutable more than once at a time
[INFO] [stdout]   --> tests/transactions_tests.rs:94:20
[INFO] [stdout]    |
[INFO] [stdout] 91 |     let account1 = bank.get_account_mut(account1_id).unwrap();
[INFO] [stdout]    |                    ---- first mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 94 |     let account2 = bank.get_account_mut(account2_id).unwrap();
[INFO] [stdout]    |                    ^^^^ second mutable borrow occurs here
[INFO] [stdout] ...
[INFO] [stdout] 97 |     let result = account1.transfer(150.0, account2);
[INFO] [stdout]    |                  -------- first borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0499, E0609.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0499`.
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `forms::FormField`
[INFO] [stdout]  --> src/tui/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use forms::FormField;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `banksystem-rs` (test "transactions_tests") due to 3 previous errors
[INFO] [stdout] warning: struct `StatusBar` is never constructed
[INFO] [stdout]  --> src/tui/widgets.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct StatusBar {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_message` are never used
[INFO] [stdout]   --> src/tui/widgets.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl StatusBar {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn set_message(&mut self, message: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tui/forms.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn render(&self, focused: bool) -> Spans {
[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] 60 |     pub fn render(&self, focused: bool) -> Spans<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BankTui` is never constructed
[INFO] [stdout]  --> src/tui/mod.rs:9:12
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub struct BankTui {
[INFO] [stdout]   |            ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `run`, `get_bank`, `get_bank_mut`, `set_screen`, and `get_screen` are never used
[INFO] [stdout]   --> src/tui/mod.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl BankTui {
[INFO] [stdout]    | ------------ associated items in this implementation
[INFO] [stdout] 15 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 22 |     pub fn run() -> std::io::Result<()> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 27 |     pub fn get_bank(&self) -> &Bank {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 31 |     pub fn get_bank_mut(&mut self) -> &mut Bank {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 35 |     pub fn set_screen(&mut self, screen: Screen) {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub fn get_screen(&self) -> &Screen {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `FormField` is never constructed
[INFO] [stdout]  --> src/tui/forms.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct FormField {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_validation`, `is_valid`, and `render` are never used
[INFO] [stdout]   --> src/tui/forms.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 37 | impl FormField {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout] 38 |     pub fn new(label: &str, required: bool, max_length: usize) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn with_validation(mut self, validation: Arc<dyn Fn(&str) -> bool + Send + Sync>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 60 |     pub fn render(&self, focused: bool) -> Spans {
[INFO] [stdout]    |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Form` is never constructed
[INFO] [stdout]   --> src/tui/forms.rs:76:12
[INFO] [stdout]    |
[INFO] [stdout] 76 | pub struct Form {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/tui/forms.rs:101:12
[INFO] [stdout]     |
[INFO] [stdout] 100 | impl Form {
[INFO] [stdout]     | --------- associated items in this implementation
[INFO] [stdout] 101 |     pub fn new(title: &str, fields: Vec<FormField>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub fn render<B: tui::backend::Backend>(
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 138 |     pub fn next_field(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub fn prev_field(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 150 |     pub fn input(&mut self, c: char) {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 157 |     pub fn backspace(&mut self) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     pub fn is_valid(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     pub fn get_values(&self) -> Vec<String> {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StatusBar` is never constructed
[INFO] [stdout]  --> src/tui/widgets.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct StatusBar {
[INFO] [stdout]   |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `set_message` are never used
[INFO] [stdout]   --> src/tui/widgets.rs:7:12
[INFO] [stdout]    |
[INFO] [stdout]  6 | impl StatusBar {
[INFO] [stdout]    | -------------- associated items in this implementation
[INFO] [stdout]  7 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 13 |     pub fn set_message(&mut self, message: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Screen` is never used
[INFO] [stdout]   --> src/tui/screens.rs:92:10
[INFO] [stdout]    |
[INFO] [stdout] 92 | pub enum Screen {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `run_tui` is never used
[INFO] [stdout]    --> src/tui/screens.rs:102:8
[INFO] [stdout]     |
[INFO] [stdout] 102 | pub fn run_tui(tui: &mut BankTui) -> io::Result<()> {
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `setup_terminal` is never used
[INFO] [stdout]    --> src/tui/screens.rs:112:4
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn setup_terminal() -> io::Result<tui::Terminal<tui::backend::CrosstermBackend<io::Stdout>>> {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_customer_form` is never used
[INFO] [stdout]    --> src/tui/screens.rs:118:4
[INFO] [stdout]     |
[INFO] [stdout] 118 | fn create_customer_form() -> Form {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_account_form` is never used
[INFO] [stdout]    --> src/tui/screens.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn create_account_form() -> Form {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_screen` is never used
[INFO] [stdout]    --> src/tui/screens.rs:137:4
[INFO] [stdout]     |
[INFO] [stdout] 137 | fn handle_screen<B: tui::backend::Backend>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `handle_form_input` is never used
[INFO] [stdout]    --> src/tui/screens.rs:235:4
[INFO] [stdout]     |
[INFO] [stdout] 235 | fn handle_form_input<F, S>(
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_title` is never used
[INFO] [stdout]    --> src/tui/screens.rs:274:4
[INFO] [stdout]     |
[INFO] [stdout] 274 | fn render_title(screen: &Screen) -> Paragraph<'static> {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_main_menu` is never used
[INFO] [stdout]    --> src/tui/screens.rs:293:4
[INFO] [stdout]     |
[INFO] [stdout] 293 | fn render_main_menu<B: tui::backend::Backend>(f: &mut tui::Frame<B>, area: Rect) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `centered_rect` is never used
[INFO] [stdout]    --> src/tui/screens.rs:310:4
[INFO] [stdout]     |
[INFO] [stdout] 310 | fn centered_rect(percent_x: u16, percent_y: u16, r: Rect) -> Rect {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_customer_list` is never used
[INFO] [stdout]   --> src/tui/screens.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn render_customer_list<'a>(bank: &'a Bank) -> List<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_account_list` is never used
[INFO] [stdout]   --> src/tui/screens.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub fn render_account_list<'a>(bank: &'a Bank) -> List<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_account_details` is never used
[INFO] [stdout]   --> src/tui/screens.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 |     pub fn render_account_details<'a>(bank: &'a Bank, id: u64) -> Paragraph<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `render_transfer_form` is never used
[INFO] [stdout]   --> src/tui/screens.rs:80:12
[INFO] [stdout]    |
[INFO] [stdout] 80 |     pub fn render_transfer_form<'a>() -> Paragraph<'a> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/tui/forms.rs:60:19
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn render(&self, focused: bool) -> Spans {
[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] 60 |     pub fn render(&self, focused: bool) -> Spans<'_> {
[INFO] [stdout]    |                                                 ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "ca79748415220db3df7e4deadf50adcdbc8a74308ca3bb79a3ab4596297e6405", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca79748415220db3df7e4deadf50adcdbc8a74308ca3bb79a3ab4596297e6405", kill_on_drop: false }`
[INFO] [stdout] ca79748415220db3df7e4deadf50adcdbc8a74308ca3bb79a3ab4596297e6405
