[INFO] cloning repository https://github.com/qx-oo/ssc-qx [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qx-oo/ssc-qx" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqx-oo%2Fssc-qx", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqx-oo%2Fssc-qx'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f113ac53cad42fbad1e0978daf5efa4bf6686514 [INFO] checking qx-oo/ssc-qx against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqx-oo%2Fssc-qx" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qx-oo/ssc-qx on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/qx-oo/ssc-qx [INFO] finished tweaking git repo https://github.com/qx-oo/ssc-qx [INFO] tweaked toml for git repo https://github.com/qx-oo/ssc-qx written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/qx-oo/ssc-qx 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pin-project-lite v0.1.4 [INFO] [stderr] Downloaded socket2 v0.3.11 [INFO] [stderr] Downloaded futures-core v0.3.4 [INFO] [stderr] Downloaded miow v0.3.3 [INFO] [stderr] Downloaded futures v0.3.4 [INFO] [stderr] Downloaded async-task v1.3.1 [INFO] [stderr] Downloaded crossbeam-channel v0.4.2 [INFO] [stderr] Downloaded once_cell v1.3.1 [INFO] [stderr] Downloaded async-std v1.5.0 [INFO] [stderr] Downloaded tokio v0.2.13 [INFO] [stderr] Downloaded backtrace-sys v0.1.35 [INFO] [stderr] Downloaded futures-channel v0.3.4 [INFO] [stderr] Downloaded futures-util v0.3.4 [INFO] [stderr] Downloaded arc-swap v0.4.5 [INFO] [stderr] Downloaded futures-timer v2.0.2 [INFO] [stderr] Downloaded kv-log-macro v1.0.4 [INFO] [stderr] Downloaded failure_derive v0.1.7 [INFO] [stderr] Downloaded failure v0.1.7 [INFO] [stderr] Downloaded futures-executor v0.3.4 [INFO] [stderr] Downloaded futures-io v0.3.4 [INFO] [stderr] Downloaded futures-macro v0.3.4 [INFO] [stderr] Downloaded futures-sink v0.3.4 [INFO] [stderr] Downloaded futures-task v0.3.4 [INFO] [stderr] Downloaded proc-macro-hack v0.5.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 710255c7eceb7d7ca58c2770e88688442d7f5ceadae32c351338ee71098ee367 [INFO] running `Command { std: "docker" "start" "-a" "710255c7eceb7d7ca58c2770e88688442d7f5ceadae32c351338ee71098ee367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "710255c7eceb7d7ca58c2770e88688442d7f5ceadae32c351338ee71098ee367", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "710255c7eceb7d7ca58c2770e88688442d7f5ceadae32c351338ee71098ee367", kill_on_drop: false }` [INFO] [stdout] 710255c7eceb7d7ca58c2770e88688442d7f5ceadae32c351338ee71098ee367 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73e37da4cb174b47d009b8479a1120d3d377f1c2c2f11d0ff1b10c8727862481 [INFO] running `Command { std: "docker" "start" "-a" "73e37da4cb174b47d009b8479a1120d3d377f1c2c2f11d0ff1b10c8727862481", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.14 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking arc-swap v0.4.5 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking async-std v1.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking serde_json v1.0.50 [INFO] [stderr] Checking ssc-qx v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/udp.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | io, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 12 | prelude::*, [INFO] [stdout] | ---------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/udp.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | io, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 12 | prelude::*, [INFO] [stdout] | ---------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/server.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/udp.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | io, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 12 | prelude::*, [INFO] [stdout] | ---------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `failure` is imported redundantly [INFO] [stdout] --> src/config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/client.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | extern crate failure; [INFO] [stdout] | --------------------- the item `failure` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `io` is imported redundantly [INFO] [stdout] --> src/udp.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | io, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 12 | prelude::*, [INFO] [stdout] | ---------- the item `io` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `tokio` is imported redundantly [INFO] [stdout] --> src/client.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio; [INFO] [stdout] | ^^^^^ the item `tokio` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/udp.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let (n, peer) = r_udp.recv_from(&mut buf).await?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerAddr` is never constructed [INFO] [stdout] --> src/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ServerAddr(pub String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerAddr` 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: unused variable: `n` [INFO] [stdout] --> src/udp.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let (n, peer) = r_udp.recv_from(&mut buf).await?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file`, `host`, `server_list`, and `udp` are never used [INFO] [stdout] --> src/config.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 46 | pub fn from_file(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn server_list(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn udp(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `host`, `password`, and `encrypt_method` are never used [INFO] [stdout] --> src/config.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl RemoteConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 79 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn encrypt_method(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientUdpTunnel` is never constructed [INFO] [stdout] --> src/udp.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct ClientUdpTunnel {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_header`, `tcp_to_udp`, `udp_to_tcp`, and `poll` are never used [INFO] [stdout] --> src/udp.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 119 | impl ClientUdpTunnel { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 120 | fn add_header(remote_addr: String, data: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | async fn tcp_to_udp( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | async fn udp_to_tcp( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub async fn poll( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_packet` is never used [INFO] [stdout] --> src/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_packet(remote_addr: &ServerAddr) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_socks5_addr` is never used [INFO] [stdout] --> src/utils.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn parse_socks5_addr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `establish_socks5_connection` is never used [INFO] [stdout] --> src/utils.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn establish_socks5_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/udp.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let (n, peer) = r_udp.recv_from(&mut buf).await?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/udp.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | let (n, peer) = r_udp.recv_from(&mut buf).await?; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ServerAddr` is never constructed [INFO] [stdout] --> src/config.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct ServerAddr(pub String); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServerAddr` 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: associated items `from_file`, `host`, `server_list`, and `udp` are never used [INFO] [stdout] --> src/config.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 45 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 46 | pub fn from_file(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn server_list(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn udp(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `host`, `password`, and `encrypt_method` are never used [INFO] [stdout] --> src/config.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl RemoteConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 79 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn encrypt_method(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClientUdpTunnel` is never constructed [INFO] [stdout] --> src/udp.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub struct ClientUdpTunnel {} [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `add_header`, `tcp_to_udp`, `udp_to_tcp`, and `poll` are never used [INFO] [stdout] --> src/udp.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 119 | impl ClientUdpTunnel { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 120 | fn add_header(remote_addr: String, data: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | async fn tcp_to_udp( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | async fn udp_to_tcp( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub async fn poll( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_packet` is never used [INFO] [stdout] --> src/utils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn get_packet(remote_addr: &ServerAddr) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_socks5_addr` is never used [INFO] [stdout] --> src/utils.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | pub async fn parse_socks5_addr( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `establish_socks5_connection` is never used [INFO] [stdout] --> src/utils.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | pub async fn establish_socks5_connection( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file`, `host`, and `udp` are never used [INFO] [stdout] --> src/config.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerConfig { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 64 | pub fn from_file(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn udp(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `password` and `encrypt_method` are never used [INFO] [stdout] --> src/config.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl RemoteConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn encrypt_method(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UdpTunnel` is never constructed [INFO] [stdout] --> src/udp.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UdpTunnel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `poll`, `parse_header`, and `server_forward` are never used [INFO] [stdout] --> src/udp.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> UdpTunnel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn poll(self, host: &SocketAddr) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn parse_header(data: &Vec) -> Result<(String, Vec), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | async fn server_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file`, `host`, and `udp` are never used [INFO] [stdout] --> src/config.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl ServerConfig { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 64 | pub fn from_file(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn udp(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `password` and `encrypt_method` are never used [INFO] [stdout] --> src/config.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl RemoteConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn encrypt_method(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UdpTunnel` is never constructed [INFO] [stdout] --> src/udp.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct UdpTunnel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `poll`, `parse_header`, and `server_forward` are never used [INFO] [stdout] --> src/udp.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl<'a> UdpTunnel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub async fn poll(self, host: &SocketAddr) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn parse_header(data: &Vec) -> Result<(String, Vec), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | async fn server_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.55s [INFO] running `Command { std: "docker" "inspect" "73e37da4cb174b47d009b8479a1120d3d377f1c2c2f11d0ff1b10c8727862481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e37da4cb174b47d009b8479a1120d3d377f1c2c2f11d0ff1b10c8727862481", kill_on_drop: false }` [INFO] [stdout] 73e37da4cb174b47d009b8479a1120d3d377f1c2c2f11d0ff1b10c8727862481