[INFO] fetching crate nexus 0.0.1... [INFO] testing nexus-0.0.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate nexus 0.0.1 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate nexus 0.0.1 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 crates.io crate nexus 0.0.1 [INFO] finished tweaking crates.io crate nexus 0.0.1 [INFO] tweaked toml for crates.io crate nexus 0.0.1 written to /workspace/builds/worker-15/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 39741aaa4e3bf60cf8bc18fcdfd19213b1289dde4bd9bc5ec06508c062f795c7 [INFO] running `Command { std: "docker" "start" "-a" "39741aaa4e3bf60cf8bc18fcdfd19213b1289dde4bd9bc5ec06508c062f795c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "39741aaa4e3bf60cf8bc18fcdfd19213b1289dde4bd9bc5ec06508c062f795c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39741aaa4e3bf60cf8bc18fcdfd19213b1289dde4bd9bc5ec06508c062f795c7", kill_on_drop: false }` [INFO] [stdout] 39741aaa4e3bf60cf8bc18fcdfd19213b1289dde4bd9bc5ec06508c062f795c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 2ec65936fe8e700446df9012471684e8d24e0f709e6a707b6d02088a3a0b5ab1 [INFO] running `Command { std: "docker" "start" "-a" "2ec65936fe8e700446df9012471684e8d24e0f709e6a707b6d02088a3a0b5ab1", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling nexus v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/reactor/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor/mod.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let event_loop = try!(EventLoop::configured(config.to_event_loop_config())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tcp/tcp_reactor.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | let reactor = try!(Reactor::with_configuration(reactor_proto, config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 10 + fn on_readable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 13 + fn on_writable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 16 + fn on_timeout(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 19 + fn on_disconnect(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 22 + fn on_socket_error(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | fn tick(&mut self, configurer: &mut Configurer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - fn tick(&mut self, configurer: &mut Configurer); [INFO] [stdout] 28 + fn tick(&mut self, configurer: &mut dyn Configurer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor/handler.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | configurer: &mut Configurer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 - configurer: &mut Configurer, [INFO] [stdout] 233 + configurer: &mut dyn Configurer, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream); [INFO] [stdout] 11 + fn on_connect(&mut self, configurer: &mut dyn Configurer, socket: TcpStream); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream) { [INFO] [stdout] 29 + fn on_connect(&mut self, configurer: &mut dyn Configurer, socket: TcpStream) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 37 + fn on_readable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:41:48 [INFO] [stdout] | [INFO] [stdout] 41 | fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 41 + fn on_writable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 45 + fn on_timeout(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 49 + fn on_disconnect(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 53 + fn on_socket_error(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | fn tick(&mut self, configurer: &mut Configurer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - fn tick(&mut self, configurer: &mut Configurer) { [INFO] [stdout] 61 + fn tick(&mut self, configurer: &mut dyn Configurer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.08s [INFO] running `Command { std: "docker" "inspect" "2ec65936fe8e700446df9012471684e8d24e0f709e6a707b6d02088a3a0b5ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ec65936fe8e700446df9012471684e8d24e0f709e6a707b6d02088a3a0b5ab1", kill_on_drop: false }` [INFO] [stdout] 2ec65936fe8e700446df9012471684e8d24e0f709e6a707b6d02088a3a0b5ab1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] bdafe8cb5565110283fc1857221089d3656459fef3e0d198bdde1eb6354fe56f [INFO] running `Command { std: "docker" "start" "-a" "bdafe8cb5565110283fc1857221089d3656459fef3e0d198bdde1eb6354fe56f", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/reactor/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor/mod.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let event_loop = try!(EventLoop::configured(config.to_event_loop_config())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tcp/tcp_reactor.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | let reactor = try!(Reactor::with_configuration(reactor_proto, config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 10 + fn on_readable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 13 + fn on_writable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 16 + fn on_timeout(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 19 + fn on_disconnect(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 22 + fn on_socket_error(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | fn tick(&mut self, configurer: &mut Configurer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - fn tick(&mut self, configurer: &mut Configurer); [INFO] [stdout] 28 + fn tick(&mut self, configurer: &mut dyn Configurer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor/handler.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | configurer: &mut Configurer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 - configurer: &mut Configurer, [INFO] [stdout] 233 + configurer: &mut dyn Configurer, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream); [INFO] [stdout] 11 + fn on_connect(&mut self, configurer: &mut dyn Configurer, socket: TcpStream); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream) { [INFO] [stdout] 29 + fn on_connect(&mut self, configurer: &mut dyn Configurer, socket: TcpStream) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 37 + fn on_readable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:41:48 [INFO] [stdout] | [INFO] [stdout] 41 | fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 41 + fn on_writable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 45 + fn on_timeout(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 49 + fn on_disconnect(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 53 + fn on_socket_error(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | fn tick(&mut self, configurer: &mut Configurer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - fn tick(&mut self, configurer: &mut Configurer) { [INFO] [stdout] 61 + fn tick(&mut self, configurer: &mut dyn Configurer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling nexus v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/reactor/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor/mod.rs:109:26 [INFO] [stdout] | [INFO] [stdout] 109 | let event_loop = try!(EventLoop::configured(config.to_event_loop_config())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/tcp/tcp_reactor.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | let reactor = try!(Reactor::with_configuration(reactor_proto, config)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/reactor/mod.rs:230:24 [INFO] [stdout] | [INFO] [stdout] 230 | ::std::thread::sleep_ms(60); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/reactor/mod.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | ::std::thread::sleep_ms(60); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [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 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 - fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 10 + fn on_readable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:13:48 [INFO] [stdout] | [INFO] [stdout] 13 | fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 13 + fn on_writable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:16:47 [INFO] [stdout] | [INFO] [stdout] 16 | fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 - fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 16 + fn on_timeout(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 19 + fn on_disconnect(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:22:52 [INFO] [stdout] | [INFO] [stdout] 22 | fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] 22 + fn on_socket_error(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/protocol.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 28 | fn tick(&mut self, configurer: &mut Configurer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 - fn tick(&mut self, configurer: &mut Configurer); [INFO] [stdout] 28 + fn tick(&mut self, configurer: &mut dyn Configurer); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor/handler.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | configurer: &mut Configurer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 233 - configurer: &mut Configurer, [INFO] [stdout] 233 + configurer: &mut dyn Configurer, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:11:47 [INFO] [stdout] | [INFO] [stdout] 11 | fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream); [INFO] [stdout] 11 + fn on_connect(&mut self, configurer: &mut dyn Configurer, socket: TcpStream); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream) { [INFO] [stdout] 29 + fn on_connect(&mut self, configurer: &mut dyn Configurer, socket: TcpStream) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 - fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 37 + fn on_readable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:41:48 [INFO] [stdout] | [INFO] [stdout] 41 | fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 41 + fn on_writable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:45:47 [INFO] [stdout] | [INFO] [stdout] 45 | fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 45 - fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 45 + fn on_timeout(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:49:50 [INFO] [stdout] | [INFO] [stdout] 49 | fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 49 + fn on_disconnect(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:53:52 [INFO] [stdout] | [INFO] [stdout] 53 | fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] 53 + fn on_socket_error(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tcp/protocol.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | fn tick(&mut self, configurer: &mut Configurer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 61 - fn tick(&mut self, configurer: &mut Configurer) { [INFO] [stdout] 61 + fn tick(&mut self, configurer: &mut dyn Configurer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_protocol.rs:78:48 [INFO] [stdout] | [INFO] [stdout] 78 | fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 78 - fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] 78 + fn on_readable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_protocol.rs:96:48 [INFO] [stdout] | [INFO] [stdout] 96 | fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 96 - fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] 96 + fn on_writable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_protocol.rs:104:47 [INFO] [stdout] | [INFO] [stdout] 104 | fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 104 - fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] 104 + fn on_timeout(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_protocol.rs:112:50 [INFO] [stdout] | [INFO] [stdout] 112 | fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) 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 on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] 112 + fn on_disconnect(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_protocol.rs:120:52 [INFO] [stdout] | [INFO] [stdout] 120 | fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 120 - fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] 120 + fn on_socket_error(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_protocol.rs:132:41 [INFO] [stdout] | [INFO] [stdout] 132 | fn tick(&mut self, configurer: &mut Configurer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 132 - fn tick(&mut self, configurer: &mut Configurer) { [INFO] [stdout] 132 + fn tick(&mut self, configurer: &mut dyn Configurer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_protocol.rs:193:52 [INFO] [stdout] | [INFO] [stdout] 193 | fn configure(&mut self, event_configurer: &mut Configurer<::Socket>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 193 - fn configure(&mut self, event_configurer: &mut Configurer<::Socket>) { [INFO] [stdout] 193 + fn configure(&mut self, event_configurer: &mut dyn Configurer<::Socket>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_tcp_protocol.rs:29:49 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_readable(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - fn on_readable(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] 29 + fn on_readable(&mut self, _configurer: &mut dyn Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_tcp_protocol.rs:32:49 [INFO] [stdout] | [INFO] [stdout] 32 | fn on_writable(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 - fn on_writable(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] 32 + fn on_writable(&mut self, _configurer: &mut dyn Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_tcp_protocol.rs:35:48 [INFO] [stdout] | [INFO] [stdout] 35 | fn on_timeout(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - fn on_timeout(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] 35 + fn on_timeout(&mut self, _configurer: &mut dyn Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_tcp_protocol.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | fn on_disconnect(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 - fn on_disconnect(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] 38 + fn on_disconnect(&mut self, _configurer: &mut dyn Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_tcp_protocol.rs:41:53 [INFO] [stdout] | [INFO] [stdout] 41 | fn on_socket_error(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - fn on_socket_error(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] 41 + fn on_socket_error(&mut self, _configurer: &mut dyn Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_tcp_protocol.rs:48:42 [INFO] [stdout] | [INFO] [stdout] 48 | fn tick(&mut self, _configurer: &mut Configurer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 48 - fn tick(&mut self, _configurer: &mut Configurer) { [INFO] [stdout] 48 + fn tick(&mut self, _configurer: &mut dyn Configurer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/test_helpers/fake_tcp_protocol.rs:53:47 [INFO] [stdout] | [INFO] [stdout] 53 | fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 53 - fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream) { [INFO] [stdout] 53 + fn on_connect(&mut self, configurer: &mut dyn Configurer, socket: TcpStream) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Configurer` [INFO] [stdout] --> src/reactor/mod.rs:155:28 [INFO] [stdout] | [INFO] [stdout] 155 | use reactor::{Reactor, Configurer, ReactorConfig}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.93s [INFO] running `Command { std: "docker" "inspect" "bdafe8cb5565110283fc1857221089d3656459fef3e0d198bdde1eb6354fe56f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdafe8cb5565110283fc1857221089d3656459fef3e0d198bdde1eb6354fe56f", kill_on_drop: false }` [INFO] [stdout] bdafe8cb5565110283fc1857221089d3656459fef3e0d198bdde1eb6354fe56f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] b986dd6f16973b954d92471efeae17a599ecdbb1fc1bf5d8f42ebb808499289f [INFO] running `Command { std: "docker" "start" "-a" "b986dd6f16973b954d92471efeae17a599ecdbb1fc1bf5d8f42ebb808499289f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `std::error::Error` [INFO] [stderr] --> src/reactor/mod.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use std::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/reactor/mod.rs:109:26 [INFO] [stderr] | [INFO] [stderr] 109 | let event_loop = try!(EventLoop::configured(config.to_event_loop_config())); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/tcp/tcp_reactor.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | let reactor = try!(Reactor::with_configuration(reactor_proto, config)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/protocol.rs:10:48 [INFO] [stderr] | [INFO] [stderr] 10 | fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [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 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 10 - fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] 10 + fn on_readable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/protocol.rs:13:48 [INFO] [stderr] | [INFO] [stderr] 13 | fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) 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 - fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] 13 + fn on_writable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/protocol.rs:16:47 [INFO] [stderr] | [INFO] [stderr] 16 | fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) 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 - fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] 16 + fn on_timeout(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/protocol.rs:19:50 [INFO] [stderr] | [INFO] [stderr] 19 | fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 - fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] 19 + fn on_disconnect(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/protocol.rs:22:52 [INFO] [stderr] | [INFO] [stderr] 22 | fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 22 - fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] 22 + fn on_socket_error(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/protocol.rs:28:41 [INFO] [stderr] | [INFO] [stderr] 28 | fn tick(&mut self, configurer: &mut Configurer); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 28 - fn tick(&mut self, configurer: &mut Configurer); [INFO] [stderr] 28 + fn tick(&mut self, configurer: &mut dyn Configurer); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reactor/handler.rs:233:33 [INFO] [stderr] | [INFO] [stderr] 233 | configurer: &mut Configurer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 233 - configurer: &mut Configurer, [INFO] [stderr] 233 + configurer: &mut dyn Configurer, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tcp/protocol.rs:11:47 [INFO] [stderr] | [INFO] [stderr] 11 | fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 11 - fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream); [INFO] [stderr] 11 + fn on_connect(&mut self, configurer: &mut dyn Configurer, socket: TcpStream); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tcp/protocol.rs:29:47 [INFO] [stderr] | [INFO] [stderr] 29 | fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream) { [INFO] [stderr] 29 + fn on_connect(&mut self, configurer: &mut dyn Configurer, socket: TcpStream) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tcp/protocol.rs:37:48 [INFO] [stderr] | [INFO] [stderr] 37 | fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 37 - fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] 37 + fn on_readable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tcp/protocol.rs:41:48 [INFO] [stderr] | [INFO] [stderr] 41 | fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 - fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] 41 + fn on_writable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tcp/protocol.rs:45:47 [INFO] [stderr] | [INFO] [stderr] 45 | fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 45 - fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] 45 + fn on_timeout(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tcp/protocol.rs:49:50 [INFO] [stderr] | [INFO] [stderr] 49 | fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] 49 + fn on_disconnect(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tcp/protocol.rs:53:52 [INFO] [stderr] | [INFO] [stderr] 53 | fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 - fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] 53 + fn on_socket_error(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tcp/protocol.rs:61:41 [INFO] [stderr] | [INFO] [stderr] 61 | fn tick(&mut self, configurer: &mut Configurer) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 61 - fn tick(&mut self, configurer: &mut Configurer) { [INFO] [stderr] 61 + fn tick(&mut self, configurer: &mut dyn Configurer) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stderr] --> src/reactor/mod.rs:230:24 [INFO] [stderr] | [INFO] [stderr] 230 | ::std::thread::sleep_ms(60); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stderr] --> src/reactor/mod.rs:240:24 [INFO] [stderr] | [INFO] [stderr] 240 | ::std::thread::sleep_ms(60); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_protocol.rs:78:48 [INFO] [stderr] | [INFO] [stderr] 78 | fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 78 - fn on_readable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] 78 + fn on_readable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_protocol.rs:96:48 [INFO] [stderr] | [INFO] [stderr] 96 | fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 96 - fn on_writable(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] 96 + fn on_writable(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_protocol.rs:104:47 [INFO] [stderr] | [INFO] [stderr] 104 | fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 104 - fn on_timeout(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] 104 + fn on_timeout(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_protocol.rs:112:50 [INFO] [stderr] | [INFO] [stderr] 112 | fn on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) 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 on_disconnect(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] 112 + fn on_disconnect(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_protocol.rs:120:52 [INFO] [stderr] | [INFO] [stderr] 120 | fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 120 - fn on_socket_error(&mut self, configurer: &mut Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] 120 + fn on_socket_error(&mut self, configurer: &mut dyn Configurer, socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_protocol.rs:132:41 [INFO] [stderr] | [INFO] [stderr] 132 | fn tick(&mut self, configurer: &mut Configurer) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 132 - fn tick(&mut self, configurer: &mut Configurer) { [INFO] [stderr] 132 + fn tick(&mut self, configurer: &mut dyn Configurer) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_protocol.rs:193:52 [INFO] [stderr] | [INFO] [stderr] 193 | fn configure(&mut self, event_configurer: &mut Configurer<::Socket>) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 193 - fn configure(&mut self, event_configurer: &mut Configurer<::Socket>) { [INFO] [stderr] 193 + fn configure(&mut self, event_configurer: &mut dyn Configurer<::Socket>) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_tcp_protocol.rs:29:49 [INFO] [stderr] | [INFO] [stderr] 29 | fn on_readable(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 29 - fn on_readable(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] 29 + fn on_readable(&mut self, _configurer: &mut dyn Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_tcp_protocol.rs:32:49 [INFO] [stderr] | [INFO] [stderr] 32 | fn on_writable(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 32 - fn on_writable(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] 32 + fn on_writable(&mut self, _configurer: &mut dyn Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_tcp_protocol.rs:35:48 [INFO] [stderr] | [INFO] [stderr] 35 | fn on_timeout(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 35 - fn on_timeout(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] 35 + fn on_timeout(&mut self, _configurer: &mut dyn Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_tcp_protocol.rs:38:51 [INFO] [stderr] | [INFO] [stderr] 38 | fn on_disconnect(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 38 - fn on_disconnect(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] 38 + fn on_disconnect(&mut self, _configurer: &mut dyn Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_tcp_protocol.rs:41:53 [INFO] [stderr] | [INFO] [stderr] 41 | fn on_socket_error(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 41 - fn on_socket_error(&mut self, _configurer: &mut Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] 41 + fn on_socket_error(&mut self, _configurer: &mut dyn Configurer, _socket: &mut Self::Socket, _token: Token) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_tcp_protocol.rs:48:42 [INFO] [stderr] | [INFO] [stderr] 48 | fn tick(&mut self, _configurer: &mut Configurer) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 48 - fn tick(&mut self, _configurer: &mut Configurer) { [INFO] [stderr] 48 + fn tick(&mut self, _configurer: &mut dyn Configurer) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/test_helpers/fake_tcp_protocol.rs:53:47 [INFO] [stderr] | [INFO] [stderr] 53 | fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 53 - fn on_connect(&mut self, configurer: &mut Configurer, socket: TcpStream) { [INFO] [stderr] 53 + fn on_connect(&mut self, configurer: &mut dyn Configurer, socket: TcpStream) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `Configurer` [INFO] [stderr] --> src/reactor/mod.rs:155:28 [INFO] [stderr] | [INFO] [stderr] 155 | use reactor::{Reactor, Configurer, ReactorConfig}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `nexus` (lib) generated 18 warnings [INFO] [stderr] warning: `nexus` (lib test) generated 35 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nexus-3a37d2e532ac1af7) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test reactor::configurer::tests::test_configurer_shutdown ... ok [INFO] [stdout] test reactor::tests::test_reactor_disconnect ... ok [INFO] [stdout] test reactor::tests::test_reactor_read_write ... ok [INFO] [stdout] test reactor::tests::test_reactor_periodic_read ... ok [INFO] [stdout] test tcp::protocol::tests::test_adding_new_connections ... ok [INFO] [stdout] test reactor::tests::test_reactor_spin_once_protocol_error ... ok [INFO] [stdout] test reactor::tests::test_reactor_run_protocol_error ... ok [INFO] [stdout] test reactor::tests::test_reactor_run_and_shutdown ... ok [INFO] [stdout] test reactor::tests::test_reactor_timeout ... ok [INFO] [stdout] test reactor::tests::test_reactor_protocol_socket_configuration ... ok [INFO] [stderr] Doc-tests nexus [INFO] [stdout] test reactor::tests::test_reactor_remove_socket ... ok [INFO] [stdout] test reactor::tests::test_reactor_update_socket ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/tcp/mod.rs - tcp (line 9) - compile ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b986dd6f16973b954d92471efeae17a599ecdbb1fc1bf5d8f42ebb808499289f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b986dd6f16973b954d92471efeae17a599ecdbb1fc1bf5d8f42ebb808499289f", kill_on_drop: false }` [INFO] [stdout] b986dd6f16973b954d92471efeae17a599ecdbb1fc1bf5d8f42ebb808499289f