[INFO] cloning repository https://github.com/fcdfl/proxy-subscriber
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fcdfl/proxy-subscriber" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcdfl%2Fproxy-subscriber", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcdfl%2Fproxy-subscriber'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2e4ee7c4840bfe79eca6936b9ddc0bca0918035f
[INFO] checking fcdfl/proxy-subscriber against master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffcdfl%2Fproxy-subscriber" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/fcdfl/proxy-subscriber
[INFO] finished tweaking git repo https://github.com/fcdfl/proxy-subscriber
[INFO] tweaked toml for git repo https://github.com/fcdfl/proxy-subscriber written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/fcdfl/proxy-subscriber on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/fcdfl/proxy-subscriber 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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.133
[INFO] [stderr]   Downloaded tracing-core v0.1.21
[INFO] [stderr]   Downloaded serde v1.0.133
[INFO] [stderr]   Downloaded thread_local v1.1.3
[INFO] [stderr]   Downloaded tracing-log v0.1.2
[INFO] [stderr]   Downloaded tokio-macros v1.7.0
[INFO] [stderr]   Downloaded futures-io v0.3.19
[INFO] [stderr]   Downloaded rand_hc v0.3.1
[INFO] [stderr]   Downloaded askama_derive v0.11.0
[INFO] [stderr]   Downloaded futures-sink v0.3.19
[INFO] [stderr]   Downloaded deadpool-postgres v0.10.1
[INFO] [stderr]   Downloaded slab v0.4.5
[INFO] [stderr]   Downloaded futures-core v0.3.19
[INFO] [stderr]   Downloaded md-5 v0.10.0
[INFO] [stderr]   Downloaded tokio-pg-mapper-derive v0.2.0
[INFO] [stderr]   Downloaded tokio-pg-mapper v0.2.0
[INFO] [stderr]   Downloaded askama v0.11.0
[INFO] [stderr]   Downloaded siphasher v0.3.9
[INFO] [stderr]   Downloaded postgres-derive v0.4.1
[INFO] [stderr]   Downloaded deadpool-runtime v0.1.2
[INFO] [stderr]   Downloaded axum-core v0.1.1
[INFO] [stderr]   Downloaded humansize v1.1.1
[INFO] [stderr]   Downloaded askama_escape v0.10.2
[INFO] [stderr]   Downloaded http-body v0.4.4
[INFO] [stderr]   Downloaded futures-macro v0.3.19
[INFO] [stderr]   Downloaded futures-executor v0.3.19
[INFO] [stderr]   Downloaded futures-channel v0.3.19
[INFO] [stderr]   Downloaded postgres-types v0.2.2
[INFO] [stderr]   Downloaded postgres-protocol v0.6.3
[INFO] [stderr]   Downloaded lock_api v0.4.5
[INFO] [stderr]   Downloaded futures-task v0.3.19
[INFO] [stderr]   Downloaded matchit v0.4.4
[INFO] [stderr]   Downloaded httparse v1.5.1
[INFO] [stderr]   Downloaded sha2 v0.10.1
[INFO] [stderr]   Downloaded async-trait v0.1.52
[INFO] [stderr]   Downloaded tracing-attributes v0.1.18
[INFO] [stderr]   Downloaded miow v0.3.7
[INFO] [stderr]   Downloaded tinyvec v1.5.1
[INFO] [stderr]   Downloaded unicode-bidi v0.3.7
[INFO] [stderr]   Downloaded futures v0.3.19
[INFO] [stderr]   Downloaded serde_yaml v0.8.23
[INFO] [stderr]   Downloaded askama_shared v0.12.0
[INFO] [stderr]   Downloaded pin-project-lite v0.2.8
[INFO] [stderr]   Downloaded deadpool v0.9.2
[INFO] [stderr]   Downloaded socket2 v0.4.2
[INFO] [stderr]   Downloaded hmac v0.12.0
[INFO] [stderr]   Downloaded tokio-postgres v0.7.5
[INFO] [stderr]   Downloaded tracing v0.1.29
[INFO] [stderr]   Downloaded tokio-util v0.6.9
[INFO] [stderr]   Downloaded axum v0.4.4
[INFO] [stderr]   Downloaded mio v0.7.14
[INFO] [stderr]   Downloaded http v0.2.6
[INFO] [stderr]   Downloaded rand v0.8.4
[INFO] [stderr]   Downloaded tower v0.4.11
[INFO] [stderr]   Downloaded tower-http v0.2.0
[INFO] [stderr]   Downloaded nom v7.1.0
[INFO] [stderr]   Downloaded serde_json v1.0.75
[INFO] [stderr]   Downloaded ntapi v0.3.6
[INFO] [stderr]   Downloaded futures-util v0.3.19
[INFO] [stderr]   Downloaded syn v1.0.85
[INFO] [stderr]   Downloaded hyper v0.14.16
[INFO] [stderr]   Downloaded libc v0.2.112
[INFO] [stderr]   Downloaded tokio v1.15.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d1d01027f5e73dee572720ebe110c2cdd08a6d00ee0047ae9e8af2808dacbbd
[INFO] running `Command { std: "docker" "start" "-a" "9d1d01027f5e73dee572720ebe110c2cdd08a6d00ee0047ae9e8af2808dacbbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d1d01027f5e73dee572720ebe110c2cdd08a6d00ee0047ae9e8af2808dacbbd", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d1d01027f5e73dee572720ebe110c2cdd08a6d00ee0047ae9e8af2808dacbbd", kill_on_drop: false }`
[INFO] [stdout] 9d1d01027f5e73dee572720ebe110c2cdd08a6d00ee0047ae9e8af2808dacbbd
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 40249f9c5df8f2b0c1d499c687fa1538720bee4ef3612a6a93ec9d0884c18702
[INFO] running `Command { std: "docker" "start" "-a" "40249f9c5df8f2b0c1d499c687fa1538720bee4ef3612a6a93ec9d0884c18702", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.85
[INFO] [stderr]    Compiling libc v0.2.112
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling futures-core v0.3.19
[INFO] [stderr]    Compiling serde_derive v1.0.133
[INFO] [stderr]    Compiling serde v1.0.133
[INFO] [stderr]    Compiling futures-task v0.3.19
[INFO] [stderr]     Checking pin-project-lite v0.2.8
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling futures-util v0.3.19
[INFO] [stderr]    Compiling futures-channel v0.3.19
[INFO] [stderr]     Checking once_cell v1.9.0
[INFO] [stderr]     Checking futures-sink v0.3.19
[INFO] [stderr]     Checking lock_api v0.4.5
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]     Checking futures-io v0.3.19
[INFO] [stderr]     Checking slab v0.4.5
[INFO] [stderr]     Checking itoa v1.0.1
[INFO] [stderr]    Compiling async-trait v0.1.52
[INFO] [stderr]     Checking block-buffer v0.10.0
[INFO] [stderr]     Checking crypto-common v0.1.1
[INFO] [stderr]     Checking subtle v2.4.1
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking ryu v1.0.9
[INFO] [stderr]     Checking tinyvec v1.5.1
[INFO] [stderr]     Checking tracing-core v0.1.21
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]     Checking digest v0.10.1
[INFO] [stderr]    Compiling nom v7.1.0
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling quote v1.0.14
[INFO] [stderr]     Checking unicode-bidi v0.3.7
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]     Checking cpufeatures v0.2.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]     Checking sha2 v0.10.1
[INFO] [stderr]     Checking http v0.2.6
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking hmac v0.12.0
[INFO] [stderr]     Checking md-5 v0.10.0
[INFO] [stderr]     Checking siphasher v0.3.9
[INFO] [stderr]     Checking parking_lot_core v0.8.5
[INFO] [stderr]     Checking mio v0.7.14
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking getrandom v0.2.4
[INFO] [stderr]     Checking stringprep v0.1.2
[INFO] [stderr]     Checking socket2 v0.4.2
[INFO] [stderr]    Compiling serde_json v1.0.75
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking phf_shared v0.10.0
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling httparse v1.5.1
[INFO] [stderr]     Checking rand v0.8.4
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling tokio v1.15.0
[INFO] [stderr]     Checking phf v0.10.1
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking regex v1.5.4
[INFO] [stderr]    Compiling askama_escape v0.10.2
[INFO] [stderr]     Checking tower-layer v0.3.1
[INFO] [stderr]     Checking lexical-core v0.7.6
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]    Compiling postgres-protocol v0.6.3
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking http-range-header v0.3.0
[INFO] [stderr]     Checking humansize v1.1.1
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking tracing-log v0.1.2
[INFO] [stderr]     Checking thread_local v1.1.3
[INFO] [stderr]     Checking sync_wrapper v0.1.1
[INFO] [stderr]     Checking matchit v0.4.4
[INFO] [stderr]     Checking serde-hjson v0.9.1
[INFO] [stderr]    Compiling postgres-types v0.2.2
[INFO] [stderr]     Checking matchers v0.0.1
[INFO] [stderr]     Checking nom v5.1.2
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling futures-macro v0.3.19
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.18
[INFO] [stderr]    Compiling postgres-derive v0.4.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]     Checking tracing v0.1.29
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking futures-executor v0.3.19
[INFO] [stderr]     Checking axum-core v0.1.1
[INFO] [stderr]     Checking futures v0.3.19
[INFO] [stderr]    Compiling tokio-postgres v0.7.5
[INFO] [stderr]     Checking toml v0.5.8
[INFO] [stderr]     Checking tracing-serde v0.1.2
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_yaml v0.8.23
[INFO] [stderr]     Checking uuid v0.8.2
[INFO] [stderr]     Checking deadpool-runtime v0.1.2
[INFO] [stderr]     Checking hyper v0.14.16
[INFO] [stderr]     Checking deadpool v0.9.2
[INFO] [stderr]     Checking tower-http v0.2.0
[INFO] [stderr]     Checking tower v0.4.11
[INFO] [stderr]     Checking askama_shared v0.12.0
[INFO] [stderr]     Checking tracing-subscriber v0.2.25
[INFO] [stderr]     Checking config v0.11.0
[INFO] [stderr]     Checking axum v0.4.4
[INFO] [stderr]    Compiling tokio-pg-mapper-derive v0.2.0
[INFO] [stderr]     Checking deadpool-postgres v0.10.1
[INFO] [stderr]     Checking tokio-pg-mapper v0.2.0
[INFO] [stderr]    Compiling askama_derive v0.11.0
[INFO] [stderr]     Checking askama v0.11.0
[INFO] [stderr]     Checking proxy-subscriber v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/db/mod.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | type ParamterItem = (dyn ToSql + Sync);
[INFO] [stdout]    |                     ^                ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 14 - type ParamterItem = (dyn ToSql + Sync);
[INFO] [stdout] 14 + type ParamterItem = dyn ToSql + Sync ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around type
[INFO] [stdout]   --> src/db/mod.rs:14:21
[INFO] [stdout]    |
[INFO] [stdout] 14 | type ParamterItem = (dyn ToSql + Sync);
[INFO] [stdout]    |                     ^                ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 14 - type ParamterItem = (dyn ToSql + Sync);
[INFO] [stdout] 14 + type ParamterItem = dyn ToSql + Sync ;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cf` and `co` are never read
[INFO] [stdout]   --> src/args.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct ArgsForSub {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub cf: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 41 |     /// 是否只获取优选IP的节点
[INFO] [stdout] 42 |     pub co: u8,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArgsForSub` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `co` and `cfs` are never used
[INFO] [stdout]   --> src/args.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl ArgsForSub {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 45 |     pub fn co(&self) -> bool {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn cfs(&self) -> Option<Vec<String>> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `total_record` and `page_size` are never read
[INFO] [stdout]    --> src/db/mod.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub struct Paginate<T> {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 125 |     pub total_record: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 126 |     pub page: u32,
[INFO] [stdout] 127 |     pub page_size: u8,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CfipList` is never used
[INFO] [stdout]  --> src/db/cfip.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum CfipList {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]   --> src/db/cfip.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn get(client: &Client, cfs: &Vec<String>) -> Result<CfipList> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change_name` is never used
[INFO] [stdout]   --> src/db/group.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub(crate) async fn change_name(client: &Client, name: String, id: i32) -> Result<u64> {
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change_url` is never used
[INFO] [stdout]   --> src/db/group.rs:31:21
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) async fn change_url(client: &Client, id: i32) -> Result<u64> {
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find` is never used
[INFO] [stdout]   --> src/db/group.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub(crate) async fn find(client: &Client, id: i32) -> Result<Group> {
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cause` and `types` are never read
[INFO] [stdout]   --> src/error.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct AppError {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 14 |     pub message: Option<String>,
[INFO] [stdout] 15 |     pub cause: Option<Box<dyn std::error::Error>>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 16 |     pub types: AppErrorType,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `not_found_msg`, `not_found`, and `invalid_param` are never used
[INFO] [stdout]   --> src/error.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl AppError {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn not_found_msg(msg: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn not_found() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn invalid_param() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `redirect` is never used
[INFO] [stdout]   --> src/handler.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn redirect(url: &str) -> RedirectResult {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cfips` is never constructed
[INFO] [stdout]    --> src/model.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct Cfips {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CfipsID` is never constructed
[INFO] [stdout]    --> src/model.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct CfipsID {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Auth` is never constructed
[INFO] [stdout]    --> src/model.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct Auth {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthID` is never constructed
[INFO] [stdout]    --> src/model.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct AuthID {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ToClash` is never used
[INFO] [stdout]  --> src/types.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait ToClash {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ToV2ray` is never used
[INFO] [stdout]  --> src/types.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait ToV2ray {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ToSub` is never used
[INFO] [stdout]   --> src/types.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait ToSub: ToClash + ToV2ray {}
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cf` and `co` are never read
[INFO] [stdout]   --> src/args.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct ArgsForSub {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 40 |     pub cf: String,
[INFO] [stdout]    |         ^^
[INFO] [stdout] 41 |     /// 是否只获取优选IP的节点
[INFO] [stdout] 42 |     pub co: u8,
[INFO] [stdout]    |         ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ArgsForSub` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `co` and `cfs` are never used
[INFO] [stdout]   --> src/args.rs:45:12
[INFO] [stdout]    |
[INFO] [stdout] 44 | impl ArgsForSub {
[INFO] [stdout]    | --------------- methods in this implementation
[INFO] [stdout] 45 |     pub fn co(&self) -> bool {
[INFO] [stdout]    |            ^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn cfs(&self) -> Option<Vec<String>> {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `total_record` and `page_size` are never read
[INFO] [stdout]    --> src/db/mod.rs:125:9
[INFO] [stdout]     |
[INFO] [stdout] 124 | pub struct Paginate<T> {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] 125 |     pub total_record: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^
[INFO] [stdout] 126 |     pub page: u32,
[INFO] [stdout] 127 |     pub page_size: u8,
[INFO] [stdout]     |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CfipList` is never used
[INFO] [stdout]  --> src/db/cfip.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum CfipList {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get` is never used
[INFO] [stdout]   --> src/db/cfip.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | pub async fn get(client: &Client, cfs: &Vec<String>) -> Result<CfipList> {
[INFO] [stdout]    |              ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change_name` is never used
[INFO] [stdout]   --> src/db/group.rs:21:21
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub(crate) async fn change_name(client: &Client, name: String, id: i32) -> Result<u64> {
[INFO] [stdout]    |                     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `change_url` is never used
[INFO] [stdout]   --> src/db/group.rs:31:21
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub(crate) async fn change_url(client: &Client, id: i32) -> Result<u64> {
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find` is never used
[INFO] [stdout]   --> src/db/group.rs:57:21
[INFO] [stdout]    |
[INFO] [stdout] 57 | pub(crate) async fn find(client: &Client, id: i32) -> Result<Group> {
[INFO] [stdout]    |                     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `cause` and `types` are never read
[INFO] [stdout]   --> src/error.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct AppError {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 14 |     pub message: Option<String>,
[INFO] [stdout] 15 |     pub cause: Option<Box<dyn std::error::Error>>,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 16 |     pub types: AppErrorType,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `not_found_msg`, `not_found`, and `invalid_param` are never used
[INFO] [stdout]   --> src/error.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl AppError {
[INFO] [stdout]    | ------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn not_found_msg(msg: &str) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn not_found() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     pub fn invalid_param() -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `redirect` is never used
[INFO] [stdout]   --> src/handler.rs:53:4
[INFO] [stdout]    |
[INFO] [stdout] 53 | fn redirect(url: &str) -> RedirectResult {
[INFO] [stdout]    |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Cfips` is never constructed
[INFO] [stdout]    --> src/model.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 | pub struct Cfips {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CfipsID` is never constructed
[INFO] [stdout]    --> src/model.rs:148:12
[INFO] [stdout]     |
[INFO] [stdout] 148 | pub struct CfipsID {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Auth` is never constructed
[INFO] [stdout]    --> src/model.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 153 | pub struct Auth {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AuthID` is never constructed
[INFO] [stdout]    --> src/model.rs:160:12
[INFO] [stdout]     |
[INFO] [stdout] 160 | pub struct AuthID {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ToClash` is never used
[INFO] [stdout]  --> src/types.rs:5:11
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub trait ToClash {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ToV2ray` is never used
[INFO] [stdout]  --> src/types.rs:9:11
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub trait ToV2ray {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ToSub` is never used
[INFO] [stdout]   --> src/types.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait ToSub: ToClash + ToV2ray {}
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.73s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "40249f9c5df8f2b0c1d499c687fa1538720bee4ef3612a6a93ec9d0884c18702", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "40249f9c5df8f2b0c1d499c687fa1538720bee4ef3612a6a93ec9d0884c18702", kill_on_drop: false }`
[INFO] [stdout] 40249f9c5df8f2b0c1d499c687fa1538720bee4ef3612a6a93ec9d0884c18702
