[INFO] fetching crate xactor 0.7.11... [INFO] checking xactor-0.7.11 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate xactor 0.7.11 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate xactor 0.7.11 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 xactor 0.7.11 [INFO] finished tweaking crates.io crate xactor 0.7.11 [INFO] tweaked toml for crates.io crate xactor 0.7.11 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate xactor 0.7.11 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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c793b2adebf653ec94486c350ecb6ec91aa5b8a2102c1cacc713a27e0b451070 [INFO] running `Command { std: "docker" "start" "-a" "c793b2adebf653ec94486c350ecb6ec91aa5b8a2102c1cacc713a27e0b451070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c793b2adebf653ec94486c350ecb6ec91aa5b8a2102c1cacc713a27e0b451070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c793b2adebf653ec94486c350ecb6ec91aa5b8a2102c1cacc713a27e0b451070", kill_on_drop: false }` [INFO] [stdout] c793b2adebf653ec94486c350ecb6ec91aa5b8a2102c1cacc713a27e0b451070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 92edd4bb91b3d3384400c2376092e9766271726618dd9e9fee984f030046d6b9 [INFO] running `Command { std: "docker" "start" "-a" "92edd4bb91b3d3384400c2376092e9766271726618dd9e9fee984f030046d6b9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking pin-project-lite v0.2.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Compiling anyhow v1.0.37 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking polling v2.0.2 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking async-io v1.3.1 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-global-executor v1.4.3 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling xactor-derive v0.7.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking async-std v1.8.0 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking xactor v0.7.11 (/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/actor.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | async fn start(self) -> Result> { [INFO] [stdout] | ^ ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 112 | | ActorManager::new().start_actor(self).await [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [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/addr.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn call(&self, msg: T) -> Result [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let (tx, rx) = oneshot::channel(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | Box::pin(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 83 | | let res = Handler::handle(actor, ctx, msg).await; [INFO] [stdout] 84 | | let _ = tx.send(res); [INFO] [stdout] 85 | | }) [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/addr.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn send>(&self, msg: T) -> Result<()> [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | Box::pin(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 100 | | Handler::handle(actor, ctx, msg).await; [INFO] [stdout] 101 | | }) [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/addr.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 112 | let weak_tx = Arc::downgrade(&self.tx); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | caller_fn: Mutex::new(Box::new(move |msg| { [INFO] [stdout] | ________________________^ [INFO] [stdout] 117 | | let weak_tx_option = weak_tx.upgrade(); [INFO] [stdout] 118 | | Box::pin(async move { [INFO] [stdout] 119 | | match weak_tx_option { [INFO] [stdout] ... | [INFO] [stdout] 135 | | }) [INFO] [stdout] 136 | | })), [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/addr.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 112 | let weak_tx = Arc::downgrade(&self.tx); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | caller_fn: Mutex::new(Box::new(move |msg| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let weak_tx_option = weak_tx.upgrade(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | Box::pin(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 119 | | match weak_tx_option { [INFO] [stdout] 120 | | Some(tx) => { [INFO] [stdout] 121 | | let (oneshot_tx, oneshot_rx) = oneshot::channel(); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }) [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/addr.rs:125:46 [INFO] [stdout] | [INFO] [stdout] 116 | caller_fn: Mutex::new(Box::new(move |msg| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | let (oneshot_tx, oneshot_rx) = oneshot::channel(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | Box::pin(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 126 | | let res = Handler::handle(&mut *actor, ctx, msg).await; [INFO] [stdout] 127 | | let _ = oneshot_tx.send(res); [INFO] [stdout] 128 | | }) [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/addr.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 145 | let weak_tx = Arc::downgrade(&self.tx); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | sender_fn: Box::new(move |msg| match weak_tx.upgrade() { [INFO] [stdout] | ________________________^ [INFO] [stdout] 149 | | Some(tx) => { [INFO] [stdout] 150 | | mpsc::UnboundedSender::clone(&tx).start_send(ActorEvent::Exec(Box::new( [INFO] [stdout] 151 | | move |actor, ctx| { [INFO] [stdout] ... | [INFO] [stdout] 159 | | None => Ok(()), [INFO] [stdout] 160 | | }), [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/addr.rs:148:50 [INFO] [stdout] | [INFO] [stdout] 145 | let weak_tx = Arc::downgrade(&self.tx); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | sender_fn: Box::new(move |msg| match weak_tx.upgrade() { [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] [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/addr.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 148 | sender_fn: Box::new(move |msg| match weak_tx.upgrade() { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Box::pin(async move { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 153 | | Handler::handle(&mut *actor, ctx, msg).await; [INFO] [stdout] 154 | | }) [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/broker.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | async fn handle(&mut self, _ctx: &mut Context, msg: Subscribe) { [INFO] [stdout] | ^ ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 109 | | self.subscribes.insert(msg.id, Box::new(msg.sender)); [INFO] [stdout] 110 | | } [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/broker.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | async fn handle(&mut self, _ctx: &mut Context, msg: Publish) { [INFO] [stdout] | ^ --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 123 | | for sender in self.subscribes.values_mut() { [INFO] [stdout] 124 | | if let Some(sender) = sender.downcast_mut::>() { [INFO] [stdout] 125 | | sender.send(msg.0.clone()).ok(); [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] 128 | | } [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/broker.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn publish(&mut self, msg: T) -> Result<()> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | self.send(Publish(msg)) [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/caller.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn call(&self, msg: T) -> CallerFuture { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | (self.caller_fn.lock().unwrap())(msg) [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/context.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 25 | rx_exit: Option>>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let (tx, rx) = mpsc::unbounded::>(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let tx = Arc::new(tx); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let weak_tx = Arc::downgrade(&tx); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | ( [INFO] [stdout] 42 | / Self { [INFO] [stdout] 43 | | actor_id, [INFO] [stdout] 44 | | tx: weak_tx, [INFO] [stdout] 45 | | rx_exit, [INFO] [stdout] 46 | | streams: Default::default(), [INFO] [stdout] 47 | | intervals: Default::default(), [INFO] [stdout] 48 | | }, [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/context.rs:175:42 [INFO] [stdout] | [INFO] [stdout] 171 | while let Some(msg) = stream.next().await { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 176 | | StreamHandler::handle(actor, ctx, msg).await; [INFO] [stdout] 177 | | }) [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 15 previous errors [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/actor.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | async fn start(self) -> Result> { [INFO] [stdout] | ^ ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 112 | | ActorManager::new().start_actor(self).await [INFO] [stdout] 113 | | } [INFO] [stdout] | |_____^ [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/addr.rs:82:26 [INFO] [stdout] | [INFO] [stdout] 75 | pub async fn call(&self, msg: T) -> Result [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 79 | let (tx, rx) = oneshot::channel(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 82 | Box::pin(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 83 | | let res = Handler::handle(actor, ctx, msg).await; [INFO] [stdout] 84 | | let _ = tx.send(res); [INFO] [stdout] 85 | | }) [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/addr.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn send>(&self, msg: T) -> Result<()> [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 99 | Box::pin(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 100 | | Handler::handle(actor, ctx, msg).await; [INFO] [stdout] 101 | | }) [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/addr.rs:116:24 [INFO] [stdout] | [INFO] [stdout] 112 | let weak_tx = Arc::downgrade(&self.tx); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | caller_fn: Mutex::new(Box::new(move |msg| { [INFO] [stdout] | ________________________^ [INFO] [stdout] 117 | | let weak_tx_option = weak_tx.upgrade(); [INFO] [stdout] 118 | | Box::pin(async move { [INFO] [stdout] 119 | | match weak_tx_option { [INFO] [stdout] ... | [INFO] [stdout] 135 | | }) [INFO] [stdout] 136 | | })), [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/addr.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 112 | let weak_tx = Arc::downgrade(&self.tx); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 116 | caller_fn: Mutex::new(Box::new(move |msg| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 117 | let weak_tx_option = weak_tx.upgrade(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 118 | Box::pin(async move { [INFO] [stdout] | __________________________^ [INFO] [stdout] 119 | | match weak_tx_option { [INFO] [stdout] 120 | | Some(tx) => { [INFO] [stdout] 121 | | let (oneshot_tx, oneshot_rx) = oneshot::channel(); [INFO] [stdout] ... | [INFO] [stdout] 134 | | } [INFO] [stdout] 135 | | }) [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/addr.rs:125:46 [INFO] [stdout] | [INFO] [stdout] 116 | caller_fn: Mutex::new(Box::new(move |msg| { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 121 | let (oneshot_tx, oneshot_rx) = oneshot::channel(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | Box::pin(async move { [INFO] [stdout] | ______________________________________________^ [INFO] [stdout] 126 | | let res = Handler::handle(&mut *actor, ctx, msg).await; [INFO] [stdout] 127 | | let _ = oneshot_tx.send(res); [INFO] [stdout] 128 | | }) [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/addr.rs:148:24 [INFO] [stdout] | [INFO] [stdout] 145 | let weak_tx = Arc::downgrade(&self.tx); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | sender_fn: Box::new(move |msg| match weak_tx.upgrade() { [INFO] [stdout] | ________________________^ [INFO] [stdout] 149 | | Some(tx) => { [INFO] [stdout] 150 | | mpsc::UnboundedSender::clone(&tx).start_send(ActorEvent::Exec(Box::new( [INFO] [stdout] 151 | | move |actor, ctx| { [INFO] [stdout] ... | [INFO] [stdout] 159 | | None => Ok(()), [INFO] [stdout] 160 | | }), [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/addr.rs:148:50 [INFO] [stdout] | [INFO] [stdout] 145 | let weak_tx = Arc::downgrade(&self.tx); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 148 | sender_fn: Box::new(move |msg| match weak_tx.upgrade() { [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] [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/addr.rs:152:38 [INFO] [stdout] | [INFO] [stdout] 148 | sender_fn: Box::new(move |msg| match weak_tx.upgrade() { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 152 | Box::pin(async move { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 153 | | Handler::handle(&mut *actor, ctx, msg).await; [INFO] [stdout] 154 | | }) [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/broker.rs:108:14 [INFO] [stdout] | [INFO] [stdout] 108 | async fn handle(&mut self, _ctx: &mut Context, msg: Subscribe) { [INFO] [stdout] | ^ ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 109 | | self.subscribes.insert(msg.id, Box::new(msg.sender)); [INFO] [stdout] 110 | | } [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/broker.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | async fn handle(&mut self, _ctx: &mut Context, msg: Publish) { [INFO] [stdout] | ^ --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | ______________| [INFO] [stdout] | | [INFO] [stdout] 123 | | for sender in self.subscribes.values_mut() { [INFO] [stdout] 124 | | if let Some(sender) = sender.downcast_mut::>() { [INFO] [stdout] 125 | | sender.send(msg.0.clone()).ok(); [INFO] [stdout] 126 | | } [INFO] [stdout] 127 | | } [INFO] [stdout] 128 | | } [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/broker.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn publish(&mut self, msg: T) -> Result<()> { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 134 | self.send(Publish(msg)) [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/caller.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn call(&self, msg: T) -> CallerFuture { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 25 | (self.caller_fn.lock().unwrap())(msg) [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/context.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 25 | rx_exit: Option>>, [INFO] [stdout] | ---------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | let (tx, rx) = mpsc::unbounded::>(); [INFO] [stdout] | -- -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | let tx = Arc::new(tx); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 40 | let weak_tx = Arc::downgrade(&tx); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 41 | ( [INFO] [stdout] 42 | / Self { [INFO] [stdout] 43 | | actor_id, [INFO] [stdout] 44 | | tx: weak_tx, [INFO] [stdout] 45 | | rx_exit, [INFO] [stdout] 46 | | streams: Default::default(), [INFO] [stdout] 47 | | intervals: Default::default(), [INFO] [stdout] 48 | | }, [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/context.rs:175:42 [INFO] [stdout] | [INFO] [stdout] 171 | while let Some(msg) = stream.next().await { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | Box::pin(async move { [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 176 | | StreamHandler::handle(actor, ctx, msg).await; [INFO] [stdout] 177 | | }) [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] [stderr] error: could not compile `xactor` (lib) due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `xactor` (lib test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "92edd4bb91b3d3384400c2376092e9766271726618dd9e9fee984f030046d6b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92edd4bb91b3d3384400c2376092e9766271726618dd9e9fee984f030046d6b9", kill_on_drop: false }` [INFO] [stdout] 92edd4bb91b3d3384400c2376092e9766271726618dd9e9fee984f030046d6b9