[INFO] cloning repository https://github.com/YouXiang-Wang/data_tools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/YouXiang-Wang/data_tools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYouXiang-Wang%2Fdata_tools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYouXiang-Wang%2Fdata_tools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f5267db633d7ca8cde105b7c1d1f196e13f8ea0a [INFO] checking YouXiang-Wang/data_tools against master#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYouXiang-Wang%2Fdata_tools" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/YouXiang-Wang/data_tools on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/YouXiang-Wang/data_tools [INFO] finished tweaking git repo https://github.com/YouXiang-Wang/data_tools [INFO] tweaked toml for git repo https://github.com/YouXiang-Wang/data_tools written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/YouXiang-Wang/data_tools already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pnet_transport v0.33.0 [INFO] [stderr] Downloaded rs-snowflake v0.6.0 [INFO] [stderr] Downloaded sonyflake v0.2.0 [INFO] [stderr] Downloaded pnet_sys v0.33.0 [INFO] [stderr] Downloaded pnet_base v0.33.0 [INFO] [stderr] Downloaded no-std-net v0.6.0 [INFO] [stderr] Downloaded pnet_datalink v0.33.0 [INFO] [stderr] Downloaded pnet_macros v0.33.0 [INFO] [stderr] Downloaded indexmap v2.2.2 [INFO] [stderr] Downloaded pnet_packet v0.33.0 [INFO] [stderr] Downloaded rustls v0.21.11 [INFO] [stderr] Downloaded pnet v0.33.0 [INFO] [stderr] Downloaded pnet_macros_support v0.33.0 [INFO] [stderr] Downloaded openssl-src v300.2.3+3.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e651042dda8b2aa61bca09e2257000fa28ad177b351f6d02cf906d0e2146f873 [INFO] running `Command { std: "docker" "start" "-a" "e651042dda8b2aa61bca09e2257000fa28ad177b351f6d02cf906d0e2146f873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e651042dda8b2aa61bca09e2257000fa28ad177b351f6d02cf906d0e2146f873", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e651042dda8b2aa61bca09e2257000fa28ad177b351f6d02cf906d0e2146f873", kill_on_drop: false }` [INFO] [stdout] e651042dda8b2aa61bca09e2257000fa28ad177b351f6d02cf906d0e2146f873 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0b31e0eb66ddb1844936d2b43365616febcfae58eb9bef9bc6838363d062d6b [INFO] running `Command { std: "docker" "start" "-a" "c0b31e0eb66ddb1844936d2b43365616febcfae58eb9bef9bc6838363d062d6b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling rustls v0.21.11 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking indexmap v2.2.2 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Checking no-std-net v0.6.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking pnet_base v0.33.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Checking pnet_macros_support v0.33.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking pnet_sys v0.33.0 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling pnet v0.33.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking anstream v0.6.13 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking clap_builder v4.5.2 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pnet_macros v0.33.0 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking rs-snowflake v0.6.0 [INFO] [stderr] Checking pnet_packet v0.33.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking indicatif v0.16.2 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Checking pnet_transport v0.33.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking ipnetwork v0.20.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking pnet_datalink v0.33.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking sonyflake v0.2.0 [INFO] [stderr] Checking sqlformat v0.2.3 [INFO] [stderr] Compiling tempfile v3.10.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking sqlx-core v0.7.4 [INFO] [stderr] Checking sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Checking sqlx v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking data_tools v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, and `format` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{format, Utc, DateTime, Local, NaiveDateTime}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transaction` and `query` [INFO] [stdout] --> src/main.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{ConnectOptions, Transaction, Execute, MySql, MySqlPool, Pool, query}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `task` and `time` [INFO] [stdout] --> src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::{task, time}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HumanDuration` and `MultiProgress` [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use indicatif::{HumanDuration, MultiProgress, ProgressBar, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::header::HeaderMap` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use reqwest::header::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conv::ValueFrom` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use conv::ValueFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distributions::Alphanumeric` [INFO] [stdout] --> src/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | use rand::{distributions::Alphanumeric}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:442:20 [INFO] [stdout] | [INFO] [stdout] 442 | let _batch = if(rate <= 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 442 - let _batch = if(rate <= 0) { [INFO] [stdout] 442 + let _batch = if rate <= 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:443:11 [INFO] [stdout] | [INFO] [stdout] 443 | if(batch > count) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 443 - if(batch > count) { [INFO] [stdout] 443 + if batch > count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:453:7 [INFO] [stdout] | [INFO] [stdout] 453 | if(count == 0 || batch == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 453 - if(count == 0 || batch == 0) { [INFO] [stdout] 453 + if count == 0 || batch == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:456:23 [INFO] [stdout] | [INFO] [stdout] 456 | let round = if(count % _batch == 0) {count / _batch} else {count / _batch + 1}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 456 - let round = if(count % _batch == 0) {count / _batch} else {count / _batch + 1}; [INFO] [stdout] 456 + let round = if count % _batch == 0 {count / _batch} else {count / _batch + 1}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:533:23 [INFO] [stdout] | [INFO] [stdout] 533 | if(rate > 0 && _t > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 533 - if(rate > 0 && _t > 0) { [INFO] [stdout] 533 + if rate > 0 && _t > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:789:23 [INFO] [stdout] | [INFO] [stdout] 789 | if(rate > 0 && _t > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 789 - if(rate > 0 && _t > 0) { [INFO] [stdout] 789 + if rate > 0 && _t > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime`, `NaiveDateTime`, and `format` [INFO] [stdout] --> src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use chrono::{format, Utc, DateTime, Local, NaiveDateTime}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Transaction` and `query` [INFO] [stdout] --> src/main.rs:9:28 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{ConnectOptions, Transaction, Execute, MySql, MySqlPool, Pool, query}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::sleep` [INFO] [stdout] --> src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::thread::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `task` and `time` [INFO] [stdout] --> src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | use tokio::{task, time}; [INFO] [stdout] | ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thread_rng` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HumanDuration` and `MultiProgress` [INFO] [stdout] --> src/main.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use indicatif::{HumanDuration, MultiProgress, ProgressBar, ProgressStyle}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dashmap::DashMap` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use dashmap::DashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::header::HeaderMap` [INFO] [stdout] --> src/main.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use reqwest::header::HeaderMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/main.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `conv::ValueFrom` [INFO] [stdout] --> src/main.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use conv::ValueFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/main.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `distributions::Alphanumeric` [INFO] [stdout] --> src/main.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | use rand::{distributions::Alphanumeric}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:442:20 [INFO] [stdout] | [INFO] [stdout] 442 | let _batch = if(rate <= 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 442 - let _batch = if(rate <= 0) { [INFO] [stdout] 442 + let _batch = if rate <= 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:443:11 [INFO] [stdout] | [INFO] [stdout] 443 | if(batch > count) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 443 - if(batch > count) { [INFO] [stdout] 443 + if batch > count { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:453:7 [INFO] [stdout] | [INFO] [stdout] 453 | if(count == 0 || batch == 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 453 - if(count == 0 || batch == 0) { [INFO] [stdout] 453 + if count == 0 || batch == 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:456:23 [INFO] [stdout] | [INFO] [stdout] 456 | let round = if(count % _batch == 0) {count / _batch} else {count / _batch + 1}; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 456 - let round = if(count % _batch == 0) {count / _batch} else {count / _batch + 1}; [INFO] [stdout] 456 + let round = if count % _batch == 0 {count / _batch} else {count / _batch + 1}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:533:23 [INFO] [stdout] | [INFO] [stdout] 533 | if(rate > 0 && _t > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 533 - if(rate > 0 && _t > 0) { [INFO] [stdout] 533 + if rate > 0 && _t > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:789:23 [INFO] [stdout] | [INFO] [stdout] 789 | if(rate > 0 && _t > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 789 - if(rate > 0 && _t > 0) { [INFO] [stdout] 789 + if rate > 0 && _t > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:526:28 [INFO] [stdout] | [INFO] [stdout] 526 | Ok(r) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/main.rs:553:29 [INFO] [stdout] | [INFO] [stdout] 553 | let mut transaction = pool.begin().await?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:782:28 [INFO] [stdout] | [INFO] [stdout] 782 | Ok(r) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:553:25 [INFO] [stdout] | [INFO] [stdout] 553 | let mut transaction = pool.begin().await?; [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: unused variable: `r` [INFO] [stdout] --> src/main.rs:526:28 [INFO] [stdout] | [INFO] [stdout] 526 | Ok(r) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/main.rs:553:29 [INFO] [stdout] | [INFO] [stdout] 553 | let mut transaction = pool.begin().await?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/main.rs:782:28 [INFO] [stdout] | [INFO] [stdout] 782 | Ok(r) => {}, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:553:25 [INFO] [stdout] | [INFO] [stdout] 553 | let mut transaction = pool.begin().await?; [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: unused variable: `action` [INFO] [stdout] --> src/main.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let action = &args.action; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replica_group` [INFO] [stdout] --> src/main.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let replica_group = &args.replica_group; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replica_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/main.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | let reference = "hello".trim(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/main.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | let reference = &String::from("hello"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllTypesTest` is never constructed [INFO] [stdout] --> src/main.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct AllTypesTest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HostRecords` is never constructed [INFO] [stdout] --> src/main.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | struct HostRecords { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiError` is never constructed [INFO] [stdout] --> src/main.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | struct ApiError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryResultCountResponse` is never constructed [INFO] [stdout] --> src/main.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | struct QueryResultCountResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommonMessageResult` is never constructed [INFO] [stdout] --> src/main.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | struct CommonMessageResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TRUCK` is never used [INFO] [stdout] --> src/main.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | static TRUCK: Emoji<'_, '_> = Emoji("🚚 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOOKING_GLASS` is never used [INFO] [stdout] --> src/main.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | static LOOKING_GLASS: Emoji<'_, '_> = Emoji("🔍 ", ""); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CLIP` is never used [INFO] [stdout] --> src/main.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | static CLIP: Emoji<'_, '_> = Emoji("🔗 ", ""); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PAPER` is never used [INFO] [stdout] --> src/main.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | static PAPER: Emoji<'_, '_> = Emoji("📃 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HOST` is never used [INFO] [stdout] --> src/main.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | static HOST: Emoji<'_, '_> = Emoji("🖥️ ", ":-)"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PORT` is never used [INFO] [stdout] --> src/main.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | static PORT: Emoji<'_, '_> = Emoji("🔌 ", ":-)"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_servers` is never used [INFO] [stdout] --> src/main.rs:394:10 [INFO] [stdout] | [INFO] [stdout] 394 | async fn get_servers(client: &Client, url: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_client` is never used [INFO] [stdout] --> src/main.rs:415:10 [INFO] [stdout] | [INFO] [stdout] 415 | async fn create_client() -> std::result::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_dir` is never used [INFO] [stdout] --> src/main.rs:814:4 [INFO] [stdout] | [INFO] [stdout] 814 | fn load_dir(dir: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_record` is never used [INFO] [stdout] --> src/main.rs:828:4 [INFO] [stdout] | [INFO] [stdout] 828 | fn load_record(record: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_to_record` is never used [INFO] [stdout] --> src/main.rs:834:4 [INFO] [stdout] | [INFO] [stdout] 834 | fn append_to_record(path: &str, content: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_batch_delete` is never used [INFO] [stdout] --> src/main.rs:844:10 [INFO] [stdout] | [INFO] [stdout] 844 | async fn execute_batch_delete(id_file: &str, pool: &Pool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/main.rs:856:10 [INFO] [stdout] | [INFO] [stdout] 856 | async fn test() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `agentID` should have a snake case name [INFO] [stdout] --> src/main.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | agentID: Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `agent_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `agentPlatform` should have a snake case name [INFO] [stdout] --> src/main.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | agentPlatform: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `agent_platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `agentSN` should have a snake case name [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | agentSN: Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `agent_sn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `agentTag` should have a snake case name [INFO] [stdout] --> src/main.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | agentTag: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `agent_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `agentVersion` should have a snake case name [INFO] [stdout] --> src/main.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | agentVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `agent_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `caDbId` should have a snake case name [INFO] [stdout] --> src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | caDbId: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ca_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `creationTime` should have a snake case name [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | creationTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `directoryPolicyValue` should have a snake case name [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | directoryPolicyValue: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `directory_policy_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `domainId` should have a snake case name [INFO] [stdout] --> src/main.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | domainId: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `domain_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hardwareType` should have a snake case name [INFO] [stdout] --> src/main.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | hardwareType: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `hardware_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hostName` should have a snake case name [INFO] [stdout] --> src/main.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | hostName: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `host_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `imageType` should have a snake case name [INFO] [stdout] --> src/main.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | imageType: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `image_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastChangeSummary` should have a snake case name [INFO] [stdout] --> src/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | lastChangeSummary: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_change_summary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastModifiedBy` should have a snake case name [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | lastModifiedBy: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_modified_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastModifiedDate` should have a snake case name [INFO] [stdout] --> src/main.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | lastModifiedDate: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_modified_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastReValidation` should have a snake case name [INFO] [stdout] --> src/main.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | lastReValidation: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_re_validation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastSuccessfulPoll` should have a snake case name [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | lastSuccessfulPoll: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_successful_poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `loggedOnUserId` should have a snake case name [INFO] [stdout] --> src/main.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | loggedOnUserId: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `logged_on_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `managedByMDM` should have a snake case name [INFO] [stdout] --> src/main.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | managedByMDM: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `managed_by_mdm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mdmCompliance` should have a snake case name [INFO] [stdout] --> src/main.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | mdmCompliance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `mdm_compliance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mdmCompromised` should have a snake case name [INFO] [stdout] --> src/main.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | mdmCompromised: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mdm_compromised` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mdmDataProtection` should have a snake case name [INFO] [stdout] --> src/main.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | mdmDataProtection: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mdm_data_protection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mdmPasscodePresent` should have a snake case name [INFO] [stdout] --> src/main.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | mdmPasscodePresent: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mdm_passcode_present` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `offlineTime` should have a snake case name [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | offlineTime: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `offline_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `openPorts` should have a snake case name [INFO] [stdout] --> src/main.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | openPorts: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `open_ports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `patchManagementID` should have a snake case name [INFO] [stdout] --> src/main.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | patchManagementID: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `patch_management_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `patchManagementVendor` should have a snake case name [INFO] [stdout] --> src/main.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | patchManagementVendor: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `patch_management_vendor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reValidation` should have a snake case name [INFO] [stdout] --> src/main.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | reValidation: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `re_validation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reValidationInterval` should have a snake case name [INFO] [stdout] --> src/main.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | reValidationInterval: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `re_validation_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `serialNumber` should have a snake case name [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | serialNumber: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `serial_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `sourceCA` should have a snake case name [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | sourceCA: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `source_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `validForTime` should have a snake case name [INFO] [stdout] --> src/main.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | validForTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_for_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `validForTimeOffLine` should have a snake case name [INFO] [stdout] --> src/main.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | validForTimeOffLine: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_for_time_off_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `versionForHost` should have a snake case name [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | versionForHost: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `version_for_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `versionForReValidation` should have a snake case name [INFO] [stdout] --> src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | versionForReValidation: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `version_for_re_validation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vulScanDate` should have a snake case name [INFO] [stdout] --> src/main.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | vulScanDate: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `vul_scan_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vulScanStatus` should have a snake case name [INFO] [stdout] --> src/main.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | vulScanStatus: Option [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `vul_scan_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiName` should have a snake case name [INFO] [stdout] --> src/main.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | apiName: Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `api_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dataServerId` should have a snake case name [INFO] [stdout] --> src/main.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | dataServerId: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `data_server_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiError` should have a snake case name [INFO] [stdout] --> src/main.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | apiError: Option [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `api_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | insert_into(&args, &pool_for_insert).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 371 | let _ = insert_into(&args, &pool_for_insert).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 90 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/main.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | let action = &args.action; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `replica_group` [INFO] [stdout] --> src/main.rs:220:9 [INFO] [stdout] | [INFO] [stdout] 220 | let replica_group = &args.replica_group; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_replica_group` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/main.rs:365:9 [INFO] [stdout] | [INFO] [stdout] 365 | let reference = "hello".trim(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reference` [INFO] [stdout] --> src/main.rs:366:9 [INFO] [stdout] | [INFO] [stdout] 366 | let reference = &String::from("hello"); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reference` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AllTypesTest` is never constructed [INFO] [stdout] --> src/main.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | struct AllTypesTest { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HostRecords` is never constructed [INFO] [stdout] --> src/main.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | struct HostRecords { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ApiError` is never constructed [INFO] [stdout] --> src/main.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | struct ApiError { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryResultCountResponse` is never constructed [INFO] [stdout] --> src/main.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | struct QueryResultCountResponse { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommonMessageResult` is never constructed [INFO] [stdout] --> src/main.rs:190:8 [INFO] [stdout] | [INFO] [stdout] 190 | struct CommonMessageResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TRUCK` is never used [INFO] [stdout] --> src/main.rs:195:8 [INFO] [stdout] | [INFO] [stdout] 195 | static TRUCK: Emoji<'_, '_> = Emoji("🚚 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `LOOKING_GLASS` is never used [INFO] [stdout] --> src/main.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 196 | static LOOKING_GLASS: Emoji<'_, '_> = Emoji("🔍 ", ""); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `CLIP` is never used [INFO] [stdout] --> src/main.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | static CLIP: Emoji<'_, '_> = Emoji("🔗 ", ""); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PAPER` is never used [INFO] [stdout] --> src/main.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | static PAPER: Emoji<'_, '_> = Emoji("📃 ", ""); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HOST` is never used [INFO] [stdout] --> src/main.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 205 | static HOST: Emoji<'_, '_> = Emoji("🖥️ ", ":-)"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PORT` is never used [INFO] [stdout] --> src/main.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | static PORT: Emoji<'_, '_> = Emoji("🔌 ", ":-)"); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_servers` is never used [INFO] [stdout] --> src/main.rs:394:10 [INFO] [stdout] | [INFO] [stdout] 394 | async fn get_servers(client: &Client, url: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_client` is never used [INFO] [stdout] --> src/main.rs:415:10 [INFO] [stdout] | [INFO] [stdout] 415 | async fn create_client() -> std::result::Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_dir` is never used [INFO] [stdout] --> src/main.rs:814:4 [INFO] [stdout] | [INFO] [stdout] 814 | fn load_dir(dir: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_record` is never used [INFO] [stdout] --> src/main.rs:828:4 [INFO] [stdout] | [INFO] [stdout] 828 | fn load_record(record: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `append_to_record` is never used [INFO] [stdout] --> src/main.rs:834:4 [INFO] [stdout] | [INFO] [stdout] 834 | fn append_to_record(path: &str, content: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `execute_batch_delete` is never used [INFO] [stdout] --> src/main.rs:844:10 [INFO] [stdout] | [INFO] [stdout] 844 | async fn execute_batch_delete(id_file: &str, pool: &Pool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test` is never used [INFO] [stdout] --> src/main.rs:856:10 [INFO] [stdout] | [INFO] [stdout] 856 | async fn test() -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `agentID` should have a snake case name [INFO] [stdout] --> src/main.rs:119:5 [INFO] [stdout] | [INFO] [stdout] 119 | agentID: Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `agent_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `agentPlatform` should have a snake case name [INFO] [stdout] --> src/main.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | agentPlatform: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `agent_platform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `agentSN` should have a snake case name [INFO] [stdout] --> src/main.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | agentSN: Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `agent_sn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `agentTag` should have a snake case name [INFO] [stdout] --> src/main.rs:122:5 [INFO] [stdout] | [INFO] [stdout] 122 | agentTag: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `agent_tag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `agentVersion` should have a snake case name [INFO] [stdout] --> src/main.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | agentVersion: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `agent_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `caDbId` should have a snake case name [INFO] [stdout] --> src/main.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 126 | caDbId: Option, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `ca_db_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `creationTime` should have a snake case name [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | creationTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `creation_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `directoryPolicyValue` should have a snake case name [INFO] [stdout] --> src/main.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | directoryPolicyValue: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `directory_policy_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `domainId` should have a snake case name [INFO] [stdout] --> src/main.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | domainId: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `domain_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hardwareType` should have a snake case name [INFO] [stdout] --> src/main.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 132 | hardwareType: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `hardware_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `hostName` should have a snake case name [INFO] [stdout] --> src/main.rs:133:5 [INFO] [stdout] | [INFO] [stdout] 133 | hostName: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `host_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `imageType` should have a snake case name [INFO] [stdout] --> src/main.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | imageType: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `image_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastChangeSummary` should have a snake case name [INFO] [stdout] --> src/main.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 136 | lastChangeSummary: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_change_summary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastModifiedBy` should have a snake case name [INFO] [stdout] --> src/main.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | lastModifiedBy: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_modified_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastModifiedDate` should have a snake case name [INFO] [stdout] --> src/main.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | lastModifiedDate: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_modified_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastReValidation` should have a snake case name [INFO] [stdout] --> src/main.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | lastReValidation: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_re_validation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `lastSuccessfulPoll` should have a snake case name [INFO] [stdout] --> src/main.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | lastSuccessfulPoll: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `last_successful_poll` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `loggedOnUserId` should have a snake case name [INFO] [stdout] --> src/main.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | loggedOnUserId: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `logged_on_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `managedByMDM` should have a snake case name [INFO] [stdout] --> src/main.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 142 | managedByMDM: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `managed_by_mdm` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mdmCompliance` should have a snake case name [INFO] [stdout] --> src/main.rs:143:5 [INFO] [stdout] | [INFO] [stdout] 143 | mdmCompliance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `mdm_compliance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mdmCompromised` should have a snake case name [INFO] [stdout] --> src/main.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 144 | mdmCompromised: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mdm_compromised` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mdmDataProtection` should have a snake case name [INFO] [stdout] --> src/main.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | mdmDataProtection: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mdm_data_protection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `mdmPasscodePresent` should have a snake case name [INFO] [stdout] --> src/main.rs:146:5 [INFO] [stdout] | [INFO] [stdout] 146 | mdmPasscodePresent: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mdm_passcode_present` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `offlineTime` should have a snake case name [INFO] [stdout] --> src/main.rs:148:5 [INFO] [stdout] | [INFO] [stdout] 148 | offlineTime: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `offline_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `openPorts` should have a snake case name [INFO] [stdout] --> src/main.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | openPorts: Option, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `open_ports` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `patchManagementID` should have a snake case name [INFO] [stdout] --> src/main.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 152 | patchManagementID: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `patch_management_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `patchManagementVendor` should have a snake case name [INFO] [stdout] --> src/main.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | patchManagementVendor: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `patch_management_vendor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reValidation` should have a snake case name [INFO] [stdout] --> src/main.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 155 | reValidation: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `re_validation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `reValidationInterval` should have a snake case name [INFO] [stdout] --> src/main.rs:156:5 [INFO] [stdout] | [INFO] [stdout] 156 | reValidationInterval: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `re_validation_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `serialNumber` should have a snake case name [INFO] [stdout] --> src/main.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | serialNumber: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `serial_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `sourceCA` should have a snake case name [INFO] [stdout] --> src/main.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | sourceCA: Option, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `source_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `validForTime` should have a snake case name [INFO] [stdout] --> src/main.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | validForTime: Option, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_for_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `validForTimeOffLine` should have a snake case name [INFO] [stdout] --> src/main.rs:164:5 [INFO] [stdout] | [INFO] [stdout] 164 | validForTimeOffLine: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `valid_for_time_off_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `versionForHost` should have a snake case name [INFO] [stdout] --> src/main.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 165 | versionForHost: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `version_for_host` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `versionForReValidation` should have a snake case name [INFO] [stdout] --> src/main.rs:166:5 [INFO] [stdout] | [INFO] [stdout] 166 | versionForReValidation: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `version_for_re_validation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vulScanDate` should have a snake case name [INFO] [stdout] --> src/main.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | vulScanDate: Option, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `vul_scan_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `vulScanStatus` should have a snake case name [INFO] [stdout] --> src/main.rs:168:5 [INFO] [stdout] | [INFO] [stdout] 168 | vulScanStatus: Option [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `vul_scan_status` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiName` should have a snake case name [INFO] [stdout] --> src/main.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | apiName: Option, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `api_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `dataServerId` should have a snake case name [INFO] [stdout] --> src/main.rs:179:5 [INFO] [stdout] | [INFO] [stdout] 179 | dataServerId: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `data_server_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `apiError` should have a snake case name [INFO] [stdout] --> src/main.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | apiError: Option [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `api_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | insert_into(&args, &pool_for_insert).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 371 | let _ = insert_into(&args, &pool_for_insert).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 90 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 01s [INFO] running `Command { std: "docker" "inspect" "c0b31e0eb66ddb1844936d2b43365616febcfae58eb9bef9bc6838363d062d6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0b31e0eb66ddb1844936d2b43365616febcfae58eb9bef9bc6838363d062d6b", kill_on_drop: false }` [INFO] [stdout] c0b31e0eb66ddb1844936d2b43365616febcfae58eb9bef9bc6838363d062d6b