[INFO] cloning repository https://github.com/Mateus-Franceschina/automatic-happiness [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mateus-Franceschina/automatic-happiness" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMateus-Franceschina%2Fautomatic-happiness", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMateus-Franceschina%2Fautomatic-happiness'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a895306bebc48cbc31db9c4251617d51f0730a58 [INFO] testing Mateus-Franceschina/automatic-happiness against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMateus-Franceschina%2Fautomatic-happiness" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mateus-Franceschina/automatic-happiness on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mateus-Franceschina/automatic-happiness [INFO] finished tweaking git repo https://github.com/Mateus-Franceschina/automatic-happiness [INFO] tweaked toml for git repo https://github.com/Mateus-Franceschina/automatic-happiness written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Mateus-Franceschina/automatic-happiness already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17e0d4856296385f362496d5afd289d09049bf0a3a5d42b0fa6426f13a28dc18 [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" "17e0d4856296385f362496d5afd289d09049bf0a3a5d42b0fa6426f13a28dc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17e0d4856296385f362496d5afd289d09049bf0a3a5d42b0fa6426f13a28dc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17e0d4856296385f362496d5afd289d09049bf0a3a5d42b0fa6426f13a28dc18", kill_on_drop: false }` [INFO] [stdout] 17e0d4856296385f362496d5afd289d09049bf0a3a5d42b0fa6426f13a28dc18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc81cd4927af90ab0c38516e2bdd2f92d3e1236f0512465e56363d2703de918a [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" "cc81cd4927af90ab0c38516e2bdd2f92d3e1236f0512465e56363d2703de918a", kill_on_drop: false }` [INFO] [stderr] Compiling crud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `my_vec` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut my_vec: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut my_vec: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ticker` [INFO] [stdout] --> src/model/stock.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ticker: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reasonToBuy` [INFO] [stdout] --> src/model/stock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | reasonToBuy: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `boughtPrice` [INFO] [stdout] --> src/model/stock.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | boughtPrice: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `soldPrice` [INFO] [stdout] --> src/model/stock.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | soldPrice: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `boughtAmmount` [INFO] [stdout] --> src/model/stock.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | boughtAmmount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `soldAmmount` [INFO] [stdout] --> src/model/stock.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | soldAmmount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/stock.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(&self) -> Stock { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ticker` [INFO] [stdout] --> src/model/stock.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_ticker(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_reasonToBuy` [INFO] [stdout] --> src/model/stock.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_reasonToBuy(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_boughtPrice` [INFO] [stdout] --> src/model/stock.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_boughtPrice(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_soldPrice` [INFO] [stdout] --> src/model/stock.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_soldPrice(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_boughtAmmount` [INFO] [stdout] --> src/model/stock.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_boughtAmmount(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_soldmmount` [INFO] [stdout] --> src/model/stock.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_soldmmount(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_ticker` [INFO] [stdout] --> src/model/stock.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn set_ticker(&mut self, ticker: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_reasonToBuy` [INFO] [stdout] --> src/model/stock.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn set_reasonToBuy(&mut self, reason: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_boughtPrice` [INFO] [stdout] --> src/model/stock.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_boughtPrice(&mut self, price: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_soldPrice` [INFO] [stdout] --> src/model/stock.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_soldPrice(&mut self, price: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_boughtAmmount` [INFO] [stdout] --> src/model/stock.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_boughtAmmount(&mut self, ammount: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_soldAmmount` [INFO] [stdout] --> src/model/stock.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn set_soldAmmount(&mut self, ammount: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reasonToBuy` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | reasonToBuy: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `reason_to_buy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `boughtPrice` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | boughtPrice: f32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `bought_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `soldPrice` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | soldPrice: f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `sold_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `boughtAmmount` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | boughtAmmount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `bought_ammount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `soldAmmount` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | soldAmmount: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `sold_ammount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_reasonToBuy` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_reasonToBuy(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_reason_to_buy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_boughtPrice` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_boughtPrice(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_bought_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_soldPrice` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_soldPrice(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_sold_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_boughtAmmount` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_boughtAmmount(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_bought_ammount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_reasonToBuy` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn set_reasonToBuy(&mut self, reason: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_reason_to_buy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_boughtPrice` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_boughtPrice(&mut self, price: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_bought_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_soldPrice` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_soldPrice(&mut self, price: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_sold_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_boughtAmmount` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_boughtAmmount(&mut self, ammount: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_bought_ammount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_soldAmmount` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn set_soldAmmount(&mut self, ammount: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_sold_ammount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.94s [INFO] running `Command { std: "docker" "inspect" "cc81cd4927af90ab0c38516e2bdd2f92d3e1236f0512465e56363d2703de918a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc81cd4927af90ab0c38516e2bdd2f92d3e1236f0512465e56363d2703de918a", kill_on_drop: false }` [INFO] [stdout] cc81cd4927af90ab0c38516e2bdd2f92d3e1236f0512465e56363d2703de918a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 661bd5eb65999d5383633c11317d92b9449b2181f281d14ad459084e41362e00 [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" "661bd5eb65999d5383633c11317d92b9449b2181f281d14ad459084e41362e00", kill_on_drop: false }` [INFO] [stderr] Compiling crud v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `my_vec` [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut my_vec: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_vec` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut my_vec: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `ticker` [INFO] [stdout] --> src/model/stock.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | ticker: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `reasonToBuy` [INFO] [stdout] --> src/model/stock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | reasonToBuy: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `boughtPrice` [INFO] [stdout] --> src/model/stock.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | boughtPrice: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `soldPrice` [INFO] [stdout] --> src/model/stock.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | soldPrice: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `boughtAmmount` [INFO] [stdout] --> src/model/stock.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | boughtAmmount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `soldAmmount` [INFO] [stdout] --> src/model/stock.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | soldAmmount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/model/stock.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new(&self) -> Stock { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_ticker` [INFO] [stdout] --> src/model/stock.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_ticker(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_reasonToBuy` [INFO] [stdout] --> src/model/stock.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_reasonToBuy(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_boughtPrice` [INFO] [stdout] --> src/model/stock.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_boughtPrice(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_soldPrice` [INFO] [stdout] --> src/model/stock.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_soldPrice(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_boughtAmmount` [INFO] [stdout] --> src/model/stock.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_boughtAmmount(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_soldmmount` [INFO] [stdout] --> src/model/stock.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn get_soldmmount(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_ticker` [INFO] [stdout] --> src/model/stock.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn set_ticker(&mut self, ticker: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_reasonToBuy` [INFO] [stdout] --> src/model/stock.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn set_reasonToBuy(&mut self, reason: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_boughtPrice` [INFO] [stdout] --> src/model/stock.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_boughtPrice(&mut self, price: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_soldPrice` [INFO] [stdout] --> src/model/stock.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_soldPrice(&mut self, price: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_boughtAmmount` [INFO] [stdout] --> src/model/stock.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_boughtAmmount(&mut self, ammount: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_soldAmmount` [INFO] [stdout] --> src/model/stock.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn set_soldAmmount(&mut self, ammount: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reasonToBuy` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | reasonToBuy: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `reason_to_buy` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `boughtPrice` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | boughtPrice: f32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `bought_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `soldPrice` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | soldPrice: f32, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `sold_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `boughtAmmount` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | boughtAmmount: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `bought_ammount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `soldAmmount` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | soldAmmount: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `sold_ammount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_reasonToBuy` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_reasonToBuy(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_reason_to_buy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_boughtPrice` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_boughtPrice(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_bought_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_soldPrice` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_soldPrice(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_sold_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_boughtAmmount` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_boughtAmmount(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_bought_ammount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_reasonToBuy` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn set_reasonToBuy(&mut self, reason: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_reason_to_buy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_boughtPrice` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn set_boughtPrice(&mut self, price: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_bought_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_soldPrice` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn set_soldPrice(&mut self, price: f32) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_sold_price` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_boughtAmmount` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn set_boughtAmmount(&mut self, ammount: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_bought_ammount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_soldAmmount` should have a snake case name [INFO] [stdout] --> src/model/stock.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn set_soldAmmount(&mut self, ammount: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_sold_ammount` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "661bd5eb65999d5383633c11317d92b9449b2181f281d14ad459084e41362e00", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "661bd5eb65999d5383633c11317d92b9449b2181f281d14ad459084e41362e00", kill_on_drop: false }` [INFO] [stdout] 661bd5eb65999d5383633c11317d92b9449b2181f281d14ad459084e41362e00 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 38ec65ce70c11f1ae64ca16518a7f52431ed6ee34df923388ed397dbfc714e31 [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" "38ec65ce70c11f1ae64ca16518a7f52431ed6ee34df923388ed397dbfc714e31", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused variable: `my_vec` [INFO] [stderr] --> src/main.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let mut my_vec: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_vec` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:9:9 [INFO] [stderr] | [INFO] [stderr] 9 | let mut my_vec: Vec = Vec::new(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `ticker` [INFO] [stderr] --> src/model/stock.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | ticker: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `reasonToBuy` [INFO] [stderr] --> src/model/stock.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | reasonToBuy: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `boughtPrice` [INFO] [stderr] --> src/model/stock.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | boughtPrice: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `soldPrice` [INFO] [stderr] --> src/model/stock.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | soldPrice: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `boughtAmmount` [INFO] [stderr] --> src/model/stock.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | boughtAmmount: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `soldAmmount` [INFO] [stderr] --> src/model/stock.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | soldAmmount: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/model/stock.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn new(&self) -> Stock { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_ticker` [INFO] [stderr] --> src/model/stock.rs:22:12 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn get_ticker(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_reasonToBuy` [INFO] [stderr] --> src/model/stock.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn get_reasonToBuy(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_boughtPrice` [INFO] [stderr] --> src/model/stock.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn get_boughtPrice(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_soldPrice` [INFO] [stderr] --> src/model/stock.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn get_soldPrice(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_boughtAmmount` [INFO] [stderr] --> src/model/stock.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn get_boughtAmmount(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_soldmmount` [INFO] [stderr] --> src/model/stock.rs:42:12 [INFO] [stderr] | [INFO] [stderr] 42 | pub fn get_soldmmount(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_ticker` [INFO] [stderr] --> src/model/stock.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn set_ticker(&mut self, ticker: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_reasonToBuy` [INFO] [stderr] --> src/model/stock.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn set_reasonToBuy(&mut self, reason: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_boughtPrice` [INFO] [stderr] --> src/model/stock.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn set_boughtPrice(&mut self, price: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_soldPrice` [INFO] [stderr] --> src/model/stock.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn set_soldPrice(&mut self, price: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_boughtAmmount` [INFO] [stderr] --> src/model/stock.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn set_boughtAmmount(&mut self, ammount: u32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `set_soldAmmount` [INFO] [stderr] --> src/model/stock.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn set_soldAmmount(&mut self, ammount: u32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `reasonToBuy` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | reasonToBuy: String, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `reason_to_buy` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `boughtPrice` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | boughtPrice: f32, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `bought_price` [INFO] [stderr] [INFO] [stderr] warning: structure field `soldPrice` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | soldPrice: f32, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `sold_price` [INFO] [stderr] [INFO] [stderr] warning: structure field `boughtAmmount` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | boughtAmmount: u32, [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `bought_ammount` [INFO] [stderr] [INFO] [stderr] warning: structure field `soldAmmount` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | soldAmmount: u32, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `sold_ammount` [INFO] [stderr] [INFO] [stderr] warning: method `get_reasonToBuy` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn get_reasonToBuy(&self) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_reason_to_buy` [INFO] [stderr] [INFO] [stderr] warning: method `get_boughtPrice` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn get_boughtPrice(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_bought_price` [INFO] [stderr] [INFO] [stderr] warning: method `get_soldPrice` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:34:12 [INFO] [stderr] | [INFO] [stderr] 34 | pub fn get_soldPrice(&self) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_sold_price` [INFO] [stderr] [INFO] [stderr] warning: method `get_boughtAmmount` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:38:12 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn get_boughtAmmount(&self) -> u32 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_bought_ammount` [INFO] [stderr] [INFO] [stderr] warning: method `set_reasonToBuy` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:50:12 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn set_reasonToBuy(&mut self, reason: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_reason_to_buy` [INFO] [stderr] [INFO] [stderr] warning: method `set_boughtPrice` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:54:12 [INFO] [stderr] | [INFO] [stderr] 54 | pub fn set_boughtPrice(&mut self, price: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_bought_price` [INFO] [stderr] [INFO] [stderr] warning: method `set_soldPrice` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:58:12 [INFO] [stderr] | [INFO] [stderr] 58 | pub fn set_soldPrice(&mut self, price: f32) { [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_sold_price` [INFO] [stderr] [INFO] [stderr] warning: method `set_boughtAmmount` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:62:12 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn set_boughtAmmount(&mut self, ammount: u32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_bought_ammount` [INFO] [stderr] [INFO] [stderr] warning: method `set_soldAmmount` should have a snake case name [INFO] [stderr] --> src/model/stock.rs:66:12 [INFO] [stderr] | [INFO] [stderr] 66 | pub fn set_soldAmmount(&mut self, ammount: u32) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_sold_ammount` [INFO] [stderr] [INFO] [stderr] warning: 35 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/crud-ab0d9b36d66644fd [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "38ec65ce70c11f1ae64ca16518a7f52431ed6ee34df923388ed397dbfc714e31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38ec65ce70c11f1ae64ca16518a7f52431ed6ee34df923388ed397dbfc714e31", kill_on_drop: false }` [INFO] [stdout] 38ec65ce70c11f1ae64ca16518a7f52431ed6ee34df923388ed397dbfc714e31