[INFO] fetching crate leptos_workers 0.2.2... [INFO] checking leptos_workers-0.2.2 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate leptos_workers 0.2.2 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate leptos_workers 0.2.2 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 135 packages to latest compatible versions [INFO] [stderr] Adding gloo v0.8.1 (available: v0.11.0) [INFO] [stderr] Adding gloo-console v0.2.3 (available: v0.3.0) [INFO] [stderr] Adding gloo-dialogs v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding gloo-events v0.1.2 (available: v0.2.0) [INFO] [stderr] Adding gloo-file v0.2.3 (available: v0.3.0) [INFO] [stderr] Adding gloo-history v0.1.5 (available: v0.2.2) [INFO] [stderr] Adding gloo-net v0.3.1 (available: v0.6.0) [INFO] [stderr] Adding gloo-render v0.1.1 (available: v0.2.0) [INFO] [stderr] Adding gloo-storage v0.2.2 (available: v0.3.0) [INFO] [stderr] Adding gloo-timers v0.2.6 (available: v0.3.0) [INFO] [stderr] Adding gloo-utils v0.1.7 (available: v0.2.0) [INFO] [stderr] Adding gloo-worker v0.2.1 (available: v0.5.0) [INFO] [stderr] Adding http v0.2.12 (available: v1.1.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (available: v0.50.1) [INFO] [stderr] Adding serde-wasm-bindgen v0.5.0 (available: v0.6.5) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.77) [INFO] [stderr] Adding virtue v0.0.13 (available: v0.0.17) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 149eae22458c547009218c89e242b0c7948efa78731c65be0369058e6e819c3e [INFO] running `Command { std: "docker" "start" "-a" "149eae22458c547009218c89e242b0c7948efa78731c65be0369058e6e819c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "149eae22458c547009218c89e242b0c7948efa78731c65be0369058e6e819c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "149eae22458c547009218c89e242b0c7948efa78731c65be0369058e6e819c3e", kill_on_drop: false }` [INFO] [stdout] 149eae22458c547009218c89e242b0c7948efa78731c65be0369058e6e819c3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3340fe4e634fb6b7a1ed219d34e6265524addb0301155737373fb87d6105f2a4 [INFO] running `Command { std: "docker" "start" "-a" "3340fe4e634fb6b7a1ed219d34e6265524addb0301155737373fb87d6105f2a4", 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] Checking once_cell v1.19.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.93 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.93 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking anymap2 v0.13.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling const_format_proc_macros v0.2.33 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking xxhash-rust v0.8.12 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking pollster v0.3.0 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking const_format v0.2.33 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.93 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.43 [INFO] [stderr] Compiling leptos_workers_macro v0.2.2 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.93 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.93 [INFO] [stderr] Checking js-sys v0.3.70 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking web-sys v0.3.70 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.43 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking wasm-bindgen-test v0.3.43 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde-wasm-bindgen v0.5.0 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [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-console v0.2.3 [INFO] [stderr] Checking gloo-net v0.3.1 [INFO] [stderr] Checking gloo-storage v0.2.2 [INFO] [stderr] Checking gloo-history v0.1.5 [INFO] [stderr] Checking gloo-file v0.2.3 [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/plumbing/worker_handle.rs (4 fixes) [INFO] [stderr] Fixed src/executors/pool_executor.rs (4 fixes) [INFO] [stderr] Fixed src/executors/single_executor.rs (1 fix) [INFO] [stderr] Fixed src/workers/channel_worker.rs (3 fixes) [INFO] [stdout] warning: use of deprecated method `web_sys::BlobPropertyBag::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/plumbing/create_worker.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | BlobPropertyBag::new().type_("application/javascript"), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::WorkerOptions::name`: Use `set_name()` instead. [INFO] [stdout] --> src/plumbing/create_worker.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | .name(W::path()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::WorkerOptions::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/plumbing/create_worker.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | .type_(WorkerType::Module), [INFO] [stdout] | ^^^^^ [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: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executors/pool_executor.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | while let Ok(request) = proxy_rx.recv_async().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/executors/pool_executor.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plumbing/init_workers.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | while let Some(response) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plumbing/init_workers.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plumbing/worker_handle.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | while let Ok(request) = request_rx.recv_async().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plumbing/worker_handle.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workers/channel_worker.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | while let Ok(response) = response_rx.recv_async().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/workers/channel_worker.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::BlobPropertyBag::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/plumbing/create_worker.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | BlobPropertyBag::new().type_("application/javascript"), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::WorkerOptions::name`: Use `set_name()` instead. [INFO] [stdout] --> src/plumbing/create_worker.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | .name(W::path()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::WorkerOptions::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/plumbing/create_worker.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | .type_(WorkerType::Module), [INFO] [stdout] | ^^^^^ [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: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/executors/pool_executor.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | while let Ok(request) = proxy_rx.recv_async().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^--------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/executors/pool_executor.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plumbing/init_workers.rs:135:11 [INFO] [stdout] | [INFO] [stdout] 135 | while let Some(response) = stream.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plumbing/init_workers.rs:139:5 [INFO] [stdout] | [INFO] [stdout] 139 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/plumbing/worker_handle.rs:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | while let Ok(request) = request_rx.recv_async().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/plumbing/worker_handle.rs:184:13 [INFO] [stdout] | [INFO] [stdout] 184 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workers/channel_worker.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | while let Ok(response) = response_rx.recv_async().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^------------------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/workers/channel_worker.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/worker.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/ui.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] warning: unused import: `futures::StreamExt` [INFO] [stderr] --> tests/worker.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | use futures::StreamExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0425`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/worker.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | while let Ok(req) = rx.recv_async().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/worker.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> tests/worker.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | while let Ok(req) = rx.recv_async().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^----- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> tests/worker.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | } [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: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] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.18s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking leptos_workers v0.2.2 (/tmp/fixit) [INFO] [stdout] warning: use of deprecated method `web_sys::BlobPropertyBag::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/plumbing/create_worker.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | BlobPropertyBag::new().type_("application/javascript"), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::WorkerOptions::name`: Use `set_name()` instead. [INFO] [stdout] --> src/plumbing/create_worker.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | .name(W::path()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::WorkerOptions::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/plumbing/create_worker.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | .type_(WorkerType::Module), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::BlobPropertyBag::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/plumbing/create_worker.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | BlobPropertyBag::new().type_("application/javascript"), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::WorkerOptions::name`: Use `set_name()` instead. [INFO] [stdout] --> src/plumbing/create_worker.rs:165:14 [INFO] [stdout] | [INFO] [stdout] 165 | .name(W::path()) [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `web_sys::WorkerOptions::type_`: Use `set_type()` instead. [INFO] [stdout] --> src/plumbing/create_worker.rs:166:14 [INFO] [stdout] | [INFO] [stdout] 166 | .type_(WorkerType::Module), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [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] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `leptos_workers` (test "worker") due to 3 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" "3340fe4e634fb6b7a1ed219d34e6265524addb0301155737373fb87d6105f2a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3340fe4e634fb6b7a1ed219d34e6265524addb0301155737373fb87d6105f2a4", kill_on_drop: false }` [INFO] [stdout] 3340fe4e634fb6b7a1ed219d34e6265524addb0301155737373fb87d6105f2a4