[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqx-oo%2Fssc-qx" "/workspace/builds/worker-25/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-25/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qx-oo/ssc-qx on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-25/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded arc-swap v0.4.5 [INFO] [stderr] Downloaded kv-log-macro v1.0.4 [INFO] [stderr] Downloaded proc-macro-hack v0.5.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d887617e58b3fad2cc2addb8b41205bccb1beccd1aaf9ff8b6d7db6edfc0ed9a [INFO] running `Command { std: "docker" "start" "-a" "d887617e58b3fad2cc2addb8b41205bccb1beccd1aaf9ff8b6d7db6edfc0ed9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d887617e58b3fad2cc2addb8b41205bccb1beccd1aaf9ff8b6d7db6edfc0ed9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d887617e58b3fad2cc2addb8b41205bccb1beccd1aaf9ff8b6d7db6edfc0ed9a", kill_on_drop: false }` [INFO] [stdout] d887617e58b3fad2cc2addb8b41205bccb1beccd1aaf9ff8b6d7db6edfc0ed9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-25/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f4d63f743c8a27a02e3b77955ec38b2fefef276090fe144eab9f6faa341743f [INFO] running `Command { std: "docker" "start" "-a" "2f4d63f743c8a27a02e3b77955ec38b2fefef276090fe144eab9f6faa341743f", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] tokio v0.2.13: winapi [INFO] [stderr] [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling cc v1.0.50 [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-io v0.3.4 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking unicode-width v0.1.7 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking arc-swap v0.4.5 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Checking futures-timer v2.0.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking once_cell v1.3.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking async-task v1.3.1 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking kv-log-macro v1.0.4 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [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 failure v0.1.7 [INFO] [stderr] Checking futures-util v0.3.4 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/server.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/client.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/udp.rs (1 fix) [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/config.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from_file(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/config.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `udp` [INFO] [stdout] --> src/config.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn udp(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `password` [INFO] [stdout] --> src/config.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encrypt_method` [INFO] [stdout] --> src/config.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn encrypt_method(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `UdpTunnel` [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 function is never used: `new` [INFO] [stdout] --> src/udp.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll` [INFO] [stdout] --> src/udp.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn poll(self, host: &SocketAddr) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_header` [INFO] [stdout] --> src/udp.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn parse_header(data: &Vec) -> Result<(String, Vec), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `server_forward` [INFO] [stdout] --> src/udp.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | async fn server_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/config.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_file(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/config.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `server_list` [INFO] [stdout] --> src/config.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn server_list(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `udp` [INFO] [stdout] --> src/config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn udp(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/config.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `password` [INFO] [stdout] --> src/config.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encrypt_method` [INFO] [stdout] --> src/config.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn encrypt_method(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClientUdpTunnel` [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 function is never used: `add_header` [INFO] [stdout] --> src/udp.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn add_header(remote_addr: String, data: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tcp_to_udp` [INFO] [stdout] --> src/udp.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | async fn tcp_to_udp( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `udp_to_tcp` [INFO] [stdout] --> src/udp.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 149 | async fn udp_to_tcp( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll` [INFO] [stdout] --> src/udp.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | pub async fn poll( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_packet` [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 is never used: `parse_socks5_addr` [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 is never used: `establish_socks5_connection` [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/config.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from_file(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/config.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `udp` [INFO] [stdout] --> src/config.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn udp(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `password` [INFO] [stdout] --> src/config.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encrypt_method` [INFO] [stdout] --> src/config.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn encrypt_method(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `UdpTunnel` [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 function is never used: `new` [INFO] [stdout] --> src/udp.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll` [INFO] [stdout] --> src/udp.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn poll(self, host: &SocketAddr) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_header` [INFO] [stdout] --> src/udp.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn parse_header(data: &Vec) -> Result<(String, Vec), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `server_forward` [INFO] [stdout] --> src/udp.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | async fn server_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/config.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_file(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/config.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 16s [INFO] [stdout] warning: associated function is never used: `server_list` [INFO] [stdout] --> src/config.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn server_list(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `udp` [INFO] [stdout] --> src/config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn udp(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/config.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `password` [INFO] [stdout] --> src/config.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encrypt_method` [INFO] [stdout] --> src/config.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn encrypt_method(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClientUdpTunnel` [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 function is never used: `add_header` [INFO] [stdout] --> src/udp.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn add_header(remote_addr: String, data: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tcp_to_udp` [INFO] [stdout] --> src/udp.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | async fn tcp_to_udp( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `udp_to_tcp` [INFO] [stdout] --> src/udp.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 149 | async fn udp_to_tcp( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll` [INFO] [stdout] --> src/udp.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | pub async fn poll( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_packet` [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 is never used: `parse_socks5_addr` [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 is never used: `establish_socks5_connection` [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: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking ssc-qx v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/config.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from_file(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/config.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `udp` [INFO] [stdout] --> src/config.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn udp(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `password` [INFO] [stdout] --> src/config.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encrypt_method` [INFO] [stdout] --> src/config.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn encrypt_method(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `UdpTunnel` [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 function is never used: `new` [INFO] [stdout] --> src/udp.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll` [INFO] [stdout] --> src/udp.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn poll(self, host: &SocketAddr) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_header` [INFO] [stdout] --> src/udp.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn parse_header(data: &Vec) -> Result<(String, Vec), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `server_forward` [INFO] [stdout] --> src/udp.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | async fn server_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/config.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_file(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/config.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `server_list` [INFO] [stdout] --> src/config.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn server_list(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `udp` [INFO] [stdout] --> src/config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn udp(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/config.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `password` [INFO] [stdout] --> src/config.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encrypt_method` [INFO] [stdout] --> src/config.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn encrypt_method(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClientUdpTunnel` [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 function is never used: `add_header` [INFO] [stdout] --> src/udp.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn add_header(remote_addr: String, data: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tcp_to_udp` [INFO] [stdout] --> src/udp.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | async fn tcp_to_udp( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `udp_to_tcp` [INFO] [stdout] --> src/udp.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 149 | async fn udp_to_tcp( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll` [INFO] [stdout] --> src/udp.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | pub async fn poll( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_packet` [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 is never used: `parse_socks5_addr` [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 is never used: `establish_socks5_connection` [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: associated function is never used: `from_file` [INFO] [stdout] --> src/config.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn from_file(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/config.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `server_list` [INFO] [stdout] --> src/config.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn server_list(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `udp` [INFO] [stdout] --> src/config.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn udp(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/config.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `password` [INFO] [stdout] --> src/config.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encrypt_method` [INFO] [stdout] --> src/config.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn encrypt_method(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ClientUdpTunnel` [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 function is never used: `add_header` [INFO] [stdout] --> src/udp.rs:120:8 [INFO] [stdout] | [INFO] [stdout] 120 | fn add_header(remote_addr: String, data: &Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `tcp_to_udp` [INFO] [stdout] --> src/udp.rs:129:14 [INFO] [stdout] | [INFO] [stdout] 129 | async fn tcp_to_udp( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `udp_to_tcp` [INFO] [stdout] --> src/udp.rs:149:14 [INFO] [stdout] | [INFO] [stdout] 149 | async fn udp_to_tcp( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll` [INFO] [stdout] --> src/udp.rs:163:18 [INFO] [stdout] | [INFO] [stdout] 163 | pub async fn poll( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `get_packet` [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 is never used: `parse_socks5_addr` [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 is never used: `establish_socks5_connection` [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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/config.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn from_file(file: &mut File) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `host` [INFO] [stdout] --> src/config.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn host(&self) -> &SocketAddr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `udp` [INFO] [stdout] --> src/config.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn udp(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `password` [INFO] [stdout] --> src/config.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn password(&self) -> &str { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `encrypt_method` [INFO] [stdout] --> src/config.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn encrypt_method(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `UdpTunnel` [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 function is never used: `new` [INFO] [stdout] --> src/udp.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `poll` [INFO] [stdout] --> src/udp.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | pub async fn poll(self, host: &SocketAddr) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_header` [INFO] [stdout] --> src/udp.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | fn parse_header(data: &Vec) -> Result<(String, Vec), Box> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `server_forward` [INFO] [stdout] --> src/udp.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | async fn server_forward( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.02s [INFO] running `Command { std: "docker" "inspect" "2f4d63f743c8a27a02e3b77955ec38b2fefef276090fe144eab9f6faa341743f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f4d63f743c8a27a02e3b77955ec38b2fefef276090fe144eab9f6faa341743f", kill_on_drop: false }` [INFO] [stdout] 2f4d63f743c8a27a02e3b77955ec38b2fefef276090fe144eab9f6faa341743f