[INFO] fetching crate projectable 1.3.0... [INFO] checking projectable-1.3.0 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate projectable 1.3.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate projectable 1.3.0 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate projectable 1.3.0 [INFO] finished tweaking crates.io crate projectable 1.3.0 [INFO] tweaked toml for crates.io crate projectable 1.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate projectable 1.3.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fb4a271bbfe3ef5bc6136545c970ef0cde3beae1f100bea46434c5aa6d288a9 [INFO] running `Command { std: "docker" "start" "-a" "4fb4a271bbfe3ef5bc6136545c970ef0cde3beae1f100bea46434c5aa6d288a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fb4a271bbfe3ef5bc6136545c970ef0cde3beae1f100bea46434c5aa6d288a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fb4a271bbfe3ef5bc6136545c970ef0cde3beae1f100bea46434c5aa6d288a9", kill_on_drop: false }` [INFO] [stdout] 4fb4a271bbfe3ef5bc6136545c970ef0cde3beae1f100bea46434c5aa6d288a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0f2f60b6258c1e814e957202d049d8d52152ab8e4759476e869b7b6968aac4e [INFO] running `Command { std: "docker" "start" "-a" "e0f2f60b6258c1e814e957202d049d8d52152ab8e4759476e869b7b6968aac4e", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling serde_derive v1.0.158 [INFO] [stderr] Compiling serde v1.0.158 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling io-lifetimes v1.0.6 [INFO] [stderr] Compiling rustix v0.36.9 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.15 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking lock_api v0.4.9 [INFO] [stderr] Checking regex-syntax v0.6.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking unicode-width v0.1.10 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking bstr v1.3.0 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking crossbeam-channel v0.5.7 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.95 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling rustversion v1.0.12 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking anstyle-parse v0.2.0 [INFO] [stderr] Checking unicode-bidi v0.3.12 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Checking winnow v0.3.6 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking gimli v0.27.2 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking anstyle v1.0.0 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking anstyle-parse v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking object v0.30.3 [INFO] [stderr] Checking concolor-override v1.0.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking clap_lex v0.5.0 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking anstyle v0.3.5 [INFO] [stderr] Compiling anyhow v1.0.69 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking concolor-query v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.22 [INFO] [stderr] Compiling openssl-src v111.26.0+1.1.1u [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking parking_lot_core v0.9.7 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking num-integer v0.1.45 [INFO] [stderr] Checking signal-hook v0.3.15 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking regex v1.7.1 [INFO] [stderr] Checking filetime v0.2.20 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking shared_child v1.0.0 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking uuid v1.3.0 [INFO] [stderr] Checking chrono v0.4.24 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking os_pipe v1.1.4 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling libz-sys v1.1.8 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Compiling libssh2-sys v0.2.23 [INFO] [stderr] Compiling libgit2-sys v0.14.2+1.5.1 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking plotters-backend v0.3.5 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking file-id v0.1.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking predicates-core v1.0.5 [INFO] [stderr] Checking plotters-svg v0.3.5 [INFO] [stderr] Checking duct v0.13.6 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking easy_switch v0.1.0 [INFO] [stderr] Checking collect-all v0.1.0 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking difflib v0.4.0 [INFO] [stderr] Checking termtree v0.4.0 [INFO] [stderr] Checking easy-cast v0.5.2 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking human-sort v0.2.2 [INFO] [stderr] Checking predicates-tree v1.0.7 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking plotters v0.3.5 [INFO] [stderr] Checking dashmap v5.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking is-terminal v0.4.5 [INFO] [stderr] Checking tempfile v3.4.0 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking anstream v0.2.6 [INFO] [stderr] Checking clap_builder v4.3.4 [INFO] [stderr] Compiling clap_derive v4.3.2 [INFO] [stderr] Compiling serial_test_derive v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.28 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling strum_macros v0.24.3 [INFO] [stderr] Compiling test-log v0.2.11 [INFO] [stderr] Checking clap v4.3.4 [INFO] [stderr] Checking strum v0.24.1 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking toml_datetime v0.6.1 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking mio v0.8.6 [INFO] [stderr] Checking globset v0.4.10 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking crossterm v0.25.0 [INFO] [stderr] Checking serde_spanned v0.6.1 [INFO] [stderr] Checking toml_edit v0.19.7 [INFO] [stderr] Checking tui v0.19.0 [INFO] [stderr] Checking notify v6.0.1 [INFO] [stderr] Checking os_info v3.7.0 [INFO] [stderr] Checking notify-debouncer-full v0.2.0 [INFO] [stderr] Checking rust_search v2.1.0 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking tui-textarea v0.2.0 [INFO] [stderr] Checking tui-logger v0.8.3 [INFO] [stderr] Checking ansi-to-tui v2.0.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking csv v1.2.2 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking assert_fs v1.0.10 [INFO] [stderr] Checking toml v0.7.3 [INFO] [stderr] Checking serial_test v2.0.0 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking human-panic v1.1.3 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking git2 v0.16.1 [INFO] [stderr] Checking projectable v1.3.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `projectable` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/app/components/testing.rs [INFO] [stderr] * src/config.rs [INFO] [stderr] * src/external_event/refresh.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/app/components/testing.rs:3:6 [INFO] [stderr] | [INFO] [stderr] 3 | ($key: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/app/components/testing.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | ($key:expr_2021; $mods: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/app/components/testing.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | ($key:expr_2021; $mods: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/app/components/testing.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | ($($key:expr_2021$(; $mods: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/app/components/testing.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | ($($key:expr_2021$(; $mods: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/config.rs:65:6 [INFO] [stderr] | [INFO] [stderr] 65 | ($first:expr_2021, $second:expr_2021; $($field:ident),+) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/config.rs:65:24 [INFO] [stderr] | [INFO] [stderr] 65 | ($first:expr_2021, $second:expr_2021; $($field:ident),+) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/app/components/testing.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ($key:expr) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 3 | ($key:expr_2021) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/external_event/refresh.rs:49:14 [INFO] [stderr] | [INFO] [stderr] 49 | ($buffer:expr_2021, $refresh_type:ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: aborting due to 8 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0658`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/app/components/testing.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | ($key:expr; $mods: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] 14 | ($key:expr_2021; $mods: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/app/components/testing.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | ($key:expr; $mods: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] 14 | ($key:expr; $mods: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/app/components/testing.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | ($($key:expr$(; $mods: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] 31 | ($($key:expr_2021$(; $mods: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/app/components/testing.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | ($($key:expr$(; $mods: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] 31 | ($($key:expr$(; $mods: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/config.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | ($first:expr, $second:expr; $($field:ident),+) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ($first:expr_2021, $second:expr; $($field:ident),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/config.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | ($first:expr, $second:expr; $($field:ident),+) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ($first:expr, $second:expr_2021; $($field:ident),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/external_event/refresh.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | ($buffer:expr, $refresh_type:ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 49 | ($buffer:expr_2021, $refresh_type:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/mod.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(item) = self.tree.get_selected() { [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/mod.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | } [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] 109 ~ match self.tree.get_selected() { Some(item) => { [INFO] [stdout] 110 | self.previewer.preview_file(item.path())?; [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/mod.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | let cmd = if let Some(cmd_start) = &self.config.exec_cmd { [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/mod.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | } 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] 159 ~ let cmd = match &self.config.exec_cmd { Some(cmd_start) => { [INFO] [stdout] 160 | duct::cmd( [INFO] [stdout] ... [INFO] [stdout] 169 | ) [INFO] [stdout] 170 ~ } _ => { [INFO] [stdout] 171 | #[cfg(not(target_os = "windows"))] [INFO] [stdout] ... [INFO] [stdout] 179 | cmd [INFO] [stdout] 180 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/components/filetree.rs:414:28 [INFO] [stdout] | [INFO] [stdout] 414 | if let Some(item) = self.listing.selected_item() { [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/components/filetree.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 414 ~ match self.listing.selected_item() { Some(item) => { [INFO] [stdout] 415 | self.queue.add(AppEvent::OpenPopup(PendingOperation::DeleteFile(item.path().to_path_buf()))); [INFO] [stdout] 416 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/components/filetree.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(selected) = self.listing.selected() { [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/components/filetree.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 452 ~ match self.listing.selected() { Some(selected) => { [INFO] [stdout] 453 | let is_folded = self.listing.is_folded(selected).unwrap(); [INFO] [stdout] ... [INFO] [stdout] 459 | .add(AppEvent::OpenInput(InputOperation::NewFile { at: add_path.to_path_buf() })); [INFO] [stdout] 460 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/components/filetree.rs:463:28 [INFO] [stdout] | [INFO] [stdout] 463 | if let Some(selected) = self.listing.selected() { [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/components/filetree.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 463 ~ match self.listing.selected() { Some(selected) => { [INFO] [stdout] 464 | let is_folded = self.listing.is_folded(selected).unwrap(); [INFO] [stdout] ... [INFO] [stdout] 470 | .add(AppEvent::OpenInput(InputOperation::NewDir { at: add_path.to_path_buf() })); [INFO] [stdout] 471 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | while let Some(pat) = seq.next_element::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:832:23 [INFO] [stdout] | [INFO] [stdout] 832 | while let Some(val) = seq.next_element::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:838:17 [INFO] [stdout] | [INFO] [stdout] 838 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/external_event/refresh.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = res { [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] 63 | send_buffer!(self.create_buf.lock().unwrap(), Add); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/external_event/refresh.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 63 | send_buffer!(self.create_buf.lock().unwrap(), Add); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `send_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/external_event/refresh.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = res { [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] 64 | send_buffer!(self.remove_buf.lock().unwrap(), Delete); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/external_event/refresh.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 64 | send_buffer!(self.remove_buf.lock().unwrap(), Delete); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `send_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `projectable` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/app/components/filetree.rs [INFO] [stderr] * src/app/components/testing.rs [INFO] [stderr] * src/config.rs [INFO] [stderr] * src/external_event/refresh.rs [INFO] [stderr] * src/marks.rs [INFO] [stderr] [INFO] [stderr] This likely indicates a bug in either rustc or cargo itself, [INFO] [stderr] and we would appreciate a bug report! You're likely to see [INFO] [stderr] a number of compiler warnings after this message which cargo [INFO] [stderr] attempted to fix but failed. If you could open an issue at [INFO] [stderr] https://github.com/rust-lang/rust/issues [INFO] [stderr] quoting the full output of this command we'd be very appreciative! [INFO] [stderr] Note that you may be able to make some more progress in the near-term [INFO] [stderr] fixing code with the `--broken-code` flag [INFO] [stderr] [INFO] [stderr] The following errors were reported: [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/app/components/filetree.rs:573:8 [INFO] [stderr] | [INFO] [stderr] 573 | ($($name: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/app/components/testing.rs:3:6 [INFO] [stderr] | [INFO] [stderr] 3 | ($key: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/app/components/testing.rs:14:6 [INFO] [stderr] | [INFO] [stderr] 14 | ($key:expr_2021; $mods: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/app/components/testing.rs:14:22 [INFO] [stderr] | [INFO] [stderr] 14 | ($key:expr_2021; $mods: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/app/components/testing.rs:31:8 [INFO] [stderr] | [INFO] [stderr] 31 | ($($key:expr_2021$(; $mods: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/app/components/testing.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | ($($key:expr_2021$(; $mods: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/config.rs:65:6 [INFO] [stderr] | [INFO] [stderr] 65 | ($first:expr_2021, $second:expr_2021; $($field:ident),+) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/config.rs:65:24 [INFO] [stderr] | [INFO] [stderr] 65 | ($first:expr_2021, $second:expr_2021; $($field:ident),+) => {{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error[E0658]: fragment specifier `expr_2021` is unstable [INFO] [stderr] --> src/external_event/refresh.rs:49:14 [INFO] [stderr] | [INFO] [stderr] 49 | ($buffer:expr_2021, $refresh_type:ident) => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: see issue #123742 for more information [INFO] [stderr] = help: add `#![feature(expr_fragment_specifier_2024)]` to the crate attributes to enable [INFO] [stderr] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/config.rs:1142:9 [INFO] [stderr] | [INFO] [stderr] 1142 | unsafe { env::set_var("PROJECTABLE_CONFIG_DIR", "path") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | #![forbid(unsafe_code)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/config.rs:1145:13 [INFO] [stderr] | [INFO] [stderr] 1145 | unsafe { env::remove_var("PROJECTABLE_CONFIG_DIR") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/marks.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | unsafe { env::set_var("PROJECTABLE_DATA_DIR", temp.path()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/marks.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | unsafe { env::set_var("PROJECTABLE_DATA_DIR", ".") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/marks.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | unsafe { env::remove_var("PROJECTABLE_DATA_DIR") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/marks.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 160 | unsafe { env::set_var("PROJECTABLE_DATA_DIR", temp.path()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/marks.rs:163:13 [INFO] [stderr] | [INFO] [stderr] 163 | unsafe { env::remove_var("PROJECTABLE_DATA_DIR") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/marks.rs:179:9 [INFO] [stderr] | [INFO] [stderr] 179 | unsafe { env::set_var("PROJECTABLE_DATA_DIR", temp.path()) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/marks.rs:182:13 [INFO] [stderr] | [INFO] [stderr] 182 | unsafe { env::remove_var("PROJECTABLE_DATA_DIR") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/marks.rs:196:13 [INFO] [stderr] | [INFO] [stderr] 196 | unsafe { env::remove_var("PROJECTABLE_DATA_DIR") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/marks.rs:210:13 [INFO] [stderr] | [INFO] [stderr] 210 | unsafe { env::remove_var("PROJECTABLE_DATA_DIR") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: usage of an `unsafe` block [INFO] [stderr] --> src/marks.rs:226:13 [INFO] [stderr] | [INFO] [stderr] 226 | unsafe { env::remove_var("PROJECTABLE_DATA_DIR") }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 21 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] [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/app/components/filetree.rs:573:14 [INFO] [stdout] | [INFO] [stdout] 573 | ($($name:expr),*) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] = note: `--force-warn edition-2024-expr-fragment-specifier` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 573 | ($($name: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/app/components/testing.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | ($key: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] 3 | ($key: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/app/components/testing.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | ($key:expr; $mods: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] 14 | ($key:expr_2021; $mods: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/app/components/testing.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | ($key:expr; $mods: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] 14 | ($key:expr; $mods: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/app/components/testing.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | ($($key:expr$(; $mods: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] 31 | ($($key:expr_2021$(; $mods: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/app/components/testing.rs:31:27 [INFO] [stdout] | [INFO] [stdout] 31 | ($($key:expr$(; $mods: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] 31 | ($($key:expr$(; $mods: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/config.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | ($first:expr, $second:expr; $($field:ident),+) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ($first:expr_2021, $second:expr; $($field:ident),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/config.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 65 | ($first:expr, $second:expr; $($field:ident),+) => {{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 65 | ($first:expr, $second:expr_2021; $($field:ident),+) => {{ [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the `expr` fragment specifier will accept more expressions in the 2024 edition [INFO] [stdout] --> src/external_event/refresh.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | ($buffer:expr, $refresh_type:ident) => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see Migration Guide [INFO] [stdout] help: to keep the existing behavior, use the `expr_2021` fragment specifier [INFO] [stdout] | [INFO] [stdout] 49 | ($buffer:expr_2021, $refresh_type:ident) => { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:1141:9 [INFO] [stdout] | [INFO] [stdout] 1141 | env::set_var("PROJECTABLE_CONFIG_DIR", "path"); [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] 1141 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1142 ~ unsafe { env::set_var("PROJECTABLE_CONFIG_DIR", "path") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:1143:13 [INFO] [stdout] | [INFO] [stdout] 1143 | env::remove_var("PROJECTABLE_CONFIG_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 1143 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 1144 ~ unsafe { env::remove_var("PROJECTABLE_CONFIG_DIR") }; [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/marks.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | env::set_var("PROJECTABLE_DATA_DIR", temp.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 108 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 109 ~ unsafe { env::set_var("PROJECTABLE_DATA_DIR", temp.path()) }; [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/marks.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | env::set_var("PROJECTABLE_DATA_DIR", "."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 116 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 117 ~ unsafe { env::set_var("PROJECTABLE_DATA_DIR", ".") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 118 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 119 ~ unsafe { env::remove_var("PROJECTABLE_DATA_DIR") }; [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/marks.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | env::set_var("PROJECTABLE_DATA_DIR", temp.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 156 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 157 ~ unsafe { env::set_var("PROJECTABLE_DATA_DIR", temp.path()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 158 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 159 ~ unsafe { env::remove_var("PROJECTABLE_DATA_DIR") }; [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/marks.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | env::set_var("PROJECTABLE_DATA_DIR", temp.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 173 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 174 ~ unsafe { env::set_var("PROJECTABLE_DATA_DIR", temp.path()) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 175 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 176 ~ unsafe { env::remove_var("PROJECTABLE_DATA_DIR") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 188 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 189 ~ unsafe { env::remove_var("PROJECTABLE_DATA_DIR") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 201 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 202 ~ unsafe { env::remove_var("PROJECTABLE_DATA_DIR") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to deprecated safe function `std::env::remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #27970 [INFO] [stdout] help: you can wrap the call in an `unsafe` block if you can guarantee that the environment access only happens in single-threaded code [INFO] [stdout] | [INFO] [stdout] 216 + // TODO: Audit that the environment access only happens in single-threaded code. [INFO] [stdout] 217 ~ unsafe { env::remove_var("PROJECTABLE_DATA_DIR") }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/mod.rs:109:24 [INFO] [stdout] | [INFO] [stdout] 109 | if let Some(item) = self.tree.get_selected() { [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/mod.rs:111:21 [INFO] [stdout] | [INFO] [stdout] 111 | } [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] 109 ~ match self.tree.get_selected() { Some(item) => { [INFO] [stdout] 110 | self.previewer.preview_file(item.path())?; [INFO] [stdout] 111 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/mod.rs:159:34 [INFO] [stdout] | [INFO] [stdout] 159 | let cmd = if let Some(cmd_start) = &self.config.exec_cmd { [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/mod.rs:170:21 [INFO] [stdout] | [INFO] [stdout] 170 | } 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] 159 ~ let cmd = match &self.config.exec_cmd { Some(cmd_start) => { [INFO] [stdout] 160 | duct::cmd( [INFO] [stdout] ... [INFO] [stdout] 169 | ) [INFO] [stdout] 170 ~ } _ => { [INFO] [stdout] 171 | #[cfg(not(target_os = "windows"))] [INFO] [stdout] ... [INFO] [stdout] 179 | cmd [INFO] [stdout] 180 ~ }}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/components/filetree.rs:414:28 [INFO] [stdout] | [INFO] [stdout] 414 | if let Some(item) = self.listing.selected_item() { [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/components/filetree.rs:416:25 [INFO] [stdout] | [INFO] [stdout] 416 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 414 ~ match self.listing.selected_item() { Some(item) => { [INFO] [stdout] 415 | self.queue.add(AppEvent::OpenPopup(PendingOperation::DeleteFile(item.path().to_path_buf()))); [INFO] [stdout] 416 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/components/filetree.rs:452:28 [INFO] [stdout] | [INFO] [stdout] 452 | if let Some(selected) = self.listing.selected() { [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/components/filetree.rs:460:25 [INFO] [stdout] | [INFO] [stdout] 460 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 452 ~ match self.listing.selected() { Some(selected) => { [INFO] [stdout] 453 | let is_folded = self.listing.is_folded(selected).unwrap(); [INFO] [stdout] ... [INFO] [stdout] 459 | .add(AppEvent::OpenInput(InputOperation::NewFile { at: add_path.to_path_buf() })); [INFO] [stdout] 460 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/app/components/filetree.rs:463:28 [INFO] [stdout] | [INFO] [stdout] 463 | if let Some(selected) = self.listing.selected() { [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/components/filetree.rs:471:25 [INFO] [stdout] | [INFO] [stdout] 471 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 463 ~ match self.listing.selected() { Some(selected) => { [INFO] [stdout] 464 | let is_folded = self.listing.is_folded(selected).unwrap(); [INFO] [stdout] ... [INFO] [stdout] 470 | .add(AppEvent::OpenInput(InputOperation::NewDir { at: add_path.to_path_buf() })); [INFO] [stdout] 471 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | while let Some(pat) = seq.next_element::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/config.rs:832:23 [INFO] [stdout] | [INFO] [stdout] 832 | while let Some(val) = seq.next_element::()? { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/config.rs:838:17 [INFO] [stdout] | [INFO] [stdout] 838 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/external_event/refresh.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = res { [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] 63 | send_buffer!(self.create_buf.lock().unwrap(), Add); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/external_event/refresh.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 63 | send_buffer!(self.create_buf.lock().unwrap(), Add); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `send_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/external_event/refresh.rs:54:24 [INFO] [stdout] | [INFO] [stdout] 54 | if let Err(err) = res { [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] 64 | send_buffer!(self.remove_buf.lock().unwrap(), Delete); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/external_event/refresh.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | } [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 64 | send_buffer!(self.remove_buf.lock().unwrap(), Delete); [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `send_buffer` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 30 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/main.rs (2 fixes) [INFO] [stderr] Migrating benches/listing_selection.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.57s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking projectable v1.3.0 (/tmp/fixit) [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:1141:9 [INFO] [stdout] | [INFO] [stdout] 1141 | env::set_var("PROJECTABLE_CONFIG_DIR", "path"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/config.rs:1143:13 [INFO] [stdout] | [INFO] [stdout] 1143 | env::remove_var("PROJECTABLE_CONFIG_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | env::set_var("PROJECTABLE_DATA_DIR", temp.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | env::set_var("PROJECTABLE_DATA_DIR", "."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | env::set_var("PROJECTABLE_DATA_DIR", temp.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `set_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | env::set_var("PROJECTABLE_DATA_DIR", temp.path()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:175:13 [INFO] [stdout] | [INFO] [stdout] 175 | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | env::remove_var("PROJECTABLE_DATA_DIR"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0133]: call to unsafe function `remove_var` is unsafe and requires unsafe block [INFO] [stdout] --> src/marks.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | env::remove_var("PROJECTABLE_DATA_DIR"); [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 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] error: could not compile `projectable` (lib test) due to 13 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" "e0f2f60b6258c1e814e957202d049d8d52152ab8e4759476e869b7b6968aac4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0f2f60b6258c1e814e957202d049d8d52152ab8e4759476e869b7b6968aac4e", kill_on_drop: false }` [INFO] [stdout] e0f2f60b6258c1e814e957202d049d8d52152ab8e4759476e869b7b6968aac4e