[INFO] cloning repository https://github.com/aulang/wormhole [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aulang/wormhole" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faulang%2Fwormhole", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faulang%2Fwormhole'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f0e0593f890ce90aae0ce4413e1e166e95e90cd9 [INFO] checking aulang/wormhole against master#4c60a0ea5b2385d7400df9db1ad04e96f2a4c154 for 92191_revert [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faulang%2Fwormhole" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aulang/wormhole on toolchain 4c60a0ea5b2385d7400df9db1ad04e96f2a4c154 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aulang/wormhole [INFO] finished tweaking git repo https://github.com/aulang/wormhole [INFO] tweaked toml for git repo https://github.com/aulang/wormhole written to /workspace/builds/worker-61/source/Cargo.toml [INFO] crate git repo https://github.com/aulang/wormhole already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1fe03b811b1548d6b72868dc64831d177ada032440260720eeaad97d763464df [INFO] running `Command { std: "docker" "start" "-a" "1fe03b811b1548d6b72868dc64831d177ada032440260720eeaad97d763464df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1fe03b811b1548d6b72868dc64831d177ada032440260720eeaad97d763464df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fe03b811b1548d6b72868dc64831d177ada032440260720eeaad97d763464df", kill_on_drop: false }` [INFO] [stdout] 1fe03b811b1548d6b72868dc64831d177ada032440260720eeaad97d763464df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+4c60a0ea5b2385d7400df9db1ad04e96f2a4c154" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f5fc644bcd4d04c7c67a9b4c70799fded9f71f96f66d6902377ff077810d6f62 [INFO] running `Command { std: "docker" "start" "-a" "f5fc644bcd4d04c7c67a9b4c70799fded9f71f96f66d6902377ff077810d6f62", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stdout] warning: value assigned to `port` is never read [INFO] [stdout] --> core/src/net_addr.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut port = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `result` [INFO] [stdout] --> core/src/protocol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | result: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> core/src/protocol.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | version: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `port` [INFO] [stdout] --> core/src/protocol.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | port: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> core/src/protocol.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `port` is never read [INFO] [stdout] --> core/src/net_addr.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut port = 0; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stderr] Checking client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: field is never read: `result` [INFO] [stdout] --> core/src/protocol.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | result: u8, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `version` [INFO] [stdout] --> core/src/protocol.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | version: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `port` [INFO] [stdout] --> core/src/protocol.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | port: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> core/src/protocol.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | key: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> server/src/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | key: String, // 连接密钥 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> server/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `port` [INFO] [stdout] --> server/src/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | port: u32, // 监听端口 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> server/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `min_proxy_port` [INFO] [stdout] --> server/src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | min_proxy_port: u32, // 代理端口范围,最小代理端口,1025 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> server/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_proxy_port` [INFO] [stdout] --> server/src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | max_proxy_port: u32, // 代理端口范围,最大代理端口,65535 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> server/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> server/src/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(key: String, port: u32) -> Server { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_key` [INFO] [stdout] --> server/src/config.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_key(&self) -> &String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_port` [INFO] [stdout] --> server/src/config.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_port(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_min_proxy_port` [INFO] [stdout] --> server/src/config.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_min_proxy_port(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_proxy_port` [INFO] [stdout] --> server/src/config.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_max_proxy_port(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> server/src/config.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 74 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> server/src/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | key: String, // 连接密钥 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> server/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `port` [INFO] [stdout] --> server/src/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | port: u32, // 监听端口 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> server/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `min_proxy_port` [INFO] [stdout] --> server/src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | min_proxy_port: u32, // 代理端口范围,最小代理端口,1025 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> server/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_proxy_port` [INFO] [stdout] --> server/src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | max_proxy_port: u32, // 代理端口范围,最大代理端口,65535 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Server` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> server/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> server/src/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(key: String, port: u32) -> Server { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_key` [INFO] [stdout] --> server/src/config.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn get_key(&self) -> &String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_port` [INFO] [stdout] --> server/src/config.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_port(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_min_proxy_port` [INFO] [stdout] --> server/src/config.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn get_min_proxy_port(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_proxy_port` [INFO] [stdout] --> server/src/config.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn get_max_proxy_port(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> server/src/config.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 74 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> client/src/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | key: String, // 连接密钥 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> client/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server_addr` [INFO] [stdout] --> client/src/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | server_addr: NetAddr, // 服务器地址 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> client/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_addrs` [INFO] [stdout] --> client/src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | local_addrs: Vec, // 本地代理地址和服务器代理端口 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> client/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `key` [INFO] [stdout] --> client/src/config.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | key: String, // 连接密钥 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> client/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_tunnel` [INFO] [stdout] --> client/src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | max_tunnel: u32, // 连接最大通道数,范围[1, 10] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> client/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_key` [INFO] [stdout] --> client/src/config.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_key(&self) -> &String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_server_addr` [INFO] [stdout] --> client/src/config.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_server_addr(&self) -> &NetAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_local_addrs` [INFO] [stdout] --> client/src/config.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_local_addrs(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `server_addr` [INFO] [stdout] --> client/src/config.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | server_addr: NetAddr, // 服务器地址 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> client/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_tunnel` [INFO] [stdout] --> client/src/config.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_max_tunnel(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_args` [INFO] [stdout] --> client/src/config.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_addrs` [INFO] [stdout] --> client/src/config.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | local_addrs: Vec, // 本地代理地址和服务器代理端口 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> client/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_tunnel` [INFO] [stdout] --> client/src/config.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | max_tunnel: u32, // 连接最大通道数,范围[1, 10] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> client/src/config.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_key` [INFO] [stdout] --> client/src/config.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_key(&self) -> &String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_server_addr` [INFO] [stdout] --> client/src/config.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_server_addr(&self) -> &NetAddr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_local_addrs` [INFO] [stdout] --> client/src/config.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_local_addrs(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_max_tunnel` [INFO] [stdout] --> client/src/config.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn get_max_tunnel(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `parse_args` [INFO] [stdout] --> client/src/config.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn parse_args(args: &[String]) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> client/src/config.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> client/src/config.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 84 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> client/src/config.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | panic!(format!("地址格式错误:{:?}!", client.local_addrs)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 96 - panic!(format!("地址格式错误:{:?}!", client.local_addrs)); [INFO] [stdout] 96 + panic!("地址格式错误:{:?}!", client.local_addrs); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> client/src/config.rs:79:30 [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 79 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> client/src/config.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 84 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> client/src/config.rs:96:20 [INFO] [stdout] | [INFO] [stdout] 96 | panic!(format!("地址格式错误:{:?}!", client.local_addrs)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 96 - panic!(format!("地址格式错误:{:?}!", client.local_addrs)); [INFO] [stdout] 96 + panic!("地址格式错误:{:?}!", client.local_addrs); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 50s [INFO] running `Command { std: "docker" "inspect" "f5fc644bcd4d04c7c67a9b4c70799fded9f71f96f66d6902377ff077810d6f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5fc644bcd4d04c7c67a9b4c70799fded9f71f96f66d6902377ff077810d6f62", kill_on_drop: false }` [INFO] [stdout] f5fc644bcd4d04c7c67a9b4c70799fded9f71f96f66d6902377ff077810d6f62