[INFO] fetching crate serpl 0.3.3... [INFO] checking serpl-0.3.3 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate serpl 0.3.3 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate serpl 0.3.3 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] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate serpl 0.3.3 [INFO] finished tweaking crates.io crate serpl 0.3.3 [INFO] tweaked toml for crates.io crate serpl 0.3.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate serpl 0.3.3 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] dcbdf3a53f151a1e182f7aa062bf79ecebf19a2cb88e148e1e3c7ba367afc499 [INFO] running `Command { std: "docker" "start" "-a" "dcbdf3a53f151a1e182f7aa062bf79ecebf19a2cb88e148e1e3c7ba367afc499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dcbdf3a53f151a1e182f7aa062bf79ecebf19a2cb88e148e1e3c7ba367afc499", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcbdf3a53f151a1e182f7aa062bf79ecebf19a2cb88e148e1e3c7ba367afc499", kill_on_drop: false }` [INFO] [stdout] dcbdf3a53f151a1e182f7aa062bf79ecebf19a2cb88e148e1e3c7ba367afc499 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] da3845a30fe5c79e276a4aa3416b97b53452a6578a3dd4d546ac9df3bb3448a0 [INFO] running `Command { std: "docker" "start" "-a" "da3845a30fe5c79e276a4aa3416b97b53452a6578a3dd4d546ac9df3bb3448a0", 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 serde v1.0.204 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling faster-hex v0.9.0 [INFO] [stderr] Compiling gix-trace v0.1.9 [INFO] [stderr] Compiling tinyvec v1.8.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling miniz_oxide v0.7.4 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling prodash v28.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling memmap2 v0.9.4 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling gix-utils v0.1.12 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling gix-sec v0.10.7 [INFO] [stderr] Compiling tempfile v3.11.0 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.1.7 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling clru v0.6.2 [INFO] [stderr] Compiling bstr v1.10.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling filetime v0.2.23 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling unicode-bom v2.0.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling vergen v8.3.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling gix-macros v0.1.5 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Compiling gix-hash v0.14.2 [INFO] [stderr] Compiling gix-date v0.8.7 [INFO] [stderr] Compiling gix-validate v0.8.5 [INFO] [stderr] Compiling gix-chunk v0.4.8 [INFO] [stderr] Compiling gix-features v0.38.2 [INFO] [stderr] Compiling gix-path v0.10.9 [INFO] [stderr] Compiling gix-actor v0.31.5 [INFO] [stderr] Compiling gix-hashtable v0.5.2 [INFO] [stderr] Compiling gix-quote v0.4.12 [INFO] [stderr] Compiling pest v2.7.11 [INFO] [stderr] Compiling gix-config-value v0.14.7 [INFO] [stderr] Compiling gix-bitmap v0.2.11 [INFO] [stderr] Compiling gix-object v0.42.3 [INFO] [stderr] Compiling gix-fs v0.11.2 [INFO] [stderr] Compiling gix-commitgraph v0.24.3 [INFO] [stderr] Compiling gix-glob v0.16.4 [INFO] [stderr] Compiling gix-tempfile v14.0.1 [INFO] [stderr] Compiling gix-url v0.27.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling gix-lock v14.0.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling gix-revwalk v0.13.2 [INFO] [stderr] Compiling gix-ref v0.44.1 [INFO] [stderr] Compiling gix-pack v0.51.1 [INFO] [stderr] Compiling gix-revision v0.27.2 [INFO] [stderr] Compiling gix-traverse v0.39.2 [INFO] [stderr] Compiling pest_meta v2.7.11 [INFO] [stderr] Compiling gix-diff v0.44.1 [INFO] [stderr] Compiling gix-refspec v0.23.1 [INFO] [stderr] Compiling gix-index v0.33.1 [INFO] [stderr] Compiling gix-discover v0.32.0 [INFO] [stderr] Compiling gix-odb v0.61.1 [INFO] [stderr] Compiling gix-config v0.37.0 [INFO] [stderr] Compiling pest_generator v2.7.11 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling gix v0.63.0 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Compiling pest_derive v2.7.11 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Compiling cargo-platform v0.1.8 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling cargo_metadata v0.18.1 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking clap_builder v4.5.13 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking color-spantrace v0.2.1 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking os_info v3.8.2 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Compiling serpl v0.3.3 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Compiling stability v0.2.1 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking lru v0.12.4 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking home v0.5.9 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking etcetera v0.8.0 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking better-panic v0.3.0 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking human-panic v1.2.3 [INFO] [stderr] warning: serpl@0.3.3: Could not find a git repository in '/tmp/fixit' or in any of its parents [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_BRANCH set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_AUTHOR_EMAIL set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_AUTHOR_NAME set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_COUNT set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_MESSAGE set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_TIMESTAMP set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_DESCRIBE set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_SHA set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_DIRTY set to default [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking redux-rs v0.3.3 [INFO] [stderr] Checking color-eyre v0.6.3 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Checking tui-input v0.8.0 [INFO] [stderr] Checking ratatui v0.26.3 [INFO] [stderr] Compiling derive_deref v1.1.1 [INFO] [stderr] Checking clap v4.5.13 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext: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] 81 | $cats:expr_2021 => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext:tt)*);)+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `serpl` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr_2021 => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext:tt)*);)+} [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/macros.rs:81:50 [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr_2021, $disp:expr, $conf:expr, $col:tt$(.$colext:tt)*);)+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:81:62 [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr_2021, $conf:expr, $col:tt$(.$colext:tt)*);)+} [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/macros.rs:81:74 [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr_2021, $col:tt$(.$colext:tt)*);)+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/macros.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | $($method:ident$(:$value: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] 105 | $($method:ident$(:$value:expr_2021)?),* $(,)? [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/utils.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | ($arg: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] 119 | ($arg: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/macros.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | ($($arg: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] 125 | ($($arg:expr_2021),*$(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [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:81:13 [INFO] [stderr] | [INFO] [stderr] 81 | $cats:expr_2021 => {$($idx:expr_2021 => ($icon:expr_2021, $disp:expr_2021, $conf:expr_2021, $col:tt$(.$colext: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/macros.rs:81:35 [INFO] [stderr] | [INFO] [stderr] 81 | $cats:expr_2021 => {$($idx:expr_2021 => ($icon:expr_2021, $disp:expr_2021, $conf:expr_2021, $col:tt$(.$colext: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/macros.rs:81:54 [INFO] [stderr] | [INFO] [stderr] 81 | $cats:expr_2021 => {$($idx:expr_2021 => ($icon:expr_2021, $disp:expr_2021, $conf:expr_2021, $col:tt$(.$colext: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/macros.rs:81:71 [INFO] [stderr] | [INFO] [stderr] 81 | $cats:expr_2021 => {$($idx:expr_2021 => ($icon:expr_2021, $disp:expr_2021, $conf:expr_2021, $col:tt$(.$colext: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/macros.rs:81:88 [INFO] [stderr] | [INFO] [stderr] 81 | $cats:expr_2021 => {$($idx:expr_2021 => ($icon:expr_2021, $disp:expr_2021, $conf:expr_2021, $col:tt$(.$colext: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/macros.rs:105:27 [INFO] [stderr] | [INFO] [stderr] 105 | $($method:ident$(:$value: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/macros.rs:119:6 [INFO] [stderr] | [INFO] [stderr] 119 | ($arg: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/macros.rs:125:8 [INFO] [stderr] | [INFO] [stderr] 125 | ($($arg: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/macros.rs:131:8 [INFO] [stderr] | [INFO] [stderr] 131 | ($($arg: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/macros.rs:142:8 [INFO] [stderr] | [INFO] [stderr] 142 | ($($k:expr_2021 => $v: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/macros.rs:142:24 [INFO] [stderr] | [INFO] [stderr] 142 | ($($k:expr_2021 => $v: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/macros.rs:146:8 [INFO] [stderr] | [INFO] [stderr] 146 | ($($v: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/macros.rs:154:9 [INFO] [stderr] | [INFO] [stderr] 154 | $text: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/macros.rs:163:8 [INFO] [stderr] | [INFO] [stderr] 163 | ($($cond:expr_2021 => $x: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/macros.rs:163:27 [INFO] [stderr] | [INFO] [stderr] 163 | ($($cond:expr_2021 => $x: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/macros.rs:169:6 [INFO] [stderr] | [INFO] [stderr] 169 | ($cond:expr_2021 ; $x: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/macros.rs:169:24 [INFO] [stderr] | [INFO] [stderr] 169 | ($cond:expr_2021 ; $x: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/macros.rs:182:9 [INFO] [stderr] | [INFO] [stderr] 182 | $text: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/utils.rs:150:14 [INFO] [stderr] | [INFO] [stderr] 150 | (target: $target:expr_2021, level: $level:expr_2021, $ex:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:150:40 [INFO] [stderr] | [INFO] [stderr] 150 | (target: $target:expr_2021, level: $level:expr_2021, $ex:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:150:58 [INFO] [stderr] | [INFO] [stderr] 150 | (target: $target:expr_2021, level: $level:expr_2021, $ex:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:158:13 [INFO] [stderr] | [INFO] [stderr] 158 | (level: $level:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:158:31 [INFO] [stderr] | [INFO] [stderr] 158 | (level: $level:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:161:14 [INFO] [stderr] | [INFO] [stderr] 161 | (target: $target:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:161:33 [INFO] [stderr] | [INFO] [stderr] 161 | (target: $target:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:164:6 [INFO] [stderr] | [INFO] [stderr] 164 | ($ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 26 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/macros.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | ($($arg: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] 131 | ($($arg: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/macros.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | ($($k:expr => $v: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] 142 | ($($k:expr_2021 => $v: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/macros.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | ($($k:expr => $v: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] 142 | ($($k:expr => $v: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/macros.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | ($($v: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] 146 | ($($v: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/macros.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 154 | $text: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] 154 | $text: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/macros.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | ($($cond:expr => $x: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] 163 | ($($cond:expr_2021 => $x: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/macros.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | ($($cond:expr => $x: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] 163 | ($($cond:expr => $x: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/macros.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | ($cond:expr ; $x: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] 169 | ($cond:expr_2021 ; $x: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/macros.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | ($cond:expr ; $x: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] 169 | ($cond:expr ; $x: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/macros.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | $text: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] 182 | $text: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/utils.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | (target: $target:expr, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 149 | (target: $target:expr_2021, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | (target: $target:expr, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 149 | (target: $target:expr, level: $level:expr_2021, $ex:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:149:52 [INFO] [stdout] | [INFO] [stdout] 149 | (target: $target:expr, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 149 | (target: $target:expr, level: $level:expr, $ex:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | (level: $level:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | (level: $level:expr_2021, $ex:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | (level: $level:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | (level: $level:expr, $ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | (target: $target:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 160 | (target: $target:expr_2021, $ex:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | (target: $target:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 160 | (target: $target:expr, $ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | ($ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 163 | ($ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | / std::env::set_var( [INFO] [stdout] 126 | | "RUST_LOG", [INFO] [stdout] 127 | | std::env::var("RUST_LOG") [INFO] [stdout] 128 | | .or_else(|_| std::env::var(LOG_ENV.clone())) [INFO] [stdout] 129 | | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 130 | | ); [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] 125 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 126 ~ unsafe { std::env::set_var( [INFO] [stdout] 127 | "RUST_LOG", [INFO] [stdout] ... [INFO] [stdout] 130 | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 131 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | if let Err(e) = tokio_main().await { [INFO] [stdout] | ^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 61 ~ match tokio_main().await { Err(e) => { [INFO] [stdout] 62 | eprintln!("{} error: Something went wrong", env!("CARGO_PKG_NAME")); [INFO] [stdout] 63 | Err(e) [INFO] [stdout] 64 ~ } _ => { [INFO] [stdout] 65 | Ok(()) [INFO] [stdout] 66 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | if let Some(app_action) = self.config.keybindings.get(&vec![key]) { [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/app.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | } 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] 164 ~ match self.config.keybindings.get(&vec![key]) { Some(app_action) => { [INFO] [stdout] 165 | log::info!("Got action: {app_action:?}"); [INFO] [stdout] ... [INFO] [stdout] 170 | } [INFO] [stdout] 171 ~ } _ => { [INFO] [stdout] 172 | // If the key was not handled as a single key action, [INFO] [stdout] ... [INFO] [stdout] 184 | } [INFO] [stdout] 185 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | while let Ok(action) = action_rx.try_recv() { [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/app.rs:237:7 [INFO] [stdout] | [INFO] [stdout] 237 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | if let Err(e) = r { [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/app.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 211 ~ match r { Err(e) => { [INFO] [stdout] 212 | action_tx.send(AppAction::Tui(TuiAction::Error(format!("Failed to draw: {:?}", e)))).unwrap(); [INFO] [stdout] 213 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | if let Err(e) = r { [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/app.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 223 ~ match r { Err(e) => { [INFO] [stdout] 224 | action_tx.send(AppAction::Tui(TuiAction::Error(format!("Failed to draw: {:?}", e)))).unwrap(); [INFO] [stdout] 225 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | while let Ok(action) = redux_action_rx.try_recv() { [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/app.rs:257:7 [INFO] [stdout] | [INFO] [stdout] 257 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/redux/thunk/process_search.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | if let Ok(rg_output) = serde_json::from_str::(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/redux/thunk/process_search.rs:222:7 [INFO] [stdout] | [INFO] [stdout] 222 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 149 ~ match serde_json::from_str::(line) { Ok(rg_output) => { [INFO] [stdout] 150 | match rg_output.kind.as_str() { [INFO] [stdout] ... [INFO] [stdout] 221 | } [INFO] [stdout] 222 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | if let Err(r) = t.exit() { [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/utils.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 62 ~ match t.exit() { Err(r) => { [INFO] [stdout] 63 | error!("Unable to exit Terminal: {:?}", r); [INFO] [stdout] 64 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | } else if let Ok(data_dir) = data_directory() { [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/utils.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | } 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] 103 ~ } else { match data_directory() { Ok(data_dir) => { [INFO] [stdout] 104 | data_dir [INFO] [stdout] 105 ~ } _ => { [INFO] [stdout] 106 | PathBuf::from(".").join(".data") [INFO] [stdout] 107 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | } else if let Ok(config_dir) = config_directory() { [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/utils.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | } 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] 113 ~ } else { match config_directory() { Ok(config_dir) => { [INFO] [stdout] 114 | config_dir [INFO] [stdout] 115 ~ } _ => { [INFO] [stdout] 116 | PathBuf::from(".").join(".config") [INFO] [stdout] 117 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `serpl` [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext: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] 81 | $cats:expr_2021 => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext:tt)*);)+} [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/macros.rs:81:35 [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr_2021 => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext:tt)*);)+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:81:50 [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr_2021, $disp:expr, $conf:expr, $col:tt$(.$colext:tt)*);)+} [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/macros.rs:81:62 [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr_2021, $conf:expr, $col:tt$(.$colext:tt)*);)+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/macros.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:81:74 [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr, $col:tt$(.$colext: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] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 81 | $cats:expr => {$($idx:expr => ($icon:expr, $disp:expr, $conf:expr_2021, $col:tt$(.$colext:tt)*);)+} [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] * src/utils.rs [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:105:34 [INFO] [stdout] | [INFO] [stdout] 105 | $($method:ident$(:$value: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] 105 | $($method:ident$(:$value: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/macros.rs:119:11 [INFO] [stdout] | [INFO] [stdout] 119 | ($arg: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] 119 | ($arg:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | ($($arg: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] 125 | ($($arg:expr_2021),*$(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | ($($arg: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] 131 | ($($arg:expr_2021);*$(;)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | ($($k:expr => $v: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] 142 | ($($k:expr_2021 => $v:expr),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:142:22 [INFO] [stdout] | [INFO] [stdout] 142 | ($($k:expr => $v: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] 142 | ($($k:expr => $v:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | ($($v: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] 146 | ($($v:expr_2021),* $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:154:15 [INFO] [stdout] | [INFO] [stdout] 154 | $text: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] 154 | $text:expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | ($($cond:expr => $x: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] 163 | ($($cond:expr_2021 => $x:expr),+ $(,)?) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | ($($cond:expr => $x: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] 163 | ($($cond:expr => $x: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/macros.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | ($cond:expr ; $x: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] 169 | ($cond:expr_2021 ; $x:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] The following errors were reported: [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/macros.rs:169:22 [INFO] [stdout] | [INFO] [stdout] 169 | ($cond:expr ; $x: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] 169 | ($cond:expr ; $x: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/macros.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | $text: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] 182 | $text:expr_2021 [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/macros.rs:81:13 [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:149:22 [INFO] [stdout] | [INFO] [stdout] 149 | (target: $target:expr, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 149 | (target: $target:expr_2021, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:149:42 [INFO] [stdout] | [INFO] [stdout] 149 | (target: $target:expr, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 149 | (target: $target:expr, level: $level:expr_2021, $ex:expr) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 81 | $cats:expr_2021 => {$($idx:expr_2021 => ($icon:expr_2021, $disp:expr_2021, $conf:expr_2021, $col:tt$(.$colext:tt)*);)+} [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:149:52 [INFO] [stdout] | [INFO] [stdout] 149 | (target: $target:expr, level: $level:expr, $ex:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 149 | (target: $target:expr, level: $level:expr, $ex: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/utils.rs:157:20 [INFO] [stdout] | [INFO] [stdout] 157 | (level: $level:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | (level: $level:expr_2021, $ex:expr) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/utils.rs:157:30 [INFO] [stdout] | [INFO] [stdout] 157 | (level: $level:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 157 | (level: $level:expr, $ex:expr_2021) => { [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/utils.rs:160:22 [INFO] [stdout] | [INFO] [stdout] 160 | (target: $target:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 160 | (target: $target:expr_2021, $ex: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/utils.rs:160:32 [INFO] [stdout] | [INFO] [stdout] 160 | (target: $target:expr, $ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 160 | (target: $target:expr, $ex:expr_2021) => { [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/utils.rs:163:10 [INFO] [stdout] | [INFO] [stdout] 163 | ($ex:expr) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 163 | ($ex:expr_2021) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/macros.rs:81:35 [INFO] [stderr] | [INFO] [stderr] 81 | $cats:expr_2021 => {$($idx:expr_2021 => ($icon:expr_2021, $disp:expr_2021, $conf:expr_2021, $col:tt$(.$colext: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/macros.rs:81:54 [INFO] [stderr] | [INFO] [stderr] 81 | $cats:expr_2021 => {$($idx:expr_2021 => ($icon:expr_2021, $disp:expr_2021, $conf:expr_2021, $col:tt$(.$colext: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/macros.rs:81:71 [INFO] [stderr] | [INFO] [stderr] 81 | $cats:expr_2021 => {$($idx:expr_2021 => ($icon:expr_2021, $disp:expr_2021, $conf:expr_2021, $col:tt$(.$colext: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/macros.rs:81:88 [INFO] [stderr] | [INFO] [stderr] 81 | $cats:expr_2021 => {$($idx:expr_2021 => ($icon:expr_2021, $disp:expr_2021, $conf:expr_2021, $col:tt$(.$colext: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/macros.rs:105:27 [INFO] [stderr] | [INFO] [stderr] 105 | $($method:ident$(:$value: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/macros.rs:119:6 [INFO] [stderr] | [INFO] [stderr] 119 | ($arg: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/macros.rs:125:8 [INFO] [stderr] | [INFO] [stderr] 125 | ($($arg: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/macros.rs:131:8 [INFO] [stderr] | [INFO] [stderr] 131 | ($($arg: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/macros.rs:142:8 [INFO] [stderr] | [INFO] [stderr] 142 | ($($k:expr_2021 => $v: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/macros.rs:142:24 [INFO] [stderr] | [INFO] [stderr] 142 | ($($k:expr_2021 => $v: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/macros.rs:146:8 [INFO] [stderr] | [INFO] [stderr] 146 | ($($v: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/macros.rs:154:9 [INFO] [stderr] | [INFO] [stderr] 154 | $text: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/macros.rs:163:8 [INFO] [stderr] | [INFO] [stderr] 163 | ($($cond:expr_2021 => $x: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/macros.rs:163:27 [INFO] [stderr] | [INFO] [stderr] 163 | ($($cond:expr_2021 => $x: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/macros.rs:169:6 [INFO] [stderr] | [INFO] [stderr] 169 | ($cond:expr_2021 ; $x: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/macros.rs:169:24 [INFO] [stderr] | [INFO] [stderr] 169 | ($cond:expr_2021 ; $x: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/macros.rs:182:9 [INFO] [stderr] | [INFO] [stderr] 182 | $text: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/utils.rs:150:14 [INFO] [stderr] | [INFO] [stderr] 150 | (target: $target:expr_2021, level: $level:expr_2021, $ex:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:150:40 [INFO] [stderr] | [INFO] [stderr] 150 | (target: $target:expr_2021, level: $level:expr_2021, $ex:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:150:58 [INFO] [stderr] | [INFO] [stderr] 150 | (target: $target:expr_2021, level: $level:expr_2021, $ex:expr_2021) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:158:13 [INFO] [stderr] | [INFO] [stderr] 158 | (level: $level:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:158:31 [INFO] [stderr] | [INFO] [stderr] 158 | (level: $level:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:161:14 [INFO] [stderr] | [INFO] [stderr] 161 | (target: $target:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:161:33 [INFO] [stderr] | [INFO] [stderr] 161 | (target: $target:expr_2021, $ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/utils.rs:164:6 [INFO] [stderr] | [INFO] [stderr] 164 | ($ex:expr_2021) => { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 26 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: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | / std::env::set_var( [INFO] [stdout] 126 | | "RUST_LOG", [INFO] [stdout] 127 | | std::env::var("RUST_LOG") [INFO] [stdout] 128 | | .or_else(|_| std::env::var(LOG_ENV.clone())) [INFO] [stdout] 129 | | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 130 | | ); [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] 125 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 126 ~ unsafe { std::env::set_var( [INFO] [stdout] 127 | "RUST_LOG", [INFO] [stdout] ... [INFO] [stdout] 130 | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 131 ~ ) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/main.rs:61:6 [INFO] [stdout] | [INFO] [stdout] 61 | if let Err(e) = tokio_main().await { [INFO] [stdout] | ^^^^^^^^^^^^^------------------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/main.rs:64:3 [INFO] [stdout] | [INFO] [stdout] 64 | } else { [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 61 ~ match tokio_main().await { Err(e) => { [INFO] [stdout] 62 | eprintln!("{} error: Something went wrong", env!("CARGO_PKG_NAME")); [INFO] [stdout] 63 | Err(e) [INFO] [stdout] 64 ~ } _ => { [INFO] [stdout] 65 | Ok(()) [INFO] [stdout] 66 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:164:16 [INFO] [stdout] | [INFO] [stdout] 164 | if let Some(app_action) = self.config.keybindings.get(&vec![key]) { [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/app.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | } 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] 164 ~ match self.config.keybindings.get(&vec![key]) { Some(app_action) => { [INFO] [stdout] 165 | log::info!("Got action: {app_action:?}"); [INFO] [stdout] ... [INFO] [stdout] 170 | } [INFO] [stdout] 171 ~ } _ => { [INFO] [stdout] 172 | // If the key was not handled as a single key action, [INFO] [stdout] ... [INFO] [stdout] 184 | } [INFO] [stdout] 185 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:195:13 [INFO] [stdout] | [INFO] [stdout] 195 | while let Ok(action) = action_rx.try_recv() { [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/app.rs:237:7 [INFO] [stdout] | [INFO] [stdout] 237 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 211 | if let Err(e) = r { [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/app.rs:213:17 [INFO] [stdout] | [INFO] [stdout] 213 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 211 ~ match r { Err(e) => { [INFO] [stdout] 212 | action_tx.send(AppAction::Tui(TuiAction::Error(format!("Failed to draw: {:?}", e)))).unwrap(); [INFO] [stdout] 213 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:223:22 [INFO] [stdout] | [INFO] [stdout] 223 | if let Err(e) = r { [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/app.rs:225:19 [INFO] [stdout] | [INFO] [stdout] 225 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 223 ~ match r { Err(e) => { [INFO] [stdout] 224 | action_tx.send(AppAction::Tui(TuiAction::Error(format!("Failed to draw: {:?}", e)))).unwrap(); [INFO] [stdout] 225 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.15s [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app.rs:239:13 [INFO] [stdout] | [INFO] [stdout] 239 | while let Ok(action) = redux_action_rx.try_recv() { [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/app.rs:257:7 [INFO] [stdout] | [INFO] [stdout] 257 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/redux/thunk/process_search.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | if let Ok(rg_output) = serde_json::from_str::(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/redux/thunk/process_search.rs:222:7 [INFO] [stdout] | [INFO] [stdout] 222 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 149 ~ match serde_json::from_str::(line) { Ok(rg_output) => { [INFO] [stdout] 150 | match rg_output.kind.as_str() { [INFO] [stdout] ... [INFO] [stdout] 221 | } [INFO] [stdout] 222 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 62 | if let Err(r) = t.exit() { [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/utils.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 62 ~ match t.exit() { Err(r) => { [INFO] [stdout] 63 | error!("Unable to exit Terminal: {:?}", r); [INFO] [stdout] 64 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | } else if let Ok(data_dir) = data_directory() { [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/utils.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | } 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] 103 ~ } else { match data_directory() { Ok(data_dir) => { [INFO] [stdout] 104 | data_dir [INFO] [stdout] 105 ~ } _ => { [INFO] [stdout] 106 | PathBuf::from(".").join(".data") [INFO] [stdout] 107 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/utils.rs:113:13 [INFO] [stdout] | [INFO] [stdout] 113 | } else if let Ok(config_dir) = config_directory() { [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/utils.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | } 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] 113 ~ } else { match config_directory() { Ok(config_dir) => { [INFO] [stdout] 114 | config_dir [INFO] [stdout] 115 ~ } _ => { [INFO] [stdout] 116 | PathBuf::from(".").join(".config") [INFO] [stdout] 117 ~ }}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling serpl v0.3.3 (/tmp/fixit) [INFO] [stderr] warning: serpl@0.3.3: Could not find a git repository in '/tmp/fixit' or in any of its parents [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_BRANCH set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_AUTHOR_EMAIL set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_AUTHOR_NAME set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_COUNT set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_MESSAGE set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_TIMESTAMP set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_DESCRIBE set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_SHA set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_DIRTY set to default [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | / std::env::set_var( [INFO] [stdout] 126 | | "RUST_LOG", [INFO] [stdout] 127 | | std::env::var("RUST_LOG") [INFO] [stdout] 128 | | .or_else(|_| std::env::var(LOG_ENV.clone())) [INFO] [stdout] 129 | | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 130 | | ); [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 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: serpl@0.3.3: Could not find a git repository in '/tmp/fixit' or in any of its parents [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_BRANCH set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_AUTHOR_EMAIL set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_AUTHOR_NAME set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_COUNT set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_MESSAGE set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_TIMESTAMP set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_DESCRIBE set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_SHA set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_DIRTY set to default [INFO] [stderr] [INFO] [stderr] error: could not compile `serpl` (bin "serpl" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/utils.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | / std::env::set_var( [INFO] [stdout] 126 | | "RUST_LOG", [INFO] [stdout] 127 | | std::env::var("RUST_LOG") [INFO] [stdout] 128 | | .or_else(|_| std::env::var(LOG_ENV.clone())) [INFO] [stdout] 129 | | .unwrap_or_else(|_| format!("{}=info", env!("CARGO_CRATE_NAME"))), [INFO] [stdout] 130 | | ); [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 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: serpl@0.3.3: Could not find a git repository in '/tmp/fixit' or in any of its parents [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_BRANCH set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_AUTHOR_EMAIL set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_AUTHOR_NAME set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_COUNT set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_DATE set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_MESSAGE set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_COMMIT_TIMESTAMP set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_DESCRIBE set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_SHA set to default [INFO] [stderr] warning: serpl@0.3.3: VERGEN_GIT_DIRTY set to default [INFO] [stderr] [INFO] [stderr] error: could not compile `serpl` (bin "serpl") due to 2 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "da3845a30fe5c79e276a4aa3416b97b53452a6578a3dd4d546ac9df3bb3448a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da3845a30fe5c79e276a4aa3416b97b53452a6578a3dd4d546ac9df3bb3448a0", kill_on_drop: false }` [INFO] [stdout] da3845a30fe5c79e276a4aa3416b97b53452a6578a3dd4d546ac9df3bb3448a0