[INFO] cloning repository https://github.com/bohachu/turbo_iot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bohachu/turbo_iot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbohachu%2Fturbo_iot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbohachu%2Fturbo_iot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 698e3fabb22d5ca696e9ffea23217121ccc8f48b
[INFO] checking bohachu/turbo_iot against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbohachu%2Fturbo_iot" "/workspace/builds/worker-11/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bohachu/turbo_iot 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/bohachu/turbo_iot
[INFO] finished tweaking git repo https://github.com/bohachu/turbo_iot
[INFO] tweaked toml for git repo https://github.com/bohachu/turbo_iot written to /workspace/builds/worker-11/source/Cargo.toml
[INFO] crate git repo https://github.com/bohachu/turbo_iot 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3801fe06797f28e15a203ba1ed7f64b60443c188f54409371db153b1aecf885e
[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" "3801fe06797f28e15a203ba1ed7f64b60443c188f54409371db153b1aecf885e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3801fe06797f28e15a203ba1ed7f64b60443c188f54409371db153b1aecf885e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3801fe06797f28e15a203ba1ed7f64b60443c188f54409371db153b1aecf885e", kill_on_drop: false }`
[INFO] [stdout] 3801fe06797f28e15a203ba1ed7f64b60443c188f54409371db153b1aecf885e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 110dde85ced4d7e39b2243c8f53ece4882848a55045e7374613f1d9d378d999b
[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" "110dde85ced4d7e39b2243c8f53ece4882848a55045e7374613f1d9d378d999b", kill_on_drop: false }`
[INFO] [stderr] Compiling unicode-xid v0.2.0
[INFO] [stderr] Compiling ryu v1.0.2
[INFO] [stderr] Checking lazy_static v1.4.0
[INFO] [stderr] Checking regex-syntax v0.6.14
[INFO] [stderr] Checking itoa v0.4.5
[INFO] [stderr] Checking aho-corasick v0.7.8
[INFO] [stderr] Checking thread_local v1.0.1
[INFO] [stderr] Compiling proc-macro2 v1.0.8
[INFO] [stderr] Checking serde_json v1.0.47
[INFO] [stderr] Compiling quote v1.0.2
[INFO] [stderr] Compiling syn v1.0.14
[INFO] [stderr] Checking regex v1.3.4
[INFO] [stderr] Compiling serde_derive v1.0.104
[INFO] [stderr] Checking turbo_iot v2.2.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout] --> src/handle_json_file.rs:1:18
[INFO] [stdout] |
[INFO] [stdout] 1 | use serde_json::{Result, Value};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout] --> src/handle_json_file.rs:6:21
[INFO] [stdout] |
[INFO] [stdout] 6 | use std::io::{Read, BufReader, BufRead};
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Result`
[INFO] [stdout] --> src/handle_json_file.rs:1:18
[INFO] [stdout] |
[INFO] [stdout] 1 | use serde_json::{Result, Value};
[INFO] [stdout] | ^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout] --> src/handle_json_file.rs:6:21
[INFO] [stdout] |
[INFO] [stdout] 6 | use std::io::{Read, BufReader, BufRead};
[INFO] [stdout] | ^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `json_obj`
[INFO] [stdout] --> src/handle_json_file.rs:86:9
[INFO] [stdout] |
[INFO] [stdout] 86 | let json_obj = Json::from_str(&str_json).unwrap();
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_json_obj`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout] --> src/handle_json_file.rs:96:9
[INFO] [stdout] |
[INFO] [stdout] 96 | let v: Value = serde_json::from_str(str_json.as_ref()).expect("err 91");
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cap`
[INFO] [stdout] --> src/handle_json_file.rs:108:9
[INFO] [stdout] |
[INFO] [stdout] 108 | for cap in re.captures_iter(str_json.as_ref()) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cap`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `caps`
[INFO] [stdout] --> src/handle_json_file.rs:206:9
[INFO] [stdout] |
[INFO] [stdout] 206 | for caps in re.captures_iter(str_json.as_ref()) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_caps`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_turbo`
[INFO] [stdout] --> src/handle_json_file.rs:262:9
[INFO] [stdout] |
[INFO] [stdout] 262 | let mut str_turbo: String = "".to_string();
[INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_turbo`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `int_cnt`
[INFO] [stdout] --> src/handle_json_file.rs:263:9
[INFO] [stdout] |
[INFO] [stdout] 263 | let int_cnt = 0;
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_cnt`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_device_id`
[INFO] [stdout] --> src/handle_json_file.rs:267:13
[INFO] [stdout] |
[INFO] [stdout] 267 | let str_device_id: String = str_comma.next().unwrap().to_string();
[INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_device_id`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_date`
[INFO] [stdout] --> src/handle_json_file.rs:268:13
[INFO] [stdout] |
[INFO] [stdout] 268 | let str_date = str_comma.next().unwrap().to_string();
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_date`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `int_voc`
[INFO] [stdout] --> src/handle_json_file.rs:269:13
[INFO] [stdout] |
[INFO] [stdout] 269 | let int_voc: f32 = str_comma.next().unwrap().to_string().parse().unwrap();
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_voc`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_turbo`
[INFO] [stdout] --> src/handle_json_file.rs:286:9
[INFO] [stdout] |
[INFO] [stdout] 286 | let mut str_turbo: String = "".to_string();
[INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_turbo`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `int_cnt`
[INFO] [stdout] --> src/handle_json_file.rs:287:9
[INFO] [stdout] |
[INFO] [stdout] 287 | let int_cnt = 0;
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_cnt`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_turbo`
[INFO] [stdout] --> src/handle_json_file.rs:313:9
[INFO] [stdout] |
[INFO] [stdout] 313 | let mut str_turbo: String = "".to_string();
[INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_turbo`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `int_cnt`
[INFO] [stdout] --> src/handle_json_file.rs:314:9
[INFO] [stdout] |
[INFO] [stdout] 314 | let int_cnt = 0;
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_cnt`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_device_id`
[INFO] [stdout] --> src/handle_json_file.rs:342:13
[INFO] [stdout] |
[INFO] [stdout] 342 | let str_device_id: String = str_comma.next().unwrap().to_string();
[INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_device_id`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_date`
[INFO] [stdout] --> src/handle_json_file.rs:343:13
[INFO] [stdout] |
[INFO] [stdout] 343 | let str_date: String = str_comma.next().unwrap().to_string();
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_date`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_voc`
[INFO] [stdout] --> src/handle_json_file.rs:344:13
[INFO] [stdout] |
[INFO] [stdout] 344 | let str_voc: String = str_comma.next().unwrap().to_string();
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_voc`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/handle_json_file.rs:262:9
[INFO] [stdout] |
[INFO] [stdout] 262 | let mut str_turbo: String = "".to_string();
[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: variable does not need to be mutable
[INFO] [stdout] --> src/handle_json_file.rs:286:9
[INFO] [stdout] |
[INFO] [stdout] 286 | let mut str_turbo: String = "".to_string();
[INFO] [stdout] | ----^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/handle_json_file.rs:313:9
[INFO] [stdout] |
[INFO] [stdout] 313 | let mut str_turbo: String = "".to_string();
[INFO] [stdout] | ----^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `write_json_file`
[INFO] [stdout] --> src/handle_json_file.rs:15:8
[INFO] [stdout] |
[INFO] [stdout] 15 | pub fn write_json_file() -> std::io::Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `write_file`
[INFO] [stdout] --> src/handle_json_file.rs:59:4
[INFO] [stdout] |
[INFO] [stdout] 59 | fn write_file(str_json: &str, str_region_name: &str) -> std::io::Result<()> {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `file_write_all`
[INFO] [stdout] --> src/handle_json_file.rs:66:4
[INFO] [stdout] |
[INFO] [stdout] 66 | fn file_write_all(file: &mut File, content: String) -> std::io::Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `get_content`
[INFO] [stdout] --> src/handle_json_file.rs:71:4
[INFO] [stdout] |
[INFO] [stdout] 71 | fn get_content(str_json: &str) -> String {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_file_rustc_serialize`
[INFO] [stdout] --> src/handle_json_file.rs:80:15
[INFO] [stdout] |
[INFO] [stdout] 80 | pub(crate) fn read_file_rustc_serialize() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_file_serde`
[INFO] [stdout] --> src/handle_json_file.rs:90:15
[INFO] [stdout] |
[INFO] [stdout] 90 | pub(crate) fn read_file_serde() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `regex`
[INFO] [stdout] --> src/handle_json_file.rs:99:15
[INFO] [stdout] |
[INFO] [stdout] 99 | pub(crate) fn regex() {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `readlines2`
[INFO] [stdout] --> src/handle_json_file.rs:114:8
[INFO] [stdout] |
[INFO] [stdout] 114 | pub fn readlines2() {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_lines`
[INFO] [stdout] --> src/handle_json_file.rs:128:4
[INFO] [stdout] |
[INFO] [stdout] 128 | fn read_lines
(filename: P) -> io::Result>>
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `origin_to_turbo`
[INFO] [stdout] --> src/handle_json_file.rs:134:8
[INFO] [stdout] |
[INFO] [stdout] 134 | pub fn origin_to_turbo() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `origin_to_turbo_memory`
[INFO] [stdout] --> src/handle_json_file.rs:154:8
[INFO] [stdout] |
[INFO] [stdout] 154 | pub fn origin_to_turbo_memory() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `origin_to_turbo_regex`
[INFO] [stdout] --> src/handle_json_file.rs:195:8
[INFO] [stdout] |
[INFO] [stdout] 195 | pub fn origin_to_turbo_regex() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `origin_to_turbo_index`
[INFO] [stdout] --> src/handle_json_file.rs:221:8
[INFO] [stdout] |
[INFO] [stdout] 221 | pub fn origin_to_turbo_index() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_csv`
[INFO] [stdout] --> src/handle_json_file.rs:250:8
[INFO] [stdout] |
[INFO] [stdout] 250 | pub fn read_csv() {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_csv_fixed_width`
[INFO] [stdout] --> src/handle_json_file.rs:274:8
[INFO] [stdout] |
[INFO] [stdout] 274 | pub fn read_csv_fixed_width() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_csv_fixed_width_turbo`
[INFO] [stdout] --> src/handle_json_file.rs:301:8
[INFO] [stdout] |
[INFO] [stdout] 301 | pub fn read_csv_fixed_width_turbo() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_csv_voc`
[INFO] [stdout] --> src/handle_json_file.rs:327:8
[INFO] [stdout] |
[INFO] [stdout] 327 | pub fn read_csv_voc() {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_csv_vec`
[INFO] [stdout] --> src/handle_json_file.rs:349:8
[INFO] [stdout] |
[INFO] [stdout] 349 | pub fn read_csv_vec() {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_csv_vec_turbo`
[INFO] [stdout] --> src/handle_json_file.rs:372:8
[INFO] [stdout] |
[INFO] [stdout] 372 | pub fn read_csv_vec_turbo() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `json_obj`
[INFO] [stdout] --> src/handle_json_file.rs:86:9
[INFO] [stdout] |
[INFO] [stdout] 86 | let json_obj = Json::from_str(&str_json).unwrap();
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_json_obj`
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `v`
[INFO] [stdout] --> src/handle_json_file.rs:96:9
[INFO] [stdout] |
[INFO] [stdout] 96 | let v: Value = serde_json::from_str(str_json.as_ref()).expect("err 91");
[INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `cap`
[INFO] [stdout] --> src/handle_json_file.rs:108:9
[INFO] [stdout] |
[INFO] [stdout] 108 | for cap in re.captures_iter(str_json.as_ref()) {
[INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cap`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `caps`
[INFO] [stdout] --> src/handle_json_file.rs:206:9
[INFO] [stdout] |
[INFO] [stdout] 206 | for caps in re.captures_iter(str_json.as_ref()) {
[INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_caps`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_turbo`
[INFO] [stdout] --> src/handle_json_file.rs:262:9
[INFO] [stdout] |
[INFO] [stdout] 262 | let mut str_turbo: String = "".to_string();
[INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_turbo`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `int_cnt`
[INFO] [stdout] --> src/handle_json_file.rs:263:9
[INFO] [stdout] |
[INFO] [stdout] 263 | let int_cnt = 0;
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_cnt`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_device_id`
[INFO] [stdout] --> src/handle_json_file.rs:267:13
[INFO] [stdout] |
[INFO] [stdout] 267 | let str_device_id: String = str_comma.next().unwrap().to_string();
[INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_device_id`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_date`
[INFO] [stdout] --> src/handle_json_file.rs:268:13
[INFO] [stdout] |
[INFO] [stdout] 268 | let str_date = str_comma.next().unwrap().to_string();
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_date`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `int_voc`
[INFO] [stdout] --> src/handle_json_file.rs:269:13
[INFO] [stdout] |
[INFO] [stdout] 269 | let int_voc: f32 = str_comma.next().unwrap().to_string().parse().unwrap();
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_voc`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_turbo`
[INFO] [stdout] --> src/handle_json_file.rs:286:9
[INFO] [stdout] |
[INFO] [stdout] 286 | let mut str_turbo: String = "".to_string();
[INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_turbo`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `int_cnt`
[INFO] [stdout] --> src/handle_json_file.rs:287:9
[INFO] [stdout] |
[INFO] [stdout] 287 | let int_cnt = 0;
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_cnt`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_turbo`
[INFO] [stdout] --> src/handle_json_file.rs:313:9
[INFO] [stdout] |
[INFO] [stdout] 313 | let mut str_turbo: String = "".to_string();
[INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_turbo`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `int_cnt`
[INFO] [stdout] --> src/handle_json_file.rs:314:9
[INFO] [stdout] |
[INFO] [stdout] 314 | let int_cnt = 0;
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_int_cnt`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_device_id`
[INFO] [stdout] --> src/handle_json_file.rs:342:13
[INFO] [stdout] |
[INFO] [stdout] 342 | let str_device_id: String = str_comma.next().unwrap().to_string();
[INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_device_id`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_date`
[INFO] [stdout] --> src/handle_json_file.rs:343:13
[INFO] [stdout] |
[INFO] [stdout] 343 | let str_date: String = str_comma.next().unwrap().to_string();
[INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_date`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `str_voc`
[INFO] [stdout] --> src/handle_json_file.rs:344:13
[INFO] [stdout] |
[INFO] [stdout] 344 | let str_voc: String = str_comma.next().unwrap().to_string();
[INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_str_voc`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/handle_json_file.rs:262:9
[INFO] [stdout] |
[INFO] [stdout] 262 | let mut str_turbo: String = "".to_string();
[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: variable does not need to be mutable
[INFO] [stdout] --> src/handle_json_file.rs:286:9
[INFO] [stdout] |
[INFO] [stdout] 286 | let mut str_turbo: String = "".to_string();
[INFO] [stdout] | ----^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout] --> src/handle_json_file.rs:313:9
[INFO] [stdout] |
[INFO] [stdout] 313 | let mut str_turbo: String = "".to_string();
[INFO] [stdout] | ----^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | help: remove this `mut`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout] --> src/handle_json_file.rs:151:5
[INFO] [stdout] |
[INFO] [stdout] 151 | file_turbo.flush();
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `write_json_file`
[INFO] [stdout] --> src/handle_json_file.rs:15:8
[INFO] [stdout] |
[INFO] [stdout] 15 | pub fn write_json_file() -> std::io::Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `write_file`
[INFO] [stdout] --> src/handle_json_file.rs:59:4
[INFO] [stdout] |
[INFO] [stdout] 59 | fn write_file(str_json: &str, str_region_name: &str) -> std::io::Result<()> {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `file_write_all`
[INFO] [stdout] --> src/handle_json_file.rs:66:4
[INFO] [stdout] |
[INFO] [stdout] 66 | fn file_write_all(file: &mut File, content: String) -> std::io::Result<()> {
[INFO] [stdout] | ^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `get_content`
[INFO] [stdout] --> src/handle_json_file.rs:71:4
[INFO] [stdout] |
[INFO] [stdout] 71 | fn get_content(str_json: &str) -> String {
[INFO] [stdout] | ^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_file_rustc_serialize`
[INFO] [stdout] --> src/handle_json_file.rs:80:15
[INFO] [stdout] |
[INFO] [stdout] 80 | pub(crate) fn read_file_rustc_serialize() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_file_serde`
[INFO] [stdout] --> src/handle_json_file.rs:90:15
[INFO] [stdout] |
[INFO] [stdout] 90 | pub(crate) fn read_file_serde() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `regex`
[INFO] [stdout] --> src/handle_json_file.rs:99:15
[INFO] [stdout] |
[INFO] [stdout] 99 | pub(crate) fn regex() {
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `readlines2`
[INFO] [stdout] --> src/handle_json_file.rs:114:8
[INFO] [stdout] |
[INFO] [stdout] 114 | pub fn readlines2() {
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_lines`
[INFO] [stdout] --> src/handle_json_file.rs:128:4
[INFO] [stdout] |
[INFO] [stdout] 128 | fn read_lines(filename: P) -> io::Result>>
[INFO] [stdout] | ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `origin_to_turbo`
[INFO] [stdout] --> src/handle_json_file.rs:134:8
[INFO] [stdout] |
[INFO] [stdout] 134 | pub fn origin_to_turbo() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `origin_to_turbo_memory`
[INFO] [stdout] --> src/handle_json_file.rs:154:8
[INFO] [stdout] |
[INFO] [stdout] 154 | pub fn origin_to_turbo_memory() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `origin_to_turbo_regex`
[INFO] [stdout] --> src/handle_json_file.rs:195:8
[INFO] [stdout] |
[INFO] [stdout] 195 | pub fn origin_to_turbo_regex() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `origin_to_turbo_index`
[INFO] [stdout] --> src/handle_json_file.rs:221:8
[INFO] [stdout] |
[INFO] [stdout] 221 | pub fn origin_to_turbo_index() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_csv`
[INFO] [stdout] --> src/handle_json_file.rs:250:8
[INFO] [stdout] |
[INFO] [stdout] 250 | pub fn read_csv() {
[INFO] [stdout] | ^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_csv_fixed_width`
[INFO] [stdout] --> src/handle_json_file.rs:274:8
[INFO] [stdout] |
[INFO] [stdout] 274 | pub fn read_csv_fixed_width() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_csv_fixed_width_turbo`
[INFO] [stdout] --> src/handle_json_file.rs:301:8
[INFO] [stdout] |
[INFO] [stdout] 301 | pub fn read_csv_fixed_width_turbo() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_csv_voc`
[INFO] [stdout] --> src/handle_json_file.rs:327:8
[INFO] [stdout] |
[INFO] [stdout] 327 | pub fn read_csv_voc() {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_csv_vec`
[INFO] [stdout] --> src/handle_json_file.rs:349:8
[INFO] [stdout] |
[INFO] [stdout] 349 | pub fn read_csv_vec() {
[INFO] [stdout] | ^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: function is never used: `read_csv_vec_turbo`
[INFO] [stdout] --> src/handle_json_file.rs:372:8
[INFO] [stdout] |
[INFO] [stdout] 372 | pub fn read_csv_vec_turbo() {
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 41 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused `std::result::Result` that must be used
[INFO] [stdout] --> src/handle_json_file.rs:151:5
[INFO] [stdout] |
[INFO] [stdout] 151 | file_turbo.flush();
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 41 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.20s
[INFO] running `Command { std: "docker" "inspect" "110dde85ced4d7e39b2243c8f53ece4882848a55045e7374613f1d9d378d999b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "110dde85ced4d7e39b2243c8f53ece4882848a55045e7374613f1d9d378d999b", kill_on_drop: false }`
[INFO] [stdout] 110dde85ced4d7e39b2243c8f53ece4882848a55045e7374613f1d9d378d999b