[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] testing fcdfl/proxy-subscriber against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded postgres-protocol v0.6.3 [INFO] [stderr] Downloaded md-5 v0.10.0 [INFO] [stderr] Downloaded siphasher v0.3.9 [INFO] [stderr] Downloaded postgres-types v0.2.2 [INFO] [stderr] Downloaded tokio-pg-mapper-derive v0.2.0 [INFO] [stderr] Downloaded postgres-derive v0.4.1 [INFO] [stderr] Downloaded deadpool-runtime v0.1.2 [INFO] [stderr] Downloaded tokio-pg-mapper v0.2.0 [INFO] [stderr] Downloaded askama_derive v0.11.0 [INFO] [stderr] Downloaded deadpool-postgres v0.10.1 [INFO] [stderr] Downloaded askama_escape v0.10.2 [INFO] [stderr] Downloaded hmac v0.12.0 [INFO] [stderr] Downloaded askama_shared v0.12.0 [INFO] [stderr] Downloaded deadpool v0.9.2 [INFO] [stderr] Downloaded tokio-postgres v0.7.5 [INFO] [stderr] Downloaded tower-http v0.2.0 [INFO] [stderr] Downloaded tower v0.4.11 [INFO] [stderr] Downloaded axum v0.4.4 [INFO] [stderr] Downloaded axum-core v0.1.1 [INFO] [stderr] Downloaded askama v0.11.0 [INFO] [stderr] Downloaded hyper v0.14.16 [INFO] [stderr] Downloaded matchit v0.4.4 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9aaa9257362ac9bae2c27bb9d58ad6284babf4656a8241f1830736d92e9b9b4a [INFO] running `Command { std: "docker" "start" "-a" "9aaa9257362ac9bae2c27bb9d58ad6284babf4656a8241f1830736d92e9b9b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9aaa9257362ac9bae2c27bb9d58ad6284babf4656a8241f1830736d92e9b9b4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9aaa9257362ac9bae2c27bb9d58ad6284babf4656a8241f1830736d92e9b9b4a", kill_on_drop: false }` [INFO] [stdout] 9aaa9257362ac9bae2c27bb9d58ad6284babf4656a8241f1830736d92e9b9b4a [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1a55edd0b1391e504fc5f317314edfd4abd3de8dbcd6c6942dd83e381b6b6fe7 [INFO] running `Command { std: "docker" "start" "-a" "1a55edd0b1391e504fc5f317314edfd4abd3de8dbcd6c6942dd83e381b6b6fe7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling sha2 v0.10.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling md-5 v0.10.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling hmac v0.12.0 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.75 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling postgres-protocol v0.6.3 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling phf v0.10.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling askama_escape v0.10.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling postgres-types v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling serde v0.8.23 [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] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling humansize v1.1.1 [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling serde-hjson v0.9.1 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling tokio-postgres v0.7.5 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling axum-core v0.1.1 [INFO] [stderr] Compiling deadpool-runtime v0.1.2 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling tower-http v0.2.0 [INFO] [stderr] Compiling tower v0.4.11 [INFO] [stderr] Compiling matchit v0.4.4 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling tokio-pg-mapper-derive v0.2.0 [INFO] [stderr] Compiling tokio-pg-mapper v0.2.0 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling deadpool v0.9.2 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling deadpool-postgres v0.10.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling askama_shared v0.12.0 [INFO] [stderr] Compiling axum v0.4.4 [INFO] [stderr] Compiling config v0.11.0 [INFO] [stderr] Compiling askama_derive v0.11.0 [INFO] [stderr] Compiling askama v0.11.0 [INFO] [stderr] Compiling proxy-subscriber v0.1.0 (/opt/rustwide/workdir) [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)]` 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> { [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 { [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) -> Result { [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 { [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 { [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 { [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, [INFO] [stdout] 15 | pub cause: Option>, [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: 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 2m 22s [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 3` [INFO] running `Command { std: "docker" "inspect" "1a55edd0b1391e504fc5f317314edfd4abd3de8dbcd6c6942dd83e381b6b6fe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a55edd0b1391e504fc5f317314edfd4abd3de8dbcd6c6942dd83e381b6b6fe7", kill_on_drop: false }` [INFO] [stdout] 1a55edd0b1391e504fc5f317314edfd4abd3de8dbcd6c6942dd83e381b6b6fe7 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] efa367aee9542670b6470128f2f2918e05dfac5b419ac9bd637b18ed33ac85de [INFO] running `Command { std: "docker" "start" "-a" "efa367aee9542670b6470128f2f2918e05dfac5b419ac9bd637b18ed33ac85de", kill_on_drop: false }` [INFO] [stderr] Compiling proxy-subscriber v0.1.0 (/opt/rustwide/workdir) [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)]` 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> { [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 { [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) -> Result { [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 { [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 { [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 { [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, [INFO] [stdout] 15 | pub cause: Option>, [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: 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 `test` profile [unoptimized + debuginfo] target(s) in 1.63s [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 3` [INFO] running `Command { std: "docker" "inspect" "efa367aee9542670b6470128f2f2918e05dfac5b419ac9bd637b18ed33ac85de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "efa367aee9542670b6470128f2f2918e05dfac5b419ac9bd637b18ed33ac85de", kill_on_drop: false }` [INFO] [stdout] efa367aee9542670b6470128f2f2918e05dfac5b419ac9bd637b18ed33ac85de [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] f694bf681a397d61d7bf24e80f4cd597810b6709d66d016fe9b7e13a0baa67af [INFO] running `Command { std: "docker" "start" "-a" "f694bf681a397d61d7bf24e80f4cd597810b6709d66d016fe9b7e13a0baa67af", kill_on_drop: false }` [INFO] [stderr] warning: fields `cf` and `co` are never read [INFO] [stderr] --> src/args.rs:40:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct ArgsForSub { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 40 | pub cf: String, [INFO] [stderr] | ^^ [INFO] [stderr] 41 | /// 是否只获取优选IP的节点 [INFO] [stderr] 42 | pub co: u8, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `ArgsForSub` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: methods `co` and `cfs` are never used [INFO] [stderr] --> src/args.rs:45:12 [INFO] [stderr] | [INFO] [stderr] 44 | impl ArgsForSub { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] 45 | pub fn co(&self) -> bool { [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn cfs(&self) -> Option> { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `total_record` and `page_size` are never read [INFO] [stderr] --> src/db/mod.rs:125:9 [INFO] [stderr] | [INFO] [stderr] 124 | pub struct Paginate { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 125 | pub total_record: u64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 126 | pub page: u32, [INFO] [stderr] 127 | pub page_size: u8, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `CfipList` is never used [INFO] [stderr] --> src/db/cfip.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum CfipList { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get` is never used [INFO] [stderr] --> src/db/cfip.rs:10:14 [INFO] [stderr] | [INFO] [stderr] 10 | pub async fn get(client: &Client, cfs: &Vec) -> Result { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `change_name` is never used [INFO] [stderr] --> src/db/group.rs:21:21 [INFO] [stderr] | [INFO] [stderr] 21 | pub(crate) async fn change_name(client: &Client, name: String, id: i32) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `change_url` is never used [INFO] [stderr] --> src/db/group.rs:31:21 [INFO] [stderr] | [INFO] [stderr] 31 | pub(crate) async fn change_url(client: &Client, id: i32) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `find` is never used [INFO] [stderr] --> src/db/group.rs:57:21 [INFO] [stderr] | [INFO] [stderr] 57 | pub(crate) async fn find(client: &Client, id: i32) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `cause` and `types` are never read [INFO] [stderr] --> src/error.rs:15:9 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct AppError { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 14 | pub message: Option, [INFO] [stderr] 15 | pub cause: Option>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 16 | pub types: AppErrorType, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated functions `not_found_msg`, `not_found`, and `invalid_param` are never used [INFO] [stderr] --> src/error.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 19 | impl AppError { [INFO] [stderr] | ------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 44 | pub fn not_found_msg(msg: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 47 | pub fn not_found() -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn invalid_param() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `redirect` is never used [INFO] [stderr] --> src/handler.rs:53:4 [INFO] [stderr] | [INFO] [stderr] 53 | fn redirect(url: &str) -> RedirectResult { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ToClash` is never used [INFO] [stderr] --> src/types.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait ToClash { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ToV2ray` is never used [INFO] [stderr] --> src/types.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub trait ToV2ray { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `ToSub` is never used [INFO] [stderr] --> src/types.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub trait ToSub: ToClash + ToV2ray {} [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `proxy-subscriber` (bin "proxy-subscriber" test) generated 14 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [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 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/proxy_subscriber-480b9ab39aa20e50) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f694bf681a397d61d7bf24e80f4cd597810b6709d66d016fe9b7e13a0baa67af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f694bf681a397d61d7bf24e80f4cd597810b6709d66d016fe9b7e13a0baa67af", kill_on_drop: false }` [INFO] [stdout] f694bf681a397d61d7bf24e80f4cd597810b6709d66d016fe9b7e13a0baa67af