[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbohachu%2Fturbo_iot" "/workspace/builds/worker-10/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bohachu/turbo_iot 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 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-10/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "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] 36cc310765951d761acb78208597ba3b48321b98a77612bc9da8af04773fe59c
[INFO] running `Command { std: "docker" "start" "-a" "36cc310765951d761acb78208597ba3b48321b98a77612bc9da8af04773fe59c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "36cc310765951d761acb78208597ba3b48321b98a77612bc9da8af04773fe59c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "36cc310765951d761acb78208597ba3b48321b98a77612bc9da8af04773fe59c", kill_on_drop: false }`
[INFO] [stdout] 36cc310765951d761acb78208597ba3b48321b98a77612bc9da8af04773fe59c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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] 00c23dd84759f9dc213132e865a12a2c4976cdb5880e81ef90532f7a349beb1a
[INFO] running `Command { std: "docker" "start" "-a" "00c23dd84759f9dc213132e865a12a2c4976cdb5880e81ef90532f7a349beb1a", kill_on_drop: false }`
[INFO] [stderr] Copying to /tmp/fixit
[INFO] [stderr] Running `cargo fix --edition`
[INFO] [stderr] Compiling unicode-xid v0.2.0
[INFO] [stderr] Compiling syn v1.0.14
[INFO] [stderr] Checking lazy_static v1.4.0
[INFO] [stderr] Checking rustc-serialize v0.3.24
[INFO] [stderr] Checking aho-corasick v0.7.8
[INFO] [stderr] Checking serde_json v1.0.47
[INFO] [stderr] Compiling proc-macro2 v1.0.8
[INFO] [stderr] Checking thread_local v1.0.1
[INFO] [stderr] Compiling quote v1.0.2
[INFO] [stderr] Checking regex v1.3.4
[INFO] [stderr] Compiling serde_derive v1.0.104
[INFO] [stderr] Checking turbo_iot v2.2.8 (/tmp/fixit)
[INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr] Fixed src/handle_json_file.rs (21 fixes)
[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 `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: 20 warnings emitted
[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 `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: 20 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.52s
[INFO] [stderr] Running `cargo check` to verify 2021
[INFO] [stderr] Checking turbo_iot v2.2.8 (/tmp/fixit)
[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 `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: 20 warnings emitted
[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 `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: 20 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.87s
[INFO] running `Command { std: "docker" "inspect" "00c23dd84759f9dc213132e865a12a2c4976cdb5880e81ef90532f7a349beb1a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00c23dd84759f9dc213132e865a12a2c4976cdb5880e81ef90532f7a349beb1a", kill_on_drop: false }`
[INFO] [stdout] 00c23dd84759f9dc213132e865a12a2c4976cdb5880e81ef90532f7a349beb1a