[INFO] cloning repository https://github.com/Aaron1011/mc-verifier [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Aaron1011/mc-verifier" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaron1011%2Fmc-verifier", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaron1011%2Fmc-verifier'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e3c5afbf059ca92552387aa4b32d4685c1dca47 [INFO] checking Aaron1011/mc-verifier against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaron1011%2Fmc-verifier" "/workspace/builds/worker-77/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-77/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aaron1011/mc-verifier on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Aaron1011/mc-verifier [INFO] finished tweaking git repo https://github.com/Aaron1011/mc-verifier [INFO] tweaked toml for git repo https://github.com/Aaron1011/mc-verifier written to /workspace/builds/worker-77/source/Cargo.toml [INFO] crate git repo https://github.com/Aaron1011/mc-verifier already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae8c95f3b439fa9bc5e35019886def5e66846fce295f9c1a3271bf2faaf687b2 [INFO] running `Command { std: "docker" "start" "-a" "ae8c95f3b439fa9bc5e35019886def5e66846fce295f9c1a3271bf2faaf687b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae8c95f3b439fa9bc5e35019886def5e66846fce295f9c1a3271bf2faaf687b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae8c95f3b439fa9bc5e35019886def5e66846fce295f9c1a3271bf2faaf687b2", kill_on_drop: false }` [INFO] [stdout] ae8c95f3b439fa9bc5e35019886def5e66846fce295f9c1a3271bf2faaf687b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-77/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c5dd383ba137b32885f7cf521e4b7a9b783279021c8842473fbce498b27a30f [INFO] running `Command { std: "docker" "start" "-a" "5c5dd383ba137b32885f7cf521e4b7a9b783279021c8842473fbce498b27a30f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking futures v0.1.25 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking smallvec v0.6.9 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling openssl v0.10.19 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Checking indexmap v1.0.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking string v0.1.3 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking tokio-trace-core v0.1.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.3 [INFO] [stderr] Checking crossbeam-utils v0.6.5 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking tokio-sync v0.1.4 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking tokio-executor v0.1.6 [INFO] [stderr] Checking crossbeam-queue v0.1.2 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking tokio-timer v0.2.10 [INFO] [stderr] Checking tokio-current-thread v0.1.5 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.42 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.16 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-threadpool v0.1.12 [INFO] [stderr] Checking parking_lot v0.7.1 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking h2 v0.1.17 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio v0.1.17 [INFO] [stderr] Checking hyper v0.12.25 [INFO] [stderr] Checking hyper-tls v0.3.1 [INFO] [stderr] Compiling packet_macro v0.1.0 (/opt/rustwide/workdir/packet_macro) [INFO] [stderr] Checking mc-verifier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub boxed: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub any: Box [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_read(r: &mut Read) -> Result { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | Other(Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Send + Sync` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | fn write(&self, w: &mut Write); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | fn read(&mut self, r: &mut Read) -> ReadResult; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | fn write(&self, w: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | fn write(&self, w: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | fn write(&self, w: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | fn write(&self, w: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 204 | fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | fn write(&self, w: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:342:43 [INFO] [stdout] | [INFO] [stdout] 342 | fn handle_client(&self, handler: &mut crate::packet::ClientHandler); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn crate::packet::ClientHandler` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:344:43 [INFO] [stdout] | [INFO] [stdout] 344 | fn handle_server(&self, handler: &mut crate::packet::ServerHandler); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn crate::packet::ServerHandler` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/mod.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_packet(handlers: &HashMap ParsedPacket + Sync>>, mut data: &[u8]) -> ParsedPacket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> ParsedPacket + Sync` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/mod.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | let reader = data_ref as &mut Read; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | fn encrypt(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | fn encode_raw(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | result: Vec>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | crypto_future: Option + Send>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | type Item = Box; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | type Item = Box; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | let reader = &mut slice as &mut std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:348:42 [INFO] [stdout] | [INFO] [stdout] 348 | let packets: Vec> = handler.result.drain(..).collect(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:356:116 [INFO] [stdout] | [INFO] [stdout] 356 | ...as Box + Send>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:15:20 [INFO] [stdout] | [INFO] [stdout] 15 | pub boxed: Box, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub any: Box [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn from_read(r: &mut Read) -> Result { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | Other(Box) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Send + Sync` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | fn write(&self, w: &mut Write); [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | fn read(&mut self, r: &mut Read) -> ReadResult; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:105:32 [INFO] [stdout] | [INFO] [stdout] 105 | fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:112:29 [INFO] [stdout] | [INFO] [stdout] 112 | fn write(&self, w: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | fn write(&self, w: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:135:29 [INFO] [stdout] | [INFO] [stdout] 135 | fn write(&self, w: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:142:29 [INFO] [stdout] | [INFO] [stdout] 142 | fn write(&self, w: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:204:32 [INFO] [stdout] | [INFO] [stdout] 204 | fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:213:29 [INFO] [stdout] | [INFO] [stdout] 213 | fn write(&self, w: &mut Write) { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:342:43 [INFO] [stdout] | [INFO] [stdout] 342 | fn handle_client(&self, handler: &mut crate::packet::ClientHandler); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn crate::packet::ClientHandler` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/types.rs:344:43 [INFO] [stdout] | [INFO] [stdout] 344 | fn handle_server(&self, handler: &mut crate::packet::ServerHandler); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn crate::packet::ServerHandler` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/mod.rs:13:49 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn parse_packet(handlers: &HashMap ParsedPacket + Sync>>, mut data: &[u8]) -> ParsedPacket { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&[u8]) -> ParsedPacket + Sync` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/packet/mod.rs:15:35 [INFO] [stdout] | [INFO] [stdout] 15 | let reader = data_ref as &mut Read; [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:50:39 [INFO] [stdout] | [INFO] [stdout] 50 | fn encrypt(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:68:42 [INFO] [stdout] | [INFO] [stdout] 68 | fn encode_raw(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | result: Vec>, [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | crypto_future: Option + Send>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:246:21 [INFO] [stdout] | [INFO] [stdout] 246 | type Item = Box; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:266:21 [INFO] [stdout] | [INFO] [stdout] 266 | type Item = Box; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | let reader = &mut slice as &mut std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn std::io::Read` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:348:42 [INFO] [stdout] | [INFO] [stdout] 348 | let packets: Vec> = handler.result.drain(..).collect(); [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Packet` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:356:116 [INFO] [stdout] | [INFO] [stdout] 356 | ...as Box + Send>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `decrypt` [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | decrypt: Crypter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `decrypt` [INFO] [stdout] --> src/main.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | decrypt: Crypter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.59s [INFO] running `Command { std: "docker" "inspect" "5c5dd383ba137b32885f7cf521e4b7a9b783279021c8842473fbce498b27a30f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c5dd383ba137b32885f7cf521e4b7a9b783279021c8842473fbce498b27a30f", kill_on_drop: false }` [INFO] [stdout] 5c5dd383ba137b32885f7cf521e4b7a9b783279021c8842473fbce498b27a30f