[INFO] fetching crate tl-async-runtime 0.1.2... [INFO] checking tl-async-runtime-0.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate tl-async-runtime 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate tl-async-runtime 0.1.2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tl-async-runtime 0.1.2 [INFO] finished tweaking crates.io crate tl-async-runtime 0.1.2 [INFO] tweaked toml for crates.io crate tl-async-runtime 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate tl-async-runtime 0.1.2 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd83e622887d41fd14f31826ace0be103f3253b86f53e0befb00928fb7115d7c [INFO] running `Command { std: "docker" "start" "-a" "bd83e622887d41fd14f31826ace0be103f3253b86f53e0befb00928fb7115d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd83e622887d41fd14f31826ace0be103f3253b86f53e0befb00928fb7115d7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd83e622887d41fd14f31826ace0be103f3253b86f53e0befb00928fb7115d7c", kill_on_drop: false }` [INFO] [stdout] bd83e622887d41fd14f31826ace0be103f3253b86f53e0befb00928fb7115d7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f2204fda45935355dc7948595c43a0c4227b8e4af82dd7197148a4d989adf8c [INFO] running `Command { std: "docker" "start" "-a" "7f2204fda45935355dc7948595c43a0c4227b8e4af82dd7197148a4d989adf8c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.8 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking lock_api v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking bytemuck v1.8.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking crossbeam-channel v0.5.2 [INFO] [stderr] Checking tracing-log v0.1.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking getrandom v0.2.5 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.4.8 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking chashmap v2.2.2 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tracing-attributes v0.1.19 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Checking tracing-subscriber v0.3.9 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.0 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tl-async-runtime v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:78:42 [INFO] [stdout] | [INFO] [stdout] 75 | let (sender, receiver) = oneshot::channel(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | let fut = Box::pin(fut.map(|out| sender.send(out).unwrap_or_default())); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will 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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:166:22 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn spawn(fut: F) -> SpawnHandle [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | executor_context(|exec| exec.clone().spawn(fut)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/lib.rs:166:29 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn spawn(fut: F) -> SpawnHandle [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 166 | executor_context(|exec| exec.clone().spawn(fut)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/driver.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn task_context(f: impl FnOnce(TaskId) -> R) -> R { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | TASK_ID.with(|id| f(*id.borrow())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/driver.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub(crate) fn task_context(f: impl FnOnce(TaskId) -> R) -> R { [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 17 | TASK_ID.with(|id| f(*id.borrow())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/driver.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) fn executor_context(f: impl FnOnce(&Arc) -> R) -> R { [INFO] [stdout] | ----------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 21 | EXECUTOR.with(|exec| { [INFO] [stdout] | ___________________^ [INFO] [stdout] 22 | | let exec = exec.borrow(); [INFO] [stdout] 23 | | let exec = exec [INFO] [stdout] 24 | | .as_ref() [INFO] [stdout] 25 | | .expect("spawn called outside of an executor context"); [INFO] [stdout] 26 | | f(exec) [INFO] [stdout] 27 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new(mut source: S, interests: mio::Interest) -> std::io::Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 91 | executor_context(|exec| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 92 | | let token = mio::Token(rand::thread_rng().gen()); [INFO] [stdout] 93 | | let os = exec.os.lock(); [INFO] [stdout] 94 | | os.poll.registry().register(&mut source, token, interests)?; [INFO] [stdout] ... | [INFO] [stdout] 99 | | }) [INFO] [stdout] 100 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 90 | pub fn new(mut source: S, interests: mio::Interest) -> std::io::Result { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let os = exec.os.lock(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | os.poll.registry().register(&mut source, token, interests)?; [INFO] [stdout] 95 | Ok(Self { [INFO] [stdout] | ________________^ [INFO] [stdout] 96 | | exec: exec.clone(), [INFO] [stdout] 97 | | token, [INFO] [stdout] 98 | | source, [INFO] [stdout] 99 | | }) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/net.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 22 | let listener = mio::net::TcpListener::bind(addr)?; [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 23 | let registration = super::Registration::new(listener, mio::Interest::READABLE)?; [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | Ok(Self { registration }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will 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] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/io/net.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub(crate) fn from_mio(stream: mio::net::TcpStream) -> std::io::Result { [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 54 | // register the stream to the OS [INFO] [stdout] 55 | let registration = [INFO] [stdout] | ------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 56 | super::Registration::new(stream, mio::Interest::READABLE | mio::Interest::WRITABLE)?; [INFO] [stdout] 57 | let events = registration.events(); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 58 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 59 | | registration, [INFO] [stdout] 60 | | readable: Some(()), [INFO] [stdout] 61 | | writeable: Some(()), [INFO] [stdout] 62 | | events, [INFO] [stdout] 63 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tl-async-runtime` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7f2204fda45935355dc7948595c43a0c4227b8e4af82dd7197148a4d989adf8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f2204fda45935355dc7948595c43a0c4227b8e4af82dd7197148a4d989adf8c", kill_on_drop: false }` [INFO] [stdout] 7f2204fda45935355dc7948595c43a0c4227b8e4af82dd7197148a4d989adf8c