[INFO] fetching crate omaha_client 0.2.1... [INFO] checking omaha_client-0.2.1 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate omaha_client 0.2.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate omaha_client 0.2.1 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 omaha_client 0.2.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate omaha_client 0.2.1 [INFO] tweaked toml for crates.io crate omaha_client 0.2.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate omaha_client 0.2.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 847e3c9a6539f57a401a7797b4094e32535bc350a3f1d3db8d28d4120429bffa [INFO] running `Command { std: "docker" "start" "-a" "847e3c9a6539f57a401a7797b4094e32535bc350a3f1d3db8d28d4120429bffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "847e3c9a6539f57a401a7797b4094e32535bc350a3f1d3db8d28d4120429bffa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "847e3c9a6539f57a401a7797b4094e32535bc350a3f1d3db8d28d4120429bffa", kill_on_drop: false }` [INFO] [stdout] 847e3c9a6539f57a401a7797b4094e32535bc350a3f1d3db8d28d4120429bffa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] b033029f44a2bef3a170b408425fd9f952bc34ed55b9ed28297b9a1fa358c925 [INFO] running `Command { std: "docker" "start" "-a" "b033029f44a2bef3a170b408425fd9f952bc34ed55b9ed28297b9a1fa358c925", 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.79 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core-preview v0.3.0-alpha.19 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking base16ct v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking futures-sink-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-channel-preview v0.3.0-alpha.19 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking futures-util-preview v0.3.0-alpha.19 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking hex v0.3.2 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking sec1 v0.3.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking futures-executor-preview v0.3.0-alpha.19 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking futures-preview v0.3.0-alpha.19 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking futures-timer v0.3.0 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_repr v0.1.18 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking uuid v1.7.0 [INFO] [stderr] Checking argh_shared v0.1.12 [INFO] [stderr] Compiling argh_derive v0.1.12 [INFO] [stderr] Checking argh v0.1.12 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking hyper-rustls v0.25.0 [INFO] [stderr] Checking omaha_client v0.2.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/http_request/mock.rs (1 fix) [INFO] [stderr] Fixed src/state_machine/update_check.rs (1 fix) [INFO] [stderr] Fixed src/common.rs (2 fixes) [INFO] [stderr] Fixed src/state_machine.rs (7 fixes) [INFO] [stdout] warning: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/state_machine.rs:340:23 [INFO] [stdout] | [INFO] [stdout] 340 | match self.report_waited_for_reboot_duration( [INFO] [stdout] | _______________________^ [INFO] [stdout] 341 | | update_finish_time.unwrap(), [INFO] [stdout] 342 | | state_machine_start_monotonic_time, [INFO] [stdout] 343 | | self.time_source.now(), [INFO] [stdout] 344 | | ) { [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________________this value will be stored in a temporary; let us call it `#18` [INFO] [stdout] | up until Edition 2021 `#18` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 349 | let mut storage = self.storage_ref.lock().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] | | `__awaitee` calls a custom destructor [INFO] [stdout] | | `__awaitee` will be dropped later as of Edition 2024 [INFO] [stdout] | `storage` calls a custom destructor [INFO] [stdout] | `storage` will be dropped later as of Edition 2024 [INFO] [stdout] 350 | storage.remove_or_log(UPDATE_FINISH_TIME).await; [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] 351 | storage.remove_or_log(TARGET_VERSION).await; [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] 352 | storage.commit_or_log().await; [INFO] [stdout] | ----------------------------- [INFO] [stdout] | | [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] 353 | } [INFO] [stdout] 354 | Err(e) => { [INFO] [stdout] | - [INFO] [stdout] | | [INFO] [stdout] | `e` calls a custom destructor [INFO] [stdout] | `e` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 361 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] 362 | [INFO] [stdout] 363 | let (mut options, responder) = { [INFO] [stdout] | _______________________________---------____- [INFO] [stdout] | _______________________________|____________| [INFO] [stdout] | | | [INFO] [stdout] | | `responder` calls a custom destructor [INFO] [stdout] | | `responder` will be dropped later as of Edition 2024 [INFO] [stdout] 364 | | let check_timing = self.update_next_update_time(&mut co).await; [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] 365 | | let mut wait_to_next_check = self.make_wait_to_next_check(check_timing).await; [INFO] [stdout] | | ---------------------- ----- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#7` [INFO] [stdout] | | | `#7` will be dropped later as of Edition 2024 [INFO] [stdout] | | `wait_to_next_check` calls a custom destructor [INFO] [stdout] | | `wait_to_next_check` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 369 | / select! { [INFO] [stdout] 370 | | () = wait_to_next_check => (CheckOptions::default(), None), [INFO] [stdout] 371 | | ControlRequest::StartUpdateCheck{options, responder} = control.select_next_some() => { [INFO] [stdout] 372 | | (options, Some(responder)) [INFO] [stdout] 373 | | } [INFO] [stdout] 374 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_________________| [INFO] [stdout] | |_________________`__select_result` calls a custom destructor [INFO] [stdout] | |_________________`__select_result` will be dropped later as of Edition 2024 [INFO] [stdout] | |_________________this value will be stored in a temporary; let us call it `#8` [INFO] [stdout] | `#8` will be dropped later as of Edition 2024 [INFO] [stdout] 375 | | }; [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] 376 | [INFO] [stdout] 377 | | let reboot_after_update = { [INFO] [stdout] | | ------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `reboot_after_update` calls a custom destructor [INFO] [stdout] | | `reboot_after_update` will be dropped later as of Edition 2024 [INFO] [stdout] 378 | | let apps = self.app_set.lock().await.get_apps(); [INFO] [stdout] | | ------------------------- [INFO] [stdout] | | | | [INFO] [stdout] | | | this value will be stored in a temporary; let us call it `#11` [INFO] [stdout] | | | `#11` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#9` [INFO] [stdout] | | `#9` will be dropped later as of Edition 2024 [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#10` [INFO] [stdout] | | `#10` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 383 | let decision = self [INFO] [stdout] | ________________________________- [INFO] [stdout] | |________________________________| [INFO] [stdout] 384 | | .policy_engine [INFO] [stdout] 385 | | .update_check_allowed( [INFO] [stdout] 386 | | &apps, [INFO] [stdout] ... | [INFO] [stdout] 390 | | ) [INFO] [stdout] 391 | | .await; [INFO] [stdout] | | - [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________this value will be stored in a temporary; let us call it `#12` [INFO] [stdout] | `#12` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 416 | | futures::pin_mut!(update_check); [INFO] [stdout] | | ------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | `update_check` calls a custom destructor [INFO] [stdout] | | `update_check` will be dropped later as of Edition 2024 [INFO] [stdout] ... | [INFO] [stdout] 421 | / select! { [INFO] [stdout] 422 | | update_check_result = update_check => break update_check_result, [INFO] [stdout] 423 | | ControlRequest::StartUpdateCheck{ [INFO] [stdout] 424 | | options: new_options, [INFO] [stdout] ... | [INFO] [stdout] 434 | | } [INFO] [stdout] 435 | | } [INFO] [stdout] | | - [INFO] [stdout] | |_____________________| [INFO] [stdout] | |_____________________this value will be stored in a temporary; let us call it `#13` [INFO] [stdout] | |_____________________`#13` will be dropped later as of Edition 2024 [INFO] [stdout] | |_____________________this value will be stored in a temporary; let us call it `#14` [INFO] [stdout] | `#14` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 440 | | Self::yield_state(State::WaitingForReboot, &mut co).await; [INFO] [stdout] | | --------------------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#15` [INFO] [stdout] | | `#15` will be dropped later as of Edition 2024 [INFO] [stdout] 441 | / self.wait_for_reboot(options, &mut control, install_result, &mut co) [INFO] [stdout] 442 | | .await; [INFO] [stdout] | | - [INFO] [stdout] | |__________________________| [INFO] [stdout] | |__________________________this value will be stored in a temporary; let us call it `#16` [INFO] [stdout] | `#16` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 445 | | Self::yield_state(State::Idle, &mut co).await; [INFO] [stdout] | | --------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this value will be stored in a temporary; let us call it `#17` [INFO] [stdout] | | `#17` will be dropped later as of Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] note: `#18` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.81/src/error.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `storage` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/lock/mutex.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | impl Drop for MutexGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `__awaitee` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/lock/mutex.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl Drop for MutexLockFuture<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/lock/mutex.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | impl Drop for MutexGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#2` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#3` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#4` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `e` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.81/src/error.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `responder` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#5` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#6` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#6` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/lock/mutex.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl Drop for MutexLockFuture<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `wait_to_next_check` may invoke a custom destructor because it contains a trait object [INFO] [stdout] = note: `#7` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `__select_result` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#8` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#9` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/lock/mutex.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | impl Drop for MutexGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#10` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/lock/mutex.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl Drop for MutexLockFuture<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#11` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/lock/mutex.rs:428:1 [INFO] [stdout] | [INFO] [stdout] 428 | impl Drop for MutexGuard<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#12` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `update_check` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/anyhow-1.0.81/src/error.rs:600:1 [INFO] [stdout] | [INFO] [stdout] 600 | impl Drop for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `update_check` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `update_check` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-util-0.3.30/src/lock/mutex.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 373 | impl Drop for MutexLockFuture<'_, T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#13` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `#14` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | impl Drop for Sender { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#16` may invoke a custom destructor because it contains a trait object [INFO] [stdout] note: `#16` invokes this custom destructor [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/futures-channel-0.3.30/src/oneshot.rs:387:1 [INFO] [stdout] | [INFO] [stdout] 387 | 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] = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/state_machine.rs (2 fixes) [INFO] [stderr] Migrating examples/hello-world/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: `impl futures::Future` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/state_machine.rs:4039:72 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [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/state_machine.rs:4039:20 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [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/state_machine.rs:4039:30 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [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] 4039 | fn observe>(&self, s: T) -> impl Future + use { [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/state_machine.rs:4054:14 [INFO] [stdout] | [INFO] [stdout] 4054 | ) -> impl Future { [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/state_machine.rs:4052:13 [INFO] [stdout] | [INFO] [stdout] 4052 | &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/state_machine.rs:4053:16 [INFO] [stdout] | [INFO] [stdout] 4053 | s: impl Stream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4051 ~ fn observe_until_terminal>( [INFO] [stdout] 4052 | &self, [INFO] [stdout] 4053 ~ s: T, [INFO] [stdout] 4054 ~ ) -> impl Future + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.49s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking omaha_client v0.2.1 (/tmp/fixit) [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:3530:26 [INFO] [stdout] | [INFO] [stdout] 3528 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 3529 | spawner [INFO] [stdout] 3530 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 3542 | } [INFO] [stdout] | - `observer` 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/state_machine.rs:3530:26 [INFO] [stdout] | [INFO] [stdout] 3530 | .spawn_local(observer.observe(state_machine)) [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/state_machine.rs:4039:30 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe>(&self, s: T) -> impl Future + use { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:3574:26 [INFO] [stdout] | [INFO] [stdout] 3572 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 3573 | spawner [INFO] [stdout] 3574 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 3596 | } [INFO] [stdout] | - `observer` 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/state_machine.rs:3574:26 [INFO] [stdout] | [INFO] [stdout] 3574 | .spawn_local(observer.observe(state_machine)) [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/state_machine.rs:4039:30 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe>(&self, s: T) -> impl Future + use { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:3622:26 [INFO] [stdout] | [INFO] [stdout] 3620 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 3621 | spawner [INFO] [stdout] 3622 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 3634 | } [INFO] [stdout] | - `observer` 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/state_machine.rs:3622:26 [INFO] [stdout] | [INFO] [stdout] 3622 | .spawn_local(observer.observe(state_machine)) [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/state_machine.rs:4039:30 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe>(&self, s: T) -> impl Future + use { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:3669:26 [INFO] [stdout] | [INFO] [stdout] 3667 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 3668 | spawner [INFO] [stdout] 3669 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 3712 | } [INFO] [stdout] | - `observer` 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/state_machine.rs:3669:26 [INFO] [stdout] | [INFO] [stdout] 3669 | .spawn_local(observer.observe(state_machine)) [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/state_machine.rs:4039:30 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe>(&self, s: T) -> impl Future + use { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:3759:26 [INFO] [stdout] | [INFO] [stdout] 3757 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 3758 | spawner [INFO] [stdout] 3759 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 3816 | } [INFO] [stdout] | - `observer` 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/state_machine.rs:3759:26 [INFO] [stdout] | [INFO] [stdout] 3759 | .spawn_local(observer.observe(state_machine)) [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/state_machine.rs:4039:30 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe>(&self, s: T) -> impl Future + use { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:3863:26 [INFO] [stdout] | [INFO] [stdout] 3861 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 3862 | spawner [INFO] [stdout] 3863 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 3977 | } [INFO] [stdout] | - `observer` 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/state_machine.rs:3863:26 [INFO] [stdout] | [INFO] [stdout] 3863 | .spawn_local(observer.observe(state_machine)) [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/state_machine.rs:4039:30 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe>(&self, s: T) -> impl Future + use { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:4094:26 [INFO] [stdout] | [INFO] [stdout] 4092 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 4093 | spawner [INFO] [stdout] 4094 | .spawn_local(observer.observe_until_terminal(state_machine)) [INFO] [stdout] | ^^^^^^^^-------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 4122 | } [INFO] [stdout] | - `observer` 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/state_machine.rs:4094:26 [INFO] [stdout] | [INFO] [stdout] 4094 | .spawn_local(observer.observe_until_terminal(state_machine)) [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/state_machine.rs:4053:16 [INFO] [stdout] | [INFO] [stdout] 4053 | s: impl Stream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4051 ~ fn observe_until_terminal>( [INFO] [stdout] 4052 | &self, [INFO] [stdout] 4053 ~ s: T, [INFO] [stdout] 4054 ~ ) -> impl Future + use { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:4147:26 [INFO] [stdout] | [INFO] [stdout] 4145 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 4146 | spawner [INFO] [stdout] 4147 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 4193 | } [INFO] [stdout] | - `observer` 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/state_machine.rs:4147:26 [INFO] [stdout] | [INFO] [stdout] 4147 | .spawn_local(observer.observe(state_machine)) [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/state_machine.rs:4039:30 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe>(&self, s: T) -> impl Future + use { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:4219:26 [INFO] [stdout] | [INFO] [stdout] 4217 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 4218 | spawner [INFO] [stdout] 4219 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 4238 | } [INFO] [stdout] | - `observer` 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/state_machine.rs:4219:26 [INFO] [stdout] | [INFO] [stdout] 4219 | .spawn_local(observer.observe(state_machine)) [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/state_machine.rs:4039:30 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe>(&self, s: T) -> impl Future + use { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `observer` does not live long enough [INFO] [stdout] --> src/state_machine.rs:4378:26 [INFO] [stdout] | [INFO] [stdout] 4376 | let observer = TestObserver::default(); [INFO] [stdout] | -------- binding `observer` declared here [INFO] [stdout] 4377 | spawner [INFO] [stdout] 4378 | .spawn_local(observer.observe(state_machine)) [INFO] [stdout] | ^^^^^^^^----------------------- [INFO] [stdout] | | [INFO] [stdout] | borrowed value does not live long enough [INFO] [stdout] | argument requires that `observer` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 4399 | } [INFO] [stdout] | - `observer` 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/state_machine.rs:4378:26 [INFO] [stdout] | [INFO] [stdout] 4378 | .spawn_local(observer.observe(state_machine)) [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/state_machine.rs:4039:30 [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe(&self, s: impl Stream) -> impl Future { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 4039 | fn observe>(&self, s: T) -> impl Future + use { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++ ~ ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0597`. [INFO] [stdout] [INFO] [stderr] error: could not compile `omaha_client` (lib test) due to 10 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" "b033029f44a2bef3a170b408425fd9f952bc34ed55b9ed28297b9a1fa358c925", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b033029f44a2bef3a170b408425fd9f952bc34ed55b9ed28297b9a1fa358c925", kill_on_drop: false }` [INFO] [stdout] b033029f44a2bef3a170b408425fd9f952bc34ed55b9ed28297b9a1fa358c925