[INFO] cloning repository https://github.com/AiSmithR/proxy_socks5
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AiSmithR/proxy_socks5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAiSmithR%2Fproxy_socks5", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAiSmithR%2Fproxy_socks5'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cd0722e013d7f76ef0daf364722de52d4421f2a3
[INFO] checking AiSmithR/proxy_socks5 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAiSmithR%2Fproxy_socks5" "/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/AiSmithR/proxy_socks5
[INFO] finished tweaking git repo https://github.com/AiSmithR/proxy_socks5
[INFO] tweaked toml for git repo https://github.com/AiSmithR/proxy_socks5 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AiSmithR/proxy_socks5 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AiSmithR/proxy_socks5 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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded socks v0.3.4
[INFO] [stderr]   Downloaded similar v2.7.0
[INFO] [stderr]   Downloaded mockito v1.7.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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f31e895bffbe4288fba7cc0583426354ba1dff3e4389e980820d78b2f248080c
[INFO] running `Command { std: "docker" "start" "-a" "f31e895bffbe4288fba7cc0583426354ba1dff3e4389e980820d78b2f248080c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f31e895bffbe4288fba7cc0583426354ba1dff3e4389e980820d78b2f248080c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f31e895bffbe4288fba7cc0583426354ba1dff3e4389e980820d78b2f248080c", kill_on_drop: false }`
[INFO] [stdout] f31e895bffbe4288fba7cc0583426354ba1dff3e4389e980820d78b2f248080c
[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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 034af1b9de7db0f4d1fe25212053621dd941ffc56043f4a7c7ffc32e60025554
[INFO] running `Command { std: "docker" "start" "-a" "034af1b9de7db0f4d1fe25212053621dd941ffc56043f4a7c7ffc32e60025554", kill_on_drop: false }`
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]     Checking stable_deref_trait v1.2.1
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]    Compiling cc v1.2.41
[INFO] [stderr]     Checking indexmap v2.11.4
[INFO] [stderr]     Checking bitflags v2.9.4
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking toml_write v0.1.2
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking sync_wrapper v0.1.2
[INFO] [stderr]     Checking socks v0.3.4
[INFO] [stderr]     Checking tracing-subscriber v0.3.20
[INFO] [stderr]     Checking colored v3.0.0
[INFO] [stderr]     Checking similar v2.7.0
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling openssl-sys v0.9.110
[INFO] [stderr]    Compiling openssl v0.10.74
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]     Checking tokio v1.48.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking yoke v0.8.0
[INFO] [stderr]     Checking zerotrie v0.2.2
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking zerovec v0.11.4
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking potential_utf v0.1.3
[INFO] [stderr]     Checking icu_collections v2.0.0
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking assert-json-diff v2.0.2
[INFO] [stderr]     Checking icu_properties v2.0.1
[INFO] [stderr]     Checking icu_normalizer v2.0.0
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking idna_adapter v1.2.1
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.7
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking tokio-stream v0.1.17
[INFO] [stderr]     Checking tokio-test v0.4.4
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking h2 v0.4.12
[INFO] [stderr]     Checking hyper v1.7.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking hyper-util v0.1.17
[INFO] [stderr]     Checking mockito v1.7.0
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.27
[INFO] [stderr]     Checking proxy_socks5 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `SocketAddr`
[INFO] [stdout]   --> src/lib.rs:90:34
[INFO] [stdout]    |
[INFO] [stdout] 90 |         use std::net::{Ipv4Addr, SocketAddr};
[INFO] [stdout]    |                                  ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_default_config` is never used
[INFO] [stdout]    --> src/main.rs:110:10
[INFO] [stdout]     |
[INFO] [stdout] 110 | async fn create_default_config() -> Result<()> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save_to_file` is never used
[INFO] [stdout]   --> src/config.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl ProxyConfig {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn save_to_file(&self, path: &str) -> anyhow::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_connection_count`, `get_config`, `get_bind_addr`, and `shutdown` are never used
[INFO] [stdout]    --> src/server.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl ProxyServer {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn get_connection_count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn get_config(&self) -> &ProxyConfig {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub async fn get_bind_addr(&self) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub async fn shutdown(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GracefulShutdown` is never constructed
[INFO] [stdout]    --> src/server.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct GracefulShutdown {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `wait_for_shutdown` are never used
[INFO] [stdout]    --> src/server.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl GracefulShutdown {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 162 |     /// 创建优雅关闭处理器
[INFO] [stdout] 163 |     pub fn new(server: Arc<ProxyServer>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub async fn wait_for_shutdown(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UserPass` is never constructed
[INFO] [stdout]   --> src/socks5.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum AuthMethod {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 13 |     NoAuth = 0x00,
[INFO] [stdout] 14 |     UserPass = 0x02,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ConnectionNotAllowed` and `AddressTypeNotSupported` are never constructed
[INFO] [stdout]   --> src/socks5.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum ResponseCode {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 46 |     ConnectionNotAllowed = 0x02,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     AddressTypeNotSupported = 0x08,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ResponseCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `port` is never used
[INFO] [stdout]   --> src/socks5.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl Address {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn port(&self) -> u16 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_default_config` is never used
[INFO] [stdout]    --> src/main.rs:110:10
[INFO] [stdout]     |
[INFO] [stdout] 110 | async fn create_default_config() -> Result<()> {
[INFO] [stdout]     |          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `save_to_file` is never used
[INFO] [stdout]   --> src/config.rs:48:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | impl ProxyConfig {
[INFO] [stdout]    | ---------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 48 |     pub fn save_to_file(&self, path: &str) -> anyhow::Result<()> {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_connection_count`, `get_config`, `get_bind_addr`, and `shutdown` are never used
[INFO] [stdout]    --> src/server.rs:132:12
[INFO] [stdout]     |
[INFO] [stdout]  18 | impl ProxyServer {
[INFO] [stdout]     | ---------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 132 |     pub fn get_connection_count(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 137 |     pub fn get_config(&self) -> &ProxyConfig {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     pub async fn get_bind_addr(&self) -> Result<String> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 148 |     pub async fn shutdown(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GracefulShutdown` is never constructed
[INFO] [stdout]    --> src/server.rs:157:12
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub struct GracefulShutdown {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `wait_for_shutdown` are never used
[INFO] [stdout]    --> src/server.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 161 | impl GracefulShutdown {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout] 162 |     /// 创建优雅关闭处理器
[INFO] [stdout] 163 |     pub fn new(server: Arc<ProxyServer>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 168 |     pub async fn wait_for_shutdown(&self) -> Result<()> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `UserPass` is never constructed
[INFO] [stdout]   --> src/socks5.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub enum AuthMethod {
[INFO] [stdout]    |          ---------- variant in this enum
[INFO] [stdout] 13 |     NoAuth = 0x00,
[INFO] [stdout] 14 |     UserPass = 0x02,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AuthMethod` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `ConnectionNotAllowed` and `AddressTypeNotSupported` are never constructed
[INFO] [stdout]   --> src/socks5.rs:46:5
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub enum ResponseCode {
[INFO] [stdout]    |          ------------ variants in this enum
[INFO] [stdout] ...
[INFO] [stdout] 46 |     ConnectionNotAllowed = 0x02,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     AddressTypeNotSupported = 0x08,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ResponseCode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `port` is never used
[INFO] [stdout]   --> src/socks5.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl Address {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 66 |     pub fn port(&self) -> u16 {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.41s
[INFO] running `Command { std: "docker" "inspect" "034af1b9de7db0f4d1fe25212053621dd941ffc56043f4a7c7ffc32e60025554", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "034af1b9de7db0f4d1fe25212053621dd941ffc56043f4a7c7ffc32e60025554", kill_on_drop: false }`
[INFO] [stdout] 034af1b9de7db0f4d1fe25212053621dd941ffc56043f4a7c7ffc32e60025554
