[INFO] fetching crate ducker 0.1.4... [INFO] checking ducker-0.1.4 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate ducker 0.1.4 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate ducker 0.1.4 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 ducker 0.1.4 [INFO] finished tweaking crates.io crate ducker 0.1.4 [INFO] tweaked toml for crates.io crate ducker 0.1.4 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate ducker 0.1.4 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d829547ad5961f02148355b12ddbedc91ec99d9f62cfdfd485315bd8c57a1c3b [INFO] running `Command { std: "docker" "start" "-a" "d829547ad5961f02148355b12ddbedc91ec99d9f62cfdfd485315bd8c57a1c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d829547ad5961f02148355b12ddbedc91ec99d9f62cfdfd485315bd8c57a1c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d829547ad5961f02148355b12ddbedc91ec99d9f62cfdfd485315bd8c57a1c3b", kill_on_drop: false }` [INFO] [stdout] d829547ad5961f02148355b12ddbedc91ec99d9f62cfdfd485315bd8c57a1c3b [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=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] eebc2eb22471856968b73d4afab82024c5bfad960574a3aec49131514cfffde2 [INFO] running `Command { std: "docker" "start" "-a" "eebc2eb22471856968b73d4afab82024c5bfad960574a3aec49131514cfffde2", 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.85 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.0.99 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking writeable v0.5.5 [INFO] [stderr] Checking rustls-pki-types v1.7.0 [INFO] [stderr] Checking litemap v0.7.3 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling httparse v1.9.2 [INFO] [stderr] Checking either v1.12.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking icu_properties_data v1.5.0 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling rustls v0.23.10 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking write16 v1.0.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking zeroize v1.8.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking utf16_iter v1.0.5 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Checking icu_normalizer_data v1.5.0 [INFO] [stderr] Checking overload v0.1.1 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking nu-ansi-term v0.46.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking miniz_oxide v0.7.3 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking unicode-truncate v1.0.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking anstyle-parse v0.2.4 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking anstyle-query v1.1.0 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking regex v1.10.5 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling serde_yml v0.0.12 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking clap_lex v0.7.1 [INFO] [stderr] Checking rustc-demangle v0.1.24 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking rustls-webpki v0.102.4 [INFO] [stderr] Checking libyml v0.0.5 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking webpki-roots v0.26.3 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking font8x8 v0.3.1 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking byte-unit v5.1.4 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking dyn-clone v1.0.17 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerofrom-derive v0.1.4 [INFO] [stderr] Compiling yoke-derive v0.7.4 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking zerofrom v0.1.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking yoke v0.7.4 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Checking zerovec v0.10.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Checking tinystr v0.7.6 [INFO] [stderr] Checking icu_locid v1.5.0 [INFO] [stderr] Checking icu_collections v1.5.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Checking icu_provider v1.5.0 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking icu_locid_transform v1.5.0 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking derive_builder v0.20.0 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Checking icu_properties v1.5.0 [INFO] [stderr] Checking serde v1.0.210 [INFO] [stderr] Checking http-body-util v0.1.2 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Checking icu_normalizer v1.5.0 [INFO] [stderr] Checking hyper-util v0.1.5 [INFO] [stderr] Checking idna v1.0.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking serde_with v3.8.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking url v2.5.1 [INFO] [stderr] Checking hyperlocal v0.9.1 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking ureq v2.10.1 [INFO] [stderr] Checking ratatui v0.28.1 [INFO] [stderr] Checking bollard-stubs v1.45.0-rc.26.0.1 [INFO] [stderr] Checking tui-big-text v0.6.0 [INFO] [stderr] Checking ratatui-macros v0.5.0 [INFO] [stderr] Checking ansi-to-tui v6.0.0 [INFO] [stderr] Checking bollard v0.17.1 [INFO] [stderr] Checking ducker v0.1.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ducker` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/tracing.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[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:74:14 [INFO] [stderr] | [INFO] [stderr] 74 | (target: $target:expr_2021, level: $level:expr_2021, $ex:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:74:40 [INFO] [stderr] | [INFO] [stderr] 74 | (target: $target:expr_2021, level: $level:expr_2021, $ex:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:74:58 [INFO] [stderr] | [INFO] [stderr] 74 | (target: $target:expr_2021, level: $level:expr_2021, $ex:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | (level: $level:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:82:31 [INFO] [stderr] | [INFO] [stderr] 82 | (level: $level:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:85:14 [INFO] [stderr] | [INFO] [stderr] 85 | (target: $target:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:85:33 [INFO] [stderr] | [INFO] [stderr] 85 | (target: $target:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:88:6 [INFO] [stderr] | [INFO] [stderr] 88 | ($ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | (target: $target:expr, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 73 | (target: $target:expr_2021, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | (target: $target:expr, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 73 | (target: $target:expr, level: $level:expr_2021, $ex:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | (target: $target:expr, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 73 | (target: $target:expr, level: $level:expr, $ex:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | (level: $level:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | (level: $level:expr_2021, $ex:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | (level: $level:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | (level: $level:expr, $ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | (target: $target:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 84 | (target: $target:expr_2021, $ex:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | (target: $target:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 84 | (target: $target:expr, $ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | ($ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 87 | ($ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/tracing.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / std::env::set_var( [INFO] [stdout] 45 | | "RUST_LOG", [INFO] [stdout] 46 | | std::env::var("RUST_LOG") [INFO] [stdout] 47 | | .or_else(|_| std::env::var(LOG_ENV.clone())) [INFO] [stdout] 48 | | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 49 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 44 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 45 ~ unsafe { std::env::set_var( [INFO] [stdout] 46 | "RUST_LOG", [INFO] [stdout] ... [INFO] [stdout] 49 | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 50 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | if let Ok(f) = File::open(config_path) { [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/config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 38 ~ match File::open(config_path) { Ok(f) => { [INFO] [stdout] 39 | config = serde_yml::from_reader(BufReader::new(f)).context("unable to parse config")?; [INFO] [stdout] 40 ~ } _ => { [INFO] [stdout] 41 | config = Config::default() [INFO] [stdout] 42 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Stream` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/docker/logs.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | ) -> impl 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, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/docker/logs.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 55 | docker: &bollard::Docker, [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] 57 | ) -> impl Stream + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/events/event_loop.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(event) = locked_rx.recv().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/events/event_loop.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 131 ~ match locked_rx.recv().await { Some(event) => { [INFO] [stdout] 132 | trace!("received inbound task `{}`", stringify!(event)); [INFO] [stdout] 133 | tx.send(event).await.unwrap() [INFO] [stdout] 134 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/attach.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | let transition = if let Some(t) = &self.next { [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/pages/attach.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 73 ~ let transition = match &self.next { Some(t) => { [INFO] [stdout] 74 | t.clone() [INFO] [stdout] 75 ~ } _ => { [INFO] [stdout] 76 | Transition::ToContainerPage(AppContext::default()) [INFO] [stdout] 77 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/attach.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(container) = cx.clone().docker_container { [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/pages/attach.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 137 ~ match cx.clone().docker_container { Some(container) => { [INFO] [stdout] 138 | let page_name = format!("{NAME} ({})", container.get_name()); [INFO] [stdout] ... [INFO] [stdout] 143 | self.container = Some(container) [INFO] [stdout] 144 ~ } _ => { [INFO] [stdout] 145 | bail!("no docker container") [INFO] [stdout] 146 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/containers.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(container) = cx.docker_container { [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] 157 | container_id = container.id; [INFO] [stdout] 158 | } else if let Some(thing) = cx.describable { [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/pages/containers.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | } else if let Some(thing) = cx.describable { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pages/containers.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 156 ~ match cx.docker_container { Some(container) => { [INFO] [stdout] 157 | container_id = container.id; [INFO] [stdout] 158 ~ } _ => { match cx.describable { Some(thing) => { [INFO] [stdout] 159 | container_id = thing.get_id(); [INFO] [stdout] 160 ~ } _ => { [INFO] [stdout] 161 | return Ok(()); [INFO] [stdout] 162 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/containers.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | if let Ok(container) = self.get_container() { [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/pages/containers.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 285 ~ match self.get_container() { Ok(container) => { [INFO] [stdout] 286 | let name = container.names.clone(); [INFO] [stdout] ... [INFO] [stdout] 305 | self.modal = Some(modal); [INFO] [stdout] 306 ~ } _ => { [INFO] [stdout] 307 | bail!("Ahhh") [INFO] [stdout] 308 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/containers.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | if let Some(m) = self.modal.as_mut() { [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/pages/containers.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 359 ~ match self.modal.as_mut() { Some(m) => { [INFO] [stdout] 360 | if let ModalState::Open(_) = m.state { [INFO] [stdout] 361 | m.draw(f, area) [INFO] [stdout] 362 | } [INFO] [stdout] 363 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/images.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(image) = cx.docker_image { [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] 122 | image_id = image.id; [INFO] [stdout] 123 | } else if let Some(thing) = cx.describable { [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/pages/images.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | } else if let Some(thing) = cx.describable { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pages/images.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 121 ~ match cx.docker_image { Some(image) => { [INFO] [stdout] 122 | image_id = image.id; [INFO] [stdout] 123 ~ } _ => { match cx.describable { Some(thing) => { [INFO] [stdout] 124 | image_id = thing.get_id(); [INFO] [stdout] 125 ~ } _ => { [INFO] [stdout] 126 | return Ok(()); [INFO] [stdout] 127 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/images.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | if let Ok(image) = self.get_image() { [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/pages/images.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 253 ~ match self.get_image() { Ok(image) => { [INFO] [stdout] 254 | let name = image.name.clone(); [INFO] [stdout] ... [INFO] [stdout] 278 | self.modal = Some(modal); [INFO] [stdout] 279 ~ } _ => { [INFO] [stdout] 280 | bail!("Ahhh") [INFO] [stdout] 281 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/images.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 316 | if let Some(m) = self.modal.as_mut() { [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/pages/images.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 316 ~ match self.modal.as_mut() { Some(m) => { [INFO] [stdout] 317 | if let ModalState::Open(_) = m.state { [INFO] [stdout] 318 | m.draw(f, area) [INFO] [stdout] 319 | } [INFO] [stdout] 320 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/logs.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | while let Some(v) = logs_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/pages/logs.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/logs.rs:155:37 [INFO] [stdout] | [INFO] [stdout] 155 | let transition = if let Some(t) = self.next.clone() { [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/pages/logs.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | } else if let Some(logs) = &self.logs { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 155 ~ let transition = match self.next.clone() { Some(t) => { [INFO] [stdout] 156 | t [INFO] [stdout] 157 ~ } _ => if let Some(logs) = &self.logs { [INFO] [stdout] 158 | Transition::ToContainerPage(AppContext { [INFO] [stdout] ... [INFO] [stdout] 163 | Transition::ToContainerPage(AppContext::default()) [INFO] [stdout] 164 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/logs.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | if let Some(container) = cx.clone().docker_container { [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/pages/logs.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 211 ~ match cx.clone().docker_container { Some(container) => { [INFO] [stdout] 212 | self.logs = Some(DockerLogs::from(container.clone())); [INFO] [stdout] 213 ~ } _ => { [INFO] [stdout] 214 | bail!("no docker container") [INFO] [stdout] 215 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/networks.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(network) = cx.docker_network { [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] 119 | network_id = network.name; [INFO] [stdout] 120 | } else if let Some(thing) = cx.describable { [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/pages/networks.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | } else if let Some(thing) = cx.describable { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pages/networks.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 118 ~ match cx.docker_network { Some(network) => { [INFO] [stdout] 119 | network_id = network.name; [INFO] [stdout] 120 ~ } _ => { match cx.describable { Some(thing) => { [INFO] [stdout] 121 | network_id = thing.get_id(); [INFO] [stdout] 122 ~ } _ => { [INFO] [stdout] 123 | return Ok(()); [INFO] [stdout] 124 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/networks.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | if let Ok(network) = self.get_network() { [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/pages/networks.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match self.get_network() { Ok(network) => { [INFO] [stdout] 270 | let name = network.name.clone(); [INFO] [stdout] ... [INFO] [stdout] 284 | self.modal = Some(modal); [INFO] [stdout] 285 ~ } _ => { [INFO] [stdout] 286 | bail!("failed to setup deletion modal") [INFO] [stdout] 287 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/networks.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 305 | if let Some(m) = self.modal.as_mut() { [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/pages/networks.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 305 ~ match self.modal.as_mut() { Some(m) => { [INFO] [stdout] 306 | if let ModalState::Open(_) = m.state { [INFO] [stdout] 307 | m.draw(f, area); [INFO] [stdout] 308 | } [INFO] [stdout] 309 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/volumes.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(volume) = cx.docker_volume { [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] 118 | volume_id = volume.name; [INFO] [stdout] 119 | } else if let Some(thing) = cx.describable { [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/pages/volumes.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | } else if let Some(thing) = cx.describable { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pages/volumes.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match cx.docker_volume { Some(volume) => { [INFO] [stdout] 118 | volume_id = volume.name; [INFO] [stdout] 119 ~ } _ => { match cx.describable { Some(thing) => { [INFO] [stdout] 120 | volume_id = thing.get_id(); [INFO] [stdout] 121 ~ } _ => { [INFO] [stdout] 122 | return Ok(()); [INFO] [stdout] 123 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/volumes.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | if let Ok(volume) = self.get_volume() { [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/pages/volumes.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 267 ~ match self.get_volume() { Ok(volume) => { [INFO] [stdout] 268 | let name = volume.name.clone(); [INFO] [stdout] ... [INFO] [stdout] 292 | self.modal = Some(modal); [INFO] [stdout] 293 ~ } _ => { [INFO] [stdout] 294 | bail!("Ahhh") [INFO] [stdout] 295 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/volumes.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | if let Some(m) = self.modal.as_mut() { [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/pages/volumes.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 313 ~ match self.modal.as_mut() { Some(m) => { [INFO] [stdout] 314 | if let ModalState::Open(_) = m.state { [INFO] [stdout] 315 | m.draw(f, area); [INFO] [stdout] 316 | } [INFO] [stdout] 317 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tracing.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | } else if let Ok(p) = get_app_config_path() { [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/tracing.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 26 ~ } else { match get_app_config_path() { Ok(p) => { [INFO] [stdout] 27 | p [INFO] [stdout] 28 ~ } _ => { [INFO] [stdout] 29 | PathBuf::from(".").join(".data") [INFO] [stdout] 30 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | (target: $target:expr, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 73 | (target: $target:expr_2021, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `ducker` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:73:42 [INFO] [stdout] | [INFO] [stdout] 73 | (target: $target:expr, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 73 | (target: $target:expr, level: $level:expr_2021, $ex:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | (target: $target:expr, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 73 | (target: $target:expr, level: $level:expr, $ex:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | (level: $level:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | (level: $level:expr_2021, $ex:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | (level: $level:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | (level: $level:expr, $ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/tracing.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:84:22 [INFO] [stdout] | [INFO] [stdout] 84 | (target: $target:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 84 | (target: $target:expr_2021, $ex:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:84:32 [INFO] [stdout] | [INFO] [stdout] 84 | (target: $target:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 84 | (target: $target:expr, $ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/tracing.rs:87:10 [INFO] [stdout] | [INFO] [stdout] 87 | ($ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 87 | ($ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/tracing.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / std::env::set_var( [INFO] [stdout] 45 | | "RUST_LOG", [INFO] [stdout] 46 | | std::env::var("RUST_LOG") [INFO] [stdout] 47 | | .or_else(|_| std::env::var(LOG_ENV.clone())) [INFO] [stdout] 48 | | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 49 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] = note: `--force-warn deprecated-safe-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 44 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 45 ~ unsafe { std::env::set_var( [INFO] [stdout] 46 | "RUST_LOG", [INFO] [stdout] ... [INFO] [stdout] 49 | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 50 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | if let Ok(f) = File::open(config_path) { [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/config.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 38 ~ match File::open(config_path) { Ok(f) => { [INFO] [stdout] 39 | config = serde_yml::from_reader(BufReader::new(f)).context("unable to parse config")?; [INFO] [stdout] 40 ~ } _ => { [INFO] [stdout] 41 | config = Config::default() [INFO] [stdout] 42 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stdout] warning: `impl Stream` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/docker/logs.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | ) -> impl 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, these lifetimes are in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/docker/logs.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | &self, [INFO] [stdout] | ^ [INFO] [stdout] 55 | docker: &bollard::Docker, [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] 57 | ) -> impl Stream + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/events/event_loop.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | if let Some(event) = locked_rx.recv().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/events/event_loop.rs:134:25 [INFO] [stdout] | [INFO] [stdout] 134 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 131 ~ match locked_rx.recv().await { Some(event) => { [INFO] [stdout] 132 | trace!("received inbound task `{}`", stringify!(event)); [INFO] [stdout] 133 | tx.send(event).await.unwrap() [INFO] [stdout] 134 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/attach.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | let transition = if let Some(t) = &self.next { [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/pages/attach.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 73 ~ let transition = match &self.next { Some(t) => { [INFO] [stdout] 74 | t.clone() [INFO] [stdout] 75 ~ } _ => { [INFO] [stdout] 76 | Transition::ToContainerPage(AppContext::default()) [INFO] [stdout] 77 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/attach.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(container) = cx.clone().docker_container { [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/pages/attach.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 137 ~ match cx.clone().docker_container { Some(container) => { [INFO] [stdout] 138 | let page_name = format!("{NAME} ({})", container.get_name()); [INFO] [stdout] ... [INFO] [stdout] 143 | self.container = Some(container) [INFO] [stdout] 144 ~ } _ => { [INFO] [stdout] 145 | bail!("no docker container") [INFO] [stdout] 146 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/containers.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | if let Some(container) = cx.docker_container { [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] 157 | container_id = container.id; [INFO] [stdout] 158 | } else if let Some(thing) = cx.describable { [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/pages/containers.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | } else if let Some(thing) = cx.describable { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pages/containers.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 156 ~ match cx.docker_container { Some(container) => { [INFO] [stdout] 157 | container_id = container.id; [INFO] [stdout] 158 ~ } _ => { match cx.describable { Some(thing) => { [INFO] [stdout] 159 | container_id = thing.get_id(); [INFO] [stdout] 160 ~ } _ => { [INFO] [stdout] 161 | return Ok(()); [INFO] [stdout] 162 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:74:14 [INFO] [stderr] | [INFO] [stderr] 74 | (target: $target:expr_2021, level: $level:expr_2021, $ex:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:74:40 [INFO] [stderr] | [INFO] [stderr] 74 | (target: $target:expr_2021, level: $level:expr_2021, $ex:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:74:58 [INFO] [stderr] | [INFO] [stderr] 74 | (target: $target:expr_2021, level: $level:expr_2021, $ex:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/containers.rs:285:12 [INFO] [stdout] | [INFO] [stdout] 285 | if let Ok(container) = self.get_container() { [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/pages/containers.rs:306:9 [INFO] [stdout] | [INFO] [stdout] 306 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 285 ~ match self.get_container() { Ok(container) => { [INFO] [stdout] 286 | let name = container.names.clone(); [INFO] [stdout] ... [INFO] [stdout] 305 | self.modal = Some(modal); [INFO] [stdout] 306 ~ } _ => { [INFO] [stdout] 307 | bail!("Ahhh") [INFO] [stdout] 308 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:82:13 [INFO] [stderr] | [INFO] [stderr] 82 | (level: $level:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:82:31 [INFO] [stderr] | [INFO] [stderr] 82 | (level: $level:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:85:14 [INFO] [stderr] | [INFO] [stderr] 85 | (target: $target:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:85:33 [INFO] [stderr] | [INFO] [stderr] 85 | (target: $target:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/tracing.rs:88:6 [INFO] [stderr] | [INFO] [stderr] 88 | ($ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/containers.rs:359:12 [INFO] [stdout] | [INFO] [stdout] 359 | if let Some(m) = self.modal.as_mut() { [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/pages/containers.rs:363:9 [INFO] [stdout] | [INFO] [stdout] 363 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 359 ~ match self.modal.as_mut() { Some(m) => { [INFO] [stdout] 360 | if let ModalState::Open(_) = m.state { [INFO] [stdout] 361 | m.draw(f, area) [INFO] [stdout] 362 | } [INFO] [stdout] 363 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/images.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | if let Some(image) = cx.docker_image { [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] 122 | image_id = image.id; [INFO] [stdout] 123 | } else if let Some(thing) = cx.describable { [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/pages/images.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | } else if let Some(thing) = cx.describable { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pages/images.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 121 ~ match cx.docker_image { Some(image) => { [INFO] [stdout] 122 | image_id = image.id; [INFO] [stdout] 123 ~ } _ => { match cx.describable { Some(thing) => { [INFO] [stdout] 124 | image_id = thing.get_id(); [INFO] [stdout] 125 ~ } _ => { [INFO] [stdout] 126 | return Ok(()); [INFO] [stdout] 127 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/images.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | if let Ok(image) = self.get_image() { [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/pages/images.rs:279:9 [INFO] [stdout] | [INFO] [stdout] 279 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 253 ~ match self.get_image() { Ok(image) => { [INFO] [stdout] 254 | let name = image.name.clone(); [INFO] [stdout] ... [INFO] [stdout] 278 | self.modal = Some(modal); [INFO] [stdout] 279 ~ } _ => { [INFO] [stdout] 280 | bail!("Ahhh") [INFO] [stdout] 281 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/images.rs:316:12 [INFO] [stdout] | [INFO] [stdout] 316 | if let Some(m) = self.modal.as_mut() { [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/pages/images.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 316 ~ match self.modal.as_mut() { Some(m) => { [INFO] [stdout] 317 | if let ModalState::Open(_) = m.state { [INFO] [stdout] 318 | m.draw(f, area) [INFO] [stdout] 319 | } [INFO] [stdout] 320 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/logs.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | while let Some(v) = logs_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/pages/logs.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/logs.rs:155:37 [INFO] [stdout] | [INFO] [stdout] 155 | let transition = if let Some(t) = self.next.clone() { [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/pages/logs.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | } else if let Some(logs) = &self.logs { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 155 ~ let transition = match self.next.clone() { Some(t) => { [INFO] [stdout] 156 | t [INFO] [stdout] 157 ~ } _ => if let Some(logs) = &self.logs { [INFO] [stdout] 158 | Transition::ToContainerPage(AppContext { [INFO] [stdout] ... [INFO] [stdout] 163 | Transition::ToContainerPage(AppContext::default()) [INFO] [stdout] 164 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/logs.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | if let Some(container) = cx.clone().docker_container { [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/pages/logs.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 211 ~ match cx.clone().docker_container { Some(container) => { [INFO] [stdout] 212 | self.logs = Some(DockerLogs::from(container.clone())); [INFO] [stdout] 213 ~ } _ => { [INFO] [stdout] 214 | bail!("no docker container") [INFO] [stdout] 215 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/networks.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | if let Some(network) = cx.docker_network { [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] 119 | network_id = network.name; [INFO] [stdout] 120 | } else if let Some(thing) = cx.describable { [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/pages/networks.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | } else if let Some(thing) = cx.describable { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pages/networks.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 118 ~ match cx.docker_network { Some(network) => { [INFO] [stdout] 119 | network_id = network.name; [INFO] [stdout] 120 ~ } _ => { match cx.describable { Some(thing) => { [INFO] [stdout] 121 | network_id = thing.get_id(); [INFO] [stdout] 122 ~ } _ => { [INFO] [stdout] 123 | return Ok(()); [INFO] [stdout] 124 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/networks.rs:269:12 [INFO] [stdout] | [INFO] [stdout] 269 | if let Ok(network) = self.get_network() { [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/pages/networks.rs:285:9 [INFO] [stdout] | [INFO] [stdout] 285 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 269 ~ match self.get_network() { Ok(network) => { [INFO] [stdout] 270 | let name = network.name.clone(); [INFO] [stdout] ... [INFO] [stdout] 284 | self.modal = Some(modal); [INFO] [stdout] 285 ~ } _ => { [INFO] [stdout] 286 | bail!("failed to setup deletion modal") [INFO] [stdout] 287 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/networks.rs:305:12 [INFO] [stdout] | [INFO] [stdout] 305 | if let Some(m) = self.modal.as_mut() { [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/pages/networks.rs:309:9 [INFO] [stdout] | [INFO] [stdout] 309 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 305 ~ match self.modal.as_mut() { Some(m) => { [INFO] [stdout] 306 | if let ModalState::Open(_) = m.state { [INFO] [stdout] 307 | m.draw(f, area); [INFO] [stdout] 308 | } [INFO] [stdout] 309 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/volumes.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | if let Some(volume) = cx.docker_volume { [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] 118 | volume_id = volume.name; [INFO] [stdout] 119 | } else if let Some(thing) = cx.describable { [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/pages/volumes.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | } else if let Some(thing) = cx.describable { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/pages/volumes.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 117 ~ match cx.docker_volume { Some(volume) => { [INFO] [stdout] 118 | volume_id = volume.name; [INFO] [stdout] 119 ~ } _ => { match cx.describable { Some(thing) => { [INFO] [stdout] 120 | volume_id = thing.get_id(); [INFO] [stdout] 121 ~ } _ => { [INFO] [stdout] 122 | return Ok(()); [INFO] [stdout] 123 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/volumes.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | if let Ok(volume) = self.get_volume() { [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/pages/volumes.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 267 ~ match self.get_volume() { Ok(volume) => { [INFO] [stdout] 268 | let name = volume.name.clone(); [INFO] [stdout] ... [INFO] [stdout] 292 | self.modal = Some(modal); [INFO] [stdout] 293 ~ } _ => { [INFO] [stdout] 294 | bail!("Ahhh") [INFO] [stdout] 295 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/pages/volumes.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 313 | if let Some(m) = self.modal.as_mut() { [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/pages/volumes.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 313 ~ match self.modal.as_mut() { Some(m) => { [INFO] [stdout] 314 | if let ModalState::Open(_) = m.state { [INFO] [stdout] 315 | m.draw(f, area); [INFO] [stdout] 316 | } [INFO] [stdout] 317 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tracing.rs:26:15 [INFO] [stdout] | [INFO] [stdout] 26 | } else if let Ok(p) = get_app_config_path() { [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/tracing.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | } else { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 26 ~ } else { match get_app_config_path() { Ok(p) => { [INFO] [stdout] 27 | p [INFO] [stdout] 28 ~ } _ => { [INFO] [stdout] 29 | PathBuf::from(".").join(".data") [INFO] [stdout] 30 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.18s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking ducker v0.1.4 (/tmp/fixit) [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/pages/logs.rs:130:35 [INFO] [stdout] | [INFO] [stdout] 127 | async fn start_log_stream(&mut self) -> Result<()> { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 130 | let mut logs_stream = logs.get_log_stream(&self.docker, self.stream_options.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0521]: borrowed data escapes outside of method [INFO] [stdout] --> src/pages/logs.rs:130:35 [INFO] [stdout] | [INFO] [stdout] 127 | async fn start_log_stream(&mut self) -> Result<()> { [INFO] [stdout] | --------- [INFO] [stdout] | | [INFO] [stdout] | `self` is a reference that is only valid in the method body [INFO] [stdout] | let's call the lifetime of this reference `'1` [INFO] [stdout] ... [INFO] [stdout] 130 | let mut logs_stream = logs.get_log_stream(&self.docker, self.stream_options.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `self` escapes the method body here [INFO] [stdout] | argument requires that `'1` must outlive `'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/tracing.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / std::env::set_var( [INFO] [stdout] 45 | | "RUST_LOG", [INFO] [stdout] 46 | | std::env::var("RUST_LOG") [INFO] [stdout] 47 | | .or_else(|_| std::env::var(LOG_ENV.clone())) [INFO] [stdout] 48 | | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 49 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ducker` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/tracing.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | / std::env::set_var( [INFO] [stdout] 45 | | "RUST_LOG", [INFO] [stdout] 46 | | std::env::var("RUST_LOG") [INFO] [stdout] 47 | | .or_else(|_| std::env::var(LOG_ENV.clone())) [INFO] [stdout] 48 | | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 49 | | ); [INFO] [stdout] | |_____^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0133, E0521. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ducker` (lib) 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" "eebc2eb22471856968b73d4afab82024c5bfad960574a3aec49131514cfffde2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebc2eb22471856968b73d4afab82024c5bfad960574a3aec49131514cfffde2", kill_on_drop: false }` [INFO] [stdout] eebc2eb22471856968b73d4afab82024c5bfad960574a3aec49131514cfffde2