[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbohachu%2Fturbo_iot" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bohachu/turbo_iot on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-4/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29565dc50b1bb8fad4abb8b9a51964539593d90bbfef1ad2f0b08fbac0faa2da [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" "29565dc50b1bb8fad4abb8b9a51964539593d90bbfef1ad2f0b08fbac0faa2da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29565dc50b1bb8fad4abb8b9a51964539593d90bbfef1ad2f0b08fbac0faa2da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29565dc50b1bb8fad4abb8b9a51964539593d90bbfef1ad2f0b08fbac0faa2da", kill_on_drop: false }` [INFO] [stdout] 29565dc50b1bb8fad4abb8b9a51964539593d90bbfef1ad2f0b08fbac0faa2da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be2536671a27146c23e2255b71e4f6ee506444b467f591c611e6b2a54770ed77 [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" "be2536671a27146c23e2255b71e4f6ee506444b467f591c611e6b2a54770ed77", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-syntax v0.6.14 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking aho-corasick v0.7.8 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex v1.3.4 [INFO] [stderr] Checking serde_json v1.0.47 [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: 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: 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: 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 `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] [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 27.76s [INFO] running `Command { std: "docker" "inspect" "be2536671a27146c23e2255b71e4f6ee506444b467f591c611e6b2a54770ed77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be2536671a27146c23e2255b71e4f6ee506444b467f591c611e6b2a54770ed77", kill_on_drop: false }` [INFO] [stdout] be2536671a27146c23e2255b71e4f6ee506444b467f591c611e6b2a54770ed77