[INFO] cloning repository https://github.com/mardiros/janeiro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mardiros/janeiro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmardiros%2Fjaneiro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmardiros%2Fjaneiro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3cb0ae52e329046acb75c58a3713cc363adeedbe [INFO] testing mardiros/janeiro against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmardiros%2Fjaneiro" "/workspace/builds/worker-65/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-65/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mardiros/janeiro on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mardiros/janeiro [INFO] finished tweaking git repo https://github.com/mardiros/janeiro [INFO] tweaked toml for git repo https://github.com/mardiros/janeiro written to /workspace/builds/worker-65/source/Cargo.toml [INFO] crate git repo https://github.com/mardiros/janeiro already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazycell v0.4.0 [INFO] [stderr] Downloaded net2 v0.2.26 [INFO] [stderr] Downloaded log v0.3.6 [INFO] [stderr] Downloaded miow v0.1.3 [INFO] [stderr] Downloaded cfg-if v0.1.0 [INFO] [stderr] Downloaded nix v0.7.0 [INFO] [stderr] Downloaded libc v0.2.17 [INFO] [stderr] Downloaded mio v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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] 303502a59321610b65435b1cfa6c43c98237f3c8166d8473996964561c62a26d [INFO] running `Command { std: "docker" "start" "-a" "303502a59321610b65435b1cfa6c43c98237f3c8166d8473996964561c62a26d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "303502a59321610b65435b1cfa6c43c98237f3c8166d8473996964561c62a26d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "303502a59321610b65435b1cfa6c43c98237f3c8166d8473996964561c62a26d", kill_on_drop: false }` [INFO] [stdout] 303502a59321610b65435b1cfa6c43c98237f3c8166d8473996964561c62a26d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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] 42cb92df26329020cbcdb26a72d599d8fa0a697ee3a9d54fa4a6eb5b83ac2d7c [INFO] running `Command { std: "docker" "start" "-a" "42cb92df26329020cbcdb26a72d599d8fa0a697ee3a9d54fa4a6eb5b83ac2d7c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling cfg-if v0.1.0 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling log v0.3.6 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling lazycell v0.4.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling net2 v0.2.26 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling nix v0.7.0 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling mio v0.6.1 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling janeiro v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | let read_len = try!(self.socket.read(&mut buf[..])); [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/rio.rs:298:32 [INFO] [stdout] | [INFO] [stdout] 298 | let (sock, addr) = try!(self.connections[token].server_ref().socket.accept()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | try!(self.poll.register(&client.socket, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | try!(client.handle_read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | try!(self.poll.deregister(&client.socket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | try!(self.poll.reregister(&client.socket, token, client.interest, PollOpt::edge())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | server: Box, [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] 28 - server: Box, [INFO] [stdout] 28 + server: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | protocol: Box, [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] 34 - protocol: Box, [INFO] [stdout] 34 + protocol: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn new(protocol: Box, socket: TcpStream) -> ClientConnection { [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 new(protocol: Box, socket: TcpStream) -> ClientConnection { [INFO] [stdout] 41 + fn new(protocol: Box, socket: TcpStream) -> ClientConnection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | fn new_server(server: Box, [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] 141 - fn new_server(server: Box, [INFO] [stdout] 141 + fn new_server(server: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 156 | fn new_client(protocol: Box, peer_addr: SocketAddr, socket: TcpStream) -> Connection { [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] 156 - fn new_client(protocol: Box, peer_addr: SocketAddr, socket: TcpStream) -> Connection { [INFO] [stdout] 156 + fn new_client(protocol: Box, peer_addr: SocketAddr, socket: TcpStream) -> Connection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:214:54 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn listen(&mut self, addr: &str, server: Box) -> Result { [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] 214 - pub fn listen(&mut self, addr: &str, server: Box) -> Result { [INFO] [stdout] 214 + pub fn listen(&mut self, addr: &str, server: Box) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:238:55 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn connect(&mut self, addr: &str, client: Box) -> Result { [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] 238 - pub fn connect(&mut self, addr: &str, client: Box) -> Result { [INFO] [stdout] 238 + pub fn connect(&mut self, addr: &str, client: Box) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:267:43 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn run_until(&mut self, is_done: &Fn(&Rio) -> bool) { [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] 267 - pub fn run_until(&mut self, is_done: &Fn(&Rio) -> bool) { [INFO] [stdout] 267 + pub fn run_until(&mut self, is_done: &dyn Fn(&Rio) -> bool) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | fn build_protocol(&self) -> Box; [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] 36 - fn build_protocol(&self) -> Box; [INFO] [stdout] 36 + fn build_protocol(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rio.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | let mut client = self.connections[client_token].client_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rio.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | let mut client = &mut self.connections[token].client_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.99s [INFO] running `Command { std: "docker" "inspect" "42cb92df26329020cbcdb26a72d599d8fa0a697ee3a9d54fa4a6eb5b83ac2d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42cb92df26329020cbcdb26a72d599d8fa0a697ee3a9d54fa4a6eb5b83ac2d7c", kill_on_drop: false }` [INFO] [stdout] 42cb92df26329020cbcdb26a72d599d8fa0a697ee3a9d54fa4a6eb5b83ac2d7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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] b21a685b052e0172ba57d52fab0a033c0a5f35b6a03d38e2cfbc4a9edf75ef8f [INFO] running `Command { std: "docker" "start" "-a" "b21a685b052e0172ba57d52fab0a033c0a5f35b6a03d38e2cfbc4a9edf75ef8f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | let read_len = try!(self.socket.read(&mut buf[..])); [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/rio.rs:298:32 [INFO] [stdout] | [INFO] [stdout] 298 | let (sock, addr) = try!(self.connections[token].server_ref().socket.accept()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | try!(self.poll.register(&client.socket, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | try!(client.handle_read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | try!(self.poll.deregister(&client.socket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | try!(self.poll.reregister(&client.socket, token, client.interest, PollOpt::edge())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | server: Box, [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] 28 - server: Box, [INFO] [stdout] 28 + server: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | protocol: Box, [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] 34 - protocol: Box, [INFO] [stdout] 34 + protocol: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling janeiro v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn new(protocol: Box, socket: TcpStream) -> ClientConnection { [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 new(protocol: Box, socket: TcpStream) -> ClientConnection { [INFO] [stdout] 41 + fn new(protocol: Box, socket: TcpStream) -> ClientConnection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | fn new_server(server: Box, [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] 141 - fn new_server(server: Box, [INFO] [stdout] 141 + fn new_server(server: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 156 | fn new_client(protocol: Box, peer_addr: SocketAddr, socket: TcpStream) -> Connection { [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] 156 - fn new_client(protocol: Box, peer_addr: SocketAddr, socket: TcpStream) -> Connection { [INFO] [stdout] 156 + fn new_client(protocol: Box, peer_addr: SocketAddr, socket: TcpStream) -> Connection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:214:54 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn listen(&mut self, addr: &str, server: Box) -> Result { [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] 214 - pub fn listen(&mut self, addr: &str, server: Box) -> Result { [INFO] [stdout] 214 + pub fn listen(&mut self, addr: &str, server: Box) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:238:55 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn connect(&mut self, addr: &str, client: Box) -> Result { [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] 238 - pub fn connect(&mut self, addr: &str, client: Box) -> Result { [INFO] [stdout] 238 + pub fn connect(&mut self, addr: &str, client: Box) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:267:43 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn run_until(&mut self, is_done: &Fn(&Rio) -> bool) { [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] 267 - pub fn run_until(&mut self, is_done: &Fn(&Rio) -> bool) { [INFO] [stdout] 267 + pub fn run_until(&mut self, is_done: &dyn Fn(&Rio) -> bool) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | fn build_protocol(&self) -> Box; [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] 36 - fn build_protocol(&self) -> Box; [INFO] [stdout] 36 + fn build_protocol(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rio.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | let mut client = self.connections[client_token].client_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rio.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | let mut client = &mut self.connections[token].client_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:67:32 [INFO] [stdout] | [INFO] [stdout] 67 | let read_len = try!(self.socket.read(&mut buf[..])); [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/rio.rs:298:32 [INFO] [stdout] | [INFO] [stdout] 298 | let (sock, addr) = try!(self.connections[token].server_ref().socket.accept()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:315:21 [INFO] [stdout] | [INFO] [stdout] 315 | try!(self.poll.register(&client.socket, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:364:21 [INFO] [stdout] | [INFO] [stdout] 364 | try!(client.handle_read()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | try!(self.poll.deregister(&client.socket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/rio.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | try!(self.poll.reregister(&client.socket, token, client.interest, PollOpt::edge())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | server: Box, [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] 28 - server: Box, [INFO] [stdout] 28 + server: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | protocol: Box, [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] 34 - protocol: Box, [INFO] [stdout] 34 + protocol: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:41:26 [INFO] [stdout] | [INFO] [stdout] 41 | fn new(protocol: Box, socket: TcpStream) -> ClientConnection { [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 new(protocol: Box, socket: TcpStream) -> ClientConnection { [INFO] [stdout] 41 + fn new(protocol: Box, socket: TcpStream) -> ClientConnection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | fn new_server(server: Box, [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] 141 - fn new_server(server: Box, [INFO] [stdout] 141 + fn new_server(server: Box, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:156:33 [INFO] [stdout] | [INFO] [stdout] 156 | fn new_client(protocol: Box, peer_addr: SocketAddr, socket: TcpStream) -> Connection { [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] 156 - fn new_client(protocol: Box, peer_addr: SocketAddr, socket: TcpStream) -> Connection { [INFO] [stdout] 156 + fn new_client(protocol: Box, peer_addr: SocketAddr, socket: TcpStream) -> Connection { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:214:54 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn listen(&mut self, addr: &str, server: Box) -> Result { [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] 214 - pub fn listen(&mut self, addr: &str, server: Box) -> Result { [INFO] [stdout] 214 + pub fn listen(&mut self, addr: &str, server: Box) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:238:55 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn connect(&mut self, addr: &str, client: Box) -> Result { [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] 238 - pub fn connect(&mut self, addr: &str, client: Box) -> Result { [INFO] [stdout] 238 + pub fn connect(&mut self, addr: &str, client: Box) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/rio.rs:267:43 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn run_until(&mut self, is_done: &Fn(&Rio) -> bool) { [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] 267 - pub fn run_until(&mut self, is_done: &Fn(&Rio) -> bool) { [INFO] [stdout] 267 + pub fn run_until(&mut self, is_done: &dyn Fn(&Rio) -> bool) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/interface.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | fn build_protocol(&self) -> Box; [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] 36 - fn build_protocol(&self) -> Box; [INFO] [stdout] 36 + fn build_protocol(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/echo_server.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 59 | fn build_protocol(&self) -> Box { [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] 59 - fn build_protocol(&self) -> Box { [INFO] [stdout] 59 + fn build_protocol(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> tests/test_echo_server.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rio.rs:313:25 [INFO] [stdout] | [INFO] [stdout] 313 | let mut client = self.connections[client_token].client_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/rio.rs:353:17 [INFO] [stdout] | [INFO] [stdout] 353 | let mut client = &mut self.connections[token].client_mut(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.05s [INFO] running `Command { std: "docker" "inspect" "b21a685b052e0172ba57d52fab0a033c0a5f35b6a03d38e2cfbc4a9edf75ef8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b21a685b052e0172ba57d52fab0a033c0a5f35b6a03d38e2cfbc4a9edf75ef8f", kill_on_drop: false }` [INFO] [stdout] b21a685b052e0172ba57d52fab0a033c0a5f35b6a03d38e2cfbc4a9edf75ef8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-65/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] fd2f711c69d1c608797420bcb765eee195dbaf27bd5f82fe8847c282ef7cabb2 [INFO] running `Command { std: "docker" "start" "-a" "fd2f711c69d1c608797420bcb765eee195dbaf27bd5f82fe8847c282ef7cabb2", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/rio.rs:67:32 [INFO] [stderr] | [INFO] [stderr] 67 | let read_len = try!(self.socket.read(&mut buf[..])); [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/rio.rs:298:32 [INFO] [stderr] | [INFO] [stderr] 298 | let (sock, addr) = try!(self.connections[token].server_ref().socket.accept()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/rio.rs:315:21 [INFO] [stderr] | [INFO] [stderr] 315 | try!(self.poll.register(&client.socket, [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/rio.rs:364:21 [INFO] [stderr] | [INFO] [stderr] 364 | try!(client.handle_read()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/rio.rs:386:17 [INFO] [stderr] | [INFO] [stderr] 386 | try!(self.poll.deregister(&client.socket)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/rio.rs:390:17 [INFO] [stderr] | [INFO] [stderr] 390 | try!(self.poll.reregister(&client.socket, token, client.interest, PollOpt::edge())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rio.rs:28:17 [INFO] [stderr] | [INFO] [stderr] 28 | server: Box, [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] 28 - server: Box, [INFO] [stderr] 28 + server: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rio.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | protocol: Box, [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] 34 - protocol: Box, [INFO] [stderr] 34 + protocol: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rio.rs:41:26 [INFO] [stderr] | [INFO] [stderr] 41 | fn new(protocol: Box, socket: TcpStream) -> ClientConnection { [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 new(protocol: Box, socket: TcpStream) -> ClientConnection { [INFO] [stderr] 41 + fn new(protocol: Box, socket: TcpStream) -> ClientConnection { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rio.rs:141:31 [INFO] [stderr] | [INFO] [stderr] 141 | fn new_server(server: Box, [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] 141 - fn new_server(server: Box, [INFO] [stderr] 141 + fn new_server(server: Box, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rio.rs:156:33 [INFO] [stderr] | [INFO] [stderr] 156 | fn new_client(protocol: Box, peer_addr: SocketAddr, socket: TcpStream) -> Connection { [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] 156 - fn new_client(protocol: Box, peer_addr: SocketAddr, socket: TcpStream) -> Connection { [INFO] [stderr] 156 + fn new_client(protocol: Box, peer_addr: SocketAddr, socket: TcpStream) -> Connection { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rio.rs:214:54 [INFO] [stderr] | [INFO] [stderr] 214 | pub fn listen(&mut self, addr: &str, server: Box) -> Result { [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] 214 - pub fn listen(&mut self, addr: &str, server: Box) -> Result { [INFO] [stderr] 214 + pub fn listen(&mut self, addr: &str, server: Box) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rio.rs:238:55 [INFO] [stderr] | [INFO] [stderr] 238 | pub fn connect(&mut self, addr: &str, client: Box) -> Result { [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] 238 - pub fn connect(&mut self, addr: &str, client: Box) -> Result { [INFO] [stderr] 238 + pub fn connect(&mut self, addr: &str, client: Box) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/rio.rs:267:43 [INFO] [stderr] | [INFO] [stderr] 267 | pub fn run_until(&mut self, is_done: &Fn(&Rio) -> bool) { [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] 267 - pub fn run_until(&mut self, is_done: &Fn(&Rio) -> bool) { [INFO] [stderr] 267 + pub fn run_until(&mut self, is_done: &dyn Fn(&Rio) -> bool) { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/interface.rs:36:37 [INFO] [stderr] | [INFO] [stderr] 36 | fn build_protocol(&self) -> Box; [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] 36 - fn build_protocol(&self) -> Box; [INFO] [stderr] 36 + fn build_protocol(&self) -> Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rio.rs:313:25 [INFO] [stderr] | [INFO] [stderr] 313 | let mut client = self.connections[client_token].client_mut(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/rio.rs:353:17 [INFO] [stderr] | [INFO] [stderr] 353 | let mut client = &mut self.connections[token].client_mut(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: `janeiro` (lib) generated 17 warnings [INFO] [stderr] warning: `janeiro` (lib test) generated 17 warnings (17 duplicates) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> examples/echo_server.rs:59:37 [INFO] [stderr] | [INFO] [stderr] 59 | fn build_protocol(&self) -> Box { [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] 59 - fn build_protocol(&self) -> Box { [INFO] [stderr] 59 + fn build_protocol(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::str` [INFO] [stderr] --> tests/test_echo_server.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use std::str; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `janeiro` (example "echo_server") generated 1 warning [INFO] [stderr] warning: `janeiro` (test "test_echo_server") generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.65s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/janeiro-6a719f4c748aa11c) [INFO] [stdout] [INFO] [stderr] Running tests/test_echo_server.rs (/opt/rustwide/target/debug/deps/test_echo_server-31d7722a790b2e23) [INFO] [stdout] running 1 test [INFO] [stdout] test transport::test::test_transport ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_echo_server ... ignored [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests janeiro [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "fd2f711c69d1c608797420bcb765eee195dbaf27bd5f82fe8847c282ef7cabb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd2f711c69d1c608797420bcb765eee195dbaf27bd5f82fe8847c282ef7cabb2", kill_on_drop: false }` [INFO] [stdout] fd2f711c69d1c608797420bcb765eee195dbaf27bd5f82fe8847c282ef7cabb2