[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] testing Aaron1011/mc-verifier against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAaron1011%2Fmc-verifier" "/workspace/builds/worker-27/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-27/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Aaron1011/mc-verifier on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-27/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" "+1.60.0" "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-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 541719289b101ed9172fe16a50a07608e420edfb7029147a9873da0501cd0505 [INFO] running `Command { std: "docker" "start" "-a" "541719289b101ed9172fe16a50a07608e420edfb7029147a9873da0501cd0505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "541719289b101ed9172fe16a50a07608e420edfb7029147a9873da0501cd0505", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "541719289b101ed9172fe16a50a07608e420edfb7029147a9873da0501cd0505", kill_on_drop: false }` [INFO] [stdout] 541719289b101ed9172fe16a50a07608e420edfb7029147a9873da0501cd0505 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b00bb4f4ca26c578b9165180a3d6dee2ea713d745fa2170e9a30f3f44cbe253 [INFO] running `Command { std: "docker" "start" "-a" "3b00bb4f4ca26c578b9165180a3d6dee2ea713d745fa2170e9a30f3f44cbe253", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.27 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling openssl v0.10.19 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling indexmap v1.0.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling native-tls v0.2.2 [INFO] [stderr] Compiling syn v0.15.29 [INFO] [stderr] Compiling string v0.1.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling tokio-trace-core v0.1.0 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling log v0.4.6 [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] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.42 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling http v0.1.16 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling tokio-executor v0.1.6 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling tokio-sync v0.1.4 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.5 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-threadpool v0.1.12 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling h2 v0.1.17 [INFO] [stderr] Compiling tokio v0.1.17 [INFO] [stderr] Compiling hyper v0.12.25 [INFO] [stderr] Compiling hyper-tls v0.3.1 [INFO] [stderr] Compiling packet_macro v0.1.0 (/opt/rustwide/workdir/packet_macro) [INFO] [stderr] Compiling mc-verifier v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - result: Vec>, [INFO] [stdout] 92 + result: Vec>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - crypto_future: Option + Send>>, [INFO] [stdout] 93 + crypto_future: Option + Send>>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - pub boxed: Box, [INFO] [stdout] 15 + pub boxed: Box, [INFO] [stdout] | [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] | ^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - pub any: Box [INFO] [stdout] 16 + pub any: Box [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - Other(Box) [INFO] [stdout] 50 + Other(Box) [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - fn encrypt(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stdout] 50 + fn encrypt(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - fn encode_raw(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stdout] 68 + fn encode_raw(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - type Item = Box; [INFO] [stdout] 246 + type Item = Box; [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 - type Item = Box; [INFO] [stdout] 266 + type Item = Box; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub fn parse_packet(handlers: &HashMap ParsedPacket + Sync>>, mut data: &[u8]) -> ParsedPacket { [INFO] [stdout] 13 + pub fn parse_packet(handlers: &HashMap ParsedPacket + Sync>>, mut data: &[u8]) -> ParsedPacket { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 - fn write(&self, w: &mut Write); [INFO] [stdout] 97 + fn write(&self, w: &mut dyn Write); [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - fn read(&mut self, r: &mut Read) -> ReadResult; [INFO] [stdout] 101 + fn read(&mut self, r: &mut dyn Read) -> ReadResult; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 342 - fn handle_client(&self, handler: &mut crate::packet::ClientHandler); [INFO] [stdout] 342 + fn handle_client(&self, handler: &mut dyn crate::packet::ClientHandler); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 344 - fn handle_server(&self, handler: &mut crate::packet::ServerHandler); [INFO] [stdout] 344 + fn handle_server(&self, handler: &mut dyn crate::packet::ServerHandler); [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub fn from_read(r: &mut Read) -> Result { [INFO] [stdout] 24 + pub fn from_read(r: &mut dyn Read) -> Result { [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] 105 + fn read(&mut self, r: &mut dyn Read) -> ReadResult { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - fn write(&self, w: &mut Write) { [INFO] [stdout] 112 + fn write(&self, w: &mut dyn Write) { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 - fn write(&self, w: &mut Write) { [INFO] [stdout] 118 + fn write(&self, w: &mut dyn Write) { [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] 124 + fn read(&mut self, r: &mut dyn Read) -> ReadResult { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - fn write(&self, w: &mut Write) { [INFO] [stdout] 135 + fn write(&self, w: &mut dyn Write) { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 - fn write(&self, w: &mut Write) { [INFO] [stdout] 142 + fn write(&self, w: &mut dyn Write) { [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 - fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] 160 + fn read(&mut self, r: &mut dyn Read) -> ReadResult { [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] 204 + fn read(&mut self, r: &mut dyn Read) -> ReadResult { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 213 - fn write(&self, w: &mut Write) { [INFO] [stdout] 213 + fn write(&self, w: &mut dyn Write) { [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - let reader = data_ref as &mut Read; [INFO] [stdout] 15 + let reader = data_ref as &mut dyn Read; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 272 - let reader = &mut slice as &mut std::io::Read; [INFO] [stdout] 272 + let reader = &mut slice as &mut dyn std::io::Read; [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 348 - let packets: Vec> = handler.result.drain(..).collect(); [INFO] [stdout] 348 + let packets: Vec> = handler.result.drain(..).collect(); [INFO] [stdout] | [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 | ...*crypto.lock().unwrap() = Some(c))) as Box + 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 356 - .map(move |future| Box::new(future.map(move |c| *crypto.lock().unwrap() = Some(c))) as Box + Send>) [INFO] [stdout] 356 + .map(move |future| Box::new(future.map(move |c| *crypto.lock().unwrap() = Some(c))) as Box + Send>) [INFO] [stdout] | [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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.39s [INFO] running `Command { std: "docker" "inspect" "3b00bb4f4ca26c578b9165180a3d6dee2ea713d745fa2170e9a30f3f44cbe253", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b00bb4f4ca26c578b9165180a3d6dee2ea713d745fa2170e9a30f3f44cbe253", kill_on_drop: false }` [INFO] [stdout] 3b00bb4f4ca26c578b9165180a3d6dee2ea713d745fa2170e9a30f3f44cbe253 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ff85260462c37706e1486e96cd66a5ba59b8ffc9c7fdd65001f39706fdfbad2 [INFO] running `Command { std: "docker" "start" "-a" "9ff85260462c37706e1486e96cd66a5ba59b8ffc9c7fdd65001f39706fdfbad2", kill_on_drop: false }` [INFO] [stderr] Compiling mc-verifier v0.1.0 (/opt/rustwide/workdir) [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 - result: Vec>, [INFO] [stdout] 92 + result: Vec>, [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 93 - crypto_future: Option + Send>>, [INFO] [stdout] 93 + crypto_future: Option + Send>>, [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - pub boxed: Box, [INFO] [stdout] 15 + pub boxed: Box, [INFO] [stdout] | [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] | ^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - pub any: Box [INFO] [stdout] 16 + pub any: Box [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - Other(Box) [INFO] [stdout] 50 + Other(Box) [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 - fn encrypt(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stdout] 50 + fn encrypt(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 68 - fn encode_raw(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stdout] 68 + fn encode_raw(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 246 - type Item = Box; [INFO] [stdout] 246 + type Item = Box; [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 266 - type Item = Box; [INFO] [stdout] 266 + type Item = Box; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - pub fn parse_packet(handlers: &HashMap ParsedPacket + Sync>>, mut data: &[u8]) -> ParsedPacket { [INFO] [stdout] 13 + pub fn parse_packet(handlers: &HashMap ParsedPacket + Sync>>, mut data: &[u8]) -> ParsedPacket { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 97 - fn write(&self, w: &mut Write); [INFO] [stdout] 97 + fn write(&self, w: &mut dyn Write); [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 - fn read(&mut self, r: &mut Read) -> ReadResult; [INFO] [stdout] 101 + fn read(&mut self, r: &mut dyn Read) -> ReadResult; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 342 - fn handle_client(&self, handler: &mut crate::packet::ClientHandler); [INFO] [stdout] 342 + fn handle_client(&self, handler: &mut dyn crate::packet::ClientHandler); [INFO] [stdout] | [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 344 - fn handle_server(&self, handler: &mut crate::packet::ServerHandler); [INFO] [stdout] 344 + fn handle_server(&self, handler: &mut dyn crate::packet::ServerHandler); [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 - pub fn from_read(r: &mut Read) -> Result { [INFO] [stdout] 24 + pub fn from_read(r: &mut dyn Read) -> Result { [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 105 - fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] 105 + fn read(&mut self, r: &mut dyn Read) -> ReadResult { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 - fn write(&self, w: &mut Write) { [INFO] [stdout] 112 + fn write(&self, w: &mut dyn Write) { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 118 - fn write(&self, w: &mut Write) { [INFO] [stdout] 118 + fn write(&self, w: &mut dyn Write) { [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 124 - fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] 124 + fn read(&mut self, r: &mut dyn Read) -> ReadResult { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 135 - fn write(&self, w: &mut Write) { [INFO] [stdout] 135 + fn write(&self, w: &mut dyn Write) { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 - fn write(&self, w: &mut Write) { [INFO] [stdout] 142 + fn write(&self, w: &mut dyn Write) { [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 - fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] 160 + fn read(&mut self, r: &mut dyn Read) -> ReadResult { [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 204 - fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stdout] 204 + fn read(&mut self, r: &mut dyn Read) -> ReadResult { [INFO] [stdout] | [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] | ^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 213 - fn write(&self, w: &mut Write) { [INFO] [stdout] 213 + fn write(&self, w: &mut dyn Write) { [INFO] [stdout] | [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] | ^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - let reader = data_ref as &mut Read; [INFO] [stdout] 15 + let reader = data_ref as &mut dyn Read; [INFO] [stdout] | [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] | ^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 272 - let reader = &mut slice as &mut std::io::Read; [INFO] [stdout] 272 + let reader = &mut slice as &mut dyn std::io::Read; [INFO] [stdout] | [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] | ^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 348 - let packets: Vec> = handler.result.drain(..).collect(); [INFO] [stdout] 348 + let packets: Vec> = handler.result.drain(..).collect(); [INFO] [stdout] | [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 | ...*crypto.lock().unwrap() = Some(c))) as Box + 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 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 356 - .map(move |future| Box::new(future.map(move |c| *crypto.lock().unwrap() = Some(c))) as Box + Send>) [INFO] [stdout] 356 + .map(move |future| Box::new(future.map(move |c| *crypto.lock().unwrap() = Some(c))) as Box + Send>) [INFO] [stdout] | [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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "9ff85260462c37706e1486e96cd66a5ba59b8ffc9c7fdd65001f39706fdfbad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff85260462c37706e1486e96cd66a5ba59b8ffc9c7fdd65001f39706fdfbad2", kill_on_drop: false }` [INFO] [stdout] 9ff85260462c37706e1486e96cd66a5ba59b8ffc9c7fdd65001f39706fdfbad2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-27/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ac642c5fd992a1e3e6609b8a391f877c82c2d2aac4b8761fdb1e15283464cea1 [INFO] running `Command { std: "docker" "start" "-a" "ac642c5fd992a1e3e6609b8a391f877c82c2d2aac4b8761fdb1e15283464cea1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:92:21 [INFO] [stderr] | [INFO] [stderr] 92 | result: Vec>, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 92 - result: Vec>, [INFO] [stderr] 92 + result: Vec>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:93:31 [INFO] [stderr] | [INFO] [stderr] 93 | crypto_future: Option + Send>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 93 - crypto_future: Option + Send>>, [INFO] [stderr] 93 + crypto_future: Option + Send>>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:15:20 [INFO] [stderr] | [INFO] [stderr] 15 | pub boxed: Box, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 15 - pub boxed: Box, [INFO] [stderr] 15 + pub boxed: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:16:18 [INFO] [stderr] | [INFO] [stderr] 16 | pub any: Box [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 16 - pub any: Box [INFO] [stderr] 16 + pub any: Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:50:15 [INFO] [stderr] | [INFO] [stderr] 50 | Other(Box) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 - Other(Box) [INFO] [stderr] 50 + Other(Box) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:50:39 [INFO] [stderr] | [INFO] [stderr] 50 | fn encrypt(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 50 - fn encrypt(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stderr] 50 + fn encrypt(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:68:42 [INFO] [stderr] | [INFO] [stderr] 68 | fn encode_raw(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 68 - fn encode_raw(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stderr] 68 + fn encode_raw(&mut self, packet: Box, dst: &mut BytesMut) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:246:21 [INFO] [stderr] | [INFO] [stderr] 246 | type Item = Box; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 246 - type Item = Box; [INFO] [stderr] 246 + type Item = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:266:21 [INFO] [stderr] | [INFO] [stderr] 266 | type Item = Box; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 266 - type Item = Box; [INFO] [stderr] 266 + type Item = Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/mod.rs:13:49 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn parse_packet(handlers: &HashMap ParsedPacket + Sync>>, mut data: &[u8]) -> ParsedPacket { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 - pub fn parse_packet(handlers: &HashMap ParsedPacket + Sync>>, mut data: &[u8]) -> ParsedPacket { [INFO] [stderr] 13 + pub fn parse_packet(handlers: &HashMap ParsedPacket + Sync>>, mut data: &[u8]) -> ParsedPacket { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:97:29 [INFO] [stderr] | [INFO] [stderr] 97 | fn write(&self, w: &mut Write); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 97 - fn write(&self, w: &mut Write); [INFO] [stderr] 97 + fn write(&self, w: &mut dyn Write); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:101:32 [INFO] [stderr] | [INFO] [stderr] 101 | fn read(&mut self, r: &mut Read) -> ReadResult; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 101 - fn read(&mut self, r: &mut Read) -> ReadResult; [INFO] [stderr] 101 + fn read(&mut self, r: &mut dyn Read) -> ReadResult; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:342:43 [INFO] [stderr] | [INFO] [stderr] 342 | fn handle_client(&self, handler: &mut crate::packet::ClientHandler); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 342 - fn handle_client(&self, handler: &mut crate::packet::ClientHandler); [INFO] [stderr] 342 + fn handle_client(&self, handler: &mut dyn crate::packet::ClientHandler); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:344:43 [INFO] [stderr] | [INFO] [stderr] 344 | fn handle_server(&self, handler: &mut crate::packet::ServerHandler); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 344 - fn handle_server(&self, handler: &mut crate::packet::ServerHandler); [INFO] [stderr] 344 + fn handle_server(&self, handler: &mut dyn crate::packet::ServerHandler); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:24:30 [INFO] [stderr] | [INFO] [stderr] 24 | pub fn from_read(r: &mut Read) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 24 - pub fn from_read(r: &mut Read) -> Result { [INFO] [stderr] 24 + pub fn from_read(r: &mut dyn Read) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:105:32 [INFO] [stderr] | [INFO] [stderr] 105 | fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 105 - fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stderr] 105 + fn read(&mut self, r: &mut dyn Read) -> ReadResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:112:29 [INFO] [stderr] | [INFO] [stderr] 112 | fn write(&self, w: &mut Write) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 112 - fn write(&self, w: &mut Write) { [INFO] [stderr] 112 + fn write(&self, w: &mut dyn Write) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:118:29 [INFO] [stderr] | [INFO] [stderr] 118 | fn write(&self, w: &mut Write) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 118 - fn write(&self, w: &mut Write) { [INFO] [stderr] 118 + fn write(&self, w: &mut dyn Write) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:124:32 [INFO] [stderr] | [INFO] [stderr] 124 | fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 124 - fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stderr] 124 + fn read(&mut self, r: &mut dyn Read) -> ReadResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:135:29 [INFO] [stderr] | [INFO] [stderr] 135 | fn write(&self, w: &mut Write) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 135 - fn write(&self, w: &mut Write) { [INFO] [stderr] 135 + fn write(&self, w: &mut dyn Write) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:142:29 [INFO] [stderr] | [INFO] [stderr] 142 | fn write(&self, w: &mut Write) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 142 - fn write(&self, w: &mut Write) { [INFO] [stderr] 142 + fn write(&self, w: &mut dyn Write) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:160:32 [INFO] [stderr] | [INFO] [stderr] 160 | fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 160 - fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stderr] 160 + fn read(&mut self, r: &mut dyn Read) -> ReadResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:204:32 [INFO] [stderr] | [INFO] [stderr] 204 | fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 204 - fn read(&mut self, r: &mut Read) -> ReadResult { [INFO] [stderr] 204 + fn read(&mut self, r: &mut dyn Read) -> ReadResult { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/types.rs:213:29 [INFO] [stderr] | [INFO] [stderr] 213 | fn write(&self, w: &mut Write) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 213 - fn write(&self, w: &mut Write) { [INFO] [stderr] 213 + fn write(&self, w: &mut dyn Write) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/packet/mod.rs:15:35 [INFO] [stderr] | [INFO] [stderr] 15 | let reader = data_ref as &mut Read; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 15 - let reader = data_ref as &mut Read; [INFO] [stderr] 15 + let reader = data_ref as &mut dyn Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:272:41 [INFO] [stderr] | [INFO] [stderr] 272 | let reader = &mut slice as &mut std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 272 - let reader = &mut slice as &mut std::io::Read; [INFO] [stderr] 272 + let reader = &mut slice as &mut dyn std::io::Read; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:348:42 [INFO] [stderr] | [INFO] [stderr] 348 | let packets: Vec> = handler.result.drain(..).collect(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 348 - let packets: Vec> = handler.result.drain(..).collect(); [INFO] [stderr] 348 + let packets: Vec> = handler.result.drain(..).collect(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:356:116 [INFO] [stderr] | [INFO] [stderr] 356 | ...*crypto.lock().unwrap() = Some(c))) as Box + Send>) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 356 - .map(move |future| Box::new(future.map(move |c| *crypto.lock().unwrap() = Some(c))) as Box + Send>) [INFO] [stderr] 356 + .map(move |future| Box::new(future.map(move |c| *crypto.lock().unwrap() = Some(c))) as Box + Send>) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `decrypt` [INFO] [stderr] --> src/main.rs:87:5 [INFO] [stderr] | [INFO] [stderr] 87 | decrypt: Crypter, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `mc-verifier` (bin "mc-verifier" test) generated 29 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mc_verifier-9d2d17e978ceeb75) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ac642c5fd992a1e3e6609b8a391f877c82c2d2aac4b8761fdb1e15283464cea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac642c5fd992a1e3e6609b8a391f877c82c2d2aac4b8761fdb1e15283464cea1", kill_on_drop: false }` [INFO] [stdout] ac642c5fd992a1e3e6609b8a391f877c82c2d2aac4b8761fdb1e15283464cea1