[INFO] fetching crate reactor 0.1.4... [INFO] checking reactor-0.1.4 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate reactor 0.1.4 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate reactor 0.1.4 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate reactor 0.1.4 [INFO] finished tweaking crates.io crate reactor 0.1.4 [INFO] tweaked toml for crates.io crate reactor 0.1.4 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tendril v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 33f7641d0c1d7db085959a6a85e453ae50383d6a8783e2329e26247568cf4b9f [INFO] running `Command { std: "docker" "start" "-a" "33f7641d0c1d7db085959a6a85e453ae50383d6a8783e2329e26247568cf4b9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33f7641d0c1d7db085959a6a85e453ae50383d6a8783e2329e26247568cf4b9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33f7641d0c1d7db085959a6a85e453ae50383d6a8783e2329e26247568cf4b9f", kill_on_drop: false }` [INFO] [stdout] 33f7641d0c1d7db085959a6a85e453ae50383d6a8783e2329e26247568cf4b9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e57f38633b80ed044d3bf94a478b7789a689829bfe2108513324da3019e57a66 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e57f38633b80ed044d3bf94a478b7789a689829bfe2108513324da3019e57a66", kill_on_drop: false }` [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking bytes v0.2.11 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking nix v0.3.10 [INFO] [stderr] Checking winapi v0.1.23 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking mio v0.4.4 [INFO] [stderr] Checking tendril v0.1.6 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking reactor v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::net::lookup_host` [INFO] [stdout] --> src/reactor_ctrl.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | lookup_host, [INFO] [stdout] | ^^^^^^^^^^^ no `lookup_host` in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::net::lookup_host` [INFO] [stdout] --> src/reactor_ctrl.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | lookup_host, [INFO] [stdout] | ^^^^^^^^^^^ no `lookup_host` in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/context.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_event(&mut self, &mut ReactorCtrl, EventType); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ReactorCtrl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/context.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_event(&mut self, &mut ReactorCtrl, EventType); [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: EventType` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_evented(&self) -> &Evented; //&Self::Socket; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Evented` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/reactor.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | (cfg.max_connections * cfg.timers_per_connection))).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor.rs:119:62 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn deregister(&mut self, token: Token) -> Result> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | pub type ConnHandler<'a> = FnMut(ConnResult, &mut ReactorCtrl) -> Option> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ConnResult, &mut ReactorCtrl) -> Option> + 'a` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:32:78 [INFO] [stdout] | [INFO] [stdout] 32 | pub type ConnHandler<'a> = FnMut(ConnResult, &mut ReactorCtrl) -> Option> + 'a; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub type TimeoutHandler<'a> = FnMut(Token, &mut ReactorCtrl) + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Token, &mut ReactorCtrl) + 'a` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | Connected(Box), [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/reactor_ctrl.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | pub timeouts: Slab<(TimerRec<'a>)>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let saddr = try!(lookup_host(hostname).and_then(|ref mut lh| lh.nth(0) [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/reactor_ctrl.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | let sock = try!(TcpStream::connect(&saddr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | let tok = try!(self.state.conns.insert(ConnRec::None) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | try!(self.event_loop.register_opt(&sock, tok, EventSet::writable(), PollOpt::edge())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | let saddr : SocketAddr = try!(addr.to_socket_addrs().and_then(|ref mut a| a.nth(0).ok_or(Error::last_os_error()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | let server = try!(TcpListener::bind(&saddr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | let tok = try!(self.state.listeners.insert(Some((server,handler))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | try!(self.event_loop.register_opt(server, tok, EventSet::readable(), PollOpt::edge())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:152:22 [INFO] [stdout] | [INFO] [stdout] 152 | let handle = try!(self.event_loop.timeout_ms(tok.0, duration)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | let handle = try!(self.event_loop.timeout_ms(tok.0, duration)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | let token = try!(self.state.conns.insert(ConnRec::None) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | try!(self.event_loop.register_opt(foo.get_evented() as &Evented, token, foo.get_interest(), PollOpt::edge())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | let foo : Box = Box::new(ctx); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:172:65 [INFO] [stdout] | [INFO] [stdout] 172 | try!(self.event_loop.register_opt(foo.get_evented() as &Evented, token, foo.get_interest(), PollOpt::edge())); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Evented` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:181:62 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn deregister(&mut self, token: Token) -> Result> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/context.rs:29:28 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_event(&mut self, &mut ReactorCtrl, EventType); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut ReactorCtrl` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/context.rs:29:46 [INFO] [stdout] | [INFO] [stdout] 29 | fn on_event(&mut self, &mut ReactorCtrl, EventType); [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: EventType` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/context.rs:32:31 [INFO] [stdout] | [INFO] [stdout] 32 | fn get_evented(&self) -> &Evented; //&Self::Socket; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Evented` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/reactor.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 41 | (cfg.max_connections * cfg.timers_per_connection))).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor.rs:119:62 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn deregister(&mut self, token: Token) -> Result> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:32:28 [INFO] [stdout] | [INFO] [stdout] 32 | pub type ConnHandler<'a> = FnMut(ConnResult, &mut ReactorCtrl) -> Option> + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(ConnResult, &mut ReactorCtrl) -> Option> + 'a` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:32:78 [INFO] [stdout] | [INFO] [stdout] 32 | pub type ConnHandler<'a> = FnMut(ConnResult, &mut ReactorCtrl) -> Option> + 'a; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | pub type TimeoutHandler<'a> = FnMut(Token, &mut ReactorCtrl) + 'a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(Token, &mut ReactorCtrl) + 'a` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | Connected(Box), [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/reactor_ctrl.rs:56:24 [INFO] [stdout] | [INFO] [stdout] 56 | pub timeouts: Slab<(TimerRec<'a>)>, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:106:21 [INFO] [stdout] | [INFO] [stdout] 106 | let saddr = try!(lookup_host(hostname).and_then(|ref mut lh| lh.nth(0) [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/reactor_ctrl.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | let sock = try!(TcpStream::connect(&saddr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:117:19 [INFO] [stdout] | [INFO] [stdout] 117 | let tok = try!(self.state.conns.insert(ConnRec::None) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | try!(self.event_loop.register_opt(&sock, tok, EventSet::writable(), PollOpt::edge())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:131:34 [INFO] [stdout] | [INFO] [stdout] 131 | let saddr : SocketAddr = try!(addr.to_socket_addrs().and_then(|ref mut a| a.nth(0).ok_or(Error::last_os_error()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:132:22 [INFO] [stdout] | [INFO] [stdout] 132 | let server = try!(TcpListener::bind(&saddr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | let tok = try!(self.state.listeners.insert(Some((server,handler))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | try!(self.event_loop.register_opt(server, tok, EventSet::readable(), PollOpt::edge())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:152:22 [INFO] [stdout] | [INFO] [stdout] 152 | let handle = try!(self.event_loop.timeout_ms(tok.0, duration)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | let handle = try!(self.event_loop.timeout_ms(tok.0, duration)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | let token = try!(self.state.conns.insert(ConnRec::None) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor_ctrl.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | try!(self.event_loop.register_opt(foo.get_evented() as &Evented, token, foo.get_interest(), PollOpt::edge())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:168:23 [INFO] [stdout] | [INFO] [stdout] 168 | let foo : Box = Box::new(ctx); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:172:65 [INFO] [stdout] | [INFO] [stdout] 172 | try!(self.event_loop.register_opt(foo.get_evented() as &Evented, token, foo.get_interest(), PollOpt::edge())); [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Evented` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor_ctrl.rs:181:62 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn deregister(&mut self, token: Token) -> Result> [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Context` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Evented` [INFO] [stdout] --> src/reactor.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use mio::{Sender, Evented, EventLoop, EventLoopConfig, Token, TimerResult, Timeout}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/reactor_handler.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use context::{Context, EventType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Evented` [INFO] [stdout] --> src/reactor.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use mio::{Sender, Evented, EventLoop, EventLoopConfig, Token, TimerResult, Timeout}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/reactor_handler.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use context::{Context, EventType}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `reactor` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e57f38633b80ed044d3bf94a478b7789a689829bfe2108513324da3019e57a66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e57f38633b80ed044d3bf94a478b7789a689829bfe2108513324da3019e57a66", kill_on_drop: false }` [INFO] [stdout] e57f38633b80ed044d3bf94a478b7789a689829bfe2108513324da3019e57a66