[INFO] fetching crate trapeze 0.7.5... [INFO] checking trapeze-0.7.5 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate trapeze 0.7.5 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate trapeze 0.7.5 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate trapeze 0.7.5 [INFO] finished tweaking crates.io crate trapeze 0.7.5 [INFO] tweaked toml for crates.io crate trapeze 0.7.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 86 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfb16a3d5e0f891ad89e2df323bce07445538683d37413761e6621da9923d256 [INFO] running `Command { std: "docker" "start" "-a" "cfb16a3d5e0f891ad89e2df323bce07445538683d37413761e6621da9923d256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfb16a3d5e0f891ad89e2df323bce07445538683d37413761e6621da9923d256", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfb16a3d5e0f891ad89e2df323bce07445538683d37413761e6621da9923d256", kill_on_drop: false }` [INFO] [stdout] cfb16a3d5e0f891ad89e2df323bce07445538683d37413761e6621da9923d256 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 385a78273415dcec27a00b6978bdafad846beeee781b437facc45cc99957d4bd [INFO] running `Command { std: "docker" "start" "-a" "385a78273415dcec27a00b6978bdafad846beeee781b437facc45cc99957d4bd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling anyhow v1.0.93 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling prettyplease v0.2.25 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking unicode-ident v1.0.14 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling hashbrown v0.15.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling multimap v0.10.0 [INFO] [stderr] Checking quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling thiserror v2.0.3 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Checking vsock v0.5.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling prost-derive v0.13.3 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v2.0.3 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio v1.41.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling prost v0.13.3 [INFO] [stderr] Checking prost-types v0.13.3 [INFO] [stderr] Checking prost-build v0.13.3 [INFO] [stderr] Checking trapeze-codegen v0.7.5 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling trapeze-macros v0.7.5 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking tokio-vsock v0.6.0 [INFO] [stderr] Checking trapeze v0.7.5 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/io/mod.rs (1 fix) [INFO] [stderr] Fixed src/server/method_handlers.rs (2 fixes) [INFO] [stderr] Fixed src/client/request_handlers.rs (2 fixes) [INFO] [stdout] warning: `impl futures::Future> + std::marker::Send` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/client/mod.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> impl Future> + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/client/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/client/mod.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | f: impl FnOnce(StreamIo) -> Fut + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 110 ~ fn spawn_stream> + Send, T: FnOnce(StreamIo) -> Fut + Send + 'static>( [INFO] [stdout] 111 | &self, [INFO] [stdout] 112 ~ f: T, [INFO] [stdout] 113 ~ ) -> impl Future> + Send + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::Output>> + std::marker::Send` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/server/controller.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> impl Future> + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/server/controller.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/server/controller.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | fut_fn: impl FnOnce() -> F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 26 ~ pub(super) fn control F>( [INFO] [stdout] 27 | &self, [INFO] [stdout] 28 ~ fut_fn: T, [INFO] [stdout] 29 ~ ) -> impl Future> + Send + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future> + std::marker::Send` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/client/mod.rs:113:10 [INFO] [stdout] | [INFO] [stdout] 113 | ) -> impl Future> + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/client/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/client/mod.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | f: impl FnOnce(StreamIo) -> Fut + Send + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 110 ~ fn spawn_stream> + Send, T: FnOnce(StreamIo) -> Fut + Send + 'static>( [INFO] [stdout] 111 | &self, [INFO] [stdout] 112 ~ f: T, [INFO] [stdout] 113 ~ ) -> impl Future> + Send + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl futures::Future::Output>> + std::marker::Send` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/server/controller.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | ) -> impl Future> + Send { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/server/controller.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | &self, [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/server/controller.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | fut_fn: impl FnOnce() -> F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 26 ~ pub(super) fn control F>( [INFO] [stdout] 27 | &self, [INFO] [stdout] 28 ~ fut_fn: T, [INFO] [stdout] 29 ~ ) -> impl Future> + Send + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/client/request_handlers.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | / try_stream! { [INFO] [stdout] 171 | | let fut = fut.fuse(); [INFO] [stdout] 172 | | pin!(fut); [INFO] [stdout] 173 | | loop { [INFO] [stdout] 174 | | let next = tokio::select! { [INFO] [stdout] | | _____________________----___- [INFO] [stdout] | | | | [INFO] [stdout] | | | `next` calls a custom destructor [INFO] [stdout] | | | `next` will be dropped later as of Edition 2024 [INFO] [stdout] 175 | | | Err(err) = &mut fut, if !fut.is_terminated() => Err(err), [INFO] [stdout] 176 | | | Some(val) = output_rx.recv() => Ok(val), [INFO] [stdout] 177 | | | else => break, [INFO] [stdout] 178 | | | }; [INFO] [stdout] | | | - [INFO] [stdout] | | | | [INFO] [stdout] | | | `output` calls a custom destructor [INFO] [stdout] | | | `output` will be dropped later as of Edition 2024 [INFO] [stdout] | | |_________________this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 179 | | yield next?; [INFO] [stdout] 180 | | } [INFO] [stdout] 181 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | |_____________`__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the macro `try_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/client/request_handlers.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | / try_stream! { [INFO] [stdout] 287 | | let fut = fut.fuse(); [INFO] [stdout] 288 | | let input_fut = input_fut.fuse(); [INFO] [stdout] 289 | | pin!(fut); [INFO] [stdout] ... | [INFO] [stdout] 292 | | let next = tokio::select! { [INFO] [stdout] | | _____________________----___- [INFO] [stdout] | | | | [INFO] [stdout] | | | `next` calls a custom destructor [INFO] [stdout] | | | `next` will be dropped later as of Edition 2024 [INFO] [stdout] 293 | | | _ = &mut input_fut, if !input_fut.is_terminated() => continue, [INFO] [stdout] 294 | | | Err(err) = &mut fut, if !fut.is_terminated() => Err(err), [INFO] [stdout] 295 | | | Some(val) = output_rx.recv() => Ok(val), [INFO] [stdout] 296 | | | else => break, [INFO] [stdout] 297 | | | }; [INFO] [stdout] | | | - [INFO] [stdout] | | | | [INFO] [stdout] | | | `output` calls a custom destructor [INFO] [stdout] | | | `output` will be dropped later as of Edition 2024 [INFO] [stdout] | | |_________________this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] 298 | | yield next?; [INFO] [stdout] 299 | | } [INFO] [stdout] 300 | | } [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | |_____________`__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: this warning originates in the macro `try_stream` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/client/request_handlers.rs:318:28 [INFO] [stdout] | [INFO] [stdout] 318 | while let Some(data) = strm.next().await { [INFO] [stdout] | ^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 319 | tx.data(data).await.map_err(Status::send_error)?; [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 320 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.1/src/sync/oneshot.rs:1072:1 [INFO] [stdout] | [INFO] [stdout] 1072 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/client/request_handlers.rs:355:33 [INFO] [stdout] | [INFO] [stdout] 355 | while let Some(frame) = rx.recv().await { [INFO] [stdout] | ----- ^^^^^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | | | up until Edition 2021 `#8` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | `frame` calls a custom destructor [INFO] [stdout] | `frame` will be dropped later as of Edition 2024 [INFO] [stdout] 356 | if let Ok(response) = frame.message.decode::() { [INFO] [stdout] | -------- ---------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | `response` calls a custom destructor [INFO] [stdout] | `response` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 365 | let Data { payload } = frame [INFO] [stdout] | ________________________-------_____- [INFO] [stdout] | | | [INFO] [stdout] | | `payload` calls a custom destructor [INFO] [stdout] | | `payload` will be dropped later as of Edition 2024 [INFO] [stdout] 366 | | .message [INFO] [stdout] 367 | | .decode::() [INFO] [stdout] 368 | | .map_err(Status::failed_to_decode)?; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] | |___________________________________________________this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 373 | let _ = tx.send(payload.decode().map_err(Status::failed_to_decode)?); [INFO] [stdout] | ------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | | `#6` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 379 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#7` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `frame` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `response` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `payload` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/client/request_handlers.rs:410:31 [INFO] [stdout] | [INFO] [stdout] 410 | while let Some(val) = input.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 411 | let _ = tx.send(val); [INFO] [stdout] | ------------ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 412 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/io/mod.rs:82:47 [INFO] [stdout] | [INFO] [stdout] 82 | while let Some((mut bytes, ch)) = rx.recv().await { [INFO] [stdout] | --------- -- ^^^^^^^^^^----- [INFO] [stdout] | | | | | [INFO] [stdout] | | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | `ch` calls a custom destructor [INFO] [stdout] | | `ch` will be dropped later as of Edition 2024 [INFO] [stdout] | `bytes` calls a custom destructor [INFO] [stdout] | `bytes` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 86 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `bytes` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `ch` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.1/src/sync/oneshot.rs:844:1 [INFO] [stdout] | [INFO] [stdout] 844 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/io/mod.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | while let Some(frame) = self.rx.recv().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 156 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/server/method_handlers.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | while let Some(frame) = rx.recv().await { [INFO] [stdout] | ----- ^^^^^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | | up until Edition 2021 `#7` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#6` [INFO] [stdout] | | up until Edition 2021 `#6` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | `frame` calls a custom destructor [INFO] [stdout] | `frame` will be dropped later as of Edition 2024 [INFO] [stdout] 207 | let Data { payload } = frame [INFO] [stdout] | ________________________-------_____- [INFO] [stdout] | | | [INFO] [stdout] | | `payload` calls a custom destructor [INFO] [stdout] | | `payload` will be dropped later as of Edition 2024 [INFO] [stdout] 208 | | .message [INFO] [stdout] 209 | | .decode::() [INFO] [stdout] 210 | | .map_err(Status::failed_to_decode)?; [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] | |___________________________________________________this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | `#3` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | let _ = tx.send(payload.decode().map_err(Status::failed_to_decode)?); [INFO] [stdout] | ------------------------------------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#5` [INFO] [stdout] | | `#5` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | `#4` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 221 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `frame` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `payload` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#3` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bytes-1.8.0/src/bytes.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 590 | impl Drop for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/server/method_handlers.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | while let Some(data) = strm.try_next().await? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-----^ [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 242 | tx.data(data).await.map_err(Status::send_error)?; [INFO] [stdout] | ------------------- [INFO] [stdout] | | [INFO] [stdout] | `__awaitee` calls a custom destructor [INFO] [stdout] | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] 243 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.41.1/src/sync/oneshot.rs:1072:1 [INFO] [stdout] | [INFO] [stdout] 1072 | impl Drop for Receiver { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/server/mod.rs:79:35 [INFO] [stdout] | [INFO] [stdout] 79 | while let Some(res) = self.tasks.join_next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] | this value will be stored in a temporary; let us call it `#3` [INFO] [stdout] | up until Edition 2021 `#3` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 80 | handle_task_result(res?); [INFO] [stdout] | ---- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | `#2` will be dropped later as of Edition 2024 [INFO] [stdout] 81 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#1` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.08s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking trapeze v0.7.5 (/tmp/fixit) [INFO] [stdout] error[E0597]: `controller` does not live long enough [INFO] [stdout] --> src/server/handle.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 60 | let controller = ServerController::new(); [INFO] [stdout] | ---------- binding `controller` declared here [INFO] [stdout] 61 | let task = controller.control({ [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ____________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 62 | | let controller = controller.clone(); [INFO] [stdout] 63 | | move || { [INFO] [stdout] 64 | | fut_fn(controller) [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }); [INFO] [stdout] | |__________- argument requires that `controller` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 69 | } [INFO] [stdout] | - `controller` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/server/handle.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let task = controller.control({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 62 | | let controller = controller.clone(); [INFO] [stdout] 63 | | move || { [INFO] [stdout] 64 | | fut_fn(controller) [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/server/controller.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | fut_fn: impl FnOnce() -> F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/server/controller.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 ~ pub(super) fn control F>( [INFO] [stdout] 27 | &self, [INFO] [stdout] 28 ~ fut_fn: T, [INFO] [stdout] 29 ~ ) -> impl Future> + Send + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `controller` because it is borrowed [INFO] [stdout] --> src/server/handle.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 60 | let controller = ServerController::new(); [INFO] [stdout] | ---------- binding `controller` declared here [INFO] [stdout] 61 | let task = controller.control({ [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | ____________________borrow of `controller` occurs here [INFO] [stdout] | | [INFO] [stdout] 62 | | let controller = controller.clone(); [INFO] [stdout] 63 | | move || { [INFO] [stdout] 64 | | fut_fn(controller) [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }); [INFO] [stdout] | |__________- argument requires that `controller` is borrowed for `'static` [INFO] [stdout] 67 | let handle = tokio::spawn(task); [INFO] [stdout] 68 | ServerHandle { controller, handle } [INFO] [stdout] | ^^^^^^^^^^ move out of `controller` occurs here [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/server/handle.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let task = controller.control({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 62 | | let controller = controller.clone(); [INFO] [stdout] 63 | | move || { [INFO] [stdout] 64 | | fut_fn(controller) [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/server/controller.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | fut_fn: impl FnOnce() -> F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/server/controller.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 ~ pub(super) fn control F>( [INFO] [stdout] 27 | &self, [INFO] [stdout] 28 ~ fut_fn: T, [INFO] [stdout] 29 ~ ) -> impl Future> + Send + use { [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 61 | let task = controller.clone().control({ [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `controller` does not live long enough [INFO] [stdout] --> src/server/handle.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 60 | let controller = ServerController::new(); [INFO] [stdout] | ---------- binding `controller` declared here [INFO] [stdout] 61 | let task = controller.control({ [INFO] [stdout] | -^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | ____________________borrowed value does not live long enough [INFO] [stdout] | | [INFO] [stdout] 62 | | let controller = controller.clone(); [INFO] [stdout] 63 | | move || { [INFO] [stdout] 64 | | fut_fn(controller) [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }); [INFO] [stdout] | |__________- argument requires that `controller` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 69 | } [INFO] [stdout] | - `controller` dropped here while still borrowed [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/server/handle.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let task = controller.control({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 62 | | let controller = controller.clone(); [INFO] [stdout] 63 | | move || { [INFO] [stdout] 64 | | fut_fn(controller) [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/server/controller.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | fut_fn: impl FnOnce() -> F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/server/controller.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 ~ pub(super) fn control F>( [INFO] [stdout] 27 | &self, [INFO] [stdout] 28 ~ fut_fn: T, [INFO] [stdout] 29 ~ ) -> impl Future> + Send + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `controller` because it is borrowed [INFO] [stdout] --> src/server/handle.rs:68:24 [INFO] [stdout] | [INFO] [stdout] 60 | let controller = ServerController::new(); [INFO] [stdout] | ---------- binding `controller` declared here [INFO] [stdout] 61 | let task = controller.control({ [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | ____________________borrow of `controller` occurs here [INFO] [stdout] | | [INFO] [stdout] 62 | | let controller = controller.clone(); [INFO] [stdout] 63 | | move || { [INFO] [stdout] 64 | | fut_fn(controller) [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }); [INFO] [stdout] | |__________- argument requires that `controller` is borrowed for `'static` [INFO] [stdout] 67 | let handle = tokio::spawn(task); [INFO] [stdout] 68 | ServerHandle { controller, handle } [INFO] [stdout] | ^^^^^^^^^^ move out of `controller` occurs here [INFO] [stdout] | [INFO] [stdout] note: this call may capture more lifetimes than intended, because Rust 2024 has adjusted the `impl Trait` lifetime capture rules [INFO] [stdout] --> src/server/handle.rs:61:20 [INFO] [stdout] | [INFO] [stdout] 61 | let task = controller.control({ [INFO] [stdout] | ____________________^ [INFO] [stdout] 62 | | let controller = controller.clone(); [INFO] [stdout] 63 | | move || { [INFO] [stdout] 64 | | fut_fn(controller) [INFO] [stdout] 65 | | } [INFO] [stdout] 66 | | }); [INFO] [stdout] | |__________^ [INFO] [stdout] note: you could use a `use<...>` bound to explicitly specify captures, but argument-position `impl Trait`s are not nameable [INFO] [stdout] --> src/server/controller.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 28 | fut_fn: impl FnOnce() -> F, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] --> src/server/controller.rs:26:43 [INFO] [stdout] | [INFO] [stdout] 26 ~ pub(super) fn control F>( [INFO] [stdout] 27 | &self, [INFO] [stdout] 28 ~ fut_fn: T, [INFO] [stdout] 29 ~ ) -> impl Future> + Send + use { [INFO] [stdout] | [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 61 | let task = controller.clone().control({ [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trapeze` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0505, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trapeze` (lib test) due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "385a78273415dcec27a00b6978bdafad846beeee781b437facc45cc99957d4bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "385a78273415dcec27a00b6978bdafad846beeee781b437facc45cc99957d4bd", kill_on_drop: false }` [INFO] [stdout] 385a78273415dcec27a00b6978bdafad846beeee781b437facc45cc99957d4bd