[INFO] fetching crate shmy 0.17.5... [INFO] checking shmy-0.17.5 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate shmy 0.17.5 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate shmy 0.17.5 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 shmy 0.17.5 [INFO] finished tweaking crates.io crate shmy 0.17.5 [INFO] tweaked toml for crates.io crate shmy 0.17.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate shmy 0.17.5 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 64bb7773db42658a10a7796283faeea65eeb58d822449c4ba356b3ec0abab4e4 [INFO] running `Command { std: "docker" "start" "-a" "64bb7773db42658a10a7796283faeea65eeb58d822449c4ba356b3ec0abab4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64bb7773db42658a10a7796283faeea65eeb58d822449c4ba356b3ec0abab4e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64bb7773db42658a10a7796283faeea65eeb58d822449c4ba356b3ec0abab4e4", kill_on_drop: false }` [INFO] [stdout] 64bb7773db42658a10a7796283faeea65eeb58d822449c4ba356b3ec0abab4e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] eba3116edc0647e5426d20d00e4818fdb17f27295cfefd5fadea1a10001c455b [INFO] running `Command { std: "docker" "start" "-a" "eba3116edc0647e5426d20d00e4818fdb17f27295cfefd5fadea1a10001c455b", 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 libc v0.2.158 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking once_cell v1.20.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling terminfo v0.8.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Compiling portable-atomic v1.7.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking is-docker v0.2.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking fd-lock v4.0.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking which v6.0.3 [INFO] [stderr] Checking is-wsl v0.4.0 [INFO] [stderr] Compiling parse-zoneinfo v0.3.1 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling chrono-tz-build v0.4.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling chrono-tz v0.10.0 [INFO] [stderr] Compiling rustyline-derive v0.10.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Checking filedescriptor v0.8.2 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking gag v1.0.0 [INFO] [stderr] Checking open v5.3.0 [INFO] [stderr] Checking sysinfo v0.31.4 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking os_pipe v1.2.1 [INFO] [stderr] Checking uzers v0.12.1 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking clearscreen v3.0.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking shmy v0.17.5 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `shmy` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/eval.rs [INFO] [stderr] * src/macros.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/macros.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 52 | ($scope:expr_2021, $($arg:tt)*) => {{ [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/eval.rs:530:6 [INFO] [stderr] | [INFO] [stderr] 530 | ($self:expr_2021, $tok: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/eval.rs:530:23 [INFO] [stderr] | [INFO] [stderr] 530 | ($self:expr_2021, $tok: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/eval.rs:539:6 [INFO] [stderr] | [INFO] [stderr] 539 | ($self:expr_2021, $tok:expr_2021, $single_token: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/eval.rs:539:23 [INFO] [stderr] | [INFO] [stderr] 539 | ($self:expr_2021, $tok:expr_2021, $single_token: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/eval.rs:539:39 [INFO] [stderr] | [INFO] [stderr] 539 | ($self:expr_2021, $tok:expr_2021, $single_token: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/eval.rs:546:6 [INFO] [stderr] | [INFO] [stderr] 546 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $double_token: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/eval.rs:546:23 [INFO] [stderr] | [INFO] [stderr] 546 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $double_token: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/eval.rs:546:39 [INFO] [stderr] | [INFO] [stderr] 546 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $double_token: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/eval.rs:546:58 [INFO] [stderr] | [INFO] [stderr] 546 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $double_token: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/eval.rs:559:6 [INFO] [stderr] | [INFO] [stderr] 559 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $single_token:expr_2021, $double_token: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/eval.rs:559:23 [INFO] [stderr] | [INFO] [stderr] 559 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $single_token:expr_2021, $double_token: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/eval.rs:559:39 [INFO] [stderr] | [INFO] [stderr] 559 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $single_token:expr_2021, $double_token: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/eval.rs:559:58 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | ($scope:expr, $($arg:tt)*) => {{ [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] 52 | ($scope:expr_2021, $($arg:tt)*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 559 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $single_token:expr_2021, $double_token: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/eval.rs:559:83 [INFO] [stderr] | [INFO] [stderr] 559 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $single_token:expr_2021, $double_token: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/eval.rs:1572:6 [INFO] [stderr] | [INFO] [stderr] 1572 | ($self:expr_2021, $i:expr_2021, $rhs: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/eval.rs:1572:23 [INFO] [stderr] | [INFO] [stderr] 1572 | ($self:expr_2021, $i:expr_2021, $rhs: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/eval.rs:1572:37 [INFO] [stderr] | [INFO] [stderr] 1572 | ($self:expr_2021, $i:expr_2021, $rhs: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/eval.rs:2059:6 [INFO] [stderr] | [INFO] [stderr] 2059 | ($self:expr_2021, $f:ident) => { [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/eval.rs:2221:6 [INFO] [stderr] | [INFO] [stderr] 2221 | ($redir:expr_2021, $loc: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/eval.rs:2221:24 [INFO] [stderr] | [INFO] [stderr] 2221 | ($redir:expr_2021, $loc: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/eval.rs:2564:6 [INFO] [stderr] | [INFO] [stderr] 2564 | ($self:expr_2021, $result:ident) => { [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 22 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/eval.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 530 | ($self:expr, $tok: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] 530 | ($self:expr_2021, $tok: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/eval.rs:530:23 [INFO] [stdout] | [INFO] [stdout] 530 | ($self:expr, $tok: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] 530 | ($self:expr, $tok: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/eval.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | ($self:expr, $tok:expr, $single_token: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] 539 | ($self:expr_2021, $tok:expr, $single_token: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/eval.rs:539:23 [INFO] [stdout] | [INFO] [stdout] 539 | ($self:expr, $tok:expr, $single_token: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] 539 | ($self:expr, $tok:expr_2021, $single_token: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/eval.rs:539:43 [INFO] [stdout] | [INFO] [stdout] 539 | ($self:expr, $tok:expr, $single_token: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] 539 | ($self:expr, $tok:expr, $single_token: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/eval.rs:546:12 [INFO] [stdout] | [INFO] [stdout] 546 | ($self:expr, $tok:expr, $second:expr, $double_token: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] 546 | ($self:expr_2021, $tok:expr, $second:expr, $double_token: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/eval.rs:546:23 [INFO] [stdout] | [INFO] [stdout] 546 | ($self:expr, $tok:expr, $second:expr, $double_token: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] 546 | ($self:expr, $tok:expr_2021, $second:expr, $double_token: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/eval.rs:546:37 [INFO] [stdout] | [INFO] [stdout] 546 | ($self:expr, $tok:expr, $second:expr, $double_token: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] 546 | ($self:expr, $tok:expr, $second:expr_2021, $double_token: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/eval.rs:546:57 [INFO] [stdout] | [INFO] [stdout] 546 | ($self:expr, $tok:expr, $second:expr, $double_token: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] 546 | ($self:expr, $tok:expr, $second:expr, $double_token: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/eval.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr, $double_token: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] 559 | ($self:expr_2021, $tok:expr, $second:expr, $single_token:expr, $double_token: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/eval.rs:559:23 [INFO] [stdout] | [INFO] [stdout] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr, $double_token: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] 559 | ($self:expr, $tok:expr_2021, $second:expr, $single_token:expr, $double_token: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/eval.rs:559:37 [INFO] [stdout] | [INFO] [stdout] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr, $double_token: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] 559 | ($self:expr, $tok:expr, $second:expr_2021, $single_token:expr, $double_token: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/eval.rs:559:57 [INFO] [stdout] | [INFO] [stdout] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr, $double_token: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] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr_2021, $double_token: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/eval.rs:559:77 [INFO] [stdout] | [INFO] [stdout] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr, $double_token: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] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr, $double_token: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/eval.rs:1572:12 [INFO] [stdout] | [INFO] [stdout] 1572 | ($self:expr, $i:expr, $rhs: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] 1572 | ($self:expr_2021, $i:expr, $rhs: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/eval.rs:1572:21 [INFO] [stdout] | [INFO] [stdout] 1572 | ($self:expr, $i:expr, $rhs: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] 1572 | ($self:expr, $i:expr_2021, $rhs: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/eval.rs:1572:32 [INFO] [stdout] | [INFO] [stdout] 1572 | ($self:expr, $i:expr, $rhs: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] 1572 | ($self:expr, $i:expr, $rhs: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/eval.rs:2059:12 [INFO] [stdout] | [INFO] [stdout] 2059 | ($self:expr, $f:ident) => { [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] 2059 | ($self:expr_2021, $f:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:2221:13 [INFO] [stdout] | [INFO] [stdout] 2221 | ($redir:expr, $loc: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] 2221 | ($redir:expr_2021, $loc: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/eval.rs:2221:24 [INFO] [stdout] | [INFO] [stdout] 2221 | ($redir:expr, $loc: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] 2221 | ($redir:expr, $loc: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/eval.rs:2564:12 [INFO] [stdout] | [INFO] [stdout] 2564 | ($self:expr, $result:ident) => { [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] 2564 | ($self:expr_2021, $result:ident) => { [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/scope.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | env::set_var("SHELL", executable().unwrap_or("shmy".to_string())); [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] 219 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 220 ~ unsafe { env::set_var("SHELL", executable().unwrap_or("shmy".to_string())) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/scope.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | env::remove_var(ident.view()); [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] 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] 278 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 279 ~ unsafe { env::remove_var(ident.view()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | env::vars().for_each(|(key, _)| env::remove_var(key)); [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] 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] 28 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 29 ~ env::vars().for_each(|(key, _)| unsafe { env::remove_var(key) }); [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/utils.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | env::set_var(key.as_str(), var.to_string()); [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] 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] 31 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 32 ~ unsafe { env::set_var(key.as_str(), var.to_string()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | if let Ok(Some(sr)) = ctx.history().get(index, SearchDirection::Forward) { [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/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | } [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] 65 ~ match ctx.history().get(index, SearchDirection::Forward) { Ok(Some(sr)) => { [INFO] [stdout] 66 | if sr.entry.starts_with(line) { [INFO] [stdout] 67 | candidates.insert(sr.entry[pos..].to_owned()); [INFO] [stdout] 68 | } [INFO] [stdout] 69 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:250:16 [INFO] [stdout] | [INFO] [stdout] 250 | if let Some(v) = self.scope.lookup("HOME") { [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/main.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 250 ~ match self.scope.lookup("HOME") { Some(v) => { [INFO] [stdout] 251 | keywords.push(completion::Pair { [INFO] [stdout] ... [INFO] [stdout] 255 | kw_pos = 0; [INFO] [stdout] 256 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:292:16 [INFO] [stdout] | [INFO] [stdout] 292 | if let Ok((start, v)) = completions { [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/main.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 292 ~ match completions { Ok((start, v)) => { [INFO] [stdout] 293 | if !v.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 306 | } [INFO] [stdout] 307 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:470:32 [INFO] [stdout] | [INFO] [stdout] 470 | ... if let Some(history_entry) = search_history(&rl, &line) { [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/main.rs:477:29 [INFO] [stdout] | [INFO] [stdout] 477 | ... } 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] 470 ~ match search_history(&rl, &line) { Some(history_entry) => { [INFO] [stdout] 471 | eprintln!("{}", &history_entry); [INFO] [stdout] ... [INFO] [stdout] 476 | self.eval(&history_entry); [INFO] [stdout] 477 ~ } _ => { [INFO] [stdout] 478 | println!("No match."); [INFO] [stdout] 479 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:577:24 [INFO] [stdout] | [INFO] [stdout] 577 | if let Err(e) = &status.borrow().result { [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/main.rs:579:21 [INFO] [stdout] | [INFO] [stdout] 579 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 577 ~ match &status.borrow().result { Err(e) => { [INFO] [stdout] 578 | e.show(&scope, input); [INFO] [stdout] 579 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:594:12 [INFO] [stdout] | [INFO] [stdout] 594 | if let Some(reader) = self.source.take() { [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/main.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | } 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] 594 ~ match self.source.take() { Some(reader) => { [INFO] [stdout] 595 | self.read_lines(reader) [INFO] [stdout] 596 ~ } _ => { [INFO] [stdout] 597 | panic!("No input source") [INFO] [stdout] 598 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | if let Ok(perms) = fs::metadata(path).map(|m| m.permissions()) { [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/cmds.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | } 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] 170 ~ match fs::metadata(path).map(|m| m.permissions()) { Ok(perms) => { [INFO] [stdout] 171 | perms.mode() & 0o111 != 0 // Check if any execute bit is set [INFO] [stdout] 172 ~ } _ => { [INFO] [stdout] 173 | false [INFO] [stdout] 174 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/cp.rs:280:16 [INFO] [stdout] | [INFO] [stdout] 280 | if let Some(pb) = &self.progress { [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/cmds/cp.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 280 ~ match &self.progress { Some(pb) => { [INFO] [stdout] 281 | pb.set_message(format!("{}", Self::truncate_path(path))); [INFO] [stdout] 282 | pb.set_position(self.total_size); [INFO] [stdout] 283 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/cp.rs:496:16 [INFO] [stdout] | [INFO] [stdout] 496 | if let Some(pb) = self.progress.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/cmds/cp.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 496 ~ match self.progress.as_mut() { Some(pb) => { [INFO] [stdout] 497 | pb.inc(n as u64); [INFO] [stdout] 498 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/less.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | if let Some(line) = self.lines.get(index) { [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/cmds/less.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 218 ~ match self.lines.get(index) { Some(line) => { [INFO] [stdout] 219 | self.display_line(&line.trim_end(), buffer)?; [INFO] [stdout] 220 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/less.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(pos) = self.lines.get(i).and_then(|s| s.find(query)) { [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/cmds/less.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 384 ~ match self.lines.get(i).and_then(|s| s.find(query)) { Some(pos) => { [INFO] [stdout] 385 | found = true; [INFO] [stdout] ... [INFO] [stdout] 392 | break; [INFO] [stdout] 393 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/ps.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if let (Some(lhs), Some(rhs)) = ( [INFO] [stdout] | ____________^ [INFO] [stdout] 97 | | self.field(lhs).as_any().downcast_ref::(), [INFO] [stdout] | | --------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 98 | | self.field(rhs).as_any().downcast_ref::(), [INFO] [stdout] 99 | | ) { [INFO] [stdout] | |_________^ [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/cmds/ps.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | } 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] 96 ~ match ( [INFO] [stdout] 97 | self.field(lhs).as_any().downcast_ref::(), [INFO] [stdout] 98 | self.field(rhs).as_any().downcast_ref::(), [INFO] [stdout] 99 ~ ) { (Some(lhs), Some(rhs)) => { [INFO] [stdout] 100 | lhs.cmp(rhs) [INFO] [stdout] 101 ~ } _ => { [INFO] [stdout] 102 | // Types don't match or can't be compared? Fall back to string comparison. [INFO] [stdout] 103 | self.field_as_string(lhs).cmp(&self.field_as_string(rhs)) [INFO] [stdout] 104 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/ps.rs:333:16 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(col) = self.columns.iter().find(|col| col.name() == *k) { [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/cmds/ps.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 333 ~ match self.columns.iter().find(|col| col.name() == *k) { Some(col) => { [INFO] [stdout] 334 | processes.sort_by(|lhs, rhs| { [INFO] [stdout] ... [INFO] [stdout] 341 | }); [INFO] [stdout] 342 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/ps.rs:370:16 [INFO] [stdout] | [INFO] [stdout] 370 | if let Some(col) = self.columns.iter().find(|col| col.name() == name) { [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/cmds/ps.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | } 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] 370 ~ match self.columns.iter().find(|col| col.name() == name) { Some(col) => { [INFO] [stdout] 371 | let col_name = col.name(); // 'static reference [INFO] [stdout] ... [INFO] [stdout] 380 | self.sort_keys.push((col_name, reverse)); [INFO] [stdout] 381 ~ } _ => { [INFO] [stdout] 382 | return Err(format_error( [INFO] [stdout] ... [INFO] [stdout] 387 | )); [INFO] [stdout] 388 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/vars.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | while let Some(scope) = current_scope { [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/cmds/vars.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:648:20 [INFO] [stdout] | [INFO] [stdout] 648 | if let Some(v) = self.scope.lookup("HOME") { [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/eval.rs:650:17 [INFO] [stdout] | [INFO] [stdout] 650 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 648 ~ match self.scope.lookup("HOME") { Some(v) => { [INFO] [stdout] 649 | self.text = format!("{}{}", v.value().as_str(), &self.text[1..]); [INFO] [stdout] 650 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:706:15 [INFO] [stdout] | [INFO] [stdout] 706 | while let Some(c) = self.chars.peek().cloned() { [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/eval.rs:867:9 [INFO] [stdout] | [INFO] [stdout] 867 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:549:12 [INFO] [stdout] | [INFO] [stdout] 549 | if let Some(&next_c) = $self.chars.peek() { [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] 729 | '&' => token!(self, tok, '&', Token::Operator(Op::And)), [INFO] [stdout] | ------------------------------------------------ in this macro invocation [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/eval.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 729 | '&' => token!(self, tok, '&', Token::Operator(Op::And)), [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:746:24 [INFO] [stdout] | [INFO] [stdout] 746 | if let Some(&next_c) = self.chars.peek() { [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/eval.rs:765:21 [INFO] [stdout] | [INFO] [stdout] 765 | } 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] 746 ~ match self.chars.peek() { Some(&next_c) => { [INFO] [stdout] 747 | if next_c == '=' { [INFO] [stdout] ... [INFO] [stdout] 764 | tok = Token::Operator(Op::Assign); [INFO] [stdout] 765 ~ } _ => { [INFO] [stdout] 766 | // Handle trailing equals [INFO] [stdout] 767 | tok = Token::Operator(Op::Assign); [INFO] [stdout] 768 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:798:27 [INFO] [stdout] | [INFO] [stdout] 798 | while let Some(&next_c) = self.chars.peek() { [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/eval.rs:857:21 [INFO] [stdout] | [INFO] [stdout] 857 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:826:40 [INFO] [stdout] | [INFO] [stdout] 826 | ... if let Some(next_c) = self.chars.peek() { [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/eval.rs:832:37 [INFO] [stdout] | [INFO] [stdout] 832 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 826 ~ match self.chars.peek() { Some(next_c) => { [INFO] [stdout] 827 | if *next_c == '(' { [INFO] [stdout] ... [INFO] [stdout] 831 | } [INFO] [stdout] 832 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | if let Expression::Args(a) = &*self.group { [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/eval.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 905 | } 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] 901 ~ match &*self.group { Expression::Args(a) => { [INFO] [stdout] 902 | a.borrow_mut().add_child(&self.current_expr)?; [INFO] [stdout] 903 | self.current_expr = Rc::clone(&expr); [INFO] [stdout] 904 | return Ok(()); [INFO] [stdout] 905 ~ } _ => { [INFO] [stdout] 906 | return error(&**expr, "Unexpected expression, missing semicolon?"); [INFO] [stdout] 907 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:942:15 [INFO] [stdout] | [INFO] [stdout] 942 | while let Some(stack_top) = self.expr_stack.last() { [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/eval.rs:959:9 [INFO] [stdout] | [INFO] [stdout] 959 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:972:16 [INFO] [stdout] | [INFO] [stdout] 972 | if let Some(top) = self.expr_stack.last() { [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/eval.rs:976:13 [INFO] [stdout] | [INFO] [stdout] 976 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 972 ~ match self.expr_stack.last() { Some(top) => { [INFO] [stdout] 973 | if top.is_assignment() { [INFO] [stdout] 974 | self.current_expr = self.expr_stack.pop().unwrap(); [INFO] [stdout] 975 | } [INFO] [stdout] 976 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:980:12 [INFO] [stdout] | [INFO] [stdout] 980 | if let Expression::Args(g) = &*group { [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/eval.rs:986:9 [INFO] [stdout] | [INFO] [stdout] 986 | } else if !self.current_expr.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 980 ~ match &*group { Expression::Args(g) => { [INFO] [stdout] 981 | self.pop_binary_ops(true)?; [INFO] [stdout] ... [INFO] [stdout] 985 | self.pop_group()?; [INFO] [stdout] 986 ~ } _ => if !self.current_expr.is_empty() { [INFO] [stdout] 987 | if let Expression::Group(g) = &*group { [INFO] [stdout] ... [INFO] [stdout] 992 | } [INFO] [stdout] 993 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:987:16 [INFO] [stdout] | [INFO] [stdout] 987 | if let Expression::Group(g) = &*group { [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/eval.rs:990:13 [INFO] [stdout] | [INFO] [stdout] 990 | } 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] 987 ~ match &*group { Expression::Group(g) => { [INFO] [stdout] 988 | self.pop_binary_ops(true)?; [INFO] [stdout] 989 | g.borrow_mut().add_child(&self.current_expr)?; [INFO] [stdout] 990 ~ } _ => { [INFO] [stdout] 991 | panic!("Unexpected group error"); [INFO] [stdout] 992 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1110:28 [INFO] [stdout] | [INFO] [stdout] 1110 | if let Expression::For(f) = &*self.current_expr { [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/eval.rs:1115:25 [INFO] [stdout] | [INFO] [stdout] 1115 | } 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] 1110 ~ match &*self.current_expr { Expression::For(f) => { [INFO] [stdout] 1111 | if f.borrow().var.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 1114 | self.prev_loc = self.loc(); [INFO] [stdout] 1115 ~ } _ => { [INFO] [stdout] 1116 | return error(self, "IN without FOR"); [INFO] [stdout] 1117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1120:28 [INFO] [stdout] | [INFO] [stdout] 1120 | if let Expression::Branch(b) = &*self.current_expr { [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/eval.rs:1127:25 [INFO] [stdout] | [INFO] [stdout] 1127 | } 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] 1120 ~ match &*self.current_expr { Expression::Branch(b) => { [INFO] [stdout] 1121 | if !b.borrow_mut().is_else_expected() { [INFO] [stdout] ... [INFO] [stdout] 1126 | self.push(Group::None)?; [INFO] [stdout] 1127 ~ } _ => { [INFO] [stdout] 1128 | return error(self, "ELSE without IF"); [INFO] [stdout] 1129 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1159:28 [INFO] [stdout] | [INFO] [stdout] 1159 | if let Some(cmd) = get_command(&text.value) { [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/eval.rs:1172:25 [INFO] [stdout] | [INFO] [stdout] 1172 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1159 ~ match get_command(&text.value) { Some(cmd) => { [INFO] [stdout] 1160 | let expr = Rc::new(Expression::Cmd(RefCell::new(Command { [INFO] [stdout] ... [INFO] [stdout] 1171 | continue; [INFO] [stdout] 1172 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1242:15 [INFO] [stdout] | [INFO] [stdout] 1242 | while let Some(top) = self.expr_stack.last().cloned() { [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/eval.rs:1261:9 [INFO] [stdout] | [INFO] [stdout] 1261 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1249:24 [INFO] [stdout] | [INFO] [stdout] 1249 | if let Expression::Bin(b) = &*top { [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/eval.rs:1253:21 [INFO] [stdout] | [INFO] [stdout] 1253 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1249 ~ match &*top { Expression::Bin(b) => { [INFO] [stdout] 1250 | assert!(b.borrow().op == Op::Pipe); [INFO] [stdout] 1251 | tail = Rc::clone(&b.borrow().lhs); [INFO] [stdout] 1252 | head = Rc::clone(&tail); [INFO] [stdout] 1253 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1332:24 [INFO] [stdout] | [INFO] [stdout] 1332 | if let Ok(re) = Regex::new(search) { [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/eval.rs:1345:21 [INFO] [stdout] | [INFO] [stdout] 1345 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1332 ~ match Regex::new(search) { Ok(re) => { [INFO] [stdout] 1333 | // Implement bash-like substitution with capture groups [INFO] [stdout] ... [INFO] [stdout] 1344 | .into_owned(); [INFO] [stdout] 1345 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1456:37 [INFO] [stdout] | [INFO] [stdout] 1456 | let quoted = if let Expression::Leaf(lit) = &**expr { [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/eval.rs:1463:21 [INFO] [stdout] | [INFO] [stdout] 1463 | } 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] 1456 ~ let quoted = match &**expr { Expression::Leaf(lit) => { [INFO] [stdout] 1457 | if lit.text.raw { [INFO] [stdout] ... [INFO] [stdout] 1462 | lit.text.quoted [INFO] [stdout] 1463 ~ } _ => { [INFO] [stdout] 1464 | false [INFO] [stdout] 1465 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1657:20 [INFO] [stdout] | [INFO] [stdout] 1657 | if let Some(var) = lit.scope.lookup(&var_name[1..]) { [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/eval.rs:1659:17 [INFO] [stdout] | [INFO] [stdout] 1659 | } 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] 1657 ~ match lit.scope.lookup(&var_name[1..]) { Some(var) => { [INFO] [stdout] 1658 | return Ok(var.assign(rhs).clone()); [INFO] [stdout] 1659 ~ } _ => { [INFO] [stdout] 1660 | return error(self, &format!("Variable not found: {}", var_name)); [INFO] [stdout] 1661 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1725:12 [INFO] [stdout] | [INFO] [stdout] 1725 | if let (Value::Int(i), Value::Int(j)) = (lhs, rhs) { [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/eval.rs:1727:9 [INFO] [stdout] | [INFO] [stdout] 1727 | } 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] 1725 ~ match (lhs, rhs) { (Value::Int(i), Value::Int(j)) => { [INFO] [stdout] 1726 | Ok(Value::Int(i / j)) [INFO] [stdout] 1727 ~ } _ => { [INFO] [stdout] 1728 | error(self, "Invalid operand types") [INFO] [stdout] 1729 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1749:12 [INFO] [stdout] | [INFO] [stdout] 1749 | if let (Value::Int(i), Value::Int(j)) = (lhs, rhs) { [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/eval.rs:1751:9 [INFO] [stdout] | [INFO] [stdout] 1751 | } 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] 1749 ~ match (lhs, rhs) { (Value::Int(i), Value::Int(j)) => { [INFO] [stdout] 1750 | Ok(Value::Int(i % j)) [INFO] [stdout] 1751 ~ } _ => { [INFO] [stdout] 1752 | error(self, "Invalid operand types") [INFO] [stdout] 1753 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:2003:20 [INFO] [stdout] | [INFO] [stdout] 2003 | if let Some(var) = lit.scope.erase(&var_name[1..]) { [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/eval.rs:2005:17 [INFO] [stdout] | [INFO] [stdout] 2005 | } 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] 2003 ~ match lit.scope.erase(&var_name[1..]) { Some(var) => { [INFO] [stdout] 2004 | return Ok(var.value().clone()); // Return the erased value [INFO] [stdout] 2005 ~ } _ => { [INFO] [stdout] 2006 | return error(self, &format!("Variable not found: {}", var_name)); [INFO] [stdout] 2007 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:2258:12 [INFO] [stdout] | [INFO] [stdout] 2258 | if let Some(v) = scope.lookup(name) { [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/eval.rs:2261:9 [INFO] [stdout] | [INFO] [stdout] 2261 | } 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] 2258 ~ match scope.lookup(name) { Some(v) => { [INFO] [stdout] 2259 | let path = v.to_string(); [INFO] [stdout] 2260 | Self::redirect(scope, name, other, other_desc, &path) [INFO] [stdout] 2261 ~ } _ => { [INFO] [stdout] 2262 | Ok(Redirection::None) [INFO] [stdout] 2263 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:2436:8 [INFO] [stdout] | [INFO] [stdout] 2436 | if let Some(v) = scope.lookup_local(var_name) { [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/eval.rs:2443:5 [INFO] [stdout] | [INFO] [stdout] 2443 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2436 ~ match scope.lookup_local(var_name) { Some(v) => { [INFO] [stdout] 2437 | if let Some(parent) = &scope.parent { [INFO] [stdout] ... [INFO] [stdout] 2442 | } [INFO] [stdout] 2443 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:2437:12 [INFO] [stdout] | [INFO] [stdout] 2437 | if let Some(parent) = &scope.parent { [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/eval.rs:2442:9 [INFO] [stdout] | [INFO] [stdout] 2442 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2437 ~ match &scope.parent { Some(parent) => { [INFO] [stdout] 2438 | // topmost scope is for environment vars [INFO] [stdout] ... [INFO] [stdout] 2441 | } [INFO] [stdout] 2442 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:2712:16 [INFO] [stdout] | [INFO] [stdout] 2712 | if let Value::Stat(s) = &val { [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/eval.rs:2716:13 [INFO] [stdout] | [INFO] [stdout] 2716 | } 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] 2712 ~ match &val { Value::Stat(s) => { [INFO] [stdout] 2713 | hoist(&scope, "__errors"); [INFO] [stdout] 2714 | s.borrow_mut().negated = true; [INFO] [stdout] 2715 | Ok(val) [INFO] [stdout] 2716 ~ } _ => { [INFO] [stdout] 2717 | Ok(Value::Int(!value_as_bool(loc, &val, &scope)? as _)) [INFO] [stdout] 2718 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:2786:16 [INFO] [stdout] | [INFO] [stdout] 2786 | if let Some(scope) = eval_scope { [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/eval.rs:2788:13 [INFO] [stdout] | [INFO] [stdout] 2788 | } 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] 2786 ~ match eval_scope { Some(scope) => { [INFO] [stdout] 2787 | scope [INFO] [stdout] 2788 ~ } _ => { [INFO] [stdout] 2789 | // Create a child scope of the global scope; the global scope contains [INFO] [stdout] 2790 | // the environmental vars, which should be preserved between evaluations. [INFO] [stdout] 2791 | Scope::new(Some(Arc::clone(&self.scope))) [INFO] [stdout] 2792 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/prompt.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | if let Some(var) = scope.lookup("__prompt") { [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/prompt.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | } 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] 171 ~ match scope.lookup("__prompt") { Some(var) => { [INFO] [stdout] 172 | var.value().to_rc_string() [INFO] [stdout] 173 ~ } _ => { [INFO] [stdout] 174 | // Create default prompt specification and insert into the scope. [INFO] [stdout] ... [INFO] [stdout] 178 | spec [INFO] [stdout] 179 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/prompt.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(var) = self.scope.lookup("USER").or(self.scope.lookup("USERNAME")) { [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/prompt.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } 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] 183 ~ match self.scope.lookup("USER").or(self.scope.lookup("USERNAME")) { Some(var) => { [INFO] [stdout] 184 | var.value().to_rc_string() [INFO] [stdout] 185 ~ } _ => { [INFO] [stdout] 186 | Arc::default() [INFO] [stdout] 187 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/prompt.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | if let Some(hostname) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 211 | || .scope [INFO] [stdout] 212 | || .lookup("HOSTNAME") [INFO] [stdout] 213 | || .or_else(|| self.scope.lookup("USERDOMAIN")) [INFO] [stdout] 214 | || .or_else(|| self.scope.lookup("COMPUTERNAME")) [INFO] [stdout] 215 | || .or_else(|| self.scope.lookup("NAME")) [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] | [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/prompt.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 210 ~ match self [INFO] [stdout] 211 | .scope [INFO] [stdout] ... [INFO] [stdout] 215 | .or_else(|| self.scope.lookup("NAME")) [INFO] [stdout] 216 ~ { Some(hostname) => { [INFO] [stdout] 217 | self.prompt.push_str(&hostname.value().as_str()); [INFO] [stdout] 218 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/prompt.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | if let Some(home_dir) = self.scope.lookup("HOME") { [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/prompt.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | } 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] 226 ~ match self.scope.lookup("HOME") { Some(home_dir) => { [INFO] [stdout] 227 | #[cfg(windows)] [INFO] [stdout] ... [INFO] [stdout] 232 | self.prompt.push_str(&re.unwrap().replace(&work_dir, "~")); [INFO] [stdout] 233 ~ } _ => { [INFO] [stdout] 234 | self.prompt.push_str(&work_dir); [INFO] [stdout] 235 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scope.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | while let Some(parent) = ¤t.parent { [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/scope.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 73 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `shmy` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/eval.rs [INFO] [stderr] * src/macros.rs [INFO] [stderr] * src/testcmds.rs [INFO] [stderr] * src/testeval.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/macros.rs:52:6 [INFO] [stderr] | [INFO] [stderr] 52 | ($scope:expr_2021, $($arg:tt)*) => {{ [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/eval.rs:530:6 [INFO] [stderr] | [INFO] [stderr] 530 | ($self:expr_2021, $tok: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/eval.rs:530:23 [INFO] [stderr] | [INFO] [stderr] 530 | ($self:expr_2021, $tok: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/eval.rs:539:6 [INFO] [stderr] | [INFO] [stderr] 539 | ($self:expr_2021, $tok:expr_2021, $single_token: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/eval.rs:539:23 [INFO] [stderr] | [INFO] [stderr] 539 | ($self:expr_2021, $tok:expr_2021, $single_token: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/eval.rs:539:39 [INFO] [stderr] | [INFO] [stderr] 539 | ($self:expr_2021, $tok:expr_2021, $single_token: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/eval.rs:546:6 [INFO] [stderr] | [INFO] [stderr] 546 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $double_token: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/eval.rs:546:23 [INFO] [stderr] | [INFO] [stderr] 546 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $double_token: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/eval.rs:546:39 [INFO] [stderr] | [INFO] [stderr] 546 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $double_token: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/eval.rs:546:58 [INFO] [stderr] | [INFO] [stderr] 546 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $double_token: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/eval.rs:559:6 [INFO] [stderr] | [INFO] [stderr] 559 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $single_token:expr_2021, $double_token: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/eval.rs:559:23 [INFO] [stderr] | [INFO] [stderr] 559 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $single_token:expr_2021, $double_token: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/eval.rs:559:39 [INFO] [stderr] | [INFO] [stderr] 559 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $single_token:expr_2021, $double_token: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/eval.rs:559:58 [INFO] [stderr] | [INFO] [stderr] 559 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $single_token:expr_2021, $double_token: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/eval.rs:559:83 [INFO] [stderr] | [INFO] [stderr] 559 | ($self:expr_2021, $tok:expr_2021, $second:expr_2021, $single_token:expr_2021, $double_token: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] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | ($scope:expr, $($arg:tt)*) => {{ [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] 52 | ($scope:expr_2021, $($arg:tt)*) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:530:12 [INFO] [stdout] | [INFO] [stdout] 530 | ($self:expr, $tok: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] 530 | ($self:expr_2021, $tok:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/eval.rs:1572:6 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:530:23 [INFO] [stdout] | [INFO] [stdout] 530 | ($self:expr, $tok: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] 530 | ($self:expr, $tok:expr_2021) => { [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/eval.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | ($self:expr, $tok:expr, $single_token: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] 539 | ($self:expr_2021, $tok:expr, $single_token:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1572 | ($self:expr_2021, $i:expr_2021, $rhs:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:539:23 [INFO] [stdout] | [INFO] [stdout] 539 | ($self:expr, $tok:expr, $single_token: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] 539 | ($self:expr, $tok:expr_2021, $single_token: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/eval.rs:539:43 [INFO] [stdout] | [INFO] [stdout] 539 | ($self:expr, $tok:expr, $single_token: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] 539 | ($self:expr, $tok:expr, $single_token:expr_2021) => {{ [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/eval.rs:546:12 [INFO] [stdout] | [INFO] [stdout] 546 | ($self:expr, $tok:expr, $second:expr, $double_token: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] 546 | ($self:expr_2021, $tok:expr, $second:expr, $double_token:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:546:23 [INFO] [stdout] | [INFO] [stdout] 546 | ($self:expr, $tok:expr, $second:expr, $double_token: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] 546 | ($self:expr, $tok:expr_2021, $second:expr, $double_token:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:546:37 [INFO] [stdout] | [INFO] [stdout] 546 | ($self:expr, $tok:expr, $second:expr, $double_token: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] 546 | ($self:expr, $tok:expr, $second:expr_2021, $double_token:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:546:57 [INFO] [stdout] | [INFO] [stdout] 546 | ($self:expr, $tok:expr, $second:expr, $double_token: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] 546 | ($self:expr, $tok:expr, $second:expr, $double_token:expr_2021) => {{ [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/eval.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr, $double_token: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] 559 | ($self:expr_2021, $tok:expr, $second:expr, $single_token:expr, $double_token:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:559:23 [INFO] [stdout] | [INFO] [stdout] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr, $double_token: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] 559 | ($self:expr, $tok:expr_2021, $second:expr, $single_token:expr, $double_token:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/eval.rs:1572:23 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:559:37 [INFO] [stdout] | [INFO] [stdout] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr, $double_token: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] 559 | ($self:expr, $tok:expr, $second:expr_2021, $single_token:expr, $double_token: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/eval.rs:559:57 [INFO] [stdout] | [INFO] [stdout] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr, $double_token: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] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr_2021, $double_token:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1572 | ($self:expr_2021, $i:expr_2021, $rhs:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:559:77 [INFO] [stdout] | [INFO] [stdout] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr, $double_token: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] 559 | ($self:expr, $tok:expr, $second:expr, $single_token:expr, $double_token:expr_2021) => {{ [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/eval.rs:1572:12 [INFO] [stdout] | [INFO] [stdout] 1572 | ($self:expr, $i:expr, $rhs: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] 1572 | ($self:expr_2021, $i:expr, $rhs: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/eval.rs:1572:21 [INFO] [stdout] | [INFO] [stdout] 1572 | ($self:expr, $i:expr, $rhs: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] 1572 | ($self:expr, $i:expr_2021, $rhs:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:1572:32 [INFO] [stdout] | [INFO] [stdout] 1572 | ($self:expr, $i:expr, $rhs: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] 1572 | ($self:expr, $i:expr, $rhs:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:2059:12 [INFO] [stdout] | [INFO] [stdout] 2059 | ($self:expr, $f:ident) => { [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] 2059 | ($self:expr_2021, $f:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:2221:13 [INFO] [stdout] | [INFO] [stdout] 2221 | ($redir:expr, $loc: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] 2221 | ($redir:expr_2021, $loc: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/eval.rs:2221:24 [INFO] [stdout] | [INFO] [stdout] 2221 | ($redir:expr, $loc: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] 2221 | ($redir:expr, $loc:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/eval.rs:2564:12 [INFO] [stdout] | [INFO] [stdout] 2564 | ($self:expr, $result:ident) => { [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] 2564 | ($self:expr_2021, $result:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/eval.rs:1572:37 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/testcmds.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | ($expr:literal, $loc: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] 11 | ($expr:literal, $loc:expr_2021) => {{ [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/testeval.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | ($expr:expr, $val: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] 18 | ($expr:expr_2021, $val:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 1572 | ($self:expr_2021, $i:expr_2021, $rhs:expr_2021) => { [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/testeval.rs:18:27 [INFO] [stdout] | [INFO] [stdout] 18 | ($expr:expr, $val: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] 18 | ($expr:expr, $val:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/scope.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | env::set_var("SHELL", executable().unwrap_or("shmy".to_string())); [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] 219 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 220 ~ unsafe { env::set_var("SHELL", executable().unwrap_or("shmy".to_string())) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/scope.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | env::remove_var(ident.view()); [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] 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] 278 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 279 ~ unsafe { env::remove_var(ident.view()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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/eval.rs:2059:6 [INFO] [stderr] | [INFO] [stderr] 2059 | ($self:expr_2021, $f:ident) => { [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/eval.rs:2221:6 [INFO] [stderr] | [INFO] [stderr] 2221 | ($redir:expr_2021, $loc: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/eval.rs:2221:24 [INFO] [stderr] | [INFO] [stderr] 2221 | ($redir:expr_2021, $loc: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] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | env::vars().for_each(|(key, _)| env::remove_var(key)); [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] 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] 28 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 29 ~ env::vars().for_each(|(key, _)| unsafe { env::remove_var(key) }); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/eval.rs:2564:6 [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | env::set_var(key.as_str(), var.to_string()); [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] 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] 31 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 32 ~ unsafe { env::set_var(key.as_str(), var.to_string()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stderr] 2564 | ($self:expr_2021, $result:ident) => { [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/testcmds.rs:11:25 [INFO] [stderr] | [INFO] [stderr] 11 | ($expr:literal, $loc: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/testeval.rs:18:10 [INFO] [stderr] | [INFO] [stderr] 18 | ($expr:expr_2021, $val: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/testeval.rs:18:27 [INFO] [stderr] | [INFO] [stderr] 18 | ($expr:expr_2021, $val: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 25 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/main.rs:65:16 [INFO] [stdout] | [INFO] [stdout] 65 | if let Ok(Some(sr)) = ctx.history().get(index, SearchDirection::Forward) { [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/main.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | } [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] 65 ~ match ctx.history().get(index, SearchDirection::Forward) { Ok(Some(sr)) => { [INFO] [stdout] 66 | if sr.entry.starts_with(line) { [INFO] [stdout] 67 | candidates.insert(sr.entry[pos..].to_owned()); [INFO] [stdout] 68 | } [INFO] [stdout] 69 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:250:16 [INFO] [stdout] | [INFO] [stdout] 250 | if let Some(v) = self.scope.lookup("HOME") { [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/main.rs:256:13 [INFO] [stdout] | [INFO] [stdout] 256 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 250 ~ match self.scope.lookup("HOME") { Some(v) => { [INFO] [stdout] 251 | keywords.push(completion::Pair { [INFO] [stdout] ... [INFO] [stdout] 255 | kw_pos = 0; [INFO] [stdout] 256 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:292:16 [INFO] [stdout] | [INFO] [stdout] 292 | if let Ok((start, v)) = completions { [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/main.rs:307:13 [INFO] [stdout] | [INFO] [stdout] 307 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 292 ~ match completions { Ok((start, v)) => { [INFO] [stdout] 293 | if !v.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 306 | } [INFO] [stdout] 307 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:470:32 [INFO] [stdout] | [INFO] [stdout] 470 | ... if let Some(history_entry) = search_history(&rl, &line) { [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/main.rs:477:29 [INFO] [stdout] | [INFO] [stdout] 477 | ... } 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] 470 ~ match search_history(&rl, &line) { Some(history_entry) => { [INFO] [stdout] 471 | eprintln!("{}", &history_entry); [INFO] [stdout] ... [INFO] [stdout] 476 | self.eval(&history_entry); [INFO] [stdout] 477 ~ } _ => { [INFO] [stdout] 478 | println!("No match."); [INFO] [stdout] 479 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:577:24 [INFO] [stdout] | [INFO] [stdout] 577 | if let Err(e) = &status.borrow().result { [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/main.rs:579:21 [INFO] [stdout] | [INFO] [stdout] 579 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 577 ~ match &status.borrow().result { Err(e) => { [INFO] [stdout] 578 | e.show(&scope, input); [INFO] [stdout] 579 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:594:12 [INFO] [stdout] | [INFO] [stdout] 594 | if let Some(reader) = self.source.take() { [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/main.rs:596:9 [INFO] [stdout] | [INFO] [stdout] 596 | } 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] 594 ~ match self.source.take() { Some(reader) => { [INFO] [stdout] 595 | self.read_lines(reader) [INFO] [stdout] 596 ~ } _ => { [INFO] [stdout] 597 | panic!("No input source") [INFO] [stdout] 598 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | if let Ok(perms) = fs::metadata(path).map(|m| m.permissions()) { [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/cmds.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | } 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] 170 ~ match fs::metadata(path).map(|m| m.permissions()) { Ok(perms) => { [INFO] [stdout] 171 | perms.mode() & 0o111 != 0 // Check if any execute bit is set [INFO] [stdout] 172 ~ } _ => { [INFO] [stdout] 173 | false [INFO] [stdout] 174 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/cp.rs:280:16 [INFO] [stdout] | [INFO] [stdout] 280 | if let Some(pb) = &self.progress { [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/cmds/cp.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 283 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 280 ~ match &self.progress { Some(pb) => { [INFO] [stdout] 281 | pb.set_message(format!("{}", Self::truncate_path(path))); [INFO] [stdout] 282 | pb.set_position(self.total_size); [INFO] [stdout] 283 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/cp.rs:496:16 [INFO] [stdout] | [INFO] [stdout] 496 | if let Some(pb) = self.progress.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/cmds/cp.rs:498:13 [INFO] [stdout] | [INFO] [stdout] 498 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 496 ~ match self.progress.as_mut() { Some(pb) => { [INFO] [stdout] 497 | pb.inc(n as u64); [INFO] [stdout] 498 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/less.rs:218:16 [INFO] [stdout] | [INFO] [stdout] 218 | if let Some(line) = self.lines.get(index) { [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/cmds/less.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 218 ~ match self.lines.get(index) { Some(line) => { [INFO] [stdout] 219 | self.display_line(&line.trim_end(), buffer)?; [INFO] [stdout] 220 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/less.rs:384:16 [INFO] [stdout] | [INFO] [stdout] 384 | if let Some(pos) = self.lines.get(i).and_then(|s| s.find(query)) { [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/cmds/less.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 384 ~ match self.lines.get(i).and_then(|s| s.find(query)) { Some(pos) => { [INFO] [stdout] 385 | found = true; [INFO] [stdout] ... [INFO] [stdout] 392 | break; [INFO] [stdout] 393 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/ps.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | if let (Some(lhs), Some(rhs)) = ( [INFO] [stdout] | ____________^ [INFO] [stdout] 97 | | self.field(lhs).as_any().downcast_ref::(), [INFO] [stdout] | | --------------- this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] 98 | | self.field(rhs).as_any().downcast_ref::(), [INFO] [stdout] 99 | | ) { [INFO] [stdout] | |_________^ [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/cmds/ps.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | } 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] 96 ~ match ( [INFO] [stdout] 97 | self.field(lhs).as_any().downcast_ref::(), [INFO] [stdout] 98 | self.field(rhs).as_any().downcast_ref::(), [INFO] [stdout] 99 ~ ) { (Some(lhs), Some(rhs)) => { [INFO] [stdout] 100 | lhs.cmp(rhs) [INFO] [stdout] 101 ~ } _ => { [INFO] [stdout] 102 | // Types don't match or can't be compared? Fall back to string comparison. [INFO] [stdout] 103 | self.field_as_string(lhs).cmp(&self.field_as_string(rhs)) [INFO] [stdout] 104 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/ps.rs:333:16 [INFO] [stdout] | [INFO] [stdout] 333 | if let Some(col) = self.columns.iter().find(|col| col.name() == *k) { [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/cmds/ps.rs:342:13 [INFO] [stdout] | [INFO] [stdout] 342 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 333 ~ match self.columns.iter().find(|col| col.name() == *k) { Some(col) => { [INFO] [stdout] 334 | processes.sort_by(|lhs, rhs| { [INFO] [stdout] ... [INFO] [stdout] 341 | }); [INFO] [stdout] 342 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/ps.rs:370:16 [INFO] [stdout] | [INFO] [stdout] 370 | if let Some(col) = self.columns.iter().find(|col| col.name() == name) { [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/cmds/ps.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | } 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] 370 ~ match self.columns.iter().find(|col| col.name() == name) { Some(col) => { [INFO] [stdout] 371 | let col_name = col.name(); // 'static reference [INFO] [stdout] ... [INFO] [stdout] 380 | self.sort_keys.push((col_name, reverse)); [INFO] [stdout] 381 ~ } _ => { [INFO] [stdout] 382 | return Err(format_error( [INFO] [stdout] ... [INFO] [stdout] 387 | )); [INFO] [stdout] 388 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/cmds/vars.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | while let Some(scope) = current_scope { [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/cmds/vars.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:648:20 [INFO] [stdout] | [INFO] [stdout] 648 | if let Some(v) = self.scope.lookup("HOME") { [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/eval.rs:650:17 [INFO] [stdout] | [INFO] [stdout] 650 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 648 ~ match self.scope.lookup("HOME") { Some(v) => { [INFO] [stdout] 649 | self.text = format!("{}{}", v.value().as_str(), &self.text[1..]); [INFO] [stdout] 650 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:706:15 [INFO] [stdout] | [INFO] [stdout] 706 | while let Some(c) = self.chars.peek().cloned() { [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/eval.rs:867:9 [INFO] [stdout] | [INFO] [stdout] 867 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:549:12 [INFO] [stdout] | [INFO] [stdout] 549 | if let Some(&next_c) = $self.chars.peek() { [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] 729 | '&' => token!(self, tok, '&', Token::Operator(Op::And)), [INFO] [stdout] | ------------------------------------------------ in this macro invocation [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/eval.rs:555:9 [INFO] [stdout] | [INFO] [stdout] 555 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 729 | '&' => token!(self, tok, '&', Token::Operator(Op::And)), [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `token` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:746:24 [INFO] [stdout] | [INFO] [stdout] 746 | if let Some(&next_c) = self.chars.peek() { [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/eval.rs:765:21 [INFO] [stdout] | [INFO] [stdout] 765 | } 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] 746 ~ match self.chars.peek() { Some(&next_c) => { [INFO] [stdout] 747 | if next_c == '=' { [INFO] [stdout] ... [INFO] [stdout] 764 | tok = Token::Operator(Op::Assign); [INFO] [stdout] 765 ~ } _ => { [INFO] [stdout] 766 | // Handle trailing equals [INFO] [stdout] 767 | tok = Token::Operator(Op::Assign); [INFO] [stdout] 768 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:798:27 [INFO] [stdout] | [INFO] [stdout] 798 | while let Some(&next_c) = self.chars.peek() { [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/eval.rs:857:21 [INFO] [stdout] | [INFO] [stdout] 857 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:826:40 [INFO] [stdout] | [INFO] [stdout] 826 | ... if let Some(next_c) = self.chars.peek() { [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/eval.rs:832:37 [INFO] [stdout] | [INFO] [stdout] 832 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 826 ~ match self.chars.peek() { Some(next_c) => { [INFO] [stdout] 827 | if *next_c == '(' { [INFO] [stdout] ... [INFO] [stdout] 831 | } [INFO] [stdout] 832 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:901:16 [INFO] [stdout] | [INFO] [stdout] 901 | if let Expression::Args(a) = &*self.group { [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/eval.rs:905:13 [INFO] [stdout] | [INFO] [stdout] 905 | } 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] 901 ~ match &*self.group { Expression::Args(a) => { [INFO] [stdout] 902 | a.borrow_mut().add_child(&self.current_expr)?; [INFO] [stdout] 903 | self.current_expr = Rc::clone(&expr); [INFO] [stdout] 904 | return Ok(()); [INFO] [stdout] 905 ~ } _ => { [INFO] [stdout] 906 | return error(&**expr, "Unexpected expression, missing semicolon?"); [INFO] [stdout] 907 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:942:15 [INFO] [stdout] | [INFO] [stdout] 942 | while let Some(stack_top) = self.expr_stack.last() { [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/eval.rs:959:9 [INFO] [stdout] | [INFO] [stdout] 959 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:972:16 [INFO] [stdout] | [INFO] [stdout] 972 | if let Some(top) = self.expr_stack.last() { [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/eval.rs:976:13 [INFO] [stdout] | [INFO] [stdout] 976 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 972 ~ match self.expr_stack.last() { Some(top) => { [INFO] [stdout] 973 | if top.is_assignment() { [INFO] [stdout] 974 | self.current_expr = self.expr_stack.pop().unwrap(); [INFO] [stdout] 975 | } [INFO] [stdout] 976 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:980:12 [INFO] [stdout] | [INFO] [stdout] 980 | if let Expression::Args(g) = &*group { [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/eval.rs:986:9 [INFO] [stdout] | [INFO] [stdout] 986 | } else if !self.current_expr.is_empty() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 980 ~ match &*group { Expression::Args(g) => { [INFO] [stdout] 981 | self.pop_binary_ops(true)?; [INFO] [stdout] ... [INFO] [stdout] 985 | self.pop_group()?; [INFO] [stdout] 986 ~ } _ => if !self.current_expr.is_empty() { [INFO] [stdout] 987 | if let Expression::Group(g) = &*group { [INFO] [stdout] ... [INFO] [stdout] 992 | } [INFO] [stdout] 993 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:987:16 [INFO] [stdout] | [INFO] [stdout] 987 | if let Expression::Group(g) = &*group { [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/eval.rs:990:13 [INFO] [stdout] | [INFO] [stdout] 990 | } 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] 987 ~ match &*group { Expression::Group(g) => { [INFO] [stdout] 988 | self.pop_binary_ops(true)?; [INFO] [stdout] 989 | g.borrow_mut().add_child(&self.current_expr)?; [INFO] [stdout] 990 ~ } _ => { [INFO] [stdout] 991 | panic!("Unexpected group error"); [INFO] [stdout] 992 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1110:28 [INFO] [stdout] | [INFO] [stdout] 1110 | if let Expression::For(f) = &*self.current_expr { [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/eval.rs:1115:25 [INFO] [stdout] | [INFO] [stdout] 1115 | } 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] 1110 ~ match &*self.current_expr { Expression::For(f) => { [INFO] [stdout] 1111 | if f.borrow().var.is_empty() { [INFO] [stdout] ... [INFO] [stdout] 1114 | self.prev_loc = self.loc(); [INFO] [stdout] 1115 ~ } _ => { [INFO] [stdout] 1116 | return error(self, "IN without FOR"); [INFO] [stdout] 1117 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1120:28 [INFO] [stdout] | [INFO] [stdout] 1120 | if let Expression::Branch(b) = &*self.current_expr { [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/eval.rs:1127:25 [INFO] [stdout] | [INFO] [stdout] 1127 | } 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] 1120 ~ match &*self.current_expr { Expression::Branch(b) => { [INFO] [stdout] 1121 | if !b.borrow_mut().is_else_expected() { [INFO] [stdout] ... [INFO] [stdout] 1126 | self.push(Group::None)?; [INFO] [stdout] 1127 ~ } _ => { [INFO] [stdout] 1128 | return error(self, "ELSE without IF"); [INFO] [stdout] 1129 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1159:28 [INFO] [stdout] | [INFO] [stdout] 1159 | if let Some(cmd) = get_command(&text.value) { [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/eval.rs:1172:25 [INFO] [stdout] | [INFO] [stdout] 1172 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1159 ~ match get_command(&text.value) { Some(cmd) => { [INFO] [stdout] 1160 | let expr = Rc::new(Expression::Cmd(RefCell::new(Command { [INFO] [stdout] ... [INFO] [stdout] 1171 | continue; [INFO] [stdout] 1172 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1242:15 [INFO] [stdout] | [INFO] [stdout] 1242 | while let Some(top) = self.expr_stack.last().cloned() { [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/eval.rs:1261:9 [INFO] [stdout] | [INFO] [stdout] 1261 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1249:24 [INFO] [stdout] | [INFO] [stdout] 1249 | if let Expression::Bin(b) = &*top { [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/eval.rs:1253:21 [INFO] [stdout] | [INFO] [stdout] 1253 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1249 ~ match &*top { Expression::Bin(b) => { [INFO] [stdout] 1250 | assert!(b.borrow().op == Op::Pipe); [INFO] [stdout] 1251 | tail = Rc::clone(&b.borrow().lhs); [INFO] [stdout] 1252 | head = Rc::clone(&tail); [INFO] [stdout] 1253 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1332:24 [INFO] [stdout] | [INFO] [stdout] 1332 | if let Ok(re) = Regex::new(search) { [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/eval.rs:1345:21 [INFO] [stdout] | [INFO] [stdout] 1345 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 1332 ~ match Regex::new(search) { Ok(re) => { [INFO] [stdout] 1333 | // Implement bash-like substitution with capture groups [INFO] [stdout] ... [INFO] [stdout] 1344 | .into_owned(); [INFO] [stdout] 1345 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1456:37 [INFO] [stdout] | [INFO] [stdout] 1456 | let quoted = if let Expression::Leaf(lit) = &**expr { [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/eval.rs:1463:21 [INFO] [stdout] | [INFO] [stdout] 1463 | } 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] 1456 ~ let quoted = match &**expr { Expression::Leaf(lit) => { [INFO] [stdout] 1457 | if lit.text.raw { [INFO] [stdout] ... [INFO] [stdout] 1462 | lit.text.quoted [INFO] [stdout] 1463 ~ } _ => { [INFO] [stdout] 1464 | false [INFO] [stdout] 1465 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1657:20 [INFO] [stdout] | [INFO] [stdout] 1657 | if let Some(var) = lit.scope.lookup(&var_name[1..]) { [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/eval.rs:1659:17 [INFO] [stdout] | [INFO] [stdout] 1659 | } 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] 1657 ~ match lit.scope.lookup(&var_name[1..]) { Some(var) => { [INFO] [stdout] 1658 | return Ok(var.assign(rhs).clone()); [INFO] [stdout] 1659 ~ } _ => { [INFO] [stdout] 1660 | return error(self, &format!("Variable not found: {}", var_name)); [INFO] [stdout] 1661 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1725:12 [INFO] [stdout] | [INFO] [stdout] 1725 | if let (Value::Int(i), Value::Int(j)) = (lhs, rhs) { [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/eval.rs:1727:9 [INFO] [stdout] | [INFO] [stdout] 1727 | } 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] 1725 ~ match (lhs, rhs) { (Value::Int(i), Value::Int(j)) => { [INFO] [stdout] 1726 | Ok(Value::Int(i / j)) [INFO] [stdout] 1727 ~ } _ => { [INFO] [stdout] 1728 | error(self, "Invalid operand types") [INFO] [stdout] 1729 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:1749:12 [INFO] [stdout] | [INFO] [stdout] 1749 | if let (Value::Int(i), Value::Int(j)) = (lhs, rhs) { [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/eval.rs:1751:9 [INFO] [stdout] | [INFO] [stdout] 1751 | } 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] 1749 ~ match (lhs, rhs) { (Value::Int(i), Value::Int(j)) => { [INFO] [stdout] 1750 | Ok(Value::Int(i % j)) [INFO] [stdout] 1751 ~ } _ => { [INFO] [stdout] 1752 | error(self, "Invalid operand types") [INFO] [stdout] 1753 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:2003:20 [INFO] [stdout] | [INFO] [stdout] 2003 | if let Some(var) = lit.scope.erase(&var_name[1..]) { [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/eval.rs:2005:17 [INFO] [stdout] | [INFO] [stdout] 2005 | } 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] 2003 ~ match lit.scope.erase(&var_name[1..]) { Some(var) => { [INFO] [stdout] 2004 | return Ok(var.value().clone()); // Return the erased value [INFO] [stdout] 2005 ~ } _ => { [INFO] [stdout] 2006 | return error(self, &format!("Variable not found: {}", var_name)); [INFO] [stdout] 2007 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:2258:12 [INFO] [stdout] | [INFO] [stdout] 2258 | if let Some(v) = scope.lookup(name) { [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/eval.rs:2261:9 [INFO] [stdout] | [INFO] [stdout] 2261 | } 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] 2258 ~ match scope.lookup(name) { Some(v) => { [INFO] [stdout] 2259 | let path = v.to_string(); [INFO] [stdout] 2260 | Self::redirect(scope, name, other, other_desc, &path) [INFO] [stdout] 2261 ~ } _ => { [INFO] [stdout] 2262 | Ok(Redirection::None) [INFO] [stdout] 2263 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:2436:8 [INFO] [stdout] | [INFO] [stdout] 2436 | if let Some(v) = scope.lookup_local(var_name) { [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/eval.rs:2443:5 [INFO] [stdout] | [INFO] [stdout] 2443 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2436 ~ match scope.lookup_local(var_name) { Some(v) => { [INFO] [stdout] 2437 | if let Some(parent) = &scope.parent { [INFO] [stdout] ... [INFO] [stdout] 2442 | } [INFO] [stdout] 2443 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:2437:12 [INFO] [stdout] | [INFO] [stdout] 2437 | if let Some(parent) = &scope.parent { [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/eval.rs:2442:9 [INFO] [stdout] | [INFO] [stdout] 2442 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 2437 ~ match &scope.parent { Some(parent) => { [INFO] [stdout] 2438 | // topmost scope is for environment vars [INFO] [stdout] ... [INFO] [stdout] 2441 | } [INFO] [stdout] 2442 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:2712:16 [INFO] [stdout] | [INFO] [stdout] 2712 | if let Value::Stat(s) = &val { [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/eval.rs:2716:13 [INFO] [stdout] | [INFO] [stdout] 2716 | } 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] 2712 ~ match &val { Value::Stat(s) => { [INFO] [stdout] 2713 | hoist(&scope, "__errors"); [INFO] [stdout] 2714 | s.borrow_mut().negated = true; [INFO] [stdout] 2715 | Ok(val) [INFO] [stdout] 2716 ~ } _ => { [INFO] [stdout] 2717 | Ok(Value::Int(!value_as_bool(loc, &val, &scope)? as _)) [INFO] [stdout] 2718 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/eval.rs:2786:16 [INFO] [stdout] | [INFO] [stdout] 2786 | if let Some(scope) = eval_scope { [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/eval.rs:2788:13 [INFO] [stdout] | [INFO] [stdout] 2788 | } 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] 2786 ~ match eval_scope { Some(scope) => { [INFO] [stdout] 2787 | scope [INFO] [stdout] 2788 ~ } _ => { [INFO] [stdout] 2789 | // Create a child scope of the global scope; the global scope contains [INFO] [stdout] 2790 | // the environmental vars, which should be preserved between evaluations. [INFO] [stdout] 2791 | Scope::new(Some(Arc::clone(&self.scope))) [INFO] [stdout] 2792 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/prompt.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | if let Some(var) = scope.lookup("__prompt") { [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/prompt.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | } 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] 171 ~ match scope.lookup("__prompt") { Some(var) => { [INFO] [stdout] 172 | var.value().to_rc_string() [INFO] [stdout] 173 ~ } _ => { [INFO] [stdout] 174 | // Create default prompt specification and insert into the scope. [INFO] [stdout] ... [INFO] [stdout] 178 | spec [INFO] [stdout] 179 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/prompt.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | if let Some(var) = self.scope.lookup("USER").or(self.scope.lookup("USERNAME")) { [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/prompt.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } 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] 183 ~ match self.scope.lookup("USER").or(self.scope.lookup("USERNAME")) { Some(var) => { [INFO] [stdout] 184 | var.value().to_rc_string() [INFO] [stdout] 185 ~ } _ => { [INFO] [stdout] 186 | Arc::default() [INFO] [stdout] 187 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/prompt.rs:210:12 [INFO] [stdout] | [INFO] [stdout] 210 | if let Some(hostname) = self [INFO] [stdout] | ____________^ - [INFO] [stdout] | |_________________________________| [INFO] [stdout] 211 | || .scope [INFO] [stdout] 212 | || .lookup("HOSTNAME") [INFO] [stdout] 213 | || .or_else(|| self.scope.lookup("USERDOMAIN")) [INFO] [stdout] 214 | || .or_else(|| self.scope.lookup("COMPUTERNAME")) [INFO] [stdout] 215 | || .or_else(|| self.scope.lookup("NAME")) [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] | [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/prompt.rs:218:9 [INFO] [stdout] | [INFO] [stdout] 218 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 210 ~ match self [INFO] [stdout] 211 | .scope [INFO] [stdout] ... [INFO] [stdout] 215 | .or_else(|| self.scope.lookup("NAME")) [INFO] [stdout] 216 ~ { Some(hostname) => { [INFO] [stdout] 217 | self.prompt.push_str(&hostname.value().as_str()); [INFO] [stdout] 218 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/prompt.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | if let Some(home_dir) = self.scope.lookup("HOME") { [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/prompt.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | } 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] 226 ~ match self.scope.lookup("HOME") { Some(home_dir) => { [INFO] [stdout] 227 | #[cfg(windows)] [INFO] [stdout] ... [INFO] [stdout] 232 | self.prompt.push_str(&re.unwrap().replace(&work_dir, "~")); [INFO] [stdout] 233 ~ } _ => { [INFO] [stdout] 234 | self.prompt.push_str(&work_dir); [INFO] [stdout] 235 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/scope.rs:295:19 [INFO] [stdout] | [INFO] [stdout] 295 | while let Some(parent) = ¤t.parent { [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/scope.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 76 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.86s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking shmy v0.17.5 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/scope.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | env::set_var("SHELL", executable().unwrap_or("shmy".to_string())); [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[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/scope.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | env::remove_var(ident.view()); [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[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | env::vars().for_each(|(key, _)| env::remove_var(key)); [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[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | env::set_var(key.as_str(), var.to_string()); [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[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/scope.rs:219:9 [INFO] [stdout] | [INFO] [stdout] 219 | env::set_var("SHELL", executable().unwrap_or("shmy".to_string())); [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/scope.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | env::remove_var(ident.view()); [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] [stderr] error: could not compile `shmy` (bin "shmy") due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | env::vars().for_each(|(key, _)| env::remove_var(key)); [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[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | env::set_var(key.as_str(), var.to_string()); [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shmy` (bin "shmy" test) due to 5 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" "eba3116edc0647e5426d20d00e4818fdb17f27295cfefd5fadea1a10001c455b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eba3116edc0647e5426d20d00e4818fdb17f27295cfefd5fadea1a10001c455b", kill_on_drop: false }` [INFO] [stdout] eba3116edc0647e5426d20d00e4818fdb17f27295cfefd5fadea1a10001c455b