[INFO] cloning repository https://github.com/jackthecodemonkey/simple-bank-console-app
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jackthecodemonkey/simple-bank-console-app" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackthecodemonkey%2Fsimple-bank-console-app", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackthecodemonkey%2Fsimple-bank-console-app'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3abb71a9f141ccce525ce2c8cad9e7c85ec75ce0
[INFO] checking jackthecodemonkey/simple-bank-console-app against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackthecodemonkey%2Fsimple-bank-console-app" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/jackthecodemonkey/simple-bank-console-app on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/jackthecodemonkey/simple-bank-console-app
[INFO] finished tweaking git repo https://github.com/jackthecodemonkey/simple-bank-console-app
[INFO] tweaked toml for git repo https://github.com/jackthecodemonkey/simple-bank-console-app written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/jackthecodemonkey/simple-bank-console-app 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7803b0f3185e158882f533f5a1e056b1e02d9c0d2bbe76c95d338d67bfad2d43
[INFO] running `Command { std: "docker" "start" "-a" "7803b0f3185e158882f533f5a1e056b1e02d9c0d2bbe76c95d338d67bfad2d43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7803b0f3185e158882f533f5a1e056b1e02d9c0d2bbe76c95d338d67bfad2d43", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7803b0f3185e158882f533f5a1e056b1e02d9c0d2bbe76c95d338d67bfad2d43", kill_on_drop: false }`
[INFO] [stdout] 7803b0f3185e158882f533f5a1e056b1e02d9c0d2bbe76c95d338d67bfad2d43
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6dfd5a8e022701305dfa52d601bd97fc3256b47515478214d19f42ef7b6a3da8
[INFO] running `Command { std: "docker" "start" "-a" "6dfd5a8e022701305dfa52d601bd97fc3256b47515478214d19f42ef7b6a3da8", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.10
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling libc v0.2.69
[INFO] [stderr]    Compiling syn v1.0.18
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking ucd-util v0.1.8
[INFO] [stderr]    Compiling pq-sys v0.4.6
[INFO] [stderr]    Compiling regex v0.2.11
[INFO] [stderr]     Checking utf8-ranges v1.0.4
[INFO] [stderr]     Checking thread_local v0.3.6
[INFO] [stderr]     Checking regex-syntax v0.5.6
[INFO] [stderr]    Compiling num-traits v0.2.11
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking aho-corasick v0.6.10
[INFO] [stderr]    Compiling quote v1.0.3
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking dotenv v0.9.0
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]     Checking diesel v1.4.4
[INFO] [stderr]     Checking price_calculator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `Transaction_type` should have an upper camel case name
[INFO] [stdout]  --> src/models/Transaction_type.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Transaction_type {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TransactionType`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `file_context` should have an upper camel case name
[INFO] [stdout]  --> src/models/file_context.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct file_context<'a> {
[INFO] [stdout]   |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FileContext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `commands` should have an upper camel case name
[INFO] [stdout]  --> src/models/commands.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct commands {
[INFO] [stdout]   |            ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `bank_service_trait` should have an upper camel case name
[INFO] [stdout]  --> src/traits/BankServiceTrait.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait bank_service_trait {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BankServiceTrait`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `Transaction_type` should have an upper camel case name
[INFO] [stdout]  --> src/models/Transaction_type.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum Transaction_type {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `TransactionType`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `file_context` should have an upper camel case name
[INFO] [stdout]  --> src/models/file_context.rs:6:12
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct file_context<'a> {
[INFO] [stdout]   |            ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FileContext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `commands` should have an upper camel case name
[INFO] [stdout]  --> src/models/commands.rs:4:12
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct commands {
[INFO] [stdout]   |            ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `bank_service_trait` should have an upper camel case name
[INFO] [stdout]  --> src/traits/BankServiceTrait.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait bank_service_trait {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BankServiceTrait`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/services/FileDBImpl/bank_service_impl.rs:44:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 if let Err(e) = write!(self.context.open_options, "{}", csv_account.as_str()) {
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `add_account` is never used
[INFO] [stdout]   --> src/models/accounts_model.rs:29:12
[INFO] [stdout]    |
[INFO] [stdout] 9  | impl Accounts {
[INFO] [stdout]    | ------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub fn add_account(&mut self, account: Account) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Transaction_type` should have a snake case name
[INFO] [stdout]  --> src/models.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod Transaction_type;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_type`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/models/accounts_model.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         &self.accounts.push(account);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let _ = &self.accounts.push(account);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `BankService` should have a snake case name
[INFO] [stdout]  --> src/services.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod BankService;
[INFO] [stdout]   |         ^^^^^^^^^^^ help: convert the identifier to snake case: `bank_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `SQLContext` should have a snake case name
[INFO] [stdout]  --> src/services.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod SQLContext;
[INFO] [stdout]   |         ^^^^^^^^^^ help: convert the identifier to snake case: `sqlcontext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `FileDBContext` should have a snake case name
[INFO] [stdout]  --> src/services.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub mod FileDBContext;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_dbcontext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `FileDBImpl` should have a snake case name
[INFO] [stdout]  --> src/services.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod FileDBImpl;
[INFO] [stdout]   |         ^^^^^^^^^^ help: convert the identifier to snake case: `file_dbimpl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `FileTransactionImpl` should have a snake case name
[INFO] [stdout]  --> src/services/FileDBImpl/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod FileTransactionImpl;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_transaction_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `BankServiceTrait` should have a snake case name
[INFO] [stdout]  --> src/traits.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod BankServiceTrait;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bank_service_trait`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Transaction` should have a snake case name
[INFO] [stdout]  --> src/traits.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod Transaction;
[INFO] [stdout]   |         ^^^^^^^^^^^ help: convert the identifier to snake case: `transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `ValidateCommands` should have a snake case name
[INFO] [stdout]  --> src/traits.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub mod ValidateCommands;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `validate_commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]   --> src/services/FileDBImpl/bank_service_impl.rs:44:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |                 if let Err(e) = write!(self.context.open_options, "{}", csv_account.as_str()) {
[INFO] [stdout]    |                            ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 16 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Transaction_type` should have a snake case name
[INFO] [stdout]  --> src/models.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod Transaction_type;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `transaction_type`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused borrow that must be used
[INFO] [stdout]   --> src/models/accounts_model.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |         &self.accounts.push(account);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let _ = &self.accounts.push(account);
[INFO] [stdout]    |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `BankService` should have a snake case name
[INFO] [stdout]  --> src/services.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod BankService;
[INFO] [stdout]   |         ^^^^^^^^^^^ help: convert the identifier to snake case: `bank_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `SQLContext` should have a snake case name
[INFO] [stdout]  --> src/services.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod SQLContext;
[INFO] [stdout]   |         ^^^^^^^^^^ help: convert the identifier to snake case: `sqlcontext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `FileDBContext` should have a snake case name
[INFO] [stdout]  --> src/services.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub mod FileDBContext;
[INFO] [stdout]   |         ^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_dbcontext`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `FileDBImpl` should have a snake case name
[INFO] [stdout]  --> src/services.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub mod FileDBImpl;
[INFO] [stdout]   |         ^^^^^^^^^^ help: convert the identifier to snake case: `file_dbimpl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `FileTransactionImpl` should have a snake case name
[INFO] [stdout]  --> src/services/FileDBImpl/mod.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod FileTransactionImpl;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `file_transaction_impl`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `BankServiceTrait` should have a snake case name
[INFO] [stdout]  --> src/traits.rs:1:9
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub mod BankServiceTrait;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `bank_service_trait`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Transaction` should have a snake case name
[INFO] [stdout]  --> src/traits.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub mod Transaction;
[INFO] [stdout]   |         ^^^^^^^^^^^ help: convert the identifier to snake case: `transaction`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `ValidateCommands` should have a snake case name
[INFO] [stdout]  --> src/traits.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub mod ValidateCommands;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `validate_commands`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 15 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 10.90s
[INFO] running `Command { std: "docker" "inspect" "6dfd5a8e022701305dfa52d601bd97fc3256b47515478214d19f42ef7b6a3da8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6dfd5a8e022701305dfa52d601bd97fc3256b47515478214d19f42ef7b6a3da8", kill_on_drop: false }`
[INFO] [stdout] 6dfd5a8e022701305dfa52d601bd97fc3256b47515478214d19f42ef7b6a3da8
