[INFO] fetching crate leptos_workers 0.2.2... [INFO] checking leptos_workers-0.2.2 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate leptos_workers 0.2.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate leptos_workers 0.2.2 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 leptos_workers 0.2.2 [INFO] finished tweaking crates.io crate leptos_workers 0.2.2 [INFO] tweaked toml for crates.io crate leptos_workers 0.2.2 written to /workspace/builds/worker-4-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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 136 packages to latest compatible versions [INFO] [stderr] Adding pollster v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding serde-wasm-bindgen v0.5.0 (available: v0.6.5) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.3) [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 957077bacc2e2ecc24972894bd30d00150baba060478f2338e99c630dba7932d [INFO] running `Command { std: "docker" "start" "-a" "957077bacc2e2ecc24972894bd30d00150baba060478f2338e99c630dba7932d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "957077bacc2e2ecc24972894bd30d00150baba060478f2338e99c630dba7932d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "957077bacc2e2ecc24972894bd30d00150baba060478f2338e99c630dba7932d", kill_on_drop: false }` [INFO] [stdout] 957077bacc2e2ecc24972894bd30d00150baba060478f2338e99c630dba7932d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 2593f8fe4ab7e46ae148358bf73420c90dc922eada0cb9822ebdca5ffcea41ab [INFO] running `Command { std: "docker" "start" "-a" "2593f8fe4ab7e46ae148358bf73420c90dc922eada0cb9822ebdca5ffcea41ab", 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 proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.95 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling wasm-bindgen v0.2.95 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking itoa v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking hashbrown v0.15.1 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling target-triple v0.1.3 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling const_format_proc_macros v0.2.33 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking flume v0.11.1 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Checking const_format v0.2.33 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.95 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.45 [INFO] [stderr] Compiling leptos_workers_macro v0.2.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.95 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.95 [INFO] [stderr] Checking js-sys v0.3.72 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking web-sys v0.3.72 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.45 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking wasm-bindgen-test v0.3.45 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking trybuild v1.0.101 [INFO] [stderr] Checking gloo-utils v0.1.7 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-dialogs v0.1.1 [INFO] [stderr] Checking gloo-render v0.1.1 [INFO] [stderr] Checking gloo-file v0.2.3 [INFO] [stderr] Checking gloo-console v0.2.3 [INFO] [stderr] Checking gloo-history v0.1.5 [INFO] [stderr] Checking gloo-net v0.3.1 [INFO] [stderr] Checking gloo-storage v0.2.2 [INFO] [stderr] Checking gloo-worker v0.2.1 [INFO] [stderr] Checking gloo v0.8.1 [INFO] [stderr] Checking tracing-subscriber-wasm v0.1.0 [INFO] [stderr] Checking leptos_workers v0.2.2 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/workers/channel_worker.rs (3 fixes) [INFO] [stderr] Fixed src/executors/single_executor.rs (1 fix) [INFO] [stderr] Fixed src/executors/pool_executor.rs (4 fixes) [INFO] [stderr] Fixed src/plumbing/worker_handle.rs (4 fixes) [INFO] [stdout] warning: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executors/pool_executor.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | ) -> Result<(AbortHandle, impl Future), CreateWorkerError> { [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/executors/pool_executor.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | &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/executors/pool_executor.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | callback: impl Fn(W::Response) + '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] 187 ~ pub fn stream_callback( [INFO] [stdout] 188 | &self, [INFO] [stdout] 189 | request: W::Request, [INFO] [stdout] 190 ~ callback: T, [INFO] [stdout] 191 ~ ) -> Result<(AbortHandle, impl Future + use), CreateWorkerError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/executors/pool_executor.rs:238:37 [INFO] [stdout] | [INFO] [stdout] 238 | while let Ok(request) = proxy_rx.recv_async().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | up until Edition 2021 `#4` 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 `#3` [INFO] [stdout] | up until Edition 2021 `#3` 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] 239 | if worker_tx.send(request).is_err() { [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] ... [INFO] [stdout] 242 | } [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: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/flume-0.11.1/src/async.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | impl<'a, T> Drop for RecvFut<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/flume-0.11.1/src/async.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | impl<'a, T> Drop for RecvFut<'a, T> { [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] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/plumbing/init_workers.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | while let Some(response) = stream.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] | `response` calls a custom destructor [INFO] [stdout] | `response` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 139 | } [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/wasm-bindgen-0.2.95/src/lib.rs:1145:1 [INFO] [stdout] | [INFO] [stdout] 1145 | impl Drop for JsValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.95/src/lib.rs:1145:1 [INFO] [stdout] | [INFO] [stdout] 1145 | impl Drop for JsValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `response` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.95/src/lib.rs:1145:1 [INFO] [stdout] | [INFO] [stdout] 1145 | impl Drop for JsValue { [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/plumbing/worker_handle.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 42 | let closure: Closure = Closure::new(move |event: MessageEvent| { [INFO] [stdout] | ------- [INFO] [stdout] | | [INFO] [stdout] | `closure` calls a custom destructor [INFO] [stdout] | `closure` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 69 | .await [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] 70 | } [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: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/flume-0.11.1/src/async.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | impl<'a, T> Drop for RecvFut<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `closure` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.95/src/closure.rs:513:1 [INFO] [stdout] | [INFO] [stdout] 513 | / impl Drop for Closure [INFO] [stdout] 514 | | where [INFO] [stdout] 515 | | T: ?Sized, [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/plumbing/worker_handle.rs:174:37 [INFO] [stdout] | [INFO] [stdout] 174 | while let Ok(request) = request_rx.recv_async().await { [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#4` [INFO] [stdout] | | | up until Edition 2021 `#4` 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 `#3` [INFO] [stdout] | | up until Edition 2021 `#3` 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] | `request` calls a custom destructor [INFO] [stdout] | `request` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 181 | &serde_wasm_bindgen::to_value(&request).expect("js serialization error"), [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] ... [INFO] [stdout] 184 | } [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: `#4` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/flume-0.11.1/src/async.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | impl<'a, T> Drop for RecvFut<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/flume-0.11.1/src/async.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | impl<'a, T> Drop for RecvFut<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.95/src/lib.rs:1145:1 [INFO] [stdout] | [INFO] [stdout] 1145 | impl Drop for JsValue { [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/workers/channel_worker.rs:47:42 [INFO] [stdout] | [INFO] [stdout] 47 | while let Ok(response) = response_rx.recv_async().await { [INFO] [stdout] | -------- ^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | | | [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] | | | 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] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` 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] 48 | let value = [INFO] [stdout] | ----- [INFO] [stdout] | | [INFO] [stdout] | `value` calls a custom destructor [INFO] [stdout] | `value` will be dropped later as of Edition 2024 [INFO] [stdout] 49 | serde_wasm_bindgen::to_value(&response).expect("js serialization error"); [INFO] [stdout] 50 | let callback = callback.lock().expect("mutex should not be poisoned"); [INFO] [stdout] | -------- [INFO] [stdout] | | [INFO] [stdout] | `callback` calls a custom destructor [INFO] [stdout] | `callback` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | } [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` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/flume-0.11.1/src/async.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | impl<'a, T> Drop for RecvFut<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/flume-0.11.1/src/async.rs:481:1 [INFO] [stdout] | [INFO] [stdout] 481 | impl<'a, T> Drop for RecvFut<'a, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `value` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/wasm-bindgen-0.2.95/src/lib.rs:1145:1 [INFO] [stdout] | [INFO] [stdout] 1145 | impl Drop for JsValue { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `callback` invokes this custom destructor [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/std/src/sync/mutex.rs:546:1 [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: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/executors/pool_executor.rs:191:34 [INFO] [stdout] | [INFO] [stdout] 191 | ) -> Result<(AbortHandle, impl Future), CreateWorkerError> { [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/executors/pool_executor.rs:188:9 [INFO] [stdout] | [INFO] [stdout] 188 | &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/executors/pool_executor.rs:190:19 [INFO] [stdout] | [INFO] [stdout] 190 | callback: impl Fn(W::Response) + '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] 187 ~ pub fn stream_callback( [INFO] [stdout] 188 | &self, [INFO] [stdout] 189 | request: W::Request, [INFO] [stdout] 190 ~ callback: T, [INFO] [stdout] 191 ~ ) -> Result<(AbortHandle, impl Future + use), CreateWorkerError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/worker.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `worker` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * tests/worker.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error: custom attribute panicked [INFO] [stderr] --> tests/worker.rs:72:1 [INFO] [stderr] | [INFO] [stderr] 72 | #[worker(TestStreamWorker)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: unexpected token [INFO] [stderr] [INFO] [stderr] error: custom attribute panicked [INFO] [stderr] --> tests/worker.rs:85:1 [INFO] [stderr] | [INFO] [stderr] 85 | #[worker(TestStreamWorkerMut)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: message: unexpected token [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `stream_worker` in this scope [INFO] [stderr] --> tests/worker.rs:142:18 [INFO] [stderr] | [INFO] [stderr] 142 | let stream = stream_worker(&TestRequest(5)); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stderr] Migrating tests/ui.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl Stream` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tests/worker.rs:73:49 [INFO] [stdout] | [INFO] [stdout] 73 | pub async fn stream_worker(req: TestRequest) -> impl leptos_workers::Stream { [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] --> tests/worker.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | #[worker(TestStreamWorker)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [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] 73 | pub async fn stream_worker(req: TestRequest) -> impl leptos_workers::Stream + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> tests/worker.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | ) -> impl leptos_workers::Stream { [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] --> tests/worker.rs:85:10 [INFO] [stdout] | [INFO] [stdout] 85 | #[worker(TestStreamWorkerMut)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 88 | ) -> impl leptos_workers::Stream + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.62s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking leptos_workers v0.2.2 (/tmp/fixit) [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> tests/worker.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | #[worker(TestCallbackWorker)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `Result<(leptos_workers::executors::AbortHandle, impl futures::Future), CreateWorkerError>` contains a lifetime `'2` [INFO] [stdout] | has type `&'1 Result, CreateWorkerError>` [INFO] [stdout] | returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 15 | #[worker(move TestCallbackWorker)] [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime may not live long enough [INFO] [stdout] --> tests/worker.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[worker(TestCallbackWorkerMut)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | return type of closure `Result<(leptos_workers::executors::AbortHandle, impl futures::Future), CreateWorkerError>` contains a lifetime `'2` [INFO] [stdout] | has type `&'1 Result, CreateWorkerError>` [INFO] [stdout] | returning this value requires that `'1` must outlive `'2` [INFO] [stdout] | [INFO] [stdout] help: consider adding 'move' keyword before the nested closure [INFO] [stdout] | [INFO] [stdout] 21 | #[worker(move TestCallbackWorkerMut)] [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos_workers` (test "worker") 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" "2593f8fe4ab7e46ae148358bf73420c90dc922eada0cb9822ebdca5ffcea41ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2593f8fe4ab7e46ae148358bf73420c90dc922eada0cb9822ebdca5ffcea41ab", kill_on_drop: false }` [INFO] [stdout] 2593f8fe4ab7e46ae148358bf73420c90dc922eada0cb9822ebdca5ffcea41ab