[INFO] cloning repository https://github.com/rickiey/rsawesome [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rickiey/rsawesome" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickiey%2Frsawesome", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickiey%2Frsawesome'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 827d8384471d246a6ae4c624993d47d04608a956 [INFO] checking rickiey/rsawesome against try#f6d7c613ae2d161ff37dbc63cc5abd809c878597 for pr-83850 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frickiey%2Frsawesome" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rickiey/rsawesome on toolchain f6d7c613ae2d161ff37dbc63cc5abd809c878597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rickiey/rsawesome [INFO] finished tweaking git repo https://github.com/rickiey/rsawesome [INFO] tweaked toml for git repo https://github.com/rickiey/rsawesome written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/rickiey/rsawesome already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 552d0fd617362119f513b545fa0577847fe80499d16e818d3d0618cb4173618b [INFO] running `Command { std: "docker" "start" "-a" "552d0fd617362119f513b545fa0577847fe80499d16e818d3d0618cb4173618b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "552d0fd617362119f513b545fa0577847fe80499d16e818d3d0618cb4173618b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "552d0fd617362119f513b545fa0577847fe80499d16e818d3d0618cb4173618b", kill_on_drop: false }` [INFO] [stdout] 552d0fd617362119f513b545fa0577847fe80499d16e818d3d0618cb4173618b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+f6d7c613ae2d161ff37dbc63cc5abd809c878597" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6c678aa32121f2b34d6b349916f4786a312da5242e6976eada3c6bbed7b7729a [INFO] running `Command { std: "docker" "start" "-a" "6c678aa32121f2b34d6b349916f4786a312da5242e6976eada3c6bbed7b7729a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.122 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling openssl v0.10.37 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling build_const v0.2.2 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling frunk_core v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling const_fn v0.4.8 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Checking funty v1.2.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling mysql v21.0.2 [INFO] [stderr] Checking sha1 v0.6.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking saturating v0.1.0 [INFO] [stderr] Checking integer-encoding v3.0.3 [INFO] [stderr] Checking chunked_transfer v1.4.0 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Compiling cmake v0.1.46 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling ahash v0.6.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking tinyvec v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling num-bigint v0.4.2 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling io-enum v1.0.1 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling clang-sys v1.2.2 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling openssl-sys v0.9.68 [INFO] [stderr] Compiling libsqlite3-sys v0.20.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Checking wyz v0.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Compiling hashlink v0.6.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking bitvec v0.22.3 [INFO] [stderr] Checking tracing-subscriber v0.3.11 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking nix v0.23.0 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking atoi v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling subprocess v0.2.8 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Checking lexical v5.2.2 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Checking pem v0.8.3 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking thrift v0.15.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking webpki-roots v0.22.3 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.0 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking lru v0.6.6 [INFO] [stderr] Checking rusqlite v0.24.2 [INFO] [stderr] Checking twox-hash v1.6.1 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tracing-attributes v0.1.20 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling frunk_proc_macros_impl v0.1.0 [INFO] [stderr] Compiling frunk_derives v0.4.0 [INFO] [stderr] Compiling typename_derive v0.1.4 [INFO] [stderr] Compiling mysql_common v0.27.5 [INFO] [stderr] Checking frunk_proc_macros v0.1.0 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking typename v0.1.2 [INFO] [stderr] Checking tokio v1.15.0 [INFO] [stderr] Checking frunk v0.4.0 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking sqlx-rt v0.3.0 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Checking h2 v0.3.9 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Checking opentelemetry v0.17.0 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.9.0 [INFO] [stderr] Checking tracing-opentelemetry v0.17.2 [INFO] [stderr] Checking opentelemetry-jaeger v0.16.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Checking bigdecimal v0.2.2 [INFO] [stderr] Checking rust_decimal v1.17.0 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking hyper v0.14.16 [INFO] [stderr] Checking sqlx-core v0.5.1 [INFO] [stderr] Checking fern v0.5.9 [INFO] [stderr] Checking ureq v2.4.0 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.8 [INFO] [stderr] Compiling sqlx-macros v0.5.1 [INFO] [stderr] Checking sqlx v0.5.1 [INFO] [stderr] Checking rsawesome v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/extern_lib/req.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, `warn` [INFO] [stdout] --> src/extern_lib/slog.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/extern_lib/sqlxlite.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pool`, `Sqlite` [INFO] [stdout] --> src/extern_lib/sqlxlite.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{Connection, Pool, sqlite::{SqliteConnectOptions, SqliteJournalMode, SqlitePoolOptions, SqliteSynchronous}, Sqlite}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/extern_lib/rusqlite.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use rusqlite::{params, Connection, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/mysqlcli/mycli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fmt_print::print_std` [INFO] [stdout] --> src/mysqlcli/mycli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::fmt_print::print_std; // 用来处理日期 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/future_async/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::future::join; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::algorithm::sort` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::algorithm::sort; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::strt::sstring::*` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::strt::sstring::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | #[warn(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::coll` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use collections::coll; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt_print::print_std::prints as ps` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use fmt_print::print_std::prints as ps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MinMax`, `Point2D`, `use_trait` [INFO] [stdout] --> src/main.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | use struct_trait::strait::{use_trait, MinMax, Point2D}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error` [INFO] [stdout] --> src/extern_lib/req.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/extern_lib/slog.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use log::{debug, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/extern_lib/sqlxlite.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pool`, `Sqlite` [INFO] [stdout] --> src/extern_lib/sqlxlite.rs:9:24 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{Connection, Pool, sqlite::{SqliteConnectOptions, SqliteJournalMode, SqlitePoolOptions, SqliteSynchronous}, Sqlite}; [INFO] [stdout] | ^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/extern_lib/rusqlite.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | use rusqlite::{params, Connection, Result}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/mysqlcli/mycli.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::fmt_print::print_std` [INFO] [stdout] --> src/mysqlcli/mycli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::fmt_print::print_std; // 用来处理日期 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/future_async/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::executor::block_on` [INFO] [stdout] --> src/main.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use futures::executor::block_on; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::future::join` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::future::join; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::algorithm::sort` [INFO] [stdout] --> src/main.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::algorithm::sort; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::strt::sstring::*` [INFO] [stdout] --> src/main.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use crate::strt::sstring::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | #[warn(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::coll` [INFO] [stdout] --> src/main.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use collections::coll; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fmt_print::print_std::prints as ps` [INFO] [stdout] --> src/main.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use fmt_print::print_std::prints as ps; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MinMax`, `Point2D`, `use_trait` [INFO] [stdout] --> src/main.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | use struct_trait::strait::{use_trait, MinMax, Point2D}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/extern_lib/rusqlite.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(once_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate-level attribute should be in the root module [INFO] [stdout] --> src/extern_lib/rusqlite.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(once_cell)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures` [INFO] [stdout] --> src/extern_lib/sqlxlite.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures` [INFO] [stdout] --> src/extern_lib/sqlxlite.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use futures::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/extern_lib/sqlxlite.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{Connection, Pool, sqlite::{SqliteConnectOptions, SqliteJournalMode, SqlitePoolOptions, SqliteSynchronous}, Sqlite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Connection` [INFO] [stdout] --> src/extern_lib/sqlxlite.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | use sqlx::{Connection, Pool, sqlite::{SqliteConnectOptions, SqliteJournalMode, SqlitePoolOptions, SqliteSynchronous}, Sqlite}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/enume/enumerate.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/enume/enumerate.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | #[warn(unreachable_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/enume/enumerate.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | _ => { [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/enume/enumerate.rs:22:20 [INFO] [stdout] | [INFO] [stdout] 22 | #[warn(unreachable_patterns)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tm` [INFO] [stdout] --> src/extern_lib/http_ureq.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let tm = chrono::Utc::now(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tm` [INFO] [stdout] --> src/extern_lib/http_ureq.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let tm = chrono::Utc::now(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tm` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/extern_lib/rusqlite.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut conn = CONN.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/extern_lib/rusqlite.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut conn = CONN.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mysqlcli/mycli.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut res = conn [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/mysqlcli/mycli.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut res = conn [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/main.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `phone_number` [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | phone_number: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `area_code` [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | area_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PhoneNumber` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PhoneNumber` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `work_phone_area_code` [INFO] [stdout] --> src/main.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn work_phone_area_code(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sort_bin` [INFO] [stdout] --> src/algorithm/sort/binary.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn sort_bin() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_quick_sort` [INFO] [stdout] --> src/algorithm/sort/quick.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn use_quick_sort(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quick_sort` [INFO] [stdout] --> src/algorithm/sort/quick.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn quick_sort(arr: &mut [T]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `partition` [INFO] [stdout] --> src/algorithm/sort/quick.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn partition(arr: &mut [T], low: isize, high: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_vec` [INFO] [stdout] --> src/collections/coll.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn use_vec() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_map` [INFO] [stdout] --> src/collections/coll.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn use_map() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `super_fn` [INFO] [stdout] --> src/enume/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn super_fn() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Loop` [INFO] [stdout] --> src/enume/enumerate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Loop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IpAddrKid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/enume/enumerate.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V4` [INFO] [stdout] --> src/enume/enumerate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | V4(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IpAddrKid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/enume/enumerate.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V6` [INFO] [stdout] --> src/enume/enumerate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | V6(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IpAddrKid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/enume/enumerate.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_ip` [INFO] [stdout] --> src/enume/enumerate.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn print_ip(self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_enum` [INFO] [stdout] --> src/enume/enumerate.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn use_enum() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mull` [INFO] [stdout] --> src/enume/enumerate.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn mull(x: i32) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `s` [INFO] [stdout] --> src/enume/enumerate.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn s(op: Option) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_serde_json` [INFO] [stdout] --> src/extern_lib/json_parse.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn use_serde_json() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_reqwest` [INFO] [stdout] --> src/extern_lib/req.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn use_reqwest() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `setup_logging` [INFO] [stdout] --> src/extern_lib/slog.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn setup_logging() -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_sqlx` [INFO] [stdout] --> src/extern_lib/sqlxlite.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn use_sqlx() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `CONN` [INFO] [stdout] --> src/extern_lib/rusqlite.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / static CONN : SyncLazy> = SyncLazy::new(|| { [INFO] [stdout] 8 | | let s = Mutex::new(Connection::open("penalty_msg.db").unwrap()); [INFO] [stdout] 9 | | println!("create conn"); [INFO] [stdout] 10 | | let _ = s.lock().unwrap().execute("CREATE TABLE if not exists `penalty_msgs` (`to_addr` text,`from_addr` text,`height` integer, [INFO] [stdout] 11 | | `amount` text,`time_at` datetime,`call_function` text,`sub_cause` text);", params![]); [INFO] [stdout] 12 | | s [INFO] [stdout] 13 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_sqlite` [INFO] [stdout] --> src/extern_lib/rusqlite.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn use_sqlite() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prints` [INFO] [stdout] --> src/fmt_print/print_std.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn prints() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_001` [INFO] [stdout] --> src/leet_code/container_moster_water.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn test_001() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max_area` [INFO] [stdout] --> src/leet_code/container_moster_water.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn max_area(height: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/mysqlcli/mycli.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | id: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/mysqlcli/mycli.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | height: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `from_addr` [INFO] [stdout] --> src/mysqlcli/mycli.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | from_addr: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `to_addr` [INFO] [stdout] --> src/mysqlcli/mycli.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | to_addr: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `amount` [INFO] [stdout] --> src/mysqlcli/mycli.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | amount: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `amount_v` [INFO] [stdout] --> src/mysqlcli/mycli.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | amount_v: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `call_function` [INFO] [stdout] --> src/mysqlcli/mycli.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | call_function: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sub_cause` [INFO] [stdout] --> src/mysqlcli/mycli.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | sub_cause: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time_at` [INFO] [stdout] --> src/mysqlcli/mycli.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | time_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_mysql` [INFO] [stdout] --> src/mysqlcli/mycli.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn use_mysql() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/mysqlcli/mycli.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new() -> PenaltyMsg { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sts` [INFO] [stdout] --> src/strt/sstring.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn sts() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_str` [INFO] [stdout] --> src/strt/sstring.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn create_str() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first_word` [INFO] [stdout] --> src/strt/sstring.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn first_word(s: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/struct_trait/strait.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area_calc` [INFO] [stdout] --> src/struct_trait/strait.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn area_calc(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_trait` [INFO] [stdout] --> src/struct_trait/strait.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn use_trait() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_future` [INFO] [stdout] --> src/future_async/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn use_future() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Person` [INFO] [stdout] --> src/main.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 84 | struct Person { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `phone_number` [INFO] [stdout] --> src/main.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | phone_number: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Job` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:88:10 [INFO] [stdout] | [INFO] [stdout] 88 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `area_code` [INFO] [stdout] --> src/main.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | area_code: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PhoneNumber` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `number` [INFO] [stdout] --> src/main.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | number: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PhoneNumber` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/main.rs:93:10 [INFO] [stdout] | [INFO] [stdout] 93 | #[derive(Clone, Copy)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `work_phone_area_code` [INFO] [stdout] --> src/main.rs:101:8 [INFO] [stdout] | [INFO] [stdout] 101 | fn work_phone_area_code(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sort_bin` [INFO] [stdout] --> src/algorithm/sort/binary.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn sort_bin() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_quick_sort` [INFO] [stdout] --> src/algorithm/sort/quick.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | pub fn use_quick_sort(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `quick_sort` [INFO] [stdout] --> src/algorithm/sort/quick.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn quick_sort(arr: &mut [T]) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `partition` [INFO] [stdout] --> src/algorithm/sort/quick.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn partition(arr: &mut [T], low: isize, high: isize) -> isize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_vec` [INFO] [stdout] --> src/collections/coll.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn use_vec() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_map` [INFO] [stdout] --> src/collections/coll.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn use_map() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `super_fn` [INFO] [stdout] --> src/enume/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn super_fn() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Loop` [INFO] [stdout] --> src/enume/enumerate.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Loop, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IpAddrKid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/enume/enumerate.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V4` [INFO] [stdout] --> src/enume/enumerate.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | V4(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IpAddrKid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/enume/enumerate.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `V6` [INFO] [stdout] --> src/enume/enumerate.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | V6(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `IpAddrKid` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/enume/enumerate.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_ip` [INFO] [stdout] --> src/enume/enumerate.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn print_ip(self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_enum` [INFO] [stdout] --> src/enume/enumerate.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn use_enum() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mull` [INFO] [stdout] --> src/enume/enumerate.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn mull(x: i32) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `s` [INFO] [stdout] --> src/enume/enumerate.rs:68:4 [INFO] [stdout] | [INFO] [stdout] 68 | fn s(op: Option) -> i32 { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_serde_json` [INFO] [stdout] --> src/extern_lib/json_parse.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn use_serde_json() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_reqwest` [INFO] [stdout] --> src/extern_lib/req.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn use_reqwest() -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_sqlx` [INFO] [stdout] --> src/extern_lib/sqlxlite.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | pub async fn use_sqlx() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `CONN` [INFO] [stdout] --> src/extern_lib/rusqlite.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / static CONN : SyncLazy> = SyncLazy::new(|| { [INFO] [stdout] 8 | | let s = Mutex::new(Connection::open("penalty_msg.db").unwrap()); [INFO] [stdout] 9 | | println!("create conn"); [INFO] [stdout] 10 | | let _ = s.lock().unwrap().execute("CREATE TABLE if not exists `penalty_msgs` (`to_addr` text,`from_addr` text,`height` integer, [INFO] [stdout] 11 | | `amount` text,`time_at` datetime,`call_function` text,`sub_cause` text);", params![]); [INFO] [stdout] 12 | | s [INFO] [stdout] 13 | | }); [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_sqlite` [INFO] [stdout] --> src/extern_lib/rusqlite.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn use_sqlite() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prints` [INFO] [stdout] --> src/fmt_print/print_std.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn prints() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_001` [INFO] [stdout] --> src/leet_code/container_moster_water.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn test_001() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `max_area` [INFO] [stdout] --> src/leet_code/container_moster_water.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn max_area(height: Vec) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `height` [INFO] [stdout] --> src/mysqlcli/mycli.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | height: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `from_addr` [INFO] [stdout] --> src/mysqlcli/mycli.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | from_addr: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `to_addr` [INFO] [stdout] --> src/mysqlcli/mycli.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | to_addr: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `amount` [INFO] [stdout] --> src/mysqlcli/mycli.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | amount: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `call_function` [INFO] [stdout] --> src/mysqlcli/mycli.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | call_function: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sub_cause` [INFO] [stdout] --> src/mysqlcli/mycli.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | sub_cause: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `time_at` [INFO] [stdout] --> src/mysqlcli/mycli.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | time_at: NaiveDateTime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PenaltyMsg` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/mysqlcli/mycli.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_mysql` [INFO] [stdout] --> src/mysqlcli/mycli.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn use_mysql() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sts` [INFO] [stdout] --> src/strt/sstring.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn sts() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_str` [INFO] [stdout] --> src/strt/sstring.rs:5:4 [INFO] [stdout] | [INFO] [stdout] 5 | fn create_str() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first_word` [INFO] [stdout] --> src/strt/sstring.rs:41:4 [INFO] [stdout] | [INFO] [stdout] 41 | fn first_word(s: &String) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area` [INFO] [stdout] --> src/struct_trait/strait.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | fn area(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `area_calc` [INFO] [stdout] --> src/struct_trait/strait.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn area_calc(x: f64, y: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_trait` [INFO] [stdout] --> src/struct_trait/strait.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn use_trait() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `use_future` [INFO] [stdout] --> src/future_async/mod.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | pub async fn use_future() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 64 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 68 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 40s [INFO] running `Command { std: "docker" "inspect" "6c678aa32121f2b34d6b349916f4786a312da5242e6976eada3c6bbed7b7729a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c678aa32121f2b34d6b349916f4786a312da5242e6976eada3c6bbed7b7729a", kill_on_drop: false }` [INFO] [stdout] 6c678aa32121f2b34d6b349916f4786a312da5242e6976eada3c6bbed7b7729a