[INFO] fetching crate rustDatabook 1.1.3... [INFO] checking rustDatabook-1.1.3 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate rustDatabook 1.1.3 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate rustDatabook 1.1.3 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rustDatabook 1.1.3 [INFO] finished tweaking crates.io crate rustDatabook 1.1.3 [INFO] tweaked toml for crates.io crate rustDatabook 1.1.3 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d926c5226c27be3e439e5e79fc971c6ed0151fca1aafeec2db595b9533cfeff2 [INFO] running `Command { std: "docker" "start" "-a" "d926c5226c27be3e439e5e79fc971c6ed0151fca1aafeec2db595b9533cfeff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d926c5226c27be3e439e5e79fc971c6ed0151fca1aafeec2db595b9533cfeff2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d926c5226c27be3e439e5e79fc971c6ed0151fca1aafeec2db595b9533cfeff2", kill_on_drop: false }` [INFO] [stdout] d926c5226c27be3e439e5e79fc971c6ed0151fca1aafeec2db595b9533cfeff2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3b41259b988f8dc8869252755007eefc14c3aa7a8a56772d0445e69953555ae0 [INFO] running `Command { std: "docker" "start" "-a" "3b41259b988f8dc8869252755007eefc14c3aa7a8a56772d0445e69953555ae0", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking openfile v1.1.0 [INFO] [stderr] Checking rustDatabook v1.1.3 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/rdbhandeling.rs (9 fixes) [INFO] [stdout] warning: type `dataBook` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct dataBook{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `DataBook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dataBook` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct dataBook{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `DataBook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/rdbhandeling.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/rdbhandeling.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rustDatabook` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_databook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rdbData` should have a snake case name [INFO] [stdout] --> src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn rdbData(name:&str) -> dataBook{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `rdb_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findValue` should have a snake case name [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn findValue(name: &str, xs: &dataBook,typ: &str) -> usize{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `find_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addData` should have a snake case name [INFO] [stdout] --> src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn addData(name:&str,newdata:&str){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeData` should have a snake case name [INFO] [stdout] --> src/lib.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn changeData(name:&str,newdata:&str,cname:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeData` should have a snake case name [INFO] [stdout] --> src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn removeData(name:&str,newdata:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NM` should have a snake case name [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub NM:Vec, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `nm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ND` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub ND:Vec, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `nd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `D` should have a snake case name [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub D:Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub M:Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub A:Vec>, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AN` should have a snake case name [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub AN:Vec [INFO] [stdout] | ^^ help: convert the identifier to snake case: `an` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `XX` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | let XX:dataBook = dataBook{ [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `xx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findValueB` should have a snake case name [INFO] [stdout] --> src/lib.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn findValueB(name: &str, xs: &dataBook,typ: &str) -> usize{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `find_value_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyValueToNew` should have a snake case name [INFO] [stdout] --> src/lib.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn copyValueToNew(name:&str,newName:&str, copyName:&str,xx: dataBook,typ:&str){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `copy_value_to_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newName` should have a snake case name [INFO] [stdout] --> src/lib.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn copyValueToNew(name:&str,newName:&str, copyName:&str,xx: dataBook,typ:&str){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `copyName` should have a snake case name [INFO] [stdout] --> src/lib.rs:69:47 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn copyValueToNew(name:&str,newName:&str, copyName:&str,xx: dataBook,typ:&str){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `copy_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_D` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn getVal_D(file: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_val_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_D` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let match_D = Regex::new(r"(\|(\d*\w*)+_D\|)( ?\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_ND` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn getVal_ND(file: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_val_nd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vecN` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut vecN : Vec = vec!("".to_string()); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `vec_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_D` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let match_D = Regex::new(r"(\|(\d*\w*)+_D\|)( ?\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn getVal_M(name: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_val_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let match_M = Regex::new(r"(\|(\d*\w*)+_M\|)(( ?\w* *\w*)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_MN` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn getVal_MN(name: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_val_mn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let match_M = Regex::new(r"(\|(\d*\w*)+_M\|)(( ?\w* *\w*)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_A` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn getVal_A(name: &str) -> Vec>{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_val_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let match_M = Regex::new(r"(\|(\d*\w*)+_A\|)(( ?,?\w* *\w* *\d* *)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_AN` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn getVal_AN(name: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_val_an` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let match_M = Regex::new(r"(\|(\d*\w*)+_A\|)(( ?\w* *\w* \d* *)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addData` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn addData(name: &str,newdata:&str){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeData` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn changeData(name: &str, newdata:&str, cname:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeData` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn removeData(name: &str, cname:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rustDatabook` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_databook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rdbData` should have a snake case name [INFO] [stdout] --> src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn rdbData(name:&str) -> dataBook{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `rdb_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findValue` should have a snake case name [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn findValue(name: &str, xs: &dataBook,typ: &str) -> usize{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `find_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addData` should have a snake case name [INFO] [stdout] --> src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn addData(name:&str,newdata:&str){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeData` should have a snake case name [INFO] [stdout] --> src/lib.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn changeData(name:&str,newdata:&str,cname:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeData` should have a snake case name [INFO] [stdout] --> src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn removeData(name:&str,newdata:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NM` should have a snake case name [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub NM:Vec, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `nm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ND` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub ND:Vec, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `nd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `D` should have a snake case name [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub D:Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub M:Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub A:Vec>, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AN` should have a snake case name [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub AN:Vec [INFO] [stdout] | ^^ help: convert the identifier to snake case: `an` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `XX` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | let XX:dataBook = dataBook{ [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `xx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findValueB` should have a snake case name [INFO] [stdout] --> src/lib.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn findValueB(name: &str, xs: &dataBook,typ: &str) -> usize{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `find_value_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyValueToNew` should have a snake case name [INFO] [stdout] --> src/lib.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn copyValueToNew(name:&str,newName:&str, copyName:&str,xx: dataBook,typ:&str){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `copy_value_to_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newName` should have a snake case name [INFO] [stdout] --> src/lib.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn copyValueToNew(name:&str,newName:&str, copyName:&str,xx: dataBook,typ:&str){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `copyName` should have a snake case name [INFO] [stdout] --> src/lib.rs:69:47 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn copyValueToNew(name:&str,newName:&str, copyName:&str,xx: dataBook,typ:&str){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `copy_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_D` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn getVal_D(file: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_val_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_D` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let match_D = Regex::new(r"(\|(\d*\w*)+_D\|)( ?\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_ND` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn getVal_ND(file: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_val_nd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vecN` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut vecN : Vec = vec!("".to_string()); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `vec_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_D` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let match_D = Regex::new(r"(\|(\d*\w*)+_D\|)( ?\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn getVal_M(name: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_val_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let match_M = Regex::new(r"(\|(\d*\w*)+_M\|)(( ?\w* *\w*)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_MN` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn getVal_MN(name: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_val_mn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let match_M = Regex::new(r"(\|(\d*\w*)+_M\|)(( ?\w* *\w*)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_A` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn getVal_A(name: &str) -> Vec>{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_val_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let match_M = Regex::new(r"(\|(\d*\w*)+_A\|)(( ?,?\w* *\w* *\d* *)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_AN` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn getVal_AN(name: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_val_an` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let match_M = Regex::new(r"(\|(\d*\w*)+_A\|)(( ?\w* *\w* \d* *)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addData` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn addData(name: &str,newdata:&str){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeData` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn changeData(name: &str, newdata:&str, cname:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeData` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn removeData(name: &str, cname:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.81s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking rustDatabook v1.1.3 (/tmp/fixit) [INFO] [stdout] warning: type `dataBook` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct dataBook{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `DataBook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `dataBook` should have an upper camel case name [INFO] [stdout] --> src/lib.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct dataBook{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `DataBook` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/rdbhandeling.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude` [INFO] [stdout] --> src/rdbhandeling.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{prelude::*}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rustDatabook` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_databook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rdbData` should have a snake case name [INFO] [stdout] --> src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn rdbData(name:&str) -> dataBook{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `rdb_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findValue` should have a snake case name [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn findValue(name: &str, xs: &dataBook,typ: &str) -> usize{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `find_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addData` should have a snake case name [INFO] [stdout] --> src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn addData(name:&str,newdata:&str){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeData` should have a snake case name [INFO] [stdout] --> src/lib.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn changeData(name:&str,newdata:&str,cname:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeData` should have a snake case name [INFO] [stdout] --> src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn removeData(name:&str,newdata:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NM` should have a snake case name [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub NM:Vec, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `nm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ND` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub ND:Vec, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `nd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `D` should have a snake case name [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub D:Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub M:Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub A:Vec>, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AN` should have a snake case name [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub AN:Vec [INFO] [stdout] | ^^ help: convert the identifier to snake case: `an` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `XX` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | let XX:dataBook = dataBook{ [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `xx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findValueB` should have a snake case name [INFO] [stdout] --> src/lib.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn findValueB(name: &str, xs: &dataBook,typ: &str) -> usize{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `find_value_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyValueToNew` should have a snake case name [INFO] [stdout] --> src/lib.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn copyValueToNew(name:&str,newName:&str, copyName:&str,xx: dataBook,typ:&str){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `copy_value_to_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newName` should have a snake case name [INFO] [stdout] --> src/lib.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn copyValueToNew(name:&str,newName:&str, copyName:&str,xx: dataBook,typ:&str){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `copyName` should have a snake case name [INFO] [stdout] --> src/lib.rs:69:47 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn copyValueToNew(name:&str,newName:&str, copyName:&str,xx: dataBook,typ:&str){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `copy_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_D` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn getVal_D(file: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_val_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_D` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let match_D = Regex::new(r"(\|(\d*\w*)+_D\|)( ?\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_ND` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn getVal_ND(file: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_val_nd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vecN` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut vecN : Vec = vec!("".to_string()); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `vec_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_D` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let match_D = Regex::new(r"(\|(\d*\w*)+_D\|)( ?\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn getVal_M(name: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_val_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let match_M = Regex::new(r"(\|(\d*\w*)+_M\|)(( ?\w* *\w*)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_MN` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn getVal_MN(name: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_val_mn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let match_M = Regex::new(r"(\|(\d*\w*)+_M\|)(( ?\w* *\w*)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_A` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn getVal_A(name: &str) -> Vec>{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_val_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let match_M = Regex::new(r"(\|(\d*\w*)+_A\|)(( ?,?\w* *\w* *\d* *)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_AN` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn getVal_AN(name: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_val_an` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let match_M = Regex::new(r"(\|(\d*\w*)+_A\|)(( ?\w* *\w* \d* *)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addData` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn addData(name: &str,newdata:&str){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeData` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn changeData(name: &str, newdata:&str, cname:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeData` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn removeData(name: &str, cname:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `rustDatabook` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `rust_databook` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rdbData` should have a snake case name [INFO] [stdout] --> src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn rdbData(name:&str) -> dataBook{ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `rdb_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findValue` should have a snake case name [INFO] [stdout] --> src/lib.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn findValue(name: &str, xs: &dataBook,typ: &str) -> usize{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `find_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addData` should have a snake case name [INFO] [stdout] --> src/lib.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn addData(name:&str,newdata:&str){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeData` should have a snake case name [INFO] [stdout] --> src/lib.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn changeData(name:&str,newdata:&str,cname:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeData` should have a snake case name [INFO] [stdout] --> src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn removeData(name:&str,newdata:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `NM` should have a snake case name [INFO] [stdout] --> src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub NM:Vec, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `nm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ND` should have a snake case name [INFO] [stdout] --> src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub ND:Vec, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `nd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `D` should have a snake case name [INFO] [stdout] --> src/lib.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub D:Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `M` should have a snake case name [INFO] [stdout] --> src/lib.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | pub M:Vec, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `A` should have a snake case name [INFO] [stdout] --> src/lib.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub A:Vec>, [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AN` should have a snake case name [INFO] [stdout] --> src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub AN:Vec [INFO] [stdout] | ^^ help: convert the identifier to snake case: `an` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `XX` should have a snake case name [INFO] [stdout] --> src/lib.rs:33:10 [INFO] [stdout] | [INFO] [stdout] 33 | let XX:dataBook = dataBook{ [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `xx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `findValueB` should have a snake case name [INFO] [stdout] --> src/lib.rs:45:4 [INFO] [stdout] | [INFO] [stdout] 45 | fn findValueB(name: &str, xs: &dataBook,typ: &str) -> usize{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `find_value_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `copyValueToNew` should have a snake case name [INFO] [stdout] --> src/lib.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn copyValueToNew(name:&str,newName:&str, copyName:&str,xx: dataBook,typ:&str){ [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `copy_value_to_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newName` should have a snake case name [INFO] [stdout] --> src/lib.rs:69:33 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn copyValueToNew(name:&str,newName:&str, copyName:&str,xx: dataBook,typ:&str){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `copyName` should have a snake case name [INFO] [stdout] --> src/lib.rs:69:47 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn copyValueToNew(name:&str,newName:&str, copyName:&str,xx: dataBook,typ:&str){ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `copy_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_D` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn getVal_D(file: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_val_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_D` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | let match_D = Regex::new(r"(\|(\d*\w*)+_D\|)( ?\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_ND` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn getVal_ND(file: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_val_nd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `vecN` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:41:13 [INFO] [stdout] | [INFO] [stdout] 41 | let mut vecN : Vec = vec!("".to_string()); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `vec_n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_D` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let match_D = Regex::new(r"(\|(\d*\w*)+_D\|)( ?\d+)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn getVal_M(name: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_val_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | let match_M = Regex::new(r"(\|(\d*\w*)+_M\|)(( ?\w* *\w*)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_MN` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn getVal_MN(name: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_val_mn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | let match_M = Regex::new(r"(\|(\d*\w*)+_M\|)(( ?\w* *\w*)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_A` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn getVal_A(name: &str) -> Vec>{ [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `get_val_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | let match_M = Regex::new(r"(\|(\d*\w*)+_A\|)(( ?,?\w* *\w* *\d* *)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getVal_AN` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn getVal_AN(name: &str) -> Vec{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_val_an` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `match_M` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let match_M = Regex::new(r"(\|(\d*\w*)+_A\|)(( ?\w* *\w* \d* *)*)").unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `match_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addData` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:161:8 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn addData(name: &str,newdata:&str){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `changeData` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn changeData(name: &str, newdata:&str, cname:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `change_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `removeData` should have a snake case name [INFO] [stdout] --> src/rdbhandeling.rs:193:8 [INFO] [stdout] | [INFO] [stdout] 193 | pub fn removeData(name: &str, cname:&str){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.23s [INFO] running `Command { std: "docker" "inspect" "3b41259b988f8dc8869252755007eefc14c3aa7a8a56772d0445e69953555ae0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b41259b988f8dc8869252755007eefc14c3aa7a8a56772d0445e69953555ae0", kill_on_drop: false }` [INFO] [stdout] 3b41259b988f8dc8869252755007eefc14c3aa7a8a56772d0445e69953555ae0