[INFO] fetching crate tokio-core 0.1.18... [INFO] checking tokio-core-0.1.18 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate tokio-core 0.1.18 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate tokio-core 0.1.18 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-7-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a939bf383862144d62fb8f38081b46190eb8d594032eb0b4940df76bb491aa85 [INFO] running `Command { std: "docker" "start" "-a" "a939bf383862144d62fb8f38081b46190eb8d594032eb0b4940df76bb491aa85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a939bf383862144d62fb8f38081b46190eb8d594032eb0b4940df76bb491aa85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a939bf383862144d62fb8f38081b46190eb8d594032eb0b4940df76bb491aa85", kill_on_drop: false }` [INFO] [stdout] a939bf383862144d62fb8f38081b46190eb8d594032eb0b4940df76bb491aa85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c454ac981b671cef380600eed87937d6e0d17a257d704425621847553bff4b4 [INFO] running `Command { std: "docker" "start" "-a" "4c454ac981b671cef380600eed87937d6e0d17a257d704425621847553bff4b4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures v0.1.30 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking net2 v0.2.36 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking flate2 v1.0.19 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `with-deprecated` [INFO] [stdout] --> src/channel.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | #![cfg(feature = "with-deprecated")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `with-deprecated` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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: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: 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: 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] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 36 | static NEXT_LOOP_ID: AtomicUsize = AtomicUsize::new(0); [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 77 | pending_spawn: Vec>>, [INFO] [stdout] | +++ [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] | ^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 112 | Run(Box), [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 328 | -> Box + Send> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/net/tcp.rs:574:9 [INFO] [stdout] | [INFO] [stdout] 574 | <&TcpStream>::read_buf(&mut &*self, buf) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `tokio_io::AsyncRead::read_buf(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(read_buf)]` to the crate attributes to enable `std::io::Read::read_buf` [INFO] [stdout] --> src/lib.rs:98:1 [INFO] [stdout] | [INFO] [stdout] 98 + #![feature(read_buf)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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 method `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] error: this value of type `Result::In>, std::io::Error>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/frame.rs:294:20 [INFO] [stdout] | [INFO] [stdout] 294 | match try!(self.decode(buf)) { [INFO] [stdout] | -----^^^^^^^^^^^^^^^^- [INFO] [stdout] | | [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-core` (lib) due to 2 previous errors; 24 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "4c454ac981b671cef380600eed87937d6e0d17a257d704425621847553bff4b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c454ac981b671cef380600eed87937d6e0d17a257d704425621847553bff4b4", kill_on_drop: false }` [INFO] [stdout] 4c454ac981b671cef380600eed87937d6e0d17a257d704425621847553bff4b4