[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#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjackthecodemonkey%2Fsimple-bank-console-app" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jackthecodemonkey/simple-bank-console-app on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", 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/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" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7598d3fd4a1d64770b1e586401543d58a8f909439b38519dc643cf8222bf4017 [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" "7598d3fd4a1d64770b1e586401543d58a8f909439b38519dc643cf8222bf4017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7598d3fd4a1d64770b1e586401543d58a8f909439b38519dc643cf8222bf4017", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7598d3fd4a1d64770b1e586401543d58a8f909439b38519dc643cf8222bf4017", kill_on_drop: false }` [INFO] [stdout] 7598d3fd4a1d64770b1e586401543d58a8f909439b38519dc643cf8222bf4017 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73843eda53c741d9a76cdbed36340ac2c095038948134ca7c8d1cc85b6a51456 [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" "73843eda53c741d9a76cdbed36340ac2c095038948134ca7c8d1cc85b6a51456", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking ucd-util v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking aho-corasick v0.6.10 [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] Compiling quote v1.0.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking regex v0.2.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: 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: 15 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: 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: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 13s [INFO] running `Command { std: "docker" "inspect" "73843eda53c741d9a76cdbed36340ac2c095038948134ca7c8d1cc85b6a51456", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73843eda53c741d9a76cdbed36340ac2c095038948134ca7c8d1cc85b6a51456", kill_on_drop: false }` [INFO] [stdout] 73843eda53c741d9a76cdbed36340ac2c095038948134ca7c8d1cc85b6a51456