[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackthecodemonkey%2Fsimple-bank-console-app" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jackthecodemonkey/simple-bank-console-app on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-11/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded diesel v1.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ac4ac2b7b437d10c08f3bd2d59e36061203d5efbb9e5ef7562190e527317511 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3ac4ac2b7b437d10c08f3bd2d59e36061203d5efbb9e5ef7562190e527317511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ac4ac2b7b437d10c08f3bd2d59e36061203d5efbb9e5ef7562190e527317511", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ac4ac2b7b437d10c08f3bd2d59e36061203d5efbb9e5ef7562190e527317511", kill_on_drop: false }` [INFO] [stdout] 3ac4ac2b7b437d10c08f3bd2d59e36061203d5efbb9e5ef7562190e527317511 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1300da0d40695af678298977a2741f331b0209d3d69d3e5b9531318c5e9941a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "1300da0d40695af678298977a2741f331b0209d3d69d3e5b9531318c5e9941a0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pq-sys v0.4.6 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking regex v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dotenv v0.9.0 [INFO] [stderr] Checking chrono v0.4.11 [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: 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: 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: 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: associated function is never used: `add_account` [INFO] [stdout] --> src/models/accounts_model.rs:29:12 [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: 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: 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: 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] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "1300da0d40695af678298977a2741f331b0209d3d69d3e5b9531318c5e9941a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1300da0d40695af678298977a2741f331b0209d3d69d3e5b9531318c5e9941a0", kill_on_drop: false }` [INFO] [stdout] 1300da0d40695af678298977a2741f331b0209d3d69d3e5b9531318c5e9941a0