[INFO] cloning repository https://github.com/dkeehl/chunfen
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dkeehl/chunfen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkeehl%2Fchunfen", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkeehl%2Fchunfen'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5d7b66ed0687f0c2adaf4e0146ae28231b88c0e9
[INFO] building dkeehl/chunfen against try#334963c956d25708feab489a3816ae63f639355d for pr-135216-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdkeehl%2Fchunfen" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/dkeehl/chunfen on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/dkeehl/chunfen
[INFO] finished tweaking git repo https://github.com/dkeehl/chunfen
[INFO] tweaked toml for git repo https://github.com/dkeehl/chunfen written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/dkeehl/chunfen 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" "+334963c956d25708feab489a3816ae63f639355d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0492eddc897909a251491b182b1e70973bd1fb71520445224849228737bb4d15
[INFO] running `Command { std: "docker" "start" "-a" "0492eddc897909a251491b182b1e70973bd1fb71520445224849228737bb4d15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0492eddc897909a251491b182b1e70973bd1fb71520445224849228737bb4d15", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0492eddc897909a251491b182b1e70973bd1fb71520445224849228737bb4d15", kill_on_drop: false }`
[INFO] [stdout] 0492eddc897909a251491b182b1e70973bd1fb71520445224849228737bb4d15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb771cc2c7ac83eba9eef5b7f7d1442b51d5de9c0db6448e7b071068635771a2
[INFO] running `Command { std: "docker" "start" "-a" "fb771cc2c7ac83eba9eef5b7f7d1442b51d5de9c0db6448e7b071068635771a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v0.1.5
[INFO] [stderr]    Compiling libc v0.2.39
[INFO] [stderr]    Compiling nodrop v0.1.12
[INFO] [stderr]    Compiling lazy_static v1.0.0
[INFO] [stderr]    Compiling memoffset v0.2.1
[INFO] [stderr]    Compiling scopeguard v0.3.3
[INFO] [stderr]    Compiling futures v0.1.25
[INFO] [stderr]    Compiling byteorder v1.2.6
[INFO] [stderr]    Compiling log v0.4.1
[INFO] [stderr]    Compiling crossbeam-utils v0.2.2
[INFO] [stderr]    Compiling slab v0.4.1
[INFO] [stderr]    Compiling crossbeam-utils v0.5.0
[INFO] [stderr]    Compiling arrayvec v0.4.7
[INFO] [stderr]    Compiling rayon-core v1.4.0
[INFO] [stderr]    Compiling rand_core v0.3.0
[INFO] [stderr]    Compiling lazycell v0.6.0
[INFO] [stderr]    Compiling num-traits v0.2.6
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling gcc v0.3.54
[INFO] [stderr]    Compiling num-integer v0.1.39
[INFO] [stderr]    Compiling crossbeam-epoch v0.3.1
[INFO] [stderr]    Compiling rand_core v0.2.2
[INFO] [stderr]    Compiling crossbeam-epoch v0.5.2
[INFO] [stderr]    Compiling memchr v2.1.0
[INFO] [stderr]    Compiling num_cpus v1.8.0
[INFO] [stderr]    Compiling iovec v0.1.2
[INFO] [stderr]    Compiling rand v0.4.2
[INFO] [stderr]    Compiling bytes v0.4.10
[INFO] [stderr]    Compiling net2 v0.2.32
[INFO] [stderr]    Compiling crossbeam-deque v0.2.0
[INFO] [stderr]    Compiling crossbeam-deque v0.6.1
[INFO] [stderr]    Compiling rand v0.5.5
[INFO] [stderr]    Compiling mio v0.6.14
[INFO] [stderr]    Compiling time v0.1.39
[INFO] [stderr]    Compiling unicode-width v0.1.5
[INFO] [stderr]    Compiling lazy_static v0.2.11
[INFO] [stderr]    Compiling untrusted v0.5.1
[INFO] [stderr]    Compiling getopts v0.2.18
[INFO] [stderr]    Compiling nom v4.1.1
[INFO] [stderr]    Compiling fern v0.5.6
[INFO] [stderr]    Compiling tokio-executor v0.1.5
[INFO] [stderr]    Compiling tokio-io v0.1.9
[INFO] [stderr]    Compiling rayon v0.8.2
[INFO] [stderr]    Compiling tokio-threadpool v0.1.8
[INFO] [stderr]    Compiling tokio-timer v0.2.7
[INFO] [stderr]    Compiling tokio-reactor v0.1.3
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling chrono v0.4.6
[INFO] [stderr]    Compiling tokio-fs v0.1.4
[INFO] [stderr]    Compiling tokio-udp v0.1.2
[INFO] [stderr]    Compiling tokio-tcp v0.1.2
[INFO] [stderr]    Compiling tokio v0.1.7
[INFO] [stderr]    Compiling ring v0.12.1
[INFO] [stderr]    Compiling chunfen-socks v0.1.0 (/opt/rustwide/workdir/chunfen-socks)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-socks/src/connector.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |         -> Box<Future<Item=(Self::Remote, SocksAddr), Error=io::Error> + Send>;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 93 |         -> Box<dyn Future<Item=(Self::Remote, SocksAddr), Error=io::Error> + Send>;
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> chunfen-socks/src/utils.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     -> Box<Future<Item=T::Item, Error=T::Error> + Send> { Box::new(x) }
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 5 |     -> Box<dyn Future<Item=T::Item, Error=T::Error> + Send> { Box::new(x) }
[INFO] [stdout]   |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-socks/src/connector.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |     -> Box<Future<Item=SocketAddr, Error=io::Error> + Send>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 105 |     -> Box<dyn Future<Item=SocketAddr, Error=io::Error> + Send>
[INFO] [stdout]     |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-socks/src/connector.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 |     -> Box<Future<Item=SocketAddr, Error=io::Error> + Send>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 126 |     -> Box<dyn Future<Item=SocketAddr, Error=io::Error> + Send>
[INFO] [stdout]     |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-socks/src/connector.rs:162:16
[INFO] [stdout]     |
[INFO] [stdout] 162 |         -> Box<Future<Item=(Self::Remote, SocksAddr), Error=io::Error> + Send>
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 162 |         -> Box<dyn Future<Item=(Self::Remote, SocksAddr), Error=io::Error> + Send>
[INFO] [stdout]     |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SOCKS_V4` is never used
[INFO] [stdout]   --> chunfen-socks/src/lib.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const SOCKS_V4:u8 = 4;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> chunfen-socks/src/lib.rs:1:9
[INFO] [stdout]    |
[INFO] [stdout] 1  | #![warn(unused)]
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    = note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling chunfen-sec v0.1.0 (/opt/rustwide/workdir/chunfen-sec)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/session.rs:99:24
[INFO] [stdout]    |
[INFO] [stdout] 99 |     msg_encryptor: Box<MsgEncryptor>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 99 |     msg_encryptor: Box<dyn MsgEncryptor>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 100 |     msg_decryptor: Box<MsgDecryptor>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 100 |     msg_decryptor: Box<dyn MsgDecryptor>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/session.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn read_tls(&mut self, r: &mut Read) -> Result<usize, io::Error>;
[INFO] [stdout]    |                                    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn read_tls(&mut self, r: &mut dyn Read) -> Result<usize, io::Error>;
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/session.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn write_tls(&mut self, w: &mut Write) -> Result<usize, io::Error>;
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn write_tls(&mut self, w: &mut dyn Write) -> Result<usize, io::Error>;
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:255:50
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub fn set_msg_encryptor(&mut self, enc: Box<MsgEncryptor>) {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub fn set_msg_encryptor(&mut self, enc: Box<dyn MsgEncryptor>) {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:259:50
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn set_msg_decryptor(&mut self, dec: Box<MsgDecryptor>) {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn set_msg_decryptor(&mut self, dec: Box<dyn MsgDecryptor>) {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/encryption.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl MsgEncryptor {
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl dyn MsgEncryptor {
[INFO] [stdout]    |      +++
[INFO] [stdout] help: you might have intended to implement this trait for a given type
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl MsgEncryptor for /* Type */ {
[INFO] [stdout]    |                   ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/encryption.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl MsgDecryptor {
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl dyn MsgDecryptor {
[INFO] [stdout]    |      +++
[INFO] [stdout] help: you might have intended to implement this trait for a given type
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl MsgDecryptor for /* Type */ {
[INFO] [stdout]    |                   ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/encryption.rs:36:27
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn plain() -> Box<MsgEncryptor> {
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn plain() -> Box<dyn MsgEncryptor> {
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/encryption.rs:40:68
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box<MsgEncryptor> {
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box<dyn MsgEncryptor> {
[INFO] [stdout]    |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/encryption.rs:53:27
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn plain() -> Box<MsgDecryptor> {
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn plain() -> Box<dyn MsgDecryptor> {
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/encryption.rs:57:68
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box<MsgDecryptor> {
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box<dyn MsgDecryptor> {
[INFO] [stdout]    |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/utils/vec_buffer.rs:45:40
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn write_to(&mut self, w: &mut Write) -> io::Result<usize> {
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn write_to(&mut self, w: &mut dyn Write) -> io::Result<usize> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/utils/msg_deframer.rs:35:41
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn read_from(&mut self, r: &mut Read) -> io::Result<usize> {
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn read_from(&mut self, r: &mut dyn Read) -> io::Result<usize> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:320:44
[INFO] [stdout]     |
[INFO] [stdout] 320 |             fn read_tls(&mut self, r: &mut Read) -> Result<usize, io::Error> {
[INFO] [stdout]     |                                            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: chunfen-sec/src/client.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | session_struct!(ClientSession with state: ClientState);
[INFO] [stdout]     | ------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:324:45
[INFO] [stdout]     |
[INFO] [stdout] 324 |             fn write_tls(&mut self, w: &mut Write) -> Result<usize, io::Error> {
[INFO] [stdout]     |                                             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: chunfen-sec/src/client.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | session_struct!(ClientSession with state: ClientState);
[INFO] [stdout]     | ------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:320:44
[INFO] [stdout]     |
[INFO] [stdout] 320 |             fn read_tls(&mut self, r: &mut Read) -> Result<usize, io::Error> {
[INFO] [stdout]     |                                            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: chunfen-sec/src/server.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | session_struct!(ServerSession with state: ServerState);
[INFO] [stdout]     | ------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:324:45
[INFO] [stdout]     |
[INFO] [stdout] 324 |             fn write_tls(&mut self, w: &mut Write) -> Result<usize, io::Error> {
[INFO] [stdout]     |                                             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: chunfen-sec/src/server.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | session_struct!(ServerSession with state: ServerState);
[INFO] [stdout]     | ------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> chunfen-sec/src/data.rs:179:51
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 write!(f, "{} of type {:?}", self.description(), typ),
[INFO] [stdout]     |                                                   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> chunfen-sec/src/data.rs:181:44
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 write!(f, "{}, {:?}", self.description(), alert),
[INFO] [stdout]     |                                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> chunfen-sec/src/data.rs:183:42
[INFO] [stdout]     |
[INFO] [stdout] 183 |                 write!(f, "{}, {}", self.description(), why),
[INFO] [stdout]     |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> chunfen-sec/src/data.rs:186:71
[INFO] [stdout]     |
[INFO] [stdout] 186 |             TLSError::PeerSentOversizedRecord => write!(f, "{}", self.description()),
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> chunfen-sec/src/data.rs:187:45
[INFO] [stdout]     |
[INFO] [stdout] 187 |             _ => write!(f, "{}: {:?}", self.description(), self),
[INFO] [stdout]     |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:121:28
[INFO] [stdout]     |
[INFO] [stdout] 121 |             msg_encryptor: MsgEncryptor::plain(),
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |             msg_encryptor: <dyn MsgEncryptor>::plain(),
[INFO] [stdout]     |                            ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 |             msg_decryptor: MsgDecryptor::plain(),
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 122 |             msg_decryptor: <dyn MsgDecryptor>::plain(),
[INFO] [stdout]     |                            ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/client.rs:57:39
[INFO] [stdout]    |
[INFO] [stdout] 57 |         self.common.set_msg_encryptor(MsgEncryptor::new(suite, &write_key));
[INFO] [stdout]    |                                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |         self.common.set_msg_encryptor(<dyn MsgEncryptor>::new(suite, &write_key));
[INFO] [stdout]    |                                       ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/client.rs:58:39
[INFO] [stdout]    |
[INFO] [stdout] 58 |         self.common.set_msg_decryptor(MsgDecryptor::new(suite, &read_key));
[INFO] [stdout]    |                                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |         self.common.set_msg_decryptor(<dyn MsgDecryptor>::new(suite, &read_key));
[INFO] [stdout]    |                                       ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/server.rs:71:39
[INFO] [stdout]    |
[INFO] [stdout] 71 |         self.common.set_msg_encryptor(MsgEncryptor::new(&suite, &write_key));
[INFO] [stdout]    |                                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 71 |         self.common.set_msg_encryptor(<dyn MsgEncryptor>::new(&suite, &write_key));
[INFO] [stdout]    |                                       ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/server.rs:72:39
[INFO] [stdout]    |
[INFO] [stdout] 72 |         self.common.set_msg_decryptor(MsgDecryptor::new(&suite, &read_key));
[INFO] [stdout]    |                                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 72 |         self.common.set_msg_decryptor(<dyn MsgDecryptor>::new(&suite, &read_key));
[INFO] [stdout]    |                                       ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> chunfen-sec/src/data.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     Opaque(Vec<u8>),
[INFO] [stdout]    |     ------ ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> chunfen-sec/src/lib.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![warn(unused)]
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    = note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 77 |     Opaque(()),
[INFO] [stdout]    |            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling chunfen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug`
[INFO] [stdout]   --> src/checked_key.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[cfg(debug)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug`
[INFO] [stdout]   --> src/checked_key.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[cfg(not(debug))]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/tunnel_port.rs:112:16
[INFO] [stdout]     |
[INFO] [stdout] 112 |         -> Box<Future<Item=(Self, SocksAddr), Error=io::Error> + Send>
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 112 |         -> Box<dyn Future<Item=(Self, SocksAddr), Error=io::Error> + Send>
[INFO] [stdout]     |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/tunnel_port.rs:60:42
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     Box::new(fut) as Box<Future<Item=(), Error=()> + Send>
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     Box::new(fut) as Box<dyn Future<Item=(), Error=()> + Send>
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/tunnel_port.rs:65:53
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     Box::new(drop_res!(fut)) as Box<Future<Item=(), Error=()> + Send>
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     Box::new(drop_res!(fut)) as Box<dyn Future<Item=(), Error=()> + Send>
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/framed.rs:80:44
[INFO] [stdout]    |
[INFO] [stdout] 80 |             if 0 == try_ready!(self.stream.read_buf(&mut self.r_buffer)) {
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf`
[INFO] [stdout]   --> src/lib.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  + #![feature(read_buf)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.50s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.1.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "fb771cc2c7ac83eba9eef5b7f7d1442b51d5de9c0db6448e7b071068635771a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb771cc2c7ac83eba9eef5b7f7d1442b51d5de9c0db6448e7b071068635771a2", kill_on_drop: false }`
[INFO] [stdout] fb771cc2c7ac83eba9eef5b7f7d1442b51d5de9c0db6448e7b071068635771a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7e9fa3e613dc13717e47d1c705138508c9fc8140d94e97ecc2140cb559f9703
[INFO] running `Command { std: "docker" "start" "-a" "e7e9fa3e613dc13717e47d1c705138508c9fc8140d94e97ecc2140cb559f9703", kill_on_drop: false }`
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-socks/src/connector.rs:93:16
[INFO] [stdout]    |
[INFO] [stdout] 93 |         -> Box<Future<Item=(Self::Remote, SocksAddr), Error=io::Error> + Send>;
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 93 |         -> Box<dyn Future<Item=(Self::Remote, SocksAddr), Error=io::Error> + Send>;
[INFO] [stdout]    |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> chunfen-socks/src/utils.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 |     -> Box<Future<Item=T::Item, Error=T::Error> + Send> { Box::new(x) }
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 5 |     -> Box<dyn Future<Item=T::Item, Error=T::Error> + Send> { Box::new(x) }
[INFO] [stdout]   |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-socks/src/connector.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |     -> Box<Future<Item=SocketAddr, Error=io::Error> + Send>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 105 |     -> Box<dyn Future<Item=SocketAddr, Error=io::Error> + Send>
[INFO] [stdout]     |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-socks/src/connector.rs:126:12
[INFO] [stdout]     |
[INFO] [stdout] 126 |     -> Box<Future<Item=SocketAddr, Error=io::Error> + Send>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 126 |     -> Box<dyn Future<Item=SocketAddr, Error=io::Error> + Send>
[INFO] [stdout]     |            +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-socks/src/connector.rs:162:16
[INFO] [stdout]     |
[INFO] [stdout] 162 |         -> Box<Future<Item=(Self::Remote, SocksAddr), Error=io::Error> + Send>
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 162 |         -> Box<dyn Future<Item=(Self::Remote, SocksAddr), Error=io::Error> + Send>
[INFO] [stdout]     |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `SOCKS_V4` is never used
[INFO] [stdout]   --> chunfen-socks/src/lib.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const SOCKS_V4:u8 = 4;
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> chunfen-socks/src/lib.rs:1:9
[INFO] [stdout]    |
[INFO] [stdout] 1  | #![warn(unused)]
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    = note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/session.rs:99:24
[INFO] [stdout]    |
[INFO] [stdout] 99 |     msg_encryptor: Box<MsgEncryptor>,
[INFO] [stdout]    |                        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 99 |     msg_encryptor: Box<dyn MsgEncryptor>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:100:24
[INFO] [stdout]     |
[INFO] [stdout] 100 |     msg_decryptor: Box<MsgDecryptor>,
[INFO] [stdout]     |                        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 100 |     msg_decryptor: Box<dyn MsgDecryptor>,
[INFO] [stdout]     |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/session.rs:14:36
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn read_tls(&mut self, r: &mut Read) -> Result<usize, io::Error>;
[INFO] [stdout]    |                                    ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 14 |     fn read_tls(&mut self, r: &mut dyn Read) -> Result<usize, io::Error>;
[INFO] [stdout]    |                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/session.rs:16:37
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn write_tls(&mut self, w: &mut Write) -> Result<usize, io::Error>;
[INFO] [stdout]    |                                     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn write_tls(&mut self, w: &mut dyn Write) -> Result<usize, io::Error>;
[INFO] [stdout]    |                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:255:50
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub fn set_msg_encryptor(&mut self, enc: Box<MsgEncryptor>) {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 255 |     pub fn set_msg_encryptor(&mut self, enc: Box<dyn MsgEncryptor>) {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:259:50
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn set_msg_decryptor(&mut self, dec: Box<MsgDecryptor>) {
[INFO] [stdout]     |                                                  ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 259 |     pub fn set_msg_decryptor(&mut self, dec: Box<dyn MsgDecryptor>) {
[INFO] [stdout]     |                                                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/encryption.rs:35:6
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl MsgEncryptor {
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl dyn MsgEncryptor {
[INFO] [stdout]    |      +++
[INFO] [stdout] help: you might have intended to implement this trait for a given type
[INFO] [stdout]    |
[INFO] [stdout] 35 | impl MsgEncryptor for /* Type */ {
[INFO] [stdout]    |                   ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/encryption.rs:52:6
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl MsgDecryptor {
[INFO] [stdout]    |      ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl dyn MsgDecryptor {
[INFO] [stdout]    |      +++
[INFO] [stdout] help: you might have intended to implement this trait for a given type
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl MsgDecryptor for /* Type */ {
[INFO] [stdout]    |                   ++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/encryption.rs:36:27
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn plain() -> Box<MsgEncryptor> {
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 36 |     pub fn plain() -> Box<dyn MsgEncryptor> {
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/encryption.rs:40:68
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box<MsgEncryptor> {
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 40 |     pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box<dyn MsgEncryptor> {
[INFO] [stdout]    |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/encryption.rs:53:27
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn plain() -> Box<MsgDecryptor> {
[INFO] [stdout]    |                           ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 53 |     pub fn plain() -> Box<dyn MsgDecryptor> {
[INFO] [stdout]    |                           +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/encryption.rs:57:68
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box<MsgDecryptor> {
[INFO] [stdout]    |                                                                    ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn new(suite: &SupportedCipherSuite, secret: &[u8]) -> Box<dyn MsgDecryptor> {
[INFO] [stdout]    |                                                                    +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/utils/vec_buffer.rs:45:40
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn write_to(&mut self, w: &mut Write) -> io::Result<usize> {
[INFO] [stdout]    |                                        ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 45 |     pub fn write_to(&mut self, w: &mut dyn Write) -> io::Result<usize> {
[INFO] [stdout]    |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/utils/msg_deframer.rs:35:41
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn read_from(&mut self, r: &mut Read) -> io::Result<usize> {
[INFO] [stdout]    |                                         ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub fn read_from(&mut self, r: &mut dyn Read) -> io::Result<usize> {
[INFO] [stdout]    |                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:320:44
[INFO] [stdout]     |
[INFO] [stdout] 320 |             fn read_tls(&mut self, r: &mut Read) -> Result<usize, io::Error> {
[INFO] [stdout]     |                                            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: chunfen-sec/src/client.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | session_struct!(ClientSession with state: ClientState);
[INFO] [stdout]     | ------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:324:45
[INFO] [stdout]     |
[INFO] [stdout] 324 |             fn write_tls(&mut self, w: &mut Write) -> Result<usize, io::Error> {
[INFO] [stdout]     |                                             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: chunfen-sec/src/client.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | session_struct!(ClientSession with state: ClientState);
[INFO] [stdout]     | ------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:320:44
[INFO] [stdout]     |
[INFO] [stdout] 320 |             fn read_tls(&mut self, r: &mut Read) -> Result<usize, io::Error> {
[INFO] [stdout]     |                                            ^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: chunfen-sec/src/server.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | session_struct!(ServerSession with state: ServerState);
[INFO] [stdout]     | ------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:324:45
[INFO] [stdout]     |
[INFO] [stdout] 324 |             fn write_tls(&mut self, w: &mut Write) -> Result<usize, io::Error> {
[INFO] [stdout]     |                                             ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: chunfen-sec/src/server.rs:13:1
[INFO] [stdout]     |
[INFO] [stdout] 13  | session_struct!(ServerSession with state: ServerState);
[INFO] [stdout]     | ------------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: this warning originates in the macro `session_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> chunfen-sec/src/data.rs:179:51
[INFO] [stdout]     |
[INFO] [stdout] 179 |                 write!(f, "{} of type {:?}", self.description(), typ),
[INFO] [stdout]     |                                                   ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> chunfen-sec/src/data.rs:181:44
[INFO] [stdout]     |
[INFO] [stdout] 181 |                 write!(f, "{}, {:?}", self.description(), alert),
[INFO] [stdout]     |                                            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> chunfen-sec/src/data.rs:183:42
[INFO] [stdout]     |
[INFO] [stdout] 183 |                 write!(f, "{}, {}", self.description(), why),
[INFO] [stdout]     |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> chunfen-sec/src/data.rs:186:71
[INFO] [stdout]     |
[INFO] [stdout] 186 |             TLSError::PeerSentOversizedRecord => write!(f, "{}", self.description()),
[INFO] [stdout]     |                                                                       ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string()
[INFO] [stdout]    --> chunfen-sec/src/data.rs:187:45
[INFO] [stdout]     |
[INFO] [stdout] 187 |             _ => write!(f, "{}: {:?}", self.description(), self),
[INFO] [stdout]     |                                             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:121:28
[INFO] [stdout]     |
[INFO] [stdout] 121 |             msg_encryptor: MsgEncryptor::plain(),
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 121 |             msg_encryptor: <dyn MsgEncryptor>::plain(),
[INFO] [stdout]     |                            ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> chunfen-sec/src/session.rs:122:28
[INFO] [stdout]     |
[INFO] [stdout] 122 |             msg_decryptor: MsgDecryptor::plain(),
[INFO] [stdout]     |                            ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 122 |             msg_decryptor: <dyn MsgDecryptor>::plain(),
[INFO] [stdout]     |                            ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/client.rs:57:39
[INFO] [stdout]    |
[INFO] [stdout] 57 |         self.common.set_msg_encryptor(MsgEncryptor::new(suite, &write_key));
[INFO] [stdout]    |                                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 |         self.common.set_msg_encryptor(<dyn MsgEncryptor>::new(suite, &write_key));
[INFO] [stdout]    |                                       ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/client.rs:58:39
[INFO] [stdout]    |
[INFO] [stdout] 58 |         self.common.set_msg_decryptor(MsgDecryptor::new(suite, &read_key));
[INFO] [stdout]    |                                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 58 |         self.common.set_msg_decryptor(<dyn MsgDecryptor>::new(suite, &read_key));
[INFO] [stdout]    |                                       ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/server.rs:71:39
[INFO] [stdout]    |
[INFO] [stdout] 71 |         self.common.set_msg_encryptor(MsgEncryptor::new(&suite, &write_key));
[INFO] [stdout]    |                                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 71 |         self.common.set_msg_encryptor(<dyn MsgEncryptor>::new(&suite, &write_key));
[INFO] [stdout]    |                                       ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> chunfen-sec/src/server.rs:72:39
[INFO] [stdout]    |
[INFO] [stdout] 72 |         self.common.set_msg_decryptor(MsgDecryptor::new(&suite, &read_key));
[INFO] [stdout]    |                                       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 72 |         self.common.set_msg_decryptor(<dyn MsgDecryptor>::new(&suite, &read_key));
[INFO] [stdout]    |                                       ++++             +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> chunfen-sec/src/data.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     Opaque(Vec<u8>),
[INFO] [stdout]    |     ------ ^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> chunfen-sec/src/lib.rs:2:9
[INFO] [stdout]    |
[INFO] [stdout] 2  | #![warn(unused)]
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    = note: `#[warn(dead_code)]` implied by `#[warn(unused)]`
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 77 |     Opaque(()),
[INFO] [stdout]    |            ~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug`
[INFO] [stdout]   --> src/checked_key.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[cfg(debug)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug`
[INFO] [stdout]   --> src/checked_key.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[cfg(not(debug))]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/tunnel_port.rs:112:16
[INFO] [stdout]     |
[INFO] [stdout] 112 |         -> Box<Future<Item=(Self, SocksAddr), Error=io::Error> + Send>
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 112 |         -> Box<dyn Future<Item=(Self, SocksAddr), Error=io::Error> + Send>
[INFO] [stdout]     |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/tunnel_port.rs:60:42
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     Box::new(fut) as Box<Future<Item=(), Error=()> + Send>
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     Box::new(fut) as Box<dyn Future<Item=(), Error=()> + Send>
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling chunfen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/tunnel_port.rs:65:53
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     Box::new(drop_res!(fut)) as Box<Future<Item=(), Error=()> + Send>
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     Box::new(drop_res!(fut)) as Box<dyn Future<Item=(), Error=()> + Send>
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/framed.rs:80:44
[INFO] [stdout]    |
[INFO] [stdout] 80 |             if 0 == try_ready!(self.stream.read_buf(&mut self.r_buffer)) {
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf`
[INFO] [stdout]   --> src/lib.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  + #![feature(read_buf)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug`
[INFO] [stdout]   --> src/checked_key.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | #[cfg(debug)]
[INFO] [stdout]    |       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `debug`
[INFO] [stdout]   --> src/checked_key.rs:37:11
[INFO] [stdout]    |
[INFO] [stdout] 37 | #[cfg(not(debug))]
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/tunnel_port.rs:112:16
[INFO] [stdout]     |
[INFO] [stdout] 112 |         -> Box<Future<Item=(Self, SocksAddr), Error=io::Error> + Send>
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 112 |         -> Box<dyn Future<Item=(Self, SocksAddr), Error=io::Error> + Send>
[INFO] [stdout]     |                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/tunnel_port.rs:60:42
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     Box::new(fut) as Box<Future<Item=(), Error=()> + Send>
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 |                     Box::new(fut) as Box<dyn Future<Item=(), Error=()> + Send>
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/tunnel_port.rs:65:53
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     Box::new(drop_res!(fut)) as Box<Future<Item=(), Error=()> + Send>
[INFO] [stdout]    |                                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 65 |                     Box::new(drop_res!(fut)) as Box<dyn Future<Item=(), Error=()> + Send>
[INFO] [stdout]    |                                                     +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> src/framed.rs:80:44
[INFO] [stdout]    |
[INFO] [stdout] 80 |             if 0 == try_ready!(self.stream.read_buf(&mut self.r_buffer)) {
[INFO] [stdout]    |                                            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf`
[INFO] [stdout]   --> src/lib.rs:3:1
[INFO] [stdout]    |
[INFO] [stdout] 3  + #![feature(read_buf)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.55s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.1.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "e7e9fa3e613dc13717e47d1c705138508c9fc8140d94e97ecc2140cb559f9703", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7e9fa3e613dc13717e47d1c705138508c9fc8140d94e97ecc2140cb559f9703", kill_on_drop: false }`
[INFO] [stdout] e7e9fa3e613dc13717e47d1c705138508c9fc8140d94e97ecc2140cb559f9703
