[INFO] fetching crate tokio-core 0.1.18... [INFO] testing tokio-core-0.1.18 against beta-2021-09-08 for beta-1.56-1 [INFO] extracting crate tokio-core 0.1.18 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate tokio-core 0.1.18 on toolchain beta-2021-09-08 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-core 0.1.18 [INFO] finished tweaking crates.io crate tokio-core 0.1.18 [INFO] tweaked toml for crates.io crate tokio-core 0.1.18 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate crates.io crate tokio-core 0.1.18 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-09-08" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "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] 4d6d6a45179209ffddf1cb614ea4ca9adaabfdd06749ea321df7535964febc69 [INFO] running `Command { std: "docker" "start" "-a" "4d6d6a45179209ffddf1cb614ea4ca9adaabfdd06749ea321df7535964febc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4d6d6a45179209ffddf1cb614ea4ca9adaabfdd06749ea321df7535964febc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d6d6a45179209ffddf1cb614ea4ca9adaabfdd06749ea321df7535964febc69", kill_on_drop: false }` [INFO] [stdout] 4d6d6a45179209ffddf1cb614ea4ca9adaabfdd06749ea321df7535964febc69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ff1eb4876d2e91f3650a40c25e8c89925a6470e6c5398446104740c0eb0add8 [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" "1ff1eb4876d2e91f3650a40c25e8c89925a6470e6c5398446104740c0eb0add8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let l = try!(mio::net::TcpListener::bind(addr)); [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/net/tcp.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let l = try!(mio::net::TcpListener::bind(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let l = try!(mio::net::TcpListener::from_std(listener)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | let io = try!(PollEvented2::new_with_handle(listener, handle.new_tokio_handle())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | let inner = try!(mio::net::TcpStream::from_stream(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | io: try!(PollEvented2::new_with_handle(inner, handle.new_tokio_handle())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/tcp.rs:328:34 [INFO] [stdout] | [INFO] [stdout] 328 | -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:783:30 [INFO] [stdout] | [INFO] [stdout] 783 | if let Some(e) = try!(stream.io.get_ref().take_error()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/frame.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let frame = try!(self.codec.decode(&addr, &self.rd[..n])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/frame.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | match try!(self.poll_complete()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let udp = try!(mio::net::UdpSocket::bind(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/mod.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let io = try!(PollEvented2::new_with_handle(socket, handle.new_tokio_handle())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/mod.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let udp = try!(mio::net::UdpSocket::from_socket(socket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor/mod.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | pending_spawn: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor/mod.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | Run(Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn FnBox` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor/mod.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 231 | let res = try!(CURRENT_LOOP.set(self, || { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/reactor/mod.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::atomic::{AtomicUsize, AtomicBool, ATOMIC_USIZE_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/reactor/mod.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | static NEXT_LOOP_ID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::runtime::Runtime::reactor`: there is now a reactor per worker thread [INFO] [stdout] --> src/reactor/mod.rs:186:33 [INFO] [stdout] | [INFO] [stdout] 186 | new_handle: self.rt.reactor().clone(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::runtime::Runtime::reactor`: there is now a reactor per worker thread [INFO] [stdout] --> src/reactor/mod.rs:214:31 [INFO] [stdout] | [INFO] [stdout] 214 | let handle1 = self.rt.reactor().clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::runtime::Runtime::reactor`: there is now a reactor per worker thread [INFO] [stdout] --> src/reactor/mod.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | let handle2 = self.rt.reactor().clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::runtime::Runtime::reactor`: there is now a reactor per worker thread [INFO] [stdout] --> src/reactor/mod.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | let handle = self.rt.reactor().clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.93s [INFO] running `Command { std: "docker" "inspect" "1ff1eb4876d2e91f3650a40c25e8c89925a6470e6c5398446104740c0eb0add8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ff1eb4876d2e91f3650a40c25e8c89925a6470e6c5398446104740c0eb0add8", kill_on_drop: false }` [INFO] [stdout] 1ff1eb4876d2e91f3650a40c25e8c89925a6470e6c5398446104740c0eb0add8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-09-08" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bdcfe0a1e23165bc346461b19508df7af11a940d9c345b79aad5c2a3b7c0095 [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" "1bdcfe0a1e23165bc346461b19508df7af11a940d9c345b79aad5c2a3b7c0095", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | let l = try!(mio::net::TcpListener::bind(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | let l = try!(mio::net::TcpListener::bind(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:128:17 [INFO] [stdout] | [INFO] [stdout] 128 | let l = try!(mio::net::TcpListener::from_std(listener)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling http v0.1.21 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:134:18 [INFO] [stdout] | [INFO] [stdout] 134 | let io = try!(PollEvented2::new_with_handle(listener, handle.new_tokio_handle())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:301:21 [INFO] [stdout] | [INFO] [stdout] 301 | let inner = try!(mio::net::TcpStream::from_stream(stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | io: try!(PollEvented2::new_with_handle(inner, handle.new_tokio_handle())), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/net/tcp.rs:328:34 [INFO] [stdout] | [INFO] [stdout] 328 | -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/tcp.rs:783:30 [INFO] [stdout] | [INFO] [stdout] 783 | if let Some(e) = try!(stream.io.get_ref().take_error()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/frame.rs:75:21 [INFO] [stdout] | [INFO] [stdout] 75 | let frame = try!(self.codec.decode(&addr, &self.rd[..n])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/frame.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | match try!(self.poll_complete()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/mod.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let udp = try!(mio::net::UdpSocket::bind(addr)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/mod.rs:29:18 [INFO] [stdout] | [INFO] [stdout] 29 | let io = try!(PollEvented2::new_with_handle(socket, handle.new_tokio_handle())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/net/udp/mod.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | let udp = try!(mio::net::UdpSocket::from_socket(socket)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor/mod.rs:77:28 [INFO] [stdout] | [INFO] [stdout] 77 | pending_spawn: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reactor/mod.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | Run(Box), [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn FnBox` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/reactor/mod.rs:231:27 [INFO] [stdout] | [INFO] [stdout] 231 | let res = try!(CURRENT_LOOP.set(self, || { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/reactor/mod.rs:12:50 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::atomic::{AtomicUsize, AtomicBool, ATOMIC_USIZE_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/reactor/mod.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | static NEXT_LOOP_ID: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::runtime::Runtime::reactor`: there is now a reactor per worker thread [INFO] [stdout] --> src/reactor/mod.rs:186:33 [INFO] [stdout] | [INFO] [stdout] 186 | new_handle: self.rt.reactor().clone(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::runtime::Runtime::reactor`: there is now a reactor per worker thread [INFO] [stdout] --> src/reactor/mod.rs:214:31 [INFO] [stdout] | [INFO] [stdout] 214 | let handle1 = self.rt.reactor().clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::runtime::Runtime::reactor`: there is now a reactor per worker thread [INFO] [stdout] --> src/reactor/mod.rs:215:31 [INFO] [stdout] | [INFO] [stdout] 215 | let handle2 = self.rt.reactor().clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio::runtime::Runtime::reactor`: there is now a reactor per worker thread [INFO] [stdout] --> src/reactor/mod.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | let handle = self.rt.reactor().clone(); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling tokio-core v0.1.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> tests/spawn.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | _data: Box, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/connect.rs:93:31 [INFO] [stdout] | [INFO] [stdout] 93 | stdin: Box, Error = io::Error>>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream, Error = io::Error>` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/connect.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 94 | -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/connect.rs:208:31 [INFO] [stdout] | [INFO] [stdout] 208 | stdin: Box, Error = io::Error>>) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream, Error = io::Error>` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/connect.rs:209:16 [INFO] [stdout] | [INFO] [stdout] 209 | -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Stream` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/compress.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | -> Box> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> examples/connect.rs:116:41 [INFO] [stdout] | [INFO] [stdout] 116 | let (sink, stream) = stream.framed(Bytes).split(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/tinyhttp.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | -> Box, Error = io::Error>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error = io::Error>` [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `tokio_io::AsyncRead::framed`: Use tokio_codec::Decoder::framed instead [INFO] [stdout] --> examples/tinyhttp.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | let (tx, rx) = socket.framed(Http).split(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-core`; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustc --crate-name tinyhttp examples/tinyhttp.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=0dbd0d7f854e8fae -C extra-filename=-0dbd0d7f854e8fae --out-dir /opt/rustwide/target/debug/examples -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-6d9d61d7f04b1627.rlib --extern env_logger=/opt/rustwide/target/debug/deps/libenv_logger-526891bcc1d913cb.rlib --extern flate2=/opt/rustwide/target/debug/deps/libflate2-6360bd5b93623ab8.rlib --extern futures=/opt/rustwide/target/debug/deps/libfutures-186c37c96b84a18b.rlib --extern futures_cpupool=/opt/rustwide/target/debug/deps/libfutures_cpupool-2b505f23df9e1667.rlib --extern http=/opt/rustwide/target/debug/deps/libhttp-0fd2a54f3202d740.rlib --extern httparse=/opt/rustwide/target/debug/deps/libhttparse-197e22c306c4c676.rlib --extern iovec=/opt/rustwide/target/debug/deps/libiovec-9bfa59e16f23c781.rlib --extern libc=/opt/rustwide/target/debug/deps/liblibc-30a19845fe6b6838.rlib --extern log=/opt/rustwide/target/debug/deps/liblog-3c37482d804b01ce.rlib --extern mio=/opt/rustwide/target/debug/deps/libmio-5da3d7e416b9633a.rlib --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-60be5eb9e0904a69.rlib --extern scoped_tls=/opt/rustwide/target/debug/deps/libscoped_tls-a5e5b2d30ee33c80.rlib --extern serde=/opt/rustwide/target/debug/deps/libserde-3e8168eacf96a305.rlib --extern serde_derive=/opt/rustwide/target/debug/deps/libserde_derive-ba63fab65d2f44d8.so --extern serde_json=/opt/rustwide/target/debug/deps/libserde_json-81abc0e697da0e64.rlib --extern time=/opt/rustwide/target/debug/deps/libtime-48d0caea2e8ba8c6.rlib --extern tokio=/opt/rustwide/target/debug/deps/libtokio-709c6051eb06adc6.rlib --extern tokio_core=/opt/rustwide/target/debug/deps/libtokio_core-852e1c05638fd136.rlib --extern tokio_executor=/opt/rustwide/target/debug/deps/libtokio_executor-3604c895f60efd89.rlib --extern tokio_io=/opt/rustwide/target/debug/deps/libtokio_io-81a2bc30ee062c3e.rlib --extern tokio_reactor=/opt/rustwide/target/debug/deps/libtokio_reactor-8d7dc7c8d05a8f10.rlib --extern tokio_timer=/opt/rustwide/target/debug/deps/libtokio_timer-15a8d7309275bcc6.rlib --cap-lints=warn` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1bdcfe0a1e23165bc346461b19508df7af11a940d9c345b79aad5c2a3b7c0095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bdcfe0a1e23165bc346461b19508df7af11a940d9c345b79aad5c2a3b7c0095", kill_on_drop: false }` [INFO] [stdout] 1bdcfe0a1e23165bc346461b19508df7af11a940d9c345b79aad5c2a3b7c0095