[INFO] fetching crate idiom 0.4.4... [INFO] checking idiom-0.4.4 against try#65132f36b923285d5da381c2fbafee6ce899e841 for pr-132712-1 [INFO] extracting crate idiom 0.4.4 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate idiom 0.4.4 on toolchain 65132f36b923285d5da381c2fbafee6ce899e841 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate idiom 0.4.4 [INFO] finished tweaking crates.io crate idiom 0.4.4 [INFO] tweaked toml for crates.io crate idiom 0.4.4 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate idiom 0.4.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bffa770581a0ee6808ade5ba963c77a7473e359c4eeb994777ec2ae5c9e8f76e [INFO] running `Command { std: "docker" "start" "-a" "bffa770581a0ee6808ade5ba963c77a7473e359c4eeb994777ec2ae5c9e8f76e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bffa770581a0ee6808ade5ba963c77a7473e359c4eeb994777ec2ae5c9e8f76e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bffa770581a0ee6808ade5ba963c77a7473e359c4eeb994777ec2ae5c9e8f76e", kill_on_drop: false }` [INFO] [stdout] bffa770581a0ee6808ade5ba963c77a7473e359c4eeb994777ec2ae5c9e8f76e [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+65132f36b923285d5da381c2fbafee6ce899e841" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b60c92db2aa79261966c78bd878d01b0c85f6eed9dd6d4e1dd936ea8ce5d162 [INFO] running `Command { std: "docker" "start" "-a" "1b60c92db2aa79261966c78bd878d01b0c85f6eed9dd6d4e1dd936ea8ce5d162", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling cc v1.1.5 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking libloading v0.8.4 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling wayland-client v0.31.5 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking cursor-icon v1.1.0 [INFO] [stderr] Checking xcursor v0.3.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling beef v0.5.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling quick-xml v0.34.0 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking xkeysym v0.2.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking bytes v1.6.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking x11rb-protocol v0.13.1 [INFO] [stderr] Compiling wayland-sys v0.31.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking bstr v1.9.1 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Compiling vte_generate_state_changes v0.1.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling wayland-backend v0.3.6 [INFO] [stderr] Checking notify-types v1.0.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking vte v0.11.1 [INFO] [stderr] Checking fluent-uri v0.1.4 [INFO] [stderr] Compiling wayland-scanner v0.31.4 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking ioctl-rs v0.1.6 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking serial-core v0.4.0 [INFO] [stderr] Checking termios v0.2.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking serial-unix v0.4.0 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking inotify v0.10.2 [INFO] [stderr] Checking serial v0.4.0 [INFO] [stderr] Checking nix v0.25.1 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking fuzzy-matcher v0.3.7 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking notify v7.0.0 [INFO] [stderr] Checking strip-ansi-escapes v0.2.0 [INFO] [stderr] Compiling logos-codegen v0.14.2 [INFO] [stderr] Checking globset v0.4.15 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking ignore v0.4.23 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Compiling logos-derive v0.14.2 [INFO] [stderr] Checking logos v0.14.2 [INFO] [stderr] Checking filedescriptor v0.8.2 [INFO] [stderr] Checking portable-pty v0.8.1 [INFO] [stderr] Checking polling v3.7.2 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking x11-clipboard v0.9.2 [INFO] [stderr] Checking wayland-protocols v0.32.3 [INFO] [stderr] Checking wayland-cursor v0.31.5 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking tokio-stream v0.1.16 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking lsp-types v0.97.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.3 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking copypasta v0.10.1 [INFO] [stderr] Checking idiom v0.4.4 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `idiom` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lsp/local/bash.rs [INFO] [stderr] * src/lsp/local/enriched.rs [INFO] [stderr] * src/lsp/local/generic.rs [INFO] [stderr] * src/lsp/local/lobster.rs [INFO] [stderr] * src/lsp/local/mod.rs [INFO] [stderr] * src/lsp/local/python.rs [INFO] [stderr] * src/lsp/local/rust.rs [INFO] [stderr] * src/lsp/local/styler.rs [INFO] [stderr] * src/lsp/local/ts.rs [INFO] [stderr] * src/lsp/local/utils.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: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lsp/local/bash.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Logos + use<'s>, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lsp/local/generic.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lsp/local/lobster.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lsp/local/python.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lsp/local/rust.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lsp/local/ts.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::BashToken` [INFO] [stderr] --> src/lsp/local/bash.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 191 | use super::BashToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `BashToken` in `lsp::local::bash` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `super::generic::GenericToken`, `super::lobster::Pincer`, `super::python::PyToken`, `super::rust::Rustacean`, `super::ts::TSToken` [INFO] [stderr] --> src/lsp/local/enriched.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | generic::GenericToken, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `GenericToken` in `lsp::local::generic` [INFO] [stderr] 4 | lobster::Pincer, [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Pincer` in `lsp::local::lobster` [INFO] [stderr] 5 | python::PyToken, [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `PyToken` in `lsp::local::python` [INFO] [stderr] 6 | rust::Rustacean, [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Rustacean` in `lsp::local::rust` [INFO] [stderr] 7 | ts::TSToken, [INFO] [stderr] | ^^^^^^^^^^^ no `TSToken` in `lsp::local::ts` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lsp::local::python::PyToken` [INFO] [stderr] --> src/lsp/local/enriched.rs:437:21 [INFO] [stderr] | [INFO] [stderr] 437 | local::{python::PyToken, LangStream, Payload}, [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `PyToken` in `lsp::local::python` [INFO] [stderr] | [INFO] [stderr] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stderr] crate::lsp::local::enriched::PyToken [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::Pincer` [INFO] [stderr] --> src/lsp/local/lobster.rs:310:9 [INFO] [stderr] | [INFO] [stderr] 310 | use super::Pincer; [INFO] [stderr] | ^^^^^^^^^^^^^ no `Pincer` in `lsp::local::lobster` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::PyToken` [INFO] [stderr] --> src/lsp/local/python.rs:295:9 [INFO] [stderr] | [INFO] [stderr] 295 | use super::PyToken; [INFO] [stderr] | ^^^^^^^^^^^^^^ no `PyToken` in `lsp::local::python` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:604:9 [INFO] [stderr] | [INFO] [stderr] 604 | use super::Rustacean; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ no `Rustacean` in `lsp::local::rust` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::GenericToken` [INFO] [stderr] --> src/lsp/local/styler.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use super::GenericToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `GenericToken` in `lsp::local` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `crate::lsp::local::python::PyToken` [INFO] [stderr] --> src/lsp/local/utils.rs:201:22 [INFO] [stderr] | [INFO] [stderr] 201 | lsp::local::{python::PyToken, LangStream, LocalLSP, PositionedToken}, [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `PyToken` in `lsp::local::python` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `bash::BashToken` [INFO] [stderr] --> src/lsp/local/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use bash::BashToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `BashToken` in `lsp::local::bash` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `generic::GenericToken` [INFO] [stderr] --> src/lsp/local/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use generic::GenericToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `GenericToken` in `lsp::local::generic` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `lobster::Pincer` [INFO] [stderr] --> src/lsp/local/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use lobster::Pincer; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Pincer` in `lsp::local::lobster` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `python::PyToken` [INFO] [stderr] --> src/lsp/local/mod.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use python::PyToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `PyToken` in `lsp::local::python` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rust::Rustacean` [INFO] [stderr] --> src/lsp/local/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use rust::Rustacean; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Rustacean` in `lsp::local::rust` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ts::TSToken` [INFO] [stderr] --> src/lsp/local/mod.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use ts::TSToken; [INFO] [stderr] | ^^^^^^^^^^^ no `TSToken` in `lsp::local::ts` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BashToken` in this scope [INFO] [stderr] --> src/lsp/local/bash.rs:82:21 [INFO] [stderr] | [INFO] [stderr] 82 | impl LangStream for BashToken { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BashToken` in this scope [INFO] [stderr] --> src/lsp/local/bash.rs:177:6 [INFO] [stderr] | [INFO] [stderr] 177 | impl BashToken { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GenericToken` in this scope [INFO] [stderr] --> src/lsp/local/generic.rs:141:21 [INFO] [stderr] | [INFO] [stderr] 141 | impl LangStream for GenericToken { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GenericToken` in this scope [INFO] [stderr] --> src/lsp/local/generic.rs:250:6 [INFO] [stderr] | [INFO] [stderr] 250 | impl GenericToken { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GenericToken` in this scope [INFO] [stderr] --> src/lsp/local/generic.rs:287:27 [INFO] [stderr] | [INFO] [stderr] 287 | logos: &mut Lexer<'_, GenericToken>, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 285 | fn drain_import( [INFO] [stderr] | ++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GenericToken` in this scope [INFO] [stderr] --> src/lsp/local/generic.rs:288:42 [INFO] [stderr] | [INFO] [stderr] 288 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 285 | fn drain_import( [INFO] [stderr] | ++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GenericToken` in this scope [INFO] [stderr] --> src/lsp/local/generic.rs:289:35 [INFO] [stderr] | [INFO] [stderr] 289 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 285 | fn drain_import( [INFO] [stderr] | ++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Pincer` in this scope [INFO] [stderr] --> src/lsp/local/lobster.rs:125:21 [INFO] [stderr] | [INFO] [stderr] 125 | impl LangStream for Pincer { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Pincer` in this scope [INFO] [stderr] --> src/lsp/local/lobster.rs:259:6 [INFO] [stderr] | [INFO] [stderr] 259 | impl Pincer { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Pincer` in this scope [INFO] [stderr] --> src/lsp/local/lobster.rs:290:27 [INFO] [stderr] | [INFO] [stderr] 290 | logos: &mut Lexer<'_, Pincer>, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 288 | fn drain_import( [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Pincer` in this scope [INFO] [stderr] --> src/lsp/local/lobster.rs:291:42 [INFO] [stderr] | [INFO] [stderr] 291 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 288 | fn drain_import( [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Pincer` in this scope [INFO] [stderr] --> src/lsp/local/lobster.rs:292:35 [INFO] [stderr] | [INFO] [stderr] 292 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 288 | fn drain_import( [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyToken` in this scope [INFO] [stderr] --> src/lsp/local/python.rs:116:21 [INFO] [stderr] | [INFO] [stderr] 116 | impl LangStream for PyToken { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyToken` in this scope [INFO] [stderr] --> src/lsp/local/python.rs:244:6 [INFO] [stderr] | [INFO] [stderr] 244 | impl PyToken { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyToken` in this scope [INFO] [stderr] --> src/lsp/local/python.rs:275:27 [INFO] [stderr] | [INFO] [stderr] 275 | logos: &mut Lexer<'_, PyToken>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 273 | fn drain_import( [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyToken` in this scope [INFO] [stderr] --> src/lsp/local/python.rs:276:42 [INFO] [stderr] | [INFO] [stderr] 276 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 273 | fn drain_import( [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyToken` in this scope [INFO] [stderr] --> src/lsp/local/python.rs:277:35 [INFO] [stderr] | [INFO] [stderr] 277 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 273 | fn drain_import( [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:151:21 [INFO] [stderr] | [INFO] [stderr] 151 | impl LangStream for Rustacean { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:373:6 [INFO] [stderr] | [INFO] [stderr] 373 | impl Rustacean { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:406:27 [INFO] [stderr] | [INFO] [stderr] 406 | logos: &mut Lexer<'a, Rustacean>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 405 | fn parse_enum<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:409:42 [INFO] [stderr] | [INFO] [stderr] 409 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 405 | fn parse_enum<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:410:42 [INFO] [stderr] | [INFO] [stderr] 410 | tokens: &mut Vec>>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 405 | fn parse_enum<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:411:35 [INFO] [stderr] | [INFO] [stderr] 411 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 405 | fn parse_enum<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:461:27 [INFO] [stderr] | [INFO] [stderr] 461 | logos: &mut Lexer<'a, Rustacean>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 460 | fn parse_struct<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:464:42 [INFO] [stderr] | [INFO] [stderr] 464 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 460 | fn parse_struct<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:465:42 [INFO] [stderr] | [INFO] [stderr] 465 | tokens: &mut Vec>>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 460 | fn parse_struct<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:466:35 [INFO] [stderr] | [INFO] [stderr] 466 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 460 | fn parse_struct<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:500:27 [INFO] [stderr] | [INFO] [stderr] 500 | logos: &mut Lexer<'a, Rustacean>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 499 | fn parse_import<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:503:42 [INFO] [stderr] | [INFO] [stderr] 503 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 499 | fn parse_import<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:504:42 [INFO] [stderr] | [INFO] [stderr] 504 | tokens: &mut Vec>>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 499 | fn parse_import<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:505:35 [INFO] [stderr] | [INFO] [stderr] 505 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 499 | fn parse_import<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:543:27 [INFO] [stderr] | [INFO] [stderr] 543 | logos: &mut Lexer<'_, Rustacean>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 541 | fn drain_impl( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:544:42 [INFO] [stderr] | [INFO] [stderr] 544 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 541 | fn drain_impl( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:545:35 [INFO] [stderr] | [INFO] [stderr] 545 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 541 | fn drain_impl( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:575:27 [INFO] [stderr] | [INFO] [stderr] 575 | logos: &mut Lexer<'_, Rustacean>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 573 | fn drain_type_declare( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:576:42 [INFO] [stderr] | [INFO] [stderr] 576 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 573 | fn drain_type_declare( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:577:35 [INFO] [stderr] | [INFO] [stderr] 577 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 573 | fn drain_type_declare( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TSToken` in this scope [INFO] [stderr] --> src/lsp/local/ts.rs:135:21 [INFO] [stderr] | [INFO] [stderr] 135 | impl LangStream for TSToken { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TSToken` in this scope [INFO] [stderr] --> src/lsp/local/ts.rs:249:6 [INFO] [stderr] | [INFO] [stderr] 249 | impl TSToken { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TSToken` in this scope [INFO] [stderr] --> src/lsp/local/ts.rs:280:27 [INFO] [stderr] | [INFO] [stderr] 280 | logos: &mut Lexer<'_, TSToken>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 278 | fn drain_import( [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TSToken` in this scope [INFO] [stderr] --> src/lsp/local/ts.rs:281:42 [INFO] [stderr] | [INFO] [stderr] 281 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 278 | fn drain_import( [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TSToken` in this scope [INFO] [stderr] --> src/lsp/local/ts.rs:282:35 [INFO] [stderr] | [INFO] [stderr] 282 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 278 | fn drain_import( [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `BashToken` [INFO] [stderr] --> src/lsp/local/bash.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | let mut logos = BashToken::lexer(line); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `BashToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `GenericToken` [INFO] [stderr] --> src/lsp/local/generic.rs:165:29 [INFO] [stderr] | [INFO] [stderr] 165 | let mut logos = GenericToken::lexer(line); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `GenericToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `GenericToken` [INFO] [stderr] --> src/lsp/local/generic.rs:291:28 [INFO] [stderr] | [INFO] [stderr] 291 | token_line.push(parser(GenericToken::NameSpaceKeyWord, logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `GenericToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Pincer` [INFO] [stderr] --> src/lsp/local/lobster.rs:135:29 [INFO] [stderr] | [INFO] [stderr] 135 | let mut logos = Pincer::lexer(line); [INFO] [stderr] | ^^^^^^ use of undeclared type `Pincer` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Pincer` [INFO] [stderr] --> src/lsp/local/lobster.rs:294:28 [INFO] [stderr] | [INFO] [stderr] 294 | token_line.push(parser(Pincer::NameSpaceKeyWord, logos.span(), line)); [INFO] [stderr] | ^^^^^^ use of undeclared type `Pincer` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `PyToken` [INFO] [stderr] --> src/lsp/local/python.rs:126:29 [INFO] [stderr] | [INFO] [stderr] 126 | let mut logos = PyToken::lexer(line); [INFO] [stderr] | ^^^^^^^ use of undeclared type `PyToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `PyToken` [INFO] [stderr] --> src/lsp/local/python.rs:279:28 [INFO] [stderr] | [INFO] [stderr] 279 | token_line.push(parser(PyToken::NameSpaceKeyWord, logos.span(), line)); [INFO] [stderr] | ^^^^^^^ use of undeclared type `PyToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:160:29 [INFO] [stderr] | [INFO] [stderr] 160 | let mut logos = Rustacean::lexer(line); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:179:60 [INFO] [stderr] | [INFO] [stderr] 179 | ... token_line.push(parser(Rustacean::Enum(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:201:60 [INFO] [stderr] | [INFO] [stderr] 201 | ... token_line.push(parser(Rustacean::Struct(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:220:56 [INFO] [stderr] | [INFO] [stderr] 220 | ... token_line.push(parser(Rustacean::Type(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:420:48 [INFO] [stderr] | [INFO] [stderr] 420 | token_line.push(parser(Rustacean::Type(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:423:48 [INFO] [stderr] | [INFO] [stderr] 423 | token_line.push(parser(Rustacean::EnumMember(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:455:18 [INFO] [stderr] | [INFO] [stderr] 455 | *logos = Rustacean::lexer(line); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:494:18 [INFO] [stderr] | [INFO] [stderr] 494 | *logos = Rustacean::lexer(line); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:513:48 [INFO] [stderr] | [INFO] [stderr] 513 | token_line.push(parser(Rustacean::NameSpace(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:536:18 [INFO] [stderr] | [INFO] [stderr] 536 | *logos = Rustacean::lexer(line); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:548:67 [INFO] [stderr] | [INFO] [stderr] 548 | Some(Ok(Rustacean::Name(name))) => token_line.push(parser(Rustacean::Type(name), logos.span(), line)), [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:557:40 [INFO] [stderr] | [INFO] [stderr] 557 | token_line.push(parser(Rustacean::ImplementInterface, logos.span(), line)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:560:40 [INFO] [stderr] | [INFO] [stderr] 560 | token_line.push(parser(Rustacean::Type(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:566:40 [INFO] [stderr] | [INFO] [stderr] 566 | token_line.push(parser(Rustacean::TypeInner, span, line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:579:28 [INFO] [stderr] | [INFO] [stderr] 579 | token_line.push(parser(Rustacean::DeclareType, logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:586:61 [INFO] [stderr] | [INFO] [stderr] 586 | Rustacean::Name(name) => token_line.push(parser(Rustacean::Type(name), logos.span(), line)), [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TSToken` [INFO] [stderr] --> src/lsp/local/ts.rs:284:28 [INFO] [stderr] | [INFO] [stderr] 284 | token_line.push(parser(TSToken::NameSpaceKeyWord, logos.span(), line)); [INFO] [stderr] | ^^^^^^^ use of undeclared type `TSToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:431:21 [INFO] [stderr] | [INFO] [stderr] 431 | Rustacean::OpenScope => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:587:13 [INFO] [stderr] | [INFO] [stderr] 587 | Rustacean::TypeInner => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:437:21 [INFO] [stderr] | [INFO] [stderr] 437 | Rustacean::CloseScope => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:586:13 [INFO] [stderr] | [INFO] [stderr] 586 | Rustacean::Name(name) => token_line.push(parser(Rustacean::Type(name), logos.span(), line)), [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:515:21 [INFO] [stderr] | [INFO] [stderr] 515 | Rustacean::OpenScope => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:473:21 [INFO] [stderr] | [INFO] [stderr] 473 | Rustacean::OpenScope => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:562:16 [INFO] [stderr] | [INFO] [stderr] 562 | Ok(Rustacean::TypeInner) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:476:21 [INFO] [stderr] | [INFO] [stderr] 476 | Rustacean::CloseScope => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:178:33 [INFO] [stderr] | [INFO] [stderr] 178 | ... Rustacean::Name(name) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:559:16 [INFO] [stderr] | [INFO] [stderr] 559 | Ok(Rustacean::Name(name)) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:200:33 [INFO] [stderr] | [INFO] [stderr] 200 | ... Rustacean::Name(name) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:518:21 [INFO] [stderr] | [INFO] [stderr] 518 | Rustacean::CloseScope => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:219:37 [INFO] [stderr] | [INFO] [stderr] 219 | ... Some(Ok(Rustacean::Name(name))) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:553:16 [INFO] [stderr] | [INFO] [stderr] 553 | Ok(Rustacean::FlowControl) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:419:21 [INFO] [stderr] | [INFO] [stderr] 419 | Rustacean::Name(name) if tuple_member != 0 => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:512:21 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lsp/client.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | let mut gen = MonoID::default(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lsp/client.rs:273:23 [INFO] [stdout] | [INFO] [stdout] 273 | assert_eq!(1, gen.next_id()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 512 | Rustacean::Name(name) => { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lsp/client.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | assert_eq!(2, gen.next_id()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stdout] warning[E0133]: call to unsafe function `core::str::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/widgets/mod.rs:234:53 [INFO] [stdout] | [INFO] [stdout] 234 | Some(style) => backend.print_styled(self.text.get_unchecked(..width), style), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/widgets/mod.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe fn print_truncated(&self, width: usize, backend: &mut Backend) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `core::str::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/widgets/mod.rs:235:39 [INFO] [stdout] | [INFO] [stdout] 235 | None => backend.print(self.text.get_unchecked(..width)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stdout] warning[E0133]: call to unsafe function `core::str::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/widgets/mod.rs:252:53 [INFO] [stdout] | [INFO] [stdout] 252 | Some(style) => backend.print_styled(self.text.get_unchecked(self.len() - width..), style), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/widgets/mod.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | unsafe fn print_truncated_start(&self, width: usize, backend: &mut Backend) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/lsp/local/rust.rs:422:21 [INFO] [stdout] warning[E0133]: call to unsafe function `core::str::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/widgets/mod.rs:253:39 [INFO] [stdout] | [INFO] [stdout] 253 | None => backend.print(self.text.get_unchecked(self.len() - width..)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `render::widgets::Writable::print_truncated` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/widgets/mod.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | text.print_truncated(width, backend); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/widgets/mod.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | unsafe fn print_truncated(&self, mut width: usize, backend: &mut Backend) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 422 | Rustacean::Name(name) => { [INFO] [stdout] warning[E0133]: call to unsafe function `render::widgets::Writable::print_truncated_start` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/widgets/mod.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | text.print_truncated_start(text.width - skipped, backend); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/widgets/mod.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | unsafe fn print_truncated_start(&self, width: usize, backend: &mut Backend) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/global_state/mod.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | if let Ok(event) = value.try_into() { [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/global_state/mod.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | } [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] 257 ~ match value.try_into() { Ok(event) => { [INFO] [stdout] 258 | self.event.push(event); [INFO] [stdout] 259 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/global_state/mod.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | if let Err(err) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/global_state/mod.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 293 ~ match result { Err(err) => { [INFO] [stdout] 294 | self.send_error(err, file_type); [INFO] [stdout] 295 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/global_state/clipboard.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | if let Ok(clipboard) = ClipboardContext::new() { [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/global_state/clipboard.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | } 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] 10 ~ match ClipboardContext::new() { Ok(clipboard) => { [INFO] [stdout] 11 | Self::System(clipboard) [INFO] [stdout] 12 ~ } _ => { [INFO] [stdout] 13 | Self::Internal(Vec::new()) [INFO] [stdout] 14 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/lsp/local/rust.rs:548:17 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/global_state/events.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | } else if let Ok(new_path) = match from_base { [INFO] [stdout] | ___________________________^ - [INFO] [stdout] | |______________________________________________| [INFO] [stdout] 140 | || true => tree.create_file_or_folder_base(name), [INFO] [stdout] 141 | || false => tree.create_file_or_folder(name), [INFO] [stdout] 142 | || } { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/global_state/events.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 139 ~ } else { match match from_base { [INFO] [stdout] 140 | true => tree.create_file_or_folder_base(name), [INFO] [stdout] 141 | false => tree.create_file_or_folder(name), [INFO] [stdout] 142 ~ } { Ok(new_path) => { [INFO] [stdout] 143 | tree.sync(gs); [INFO] [stdout] ... [INFO] [stdout] 156 | tree.select_by_path(&new_path); [INFO] [stdout] 157 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/global_state/events.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | } else if let Some(result) = tree.rename_path(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/global_state/events.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 163 ~ } else { match tree.rename_path(name) { Some(result) => { [INFO] [stdout] 164 | match result { [INFO] [stdout] ... [INFO] [stdout] 167 | } [INFO] [stdout] 168 ~ } _ => {}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 548 | Some(Ok(Rustacean::Name(name))) => token_line.push(parser(Rustacean::Type(name), logos.span(), line)), [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/client.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | if let Some(pseudo_lsp) = self.local_lsp.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lsp/client.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 247 ~ match self.local_lsp.take() { Some(pseudo_lsp) => { [INFO] [stdout] 248 | pseudo_lsp.abort(); [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, BashToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos + use<'s>, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, BashToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos + use<'s>, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, BashToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos + use<'s>, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/lsp/local/rust.rs:425:21 [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, BashToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos + use<'s>, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | if let Ok(lsp_msg_text) = msg.try_stringify() { [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/lsp/local/enriched.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 95 ~ match msg.try_stringify() { Ok(lsp_msg_text) => { [INFO] [stdout] 96 | lsp_stdin.write_all(lsp_msg_text.as_bytes()).await?; [INFO] [stdout] 97 | lsp_stdin.flush().await?; [INFO] [stdout] 98 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 425 | Rustacean::LBrack => { [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:230:16 [INFO] [stdout] | [INFO] [stdout] 230 | if let Payload::Completion(uri, cursor, id) = payload { [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] 231 | local_lsp.autocomplete(uri, cursor, id); [INFO] [stdout] 232 | } else if let Some(msg) = local_lsp.pre_process(payload)? { [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/lsp/local/enriched.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | } else if let Some(msg) = local_lsp.pre_process(payload)? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 230 ~ match payload { Payload::Completion(uri, cursor, id) => { [INFO] [stdout] 231 | local_lsp.autocomplete(uri, cursor, id); [INFO] [stdout] 232 ~ } _ => { match local_lsp.pre_process(payload)? { Some(msg) => { [INFO] [stdout] 233 | lsp_stdin.write_all(msg.as_bytes()).await?; [INFO] [stdout] 234 | lsp_stdin.flush().await?; [INFO] [stdout] 235 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | if let Payload::Sync(uri, version, change_events) = payload { [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] 258 | } else if let Some(msg) = local_lsp.pre_process(payload)? { [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/lsp/local/enriched.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | } else if let Some(msg) = local_lsp.pre_process(payload)? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 249 ~ match payload { Payload::Sync(uri, version, change_events) => { [INFO] [stdout] 250 | let doc = local_lsp [INFO] [stdout] ... [INFO] [stdout] 257 | lsp_stdin.flush().await?; [INFO] [stdout] 258 ~ } _ => { match local_lsp.pre_process(payload)? { Some(msg) => { [INFO] [stdout] 259 | lsp_stdin.write_all(msg.as_bytes()).await?; [INFO] [stdout] 260 | lsp_stdin.flush().await?; [INFO] [stdout] 261 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:275:16 [INFO] [stdout] | [INFO] [stdout] 275 | if let Payload::Completion(uri, cursor, id) = payload { [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] 276 | local_lsp.autocomplete(uri, cursor, id); [INFO] [stdout] 277 | } else if let Payload::Sync(uri, version, change_events) = payload { [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] 286 | } else if let Some(msg) = local_lsp.pre_process(payload)? { [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/lsp/local/enriched.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | } else if let Payload::Sync(uri, version, change_events) = payload { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | } else if let Some(msg) = local_lsp.pre_process(payload)? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 275 ~ match payload { Payload::Completion(uri, cursor, id) => { [INFO] [stdout] 276 | local_lsp.autocomplete(uri, cursor, id); [INFO] [stdout] 277 ~ } _ => { match payload { Payload::Sync(uri, version, change_events) => { [INFO] [stdout] 278 | let doc = local_lsp [INFO] [stdout] ... [INFO] [stdout] 285 | lsp_stdin.flush().await?; [INFO] [stdout] 286 ~ } _ => { match local_lsp.pre_process(payload)? { Some(msg) => { [INFO] [stdout] 287 | lsp_stdin.write_all(msg.as_bytes()).await?; [INFO] [stdout] 288 | lsp_stdin.flush().await?; [INFO] [stdout] 289 ~ } _ => {}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, GenericToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/generic.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/generic.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/lsp/local/rust.rs:428:21 [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, GenericToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/generic.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/generic.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, GenericToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/generic.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/generic.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 428 | Rustacean::RBrack => { [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, Pincer>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/lobster.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/lobster.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, Pincer>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/lobster.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/lobster.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, Pincer>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/lobster.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/lobster.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: aborting due to 106 previous errors [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, PyToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/python.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/python.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, PyToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/python.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/python.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, PyToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/python.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/python.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, Rustacean>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/rust.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/rust.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Original diagnostics will follow. [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, TSToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/ts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/ts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, TSToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/ts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/ts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, TSToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/ts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/ts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/lsp_stream.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | if let Ok(msg) = String::from_utf8(err.into()) { [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/lsp/lsp_stream.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 46 ~ match String::from_utf8(err.into()) { Ok(msg) => { [INFO] [stdout] 47 | into_guard(&errors_handler).push(msg); [INFO] [stdout] 48 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/messages.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(PublishDiagnosticsParams { uri, diagnostics, .. }) = obj [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________________________________________________________| [INFO] [stdout] 72 | || .get_mut("params") [INFO] [stdout] 73 | || .map(Value::take) [INFO] [stdout] 74 | || .and_then(|params| from_value::(params).ok()) [INFO] [stdout] | ||___________________________________________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________________________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lsp/messages.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 71 ~ match obj [INFO] [stdout] 72 | .get_mut("params") [INFO] [stdout] 73 | .map(Value::take) [INFO] [stdout] 74 | .and_then(|params| from_value::(params).ok()) [INFO] [stdout] 75 ~ { Some(PublishDiagnosticsParams { uri, diagnostics, .. }) => { [INFO] [stdout] 76 | return LSPMessage::Diagnostic(uri, Diagnostic::new(diagnostics)); [INFO] [stdout] 77 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/messages.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some((_, line)) = diagnostic_lines.iter_mut().find(|(idx, _)| idx == &line_idx) { [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/lsp/messages.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | } 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] 179 ~ match diagnostic_lines.iter_mut().find(|(idx, _)| idx == &line_idx) { Some((_, line)) => { [INFO] [stdout] 180 | line.append(d); [INFO] [stdout] 181 ~ } _ => { [INFO] [stdout] 182 | diagnostic_lines.push((line_idx, d.into())); [INFO] [stdout] 183 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/popups/popup_file_open.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if let Ok(entries) = path.read_dir() { [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/popups/popup_file_open.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 39 ~ match path.read_dir() { Ok(entries) => { [INFO] [stdout] 40 | self.paths.extend(entries.flatten().map(|de| de.path().display().to_string())); [INFO] [stdout] 41 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/popups/popup_file_open.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(entries) = path.parent().and_then(|parent| parent.read_dir().ok()) { [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/popups/popup_file_open.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 44 ~ match path.parent().and_then(|parent| parent.read_dir().ok()) { Some(entries) => { [INFO] [stdout] 45 | self.paths.extend(entries.flatten().filter_map(|de| checked_string(de, &self.pattern.text))); [INFO] [stdout] 46 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/popups/popup_tree_search.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(old_handle) = self.join_handle.replace(tokio::task::spawn(async move { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 220 | || buffer.lock().await.clear(); [INFO] [stdout] 221 | || let mut join_set = tree_path.search_files_join_set(pattern); [INFO] [stdout] 222 | || while let Some(task_result) = join_set.join_next().await { [INFO] [stdout] ... || [INFO] [stdout] 226 | || } [INFO] [stdout] 227 | || })) { [INFO] [stdout] | ||___________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/popups/popup_tree_search.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ match self.join_handle.replace(tokio::task::spawn(async move { [INFO] [stdout] 220 | buffer.lock().await.clear(); [INFO] [stdout] ... [INFO] [stdout] 226 | } [INFO] [stdout] 227 ~ })) { Some(old_handle) => { [INFO] [stdout] 228 | if !old_handle.is_finished() { [INFO] [stdout] 229 | old_handle.abort(); [INFO] [stdout] 230 | } [INFO] [stdout] 231 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | if let Ok((terminal, prompt)) = Terminal::new(self.width) { [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/runner/mod.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 73 ~ match Terminal::new(self.width) { Ok((terminal, prompt)) => { [INFO] [stdout] 74 | self.terminal.replace(terminal).map(|t| t.kill()); [INFO] [stdout] 75 | self.prompt.replace(prompt); [INFO] [stdout] 76 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | if let Ok((terminal, prompt)) = Terminal::new(self.width) { [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/runner/mod.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match Terminal::new(self.width) { Ok((terminal, prompt)) => { [INFO] [stdout] 80 | self.terminal.replace(terminal); [INFO] [stdout] 81 | self.prompt.replace(prompt); [INFO] [stdout] 82 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(terminal) = self.terminal.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 88 ~ match self.terminal.take() { Some(terminal) => { [INFO] [stdout] 89 | let _ = terminal.kill(); [INFO] [stdout] 90 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | if let Ok((terminal, prompt)) = Terminal::new(self.width) { [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/runner/mod.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 133 ~ match Terminal::new(self.width) { Ok((terminal, prompt)) => { [INFO] [stdout] 134 | self.terminal.replace(terminal).map(|t| t.kill()); [INFO] [stdout] 135 | self.prompt.replace(prompt); [INFO] [stdout] 136 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | } else if let Some(t) = self.terminal.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 145 ~ } else { match self.terminal.as_mut() { Some(t) => { [INFO] [stdout] 146 | let _ = t.push_command(cmd); [INFO] [stdout] 147 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | if let Some(logs) = self.terminal.as_mut().and_then(|t| t.pull_logs()) { [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/runner/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 158 ~ match self.terminal.as_mut().and_then(|t| t.pull_logs()) { Some(logs) => { [INFO] [stdout] 159 | self.logs.extend(logs); [INFO] [stdout] 160 | self.go_to_last_log(); [INFO] [stdout] 161 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(terminal) = self.terminal.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 165 ~ match self.terminal.as_mut() { Some(terminal) => { [INFO] [stdout] 166 | let _ = terminal.resize(width); [INFO] [stdout] 167 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:191:16 [INFO] [stdout] | [INFO] [stdout] 191 | if let Some(terminal) = self.terminal.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 191 ~ match self.terminal.as_mut() { Some(terminal) => { [INFO] [stdout] 192 | terminal.push_command(String::from("git ls-files | xargs wc -l"))?; [INFO] [stdout] 193 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/diagnostics.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(actions) = lang.derive_diagnostic_actions(diagnostic.info.as_ref()) { [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/syntax/diagnostics.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 90 ~ match lang.derive_diagnostic_actions(diagnostic.info.as_ref()) { Some(actions) => { [INFO] [stdout] 91 | for action in actions { [INFO] [stdout] 92 | buffer.push(action.clone()); [INFO] [stdout] 93 | } [INFO] [stdout] 94 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/diagnostics.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(first_diagnostic) = self.data.first() { [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/syntax/diagnostics.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 108 ~ match self.data.first() { Some(first_diagnostic) => { [INFO] [stdout] 109 | let style = first_diagnostic.text_style(); [INFO] [stdout] 110 | let text = first_diagnostic.inline_text.truncate_width(max_width - 1).1; [INFO] [stdout] 111 | backend.print_styled(text, style); [INFO] [stdout] 112 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(tc) = client.capabilities.semantic_tokens_provider.as_ref() { [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/syntax/lsp_calls.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | } 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] 42 ~ match client.capabilities.semantic_tokens_provider.as_ref() { Some(tc) => { [INFO] [stdout] 43 | lexer.legend.map_styles(lexer.lang.file_type, &lexer.theme, tc); [INFO] [stdout] ... [INFO] [stdout] 49 | } [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | lexer.tokens = tokens_dead; [INFO] [stdout] 52 | lexer.tokens_partial = tokens_partial_redirect; [INFO] [stdout] 53 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | if let Some(sync) = client.capabilities.text_document_sync.as_ref() { [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/syntax/lsp_calls.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | } 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] 97 ~ match client.capabilities.text_document_sync.as_ref() { Some(sync) => { [INFO] [stdout] 98 | match sync { [INFO] [stdout] ... [INFO] [stdout] 111 | } [INFO] [stdout] 112 ~ } _ => { [INFO] [stdout] 113 | lexer.sync = sync_edits_dead; [INFO] [stdout] 114 | lexer.sync_rev = sync_edits_dead_rev; [INFO] [stdout] 115 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(response) = responses.remove(request.id()) { [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/syntax/lsp_calls.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | } 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] 184 ~ match responses.remove(request.id()) { Some(response) => { [INFO] [stdout] 185 | match request.parse(response.result) { [INFO] [stdout] ... [INFO] [stdout] 248 | } [INFO] [stdout] 249 ~ } _ => { [INFO] [stdout] 250 | if matches!(request, LSPResponseType::Tokens(..)) { [INFO] [stdout] ... [INFO] [stdout] 253 | unresolved_requests.push(request); [INFO] [stdout] 254 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | ... if let Some(modal) = lexer.modal.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:195:29 [INFO] [stdout] | [INFO] [stdout] 195 | ... } 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] 193 ~ match lexer.modal.as_mut() { Some(modal) => { [INFO] [stdout] 194 | modal.hover_map(hover, &lexer.theme); [INFO] [stdout] 195 ~ } _ => { [INFO] [stdout] 196 | lexer.modal.replace(LSPModal::from_hover(hover, &lexer.theme)); [INFO] [stdout] 197 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | ... if let Some(modal) = lexer.modal.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | ... } 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] 200 ~ match lexer.modal.as_mut() { Some(modal) => { [INFO] [stdout] 201 | modal.signature_map(signature, &lexer.theme); [INFO] [stdout] 202 ~ } _ => { [INFO] [stdout] 203 | lexer.modal.replace(LSPModal::from_signature(signature, &lexer.theme)); [INFO] [stdout] 204 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | ... if let Some(mut locations) = locations { [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/syntax/lsp_calls.rs:234:29 [INFO] [stdout] | [INFO] [stdout] 234 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 228 ~ match locations { Some(mut locations) => { [INFO] [stdout] 229 | if locations.len() == 1 { [INFO] [stdout] ... [INFO] [stdout] 233 | } [INFO] [stdout] 234 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tree/mod.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | if let Ok(d_path) = (self.path_parser)(&path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tree/mod.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 206 ~ match (self.path_parser)(&path) { Ok(d_path) => { [INFO] [stdout] 207 | self.tree.map_diagnostics_base(&d_path, new_diagnostic); [INFO] [stdout] ... [INFO] [stdout] 219 | } [INFO] [stdout] 220 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/utils.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_nested_paths(path: &PathBuf) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/utils.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_nested_paths(path: &PathBuf) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_nested_paths(path: &PathBuf) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(editor) = self.editors.get_mut(0) { [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/workspace/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | } else if let Some(line) = gs.tab_area.into_iter().next() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 53 ~ match self.editors.get_mut(0) { Some(editor) => { [INFO] [stdout] 54 | let line = match gs.tab_area.into_iter().next() { [INFO] [stdout] ... [INFO] [stdout] 68 | gs.writer.reset_style(); [INFO] [stdout] 69 ~ } _ => if let Some(line) = gs.tab_area.into_iter().next() { [INFO] [stdout] 70 | line.render_empty(&mut gs.writer); [INFO] [stdout] 71 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | } else if let Some(editor) = self.editors.find(|e| e.path == old) { [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/workspace/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 133 ~ } else { match self.editors.find(|e| e.path == old) { Some(editor) => { [INFO] [stdout] 134 | gs.log_if_lsp_error(editor.update_path(new_path), editor.file_type); [INFO] [stdout] 135 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(editor) = self.get_editor(file_url.path().as_str()) { [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] 154 | editor.apply_file_edits(file_edits); [INFO] [stdout] 155 | } else if let Ok(mut editor) = self.build_basic_editor(PathBuf::from(file_url.path().as_str()), gs) { [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/workspace/mod.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | } else if let Ok(mut editor) = self.build_basic_editor(PathBuf::from(file_url.path().as_str()), gs) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | } 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] 153 ~ match self.get_editor(file_url.path().as_str()) { Some(editor) => { [INFO] [stdout] 154 | editor.apply_file_edits(file_edits); [INFO] [stdout] 155 ~ } _ => { match self.build_basic_editor(PathBuf::from(file_url.path().as_str()), gs) { Ok(mut editor) => { [INFO] [stdout] 156 | editor.apply_file_edits(file_edits); [INFO] [stdout] 157 | editor.try_write_file(gs); [INFO] [stdout] 158 ~ } _ => { [INFO] [stdout] 159 | gs.error(format!("Unable to build editor for {}", file_url.path())); [INFO] [stdout] 160 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | if let Some(documet_edit) = edits.document_changes { [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/workspace/mod.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 163 ~ match edits.document_changes { Some(documet_edit) => { [INFO] [stdout] 164 | match documet_edit { [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/workspace/mod.rs:177:36 [INFO] [stdout] | [INFO] [stdout] 177 | ... if let Err(err) = self.handle_tree_operations(operation) { [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/workspace/mod.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 177 ~ match self.handle_tree_operations(operation) { Err(err) => { [INFO] [stdout] 178 | gs.error(format!("Failed file tree operation: {err}")); [INFO] [stdout] 179 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | if let Some(editor) = self.get_editor(text_document_edit.text_document.uri.path().as_str()) { [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] 200 | self.build_basic_editor(PathBuf::from(text_document_edit.text_document.uri.path().as_str()), gs) [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/workspace/mod.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | } else if let Ok(mut editor) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | } 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] 189 ~ match self.get_editor(text_document_edit.text_document.uri.path().as_str()) { Some(editor) => { [INFO] [stdout] 190 | let edits = text_document_edit [INFO] [stdout] ... [INFO] [stdout] 198 | editor.apply_file_edits(edits); [INFO] [stdout] 199 ~ } _ => { match self.build_basic_editor(PathBuf::from(text_document_edit.text_document.uri.path().as_str()), gs) [INFO] [stdout] 200 ~ { Ok(mut editor) => { [INFO] [stdout] 201 | let edits = text_document_edit [INFO] [stdout] ... [INFO] [stdout] 210 | editor.try_write_file(gs); [INFO] [stdout] 211 ~ } _ => { [INFO] [stdout] 212 | gs.error(format!("Unable to build editor for {}", text_document_edit.text_document.uri.path())); [INFO] [stdout] 213 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 222 | if let Some(options) = create.options { [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/workspace/mod.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 222 ~ match create.options { Some(options) => { [INFO] [stdout] 223 | if matches!(options.overwrite, Some(overwrite) if !overwrite) [INFO] [stdout] ... [INFO] [stdout] 227 | } [INFO] [stdout] 228 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | if let Some(editor) = self.get_editor(rename.old_uri.path().as_str()) { [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/workspace/mod.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match self.get_editor(rename.old_uri.path().as_str()) { Some(editor) => { [INFO] [stdout] 243 | let path = PathBuf::from(rename.new_uri.path().as_str()); [INFO] [stdout] 244 | editor.display = path.display().to_string(); [INFO] [stdout] 245 | editor.path = path; [INFO] [stdout] 246 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 344 | if let Some(lsp) = self.lsp_servers.get_mut(&ft) { [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/workspace/mod.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 344 ~ match self.lsp_servers.get_mut(&ft) { Some(lsp) => { [INFO] [stdout] 345 | match lsp.check_status(ft).await { [INFO] [stdout] ... [INFO] [stdout] 354 | } [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 360 | if let Some(lsp) = self.lsp_servers.get(ft) { [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/workspace/mod.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 360 ~ match self.lsp_servers.get(ft) { Some(lsp) => { [INFO] [stdout] 361 | for editor in self.editors.iter_mut().filter(|e| &e.file_type == ft) { [INFO] [stdout] 362 | editor.lexer.set_lsp_client(lsp.aquire_client(), editor.stringify(), gs); [INFO] [stdout] 363 | } [INFO] [stdout] 364 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:445:16 [INFO] [stdout] | [INFO] [stdout] 445 | if let Some(lsp) = self.lsp_servers.get(&editor.file_type) { [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/workspace/mod.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 445 ~ match self.lsp_servers.get(&editor.file_type) { Some(lsp) => { [INFO] [stdout] 446 | if !editor.lexer.lsp { [INFO] [stdout] 447 | editor.lexer.set_lsp_client(lsp.aquire_client(), editor.stringify(), gs); [INFO] [stdout] 448 | } [INFO] [stdout] 449 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:507:20 [INFO] [stdout] | [INFO] [stdout] 507 | if let Some(mut editor) = ws.editors.pop() { [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/workspace/mod.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 507 ~ match ws.editors.pop() { Some(mut editor) => { [INFO] [stdout] 508 | gs.event.push(IdiomEvent::SelectPath(editor.path.clone())); [INFO] [stdout] ... [INFO] [stdout] 513 | ws.editors.insert(0, editor); [INFO] [stdout] 514 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/editor/mod.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | if let Some(clip) = gs.clipboard.pull() { [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/workspace/editor/mod.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 243 ~ match gs.clipboard.pull() { Some(clip) => { [INFO] [stdout] 244 | self.actions.paste(clip, &mut self.cursor, &mut self.content, &mut self.lexer); [INFO] [stdout] 245 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/renderer/code/mod.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(diagnostic) = code.diagnostics.as_ref() { [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/workspace/renderer/code/mod.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ match code.diagnostics.as_ref() { Some(diagnostic) => { [INFO] [stdout] 84 | diagnostic.inline_render(line_width - code.char_len, backend) [INFO] [stdout] 85 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/renderer/code/mod.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(diagnostic) = code.diagnostics.as_ref() { [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/workspace/renderer/code/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } [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 ~ match code.diagnostics.as_ref() { Some(diagnostic) => { [INFO] [stdout] 104 | diagnostic.inline_render(line_width - code.content.width(), backend) [INFO] [stdout] 105 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/renderer/code/mod.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(diagnostic) = code.diagnostics.as_ref() { [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/workspace/renderer/code/mod.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 119 ~ match code.diagnostics.as_ref() { Some(diagnostic) => { [INFO] [stdout] 120 | diagnostic.inline_render(line_width - code.char_len, backend) [INFO] [stdout] 121 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/renderer/code/mod.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | if let Some(diagnostic) = code.diagnostics.as_ref() { [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/workspace/renderer/code/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 138 ~ match code.diagnostics.as_ref() { Some(diagnostic) => { [INFO] [stdout] 139 | diagnostic.inline_render(line_width - code.content.width(), backend) [INFO] [stdout] 140 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/renderer/code/ascii_cursor.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if let Some(diagnostics) = line.diagnostics.as_ref() { [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/workspace/renderer/code/ascii_cursor.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 20 ~ match line.diagnostics.as_ref() { Some(diagnostics) => { [INFO] [stdout] 21 | diagnostics.inline_render(line_width - line.char_len, backend); [INFO] [stdout] 22 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/renderer/code/complex_cursor.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(diagnostic) = line.diagnostics.as_ref() { [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/workspace/renderer/code/complex_cursor.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 23 ~ match line.diagnostics.as_ref() { Some(diagnostic) => { [INFO] [stdout] 24 | diagnostic.inline_render(remainder, backend); [INFO] [stdout] 25 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] warning: failed to automatically apply fixes suggested by rustc to crate `idiom` [INFO] [stderr] [INFO] [stderr] after fixes were automatically applied the compiler reported errors within these files: [INFO] [stderr] [INFO] [stderr] * src/lsp/local/bash.rs [INFO] [stderr] * src/lsp/local/enriched.rs [INFO] [stderr] * src/lsp/local/generic.rs [INFO] [stderr] * src/lsp/local/lobster.rs [INFO] [stderr] * src/lsp/local/mod.rs [INFO] [stderr] * src/lsp/local/python.rs [INFO] [stderr] * src/lsp/local/rust.rs [INFO] [stderr] * src/lsp/local/styler.rs [INFO] [stderr] * src/lsp/local/ts.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: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lsp/local/bash.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug, Logos + use<'s>, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lsp/local/generic.rs:5:16 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lsp/local/lobster.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lsp/local/python.rs:7:16 [INFO] [stderr] | [INFO] [stderr] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lsp/local/rust.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error: expected one of `(`, `,`, `::`, or `=`, found `+` [INFO] [stderr] --> src/lsp/local/ts.rs:6:16 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stderr] | ^ expected one of `(`, `,`, `::`, or `=` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `super::generic::GenericToken`, `super::lobster::Pincer`, `super::python::PyToken`, `super::rust::Rustacean`, `super::ts::TSToken` [INFO] [stderr] --> src/lsp/local/enriched.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | generic::GenericToken, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `GenericToken` in `lsp::local::generic` [INFO] [stderr] 4 | lobster::Pincer, [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Pincer` in `lsp::local::lobster` [INFO] [stderr] 5 | python::PyToken, [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `PyToken` in `lsp::local::python` [INFO] [stderr] 6 | rust::Rustacean, [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Rustacean` in `lsp::local::rust` [INFO] [stderr] 7 | ts::TSToken, [INFO] [stderr] | ^^^^^^^^^^^ no `TSToken` in `lsp::local::ts` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `super::GenericToken` [INFO] [stderr] --> src/lsp/local/styler.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use super::GenericToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ no `GenericToken` in `lsp::local` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `bash::BashToken` [INFO] [stderr] --> src/lsp/local/mod.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use bash::BashToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `BashToken` in `lsp::local::bash` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `generic::GenericToken` [INFO] [stderr] --> src/lsp/local/mod.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use generic::GenericToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ no `GenericToken` in `lsp::local::generic` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `lobster::Pincer` [INFO] [stderr] --> src/lsp/local/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use lobster::Pincer; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Pincer` in `lsp::local::lobster` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `python::PyToken` [INFO] [stderr] --> src/lsp/local/mod.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use python::PyToken; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `PyToken` in `lsp::local::python` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `rust::Rustacean` [INFO] [stderr] --> src/lsp/local/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use rust::Rustacean; [INFO] [stderr] | ^^^^^^^^^^^^^^^ no `Rustacean` in `lsp::local::rust` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `ts::TSToken` [INFO] [stderr] --> src/lsp/local/mod.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use ts::TSToken; [INFO] [stderr] | ^^^^^^^^^^^ no `TSToken` in `lsp::local::ts` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BashToken` in this scope [INFO] [stderr] --> src/lsp/local/bash.rs:82:21 [INFO] [stderr] | [INFO] [stderr] 82 | impl LangStream for BashToken { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `BashToken` in this scope [INFO] [stderr] --> src/lsp/local/bash.rs:177:6 [INFO] [stderr] | [INFO] [stderr] 177 | impl BashToken { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GenericToken` in this scope [INFO] [stderr] --> src/lsp/local/generic.rs:141:21 [INFO] [stderr] | [INFO] [stderr] 141 | impl LangStream for GenericToken { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GenericToken` in this scope [INFO] [stderr] --> src/lsp/local/generic.rs:250:6 [INFO] [stderr] | [INFO] [stderr] 250 | impl GenericToken { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GenericToken` in this scope [INFO] [stderr] --> src/lsp/local/generic.rs:287:27 [INFO] [stderr] | [INFO] [stderr] 287 | logos: &mut Lexer<'_, GenericToken>, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 285 | fn drain_import( [INFO] [stderr] | ++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GenericToken` in this scope [INFO] [stderr] --> src/lsp/local/generic.rs:288:42 [INFO] [stderr] | [INFO] [stderr] 288 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 285 | fn drain_import( [INFO] [stderr] | ++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `GenericToken` in this scope [INFO] [stderr] --> src/lsp/local/generic.rs:289:35 [INFO] [stderr] | [INFO] [stderr] 289 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 285 | fn drain_import( [INFO] [stderr] | ++++++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Pincer` in this scope [INFO] [stderr] --> src/lsp/local/lobster.rs:125:21 [INFO] [stderr] | [INFO] [stderr] 125 | impl LangStream for Pincer { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Pincer` in this scope [INFO] [stderr] --> src/lsp/local/lobster.rs:259:6 [INFO] [stderr] | [INFO] [stderr] 259 | impl Pincer { [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Pincer` in this scope [INFO] [stderr] --> src/lsp/local/lobster.rs:290:27 [INFO] [stderr] | [INFO] [stderr] 290 | logos: &mut Lexer<'_, Pincer>, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 288 | fn drain_import( [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Pincer` in this scope [INFO] [stderr] --> src/lsp/local/lobster.rs:291:42 [INFO] [stderr] | [INFO] [stderr] 291 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 288 | fn drain_import( [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Pincer` in this scope [INFO] [stderr] --> src/lsp/local/lobster.rs:292:35 [INFO] [stderr] | [INFO] [stderr] 292 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 288 | fn drain_import( [INFO] [stderr] | ++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyToken` in this scope [INFO] [stderr] --> src/lsp/local/python.rs:116:21 [INFO] [stderr] | [INFO] [stderr] 116 | impl LangStream for PyToken { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyToken` in this scope [INFO] [stderr] --> src/lsp/local/python.rs:244:6 [INFO] [stderr] | [INFO] [stderr] 244 | impl PyToken { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyToken` in this scope [INFO] [stderr] --> src/lsp/local/python.rs:275:27 [INFO] [stderr] | [INFO] [stderr] 275 | logos: &mut Lexer<'_, PyToken>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 273 | fn drain_import( [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyToken` in this scope [INFO] [stderr] --> src/lsp/local/python.rs:276:42 [INFO] [stderr] | [INFO] [stderr] 276 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 273 | fn drain_import( [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `PyToken` in this scope [INFO] [stderr] --> src/lsp/local/python.rs:277:35 [INFO] [stderr] | [INFO] [stderr] 277 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 273 | fn drain_import( [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:151:21 [INFO] [stderr] | [INFO] [stderr] 151 | impl LangStream for Rustacean { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:373:6 [INFO] [stderr] | [INFO] [stderr] 373 | impl Rustacean { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:406:27 [INFO] [stderr] | [INFO] [stderr] 406 | logos: &mut Lexer<'a, Rustacean>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 405 | fn parse_enum<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:409:42 [INFO] [stderr] | [INFO] [stderr] 409 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 405 | fn parse_enum<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:410:42 [INFO] [stderr] | [INFO] [stderr] 410 | tokens: &mut Vec>>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 405 | fn parse_enum<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:411:35 [INFO] [stderr] | [INFO] [stderr] 411 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 405 | fn parse_enum<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:461:27 [INFO] [stderr] | [INFO] [stderr] 461 | logos: &mut Lexer<'a, Rustacean>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 460 | fn parse_struct<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:464:42 [INFO] [stderr] | [INFO] [stderr] 464 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 460 | fn parse_struct<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:465:42 [INFO] [stderr] | [INFO] [stderr] 465 | tokens: &mut Vec>>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 460 | fn parse_struct<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:466:35 [INFO] [stderr] | [INFO] [stderr] 466 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 460 | fn parse_struct<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:500:27 [INFO] [stderr] | [INFO] [stderr] 500 | logos: &mut Lexer<'a, Rustacean>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 499 | fn parse_import<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:503:42 [INFO] [stderr] | [INFO] [stderr] 503 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 499 | fn parse_import<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:504:42 [INFO] [stderr] | [INFO] [stderr] 504 | tokens: &mut Vec>>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 499 | fn parse_import<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:505:35 [INFO] [stderr] | [INFO] [stderr] 505 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 499 | fn parse_import<'a, Rustacean>( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:543:27 [INFO] [stderr] | [INFO] [stderr] 543 | logos: &mut Lexer<'_, Rustacean>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 541 | fn drain_impl( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:544:42 [INFO] [stderr] | [INFO] [stderr] 544 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 541 | fn drain_impl( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:545:35 [INFO] [stderr] | [INFO] [stderr] 545 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 541 | fn drain_impl( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:575:27 [INFO] [stderr] | [INFO] [stderr] 575 | logos: &mut Lexer<'_, Rustacean>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 573 | fn drain_type_declare( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:576:42 [INFO] [stderr] | [INFO] [stderr] 576 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 573 | fn drain_type_declare( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Rustacean` in this scope [INFO] [stderr] --> src/lsp/local/rust.rs:577:35 [INFO] [stderr] | [INFO] [stderr] 577 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 573 | fn drain_type_declare( [INFO] [stderr] | +++++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TSToken` in this scope [INFO] [stderr] --> src/lsp/local/ts.rs:135:21 [INFO] [stderr] | [INFO] [stderr] 135 | impl LangStream for TSToken { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TSToken` in this scope [INFO] [stderr] --> src/lsp/local/ts.rs:249:6 [INFO] [stderr] | [INFO] [stderr] 249 | impl TSToken { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TSToken` in this scope [INFO] [stderr] --> src/lsp/local/ts.rs:280:27 [INFO] [stderr] | [INFO] [stderr] 280 | logos: &mut Lexer<'_, TSToken>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 278 | fn drain_import( [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TSToken` in this scope [INFO] [stderr] --> src/lsp/local/ts.rs:281:42 [INFO] [stderr] | [INFO] [stderr] 281 | token_line: &mut Vec>, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 278 | fn drain_import( [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `TSToken` in this scope [INFO] [stderr] --> src/lsp/local/ts.rs:282:35 [INFO] [stderr] | [INFO] [stderr] 282 | parser: PositionedTokenParser, [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: you might be missing a type parameter [INFO] [stderr] | [INFO] [stderr] 278 | fn drain_import( [INFO] [stderr] | +++++++++ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `BashToken` [INFO] [stderr] --> src/lsp/local/bash.rs:92:29 [INFO] [stderr] | [INFO] [stderr] 92 | let mut logos = BashToken::lexer(line); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `BashToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `GenericToken` [INFO] [stderr] --> src/lsp/local/generic.rs:165:29 [INFO] [stderr] | [INFO] [stderr] 165 | let mut logos = GenericToken::lexer(line); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `GenericToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `GenericToken` [INFO] [stderr] --> src/lsp/local/generic.rs:291:28 [INFO] [stderr] | [INFO] [stderr] 291 | token_line.push(parser(GenericToken::NameSpaceKeyWord, logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `GenericToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Pincer` [INFO] [stderr] --> src/lsp/local/lobster.rs:135:29 [INFO] [stderr] | [INFO] [stderr] 135 | let mut logos = Pincer::lexer(line); [INFO] [stderr] | ^^^^^^ use of undeclared type `Pincer` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Pincer` [INFO] [stderr] --> src/lsp/local/lobster.rs:294:28 [INFO] [stderr] | [INFO] [stderr] 294 | token_line.push(parser(Pincer::NameSpaceKeyWord, logos.span(), line)); [INFO] [stderr] | ^^^^^^ use of undeclared type `Pincer` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `PyToken` [INFO] [stderr] --> src/lsp/local/python.rs:126:29 [INFO] [stderr] | [INFO] [stderr] 126 | let mut logos = PyToken::lexer(line); [INFO] [stderr] | ^^^^^^^ use of undeclared type `PyToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `PyToken` [INFO] [stderr] --> src/lsp/local/python.rs:279:28 [INFO] [stderr] | [INFO] [stderr] 279 | token_line.push(parser(PyToken::NameSpaceKeyWord, logos.span(), line)); [INFO] [stderr] | ^^^^^^^ use of undeclared type `PyToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:160:29 [INFO] [stderr] | [INFO] [stderr] 160 | let mut logos = Rustacean::lexer(line); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:179:60 [INFO] [stderr] | [INFO] [stderr] 179 | ... token_line.push(parser(Rustacean::Enum(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:201:60 [INFO] [stderr] | [INFO] [stderr] 201 | ... token_line.push(parser(Rustacean::Struct(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:220:56 [INFO] [stderr] | [INFO] [stderr] 220 | ... token_line.push(parser(Rustacean::Type(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:420:48 [INFO] [stderr] | [INFO] [stderr] 420 | token_line.push(parser(Rustacean::Type(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:423:48 [INFO] [stderr] | [INFO] [stderr] 423 | token_line.push(parser(Rustacean::EnumMember(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:455:18 [INFO] [stderr] | [INFO] [stderr] 455 | *logos = Rustacean::lexer(line); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:494:18 [INFO] [stderr] | [INFO] [stderr] 494 | *logos = Rustacean::lexer(line); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:513:48 [INFO] [stderr] | [INFO] [stderr] 513 | token_line.push(parser(Rustacean::NameSpace(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:536:18 [INFO] [stderr] | [INFO] [stderr] 536 | *logos = Rustacean::lexer(line); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:548:67 [INFO] [stderr] | [INFO] [stderr] 548 | Some(Ok(Rustacean::Name(name))) => token_line.push(parser(Rustacean::Type(name), logos.span(), line)), [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:557:40 [INFO] [stderr] | [INFO] [stderr] 557 | token_line.push(parser(Rustacean::ImplementInterface, logos.span(), line)) [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:560:40 [INFO] [stderr] | [INFO] [stderr] 560 | token_line.push(parser(Rustacean::Type(name), logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:566:40 [INFO] [stderr] | [INFO] [stderr] 566 | token_line.push(parser(Rustacean::TypeInner, span, line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:579:28 [INFO] [stderr] | [INFO] [stderr] 579 | token_line.push(parser(Rustacean::DeclareType, logos.span(), line)); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:586:61 [INFO] [stderr] | [INFO] [stderr] 586 | Rustacean::Name(name) => token_line.push(parser(Rustacean::Type(name), logos.span(), line)), [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `TSToken` [INFO] [stderr] --> src/lsp/local/ts.rs:284:28 [INFO] [stderr] | [INFO] [stderr] 284 | token_line.push(parser(TSToken::NameSpaceKeyWord, logos.span(), line)); [INFO] [stderr] | ^^^^^^^ use of undeclared type `TSToken` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:431:21 [INFO] [stderr] | [INFO] [stderr] 431 | Rustacean::OpenScope => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:587:13 [INFO] [stderr] | [INFO] [stderr] 587 | Rustacean::TypeInner => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:437:21 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lsp/client.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | let mut gen = MonoID::default(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lsp/client.rs:273:23 [INFO] [stdout] | [INFO] [stdout] 273 | assert_eq!(1, gen.next_id()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 437 | Rustacean::CloseScope => { [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> src/lsp/client.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | assert_eq!(2, gen.next_id()); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [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 #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stdout] warning[E0133]: call to unsafe function `core::str::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/widgets/mod.rs:234:53 [INFO] [stdout] | [INFO] [stdout] 234 | Some(style) => backend.print_styled(self.text.get_unchecked(..width), style), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/widgets/mod.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | unsafe fn print_truncated(&self, width: usize, backend: &mut Backend) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `--force-warn unsafe-op-in-unsafe-fn` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning[E0133]: call to unsafe function `core::str::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/widgets/mod.rs:235:39 [INFO] [stdout] | [INFO] [stdout] 235 | None => backend.print(self.text.get_unchecked(..width)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stdout] warning[E0133]: call to unsafe function `core::str::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/widgets/mod.rs:252:53 [INFO] [stdout] | [INFO] [stdout] 252 | Some(style) => backend.print_styled(self.text.get_unchecked(self.len() - width..), style), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/widgets/mod.rs:249:5 [INFO] [stdout] | [INFO] [stdout] 249 | unsafe fn print_truncated_start(&self, width: usize, backend: &mut Backend) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/lsp/local/rust.rs:586:13 [INFO] [stdout] warning[E0133]: call to unsafe function `core::str::::get_unchecked` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/widgets/mod.rs:253:39 [INFO] [stdout] | [INFO] [stdout] 253 | None => backend.print(self.text.get_unchecked(self.len() - width..)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning[E0133]: call to unsafe function `render::widgets::Writable::print_truncated` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/widgets/mod.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 323 | text.print_truncated(width, backend); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/widgets/mod.rs:320:5 [INFO] [stdout] | [INFO] [stdout] 320 | unsafe fn print_truncated(&self, mut width: usize, backend: &mut Backend) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 586 | Rustacean::Name(name) => token_line.push(parser(Rustacean::Type(name), logos.span(), line)), [INFO] [stdout] warning[E0133]: call to unsafe function `render::widgets::Writable::print_truncated_start` is unsafe and requires unsafe block [INFO] [stdout] --> src/render/widgets/mod.rs:336:17 [INFO] [stdout] | [INFO] [stdout] 336 | text.print_truncated_start(text.width - skipped, backend); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #71668 [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/render/widgets/mod.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | unsafe fn print_truncated_start(&self, width: usize, backend: &mut Backend) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/global_state/mod.rs:257:12 [INFO] [stdout] | [INFO] [stdout] 257 | if let Ok(event) = value.try_into() { [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/global_state/mod.rs:259:9 [INFO] [stdout] | [INFO] [stdout] 259 | } [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] 257 ~ match value.try_into() { Ok(event) => { [INFO] [stdout] 258 | self.event.push(event); [INFO] [stdout] 259 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/global_state/mod.rs:293:12 [INFO] [stdout] | [INFO] [stdout] 293 | if let Err(err) = result { [INFO] [stdout] | ^^^^^^^^^^^^^^^------ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/global_state/mod.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 295 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 293 ~ match result { Err(err) => { [INFO] [stdout] 294 | self.send_error(err, file_type); [INFO] [stdout] 295 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/global_state/clipboard.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | if let Ok(clipboard) = ClipboardContext::new() { [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/global_state/clipboard.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | } 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] 10 ~ match ClipboardContext::new() { Ok(clipboard) => { [INFO] [stdout] 11 | Self::System(clipboard) [INFO] [stdout] 12 ~ } _ => { [INFO] [stdout] 13 | Self::Internal(Vec::new()) [INFO] [stdout] 14 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/lsp/local/rust.rs:515:21 [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/global_state/events.rs:139:27 [INFO] [stdout] | [INFO] [stdout] 139 | } else if let Ok(new_path) = match from_base { [INFO] [stdout] | ___________________________^ - [INFO] [stdout] | |______________________________________________| [INFO] [stdout] 140 | || true => tree.create_file_or_folder_base(name), [INFO] [stdout] 141 | || false => tree.create_file_or_folder(name), [INFO] [stdout] 142 | || } { [INFO] [stdout] | ||_________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |_________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/global_state/events.rs:157:17 [INFO] [stdout] | [INFO] [stdout] 157 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 139 ~ } else { match match from_base { [INFO] [stdout] 140 | true => tree.create_file_or_folder_base(name), [INFO] [stdout] 141 | false => tree.create_file_or_folder(name), [INFO] [stdout] 142 ~ } { Ok(new_path) => { [INFO] [stdout] 143 | tree.sync(gs); [INFO] [stdout] ... [INFO] [stdout] 156 | tree.select_by_path(&new_path); [INFO] [stdout] 157 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/global_state/events.rs:163:27 [INFO] [stdout] | [INFO] [stdout] 163 | } else if let Some(result) = tree.rename_path(name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^---------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/global_state/events.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | }; [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 163 ~ } else { match tree.rename_path(name) { Some(result) => { [INFO] [stdout] 164 | match result { [INFO] [stdout] ... [INFO] [stdout] 167 | } [INFO] [stdout] 168 ~ } _ => {}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 515 | Rustacean::OpenScope => { [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/client.rs:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | if let Some(pseudo_lsp) = self.local_lsp.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^--------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lsp/client.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 247 ~ match self.local_lsp.take() { Some(pseudo_lsp) => { [INFO] [stdout] 248 | pseudo_lsp.abort(); [INFO] [stdout] 249 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, BashToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: `--force-warn impl-trait-overcaptures` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos + use<'s>, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, BashToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos + use<'s>, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, BashToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos + use<'s>, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/lsp/local/rust.rs:473:21 [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, BashToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/bash.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug, Logos + use<'s>, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:95:24 [INFO] [stdout] | [INFO] [stdout] 95 | if let Ok(lsp_msg_text) = msg.try_stringify() { [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/lsp/local/enriched.rs:98:21 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 95 ~ match msg.try_stringify() { Ok(lsp_msg_text) => { [INFO] [stdout] 96 | lsp_stdin.write_all(lsp_msg_text.as_bytes()).await?; [INFO] [stdout] 97 | lsp_stdin.flush().await?; [INFO] [stdout] 98 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 473 | Rustacean::OpenScope => { [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:230:16 [INFO] [stdout] | [INFO] [stdout] 230 | if let Payload::Completion(uri, cursor, id) = payload { [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] 231 | local_lsp.autocomplete(uri, cursor, id); [INFO] [stdout] 232 | } else if let Some(msg) = local_lsp.pre_process(payload)? { [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/lsp/local/enriched.rs:232:13 [INFO] [stdout] | [INFO] [stdout] 232 | } else if let Some(msg) = local_lsp.pre_process(payload)? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 230 ~ match payload { Payload::Completion(uri, cursor, id) => { [INFO] [stdout] 231 | local_lsp.autocomplete(uri, cursor, id); [INFO] [stdout] 232 ~ } _ => { match local_lsp.pre_process(payload)? { Some(msg) => { [INFO] [stdout] 233 | lsp_stdin.write_all(msg.as_bytes()).await?; [INFO] [stdout] 234 | lsp_stdin.flush().await?; [INFO] [stdout] 235 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:249:16 [INFO] [stdout] | [INFO] [stdout] 249 | if let Payload::Sync(uri, version, change_events) = payload { [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] 258 | } else if let Some(msg) = local_lsp.pre_process(payload)? { [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/lsp/local/enriched.rs:258:13 [INFO] [stdout] | [INFO] [stdout] 258 | } else if let Some(msg) = local_lsp.pre_process(payload)? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 249 ~ match payload { Payload::Sync(uri, version, change_events) => { [INFO] [stdout] 250 | let doc = local_lsp [INFO] [stdout] ... [INFO] [stdout] 257 | lsp_stdin.flush().await?; [INFO] [stdout] 258 ~ } _ => { match local_lsp.pre_process(payload)? { Some(msg) => { [INFO] [stdout] 259 | lsp_stdin.write_all(msg.as_bytes()).await?; [INFO] [stdout] 260 | lsp_stdin.flush().await?; [INFO] [stdout] 261 ~ } _ => {}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:562:16 [INFO] [stderr] | [INFO] [stderr] 562 | Ok(Rustacean::TypeInner) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:476:21 [INFO] [stderr] | [INFO] [stderr] 476 | Rustacean::CloseScope => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:178:33 [INFO] [stderr] | [INFO] [stderr] 178 | ... Rustacean::Name(name) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:275:16 [INFO] [stdout] | [INFO] [stdout] 275 | if let Payload::Completion(uri, cursor, id) = payload { [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] 276 | local_lsp.autocomplete(uri, cursor, id); [INFO] [stdout] 277 | } else if let Payload::Sync(uri, version, change_events) = payload { [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] 286 | } else if let Some(msg) = local_lsp.pre_process(payload)? { [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/lsp/local/enriched.rs:277:13 [INFO] [stdout] | [INFO] [stdout] 277 | } else if let Payload::Sync(uri, version, change_events) = payload { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:286:13 [INFO] [stdout] | [INFO] [stdout] 286 | } else if let Some(msg) = local_lsp.pre_process(payload)? { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lsp/local/enriched.rs:289:13 [INFO] [stdout] | [INFO] [stdout] 289 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 275 ~ match payload { Payload::Completion(uri, cursor, id) => { [INFO] [stdout] 276 | local_lsp.autocomplete(uri, cursor, id); [INFO] [stdout] 277 ~ } _ => { match payload { Payload::Sync(uri, version, change_events) => { [INFO] [stdout] 278 | let doc = local_lsp [INFO] [stdout] ... [INFO] [stdout] 285 | lsp_stdin.flush().await?; [INFO] [stdout] 286 ~ } _ => { match local_lsp.pre_process(payload)? { Some(msg) => { [INFO] [stdout] 287 | lsp_stdin.write_all(msg.as_bytes()).await?; [INFO] [stdout] 288 | lsp_stdin.flush().await?; [INFO] [stdout] 289 ~ } _ => {}}}}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, GenericToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/generic.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/generic.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] --> src/lsp/local/rust.rs:559:16 [INFO] [stderr] | [INFO] [stderr] 559 | Ok(Rustacean::Name(name)) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, GenericToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/generic.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/generic.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:200:33 [INFO] [stderr] | [INFO] [stderr] 200 | ... Rustacean::Name(name) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:518:21 [INFO] [stderr] | [INFO] [stderr] 518 | Rustacean::CloseScope => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:219:37 [INFO] [stderr] | [INFO] [stderr] 219 | ... Some(Ok(Rustacean::Name(name))) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:553:16 [INFO] [stderr] | [INFO] [stderr] 553 | Ok(Rustacean::FlowControl) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:419:21 [INFO] [stderr] | [INFO] [stderr] 419 | Rustacean::Name(name) if tuple_member != 0 => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:512:21 [INFO] [stderr] | [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, GenericToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/generic.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/generic.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] 512 | Rustacean::Name(name) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:422:21 [INFO] [stderr] | [INFO] [stderr] 422 | Rustacean::Name(name) => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:548:17 [INFO] [stderr] | [INFO] [stderr] 548 | Some(Ok(Rustacean::Name(name))) => token_line.push(parser(Rustacean::Type(name), logos.span(), line)), [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, Pincer>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/lobster.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/lobster.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:425:21 [INFO] [stderr] | [INFO] [stderr] 425 | Rustacean::LBrack => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `Rustacean` [INFO] [stderr] --> src/lsp/local/rust.rs:428:21 [INFO] [stderr] | [INFO] [stderr] 428 | Rustacean::RBrack => { [INFO] [stderr] | ^^^^^^^^^ use of undeclared type `Rustacean` [INFO] [stderr] [INFO] [stderr] error: aborting due to 100 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] Original diagnostics will follow. [INFO] [stderr] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, Pincer>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/lobster.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/lobster.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, Pincer>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/lobster.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/lobster.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, PyToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/python.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/python.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, PyToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/python.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/python.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, PyToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/python.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/python.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, Rustacean>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/rust.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/rust.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, TSToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/ts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/ts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, TSToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/ts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/ts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl CallbackResult<'s, std::string::String, TSToken>` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/lsp/local/ts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/lsp/local/ts.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos, Debug, PartialEq)] [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] = note: this warning originates in the derive macro `Logos` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Logos + use<'s>, Debug, PartialEq)] [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/lsp_stream.rs:46:24 [INFO] [stdout] | [INFO] [stdout] 46 | if let Ok(msg) = String::from_utf8(err.into()) { [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/lsp/lsp_stream.rs:48:21 [INFO] [stdout] | [INFO] [stdout] 48 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 46 ~ match String::from_utf8(err.into()) { Ok(msg) => { [INFO] [stdout] 47 | into_guard(&errors_handler).push(msg); [INFO] [stdout] 48 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/messages.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | if let Some(PublishDiagnosticsParams { uri, diagnostics, .. }) = obj [INFO] [stdout] | ____________________^ - [INFO] [stdout] | |__________________________________________________________________________________| [INFO] [stdout] 72 | || .get_mut("params") [INFO] [stdout] 73 | || .map(Value::take) [INFO] [stdout] 74 | || .and_then(|params| from_value::(params).ok()) [INFO] [stdout] | ||___________________________________________________________________________________________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________________________________________________________________________________________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/lsp/messages.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 71 ~ match obj [INFO] [stdout] 72 | .get_mut("params") [INFO] [stdout] 73 | .map(Value::take) [INFO] [stdout] 74 | .and_then(|params| from_value::(params).ok()) [INFO] [stdout] 75 ~ { Some(PublishDiagnosticsParams { uri, diagnostics, .. }) => { [INFO] [stdout] 76 | return LSPMessage::Diagnostic(uri, Diagnostic::new(diagnostics)); [INFO] [stdout] 77 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/lsp/messages.rs:179:16 [INFO] [stdout] | [INFO] [stdout] 179 | if let Some((_, line)) = diagnostic_lines.iter_mut().find(|(idx, _)| idx == &line_idx) { [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/lsp/messages.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | } 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] 179 ~ match diagnostic_lines.iter_mut().find(|(idx, _)| idx == &line_idx) { Some((_, line)) => { [INFO] [stdout] 180 | line.append(d); [INFO] [stdout] 181 ~ } _ => { [INFO] [stdout] 182 | diagnostic_lines.push((line_idx, d.into())); [INFO] [stdout] 183 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/popups/popup_file_open.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | if let Ok(entries) = path.read_dir() { [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/popups/popup_file_open.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 39 ~ match path.read_dir() { Ok(entries) => { [INFO] [stdout] 40 | self.paths.extend(entries.flatten().map(|de| de.path().display().to_string())); [INFO] [stdout] 41 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/popups/popup_file_open.rs:44:20 [INFO] [stdout] | [INFO] [stdout] 44 | if let Some(entries) = path.parent().and_then(|parent| parent.read_dir().ok()) { [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/popups/popup_file_open.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 44 ~ match path.parent().and_then(|parent| parent.read_dir().ok()) { Some(entries) => { [INFO] [stdout] 45 | self.paths.extend(entries.flatten().filter_map(|de| checked_string(de, &self.pattern.text))); [INFO] [stdout] 46 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/popups/popup_tree_search.rs:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | if let Some(old_handle) = self.join_handle.replace(tokio::task::spawn(async move { [INFO] [stdout] | ____________^ - [INFO] [stdout] | |___________________________________| [INFO] [stdout] 220 | || buffer.lock().await.clear(); [INFO] [stdout] 221 | || let mut join_set = tree_path.search_files_join_set(pattern); [INFO] [stdout] 222 | || while let Some(task_result) = join_set.join_next().await { [INFO] [stdout] ... || [INFO] [stdout] 226 | || } [INFO] [stdout] 227 | || })) { [INFO] [stdout] | ||___________^ this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | |___________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/popups/popup_tree_search.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 219 ~ match self.join_handle.replace(tokio::task::spawn(async move { [INFO] [stdout] 220 | buffer.lock().await.clear(); [INFO] [stdout] ... [INFO] [stdout] 226 | } [INFO] [stdout] 227 ~ })) { Some(old_handle) => { [INFO] [stdout] 228 | if !old_handle.is_finished() { [INFO] [stdout] 229 | old_handle.abort(); [INFO] [stdout] 230 | } [INFO] [stdout] 231 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | if let Ok((terminal, prompt)) = Terminal::new(self.width) { [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/runner/mod.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 73 ~ match Terminal::new(self.width) { Ok((terminal, prompt)) => { [INFO] [stdout] 74 | self.terminal.replace(terminal).map(|t| t.kill()); [INFO] [stdout] 75 | self.prompt.replace(prompt); [INFO] [stdout] 76 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:79:20 [INFO] [stdout] | [INFO] [stdout] 79 | if let Ok((terminal, prompt)) = Terminal::new(self.width) { [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/runner/mod.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 79 ~ match Terminal::new(self.width) { Ok((terminal, prompt)) => { [INFO] [stdout] 80 | self.terminal.replace(terminal); [INFO] [stdout] 81 | self.prompt.replace(prompt); [INFO] [stdout] 82 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | if let Some(terminal) = self.terminal.take() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 88 ~ match self.terminal.take() { Some(terminal) => { [INFO] [stdout] 89 | let _ = terminal.kill(); [INFO] [stdout] 90 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:133:20 [INFO] [stdout] | [INFO] [stdout] 133 | if let Ok((terminal, prompt)) = Terminal::new(self.width) { [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/runner/mod.rs:136:17 [INFO] [stdout] | [INFO] [stdout] 136 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 133 ~ match Terminal::new(self.width) { Ok((terminal, prompt)) => { [INFO] [stdout] 134 | self.terminal.replace(terminal).map(|t| t.kill()); [INFO] [stdout] 135 | self.prompt.replace(prompt); [INFO] [stdout] 136 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:145:27 [INFO] [stdout] | [INFO] [stdout] 145 | } else if let Some(t) = self.terminal.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 145 ~ } else { match self.terminal.as_mut() { Some(t) => { [INFO] [stdout] 146 | let _ = t.push_command(cmd); [INFO] [stdout] 147 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | if let Some(logs) = self.terminal.as_mut().and_then(|t| t.pull_logs()) { [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/runner/mod.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 158 ~ match self.terminal.as_mut().and_then(|t| t.pull_logs()) { Some(logs) => { [INFO] [stdout] 159 | self.logs.extend(logs); [INFO] [stdout] 160 | self.go_to_last_log(); [INFO] [stdout] 161 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | if let Some(terminal) = self.terminal.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 165 ~ match self.terminal.as_mut() { Some(terminal) => { [INFO] [stdout] 166 | let _ = terminal.resize(width); [INFO] [stdout] 167 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:191:16 [INFO] [stdout] | [INFO] [stdout] 191 | if let Some(terminal) = self.terminal.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^-------------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/runner/mod.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 191 ~ match self.terminal.as_mut() { Some(terminal) => { [INFO] [stdout] 192 | terminal.push_command(String::from("git ls-files | xargs wc -l"))?; [INFO] [stdout] 193 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/diagnostics.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | if let Some(actions) = lang.derive_diagnostic_actions(diagnostic.info.as_ref()) { [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/syntax/diagnostics.rs:94:13 [INFO] [stdout] | [INFO] [stdout] 94 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 90 ~ match lang.derive_diagnostic_actions(diagnostic.info.as_ref()) { Some(actions) => { [INFO] [stdout] 91 | for action in actions { [INFO] [stdout] 92 | buffer.push(action.clone()); [INFO] [stdout] 93 | } [INFO] [stdout] 94 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/diagnostics.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | if let Some(first_diagnostic) = self.data.first() { [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/syntax/diagnostics.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 108 ~ match self.data.first() { Some(first_diagnostic) => { [INFO] [stdout] 109 | let style = first_diagnostic.text_style(); [INFO] [stdout] 110 | let text = first_diagnostic.inline_text.truncate_width(max_width - 1).1; [INFO] [stdout] 111 | backend.print_styled(text, style); [INFO] [stdout] 112 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | if let Some(tc) = client.capabilities.semantic_tokens_provider.as_ref() { [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/syntax/lsp_calls.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | } 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] 42 ~ match client.capabilities.semantic_tokens_provider.as_ref() { Some(tc) => { [INFO] [stdout] 43 | lexer.legend.map_styles(lexer.lang.file_type, &lexer.theme, tc); [INFO] [stdout] ... [INFO] [stdout] 49 | } [INFO] [stdout] 50 ~ } _ => { [INFO] [stdout] 51 | lexer.tokens = tokens_dead; [INFO] [stdout] 52 | lexer.tokens_partial = tokens_partial_redirect; [INFO] [stdout] 53 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | if let Some(sync) = client.capabilities.text_document_sync.as_ref() { [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/syntax/lsp_calls.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | } 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] 97 ~ match client.capabilities.text_document_sync.as_ref() { Some(sync) => { [INFO] [stdout] 98 | match sync { [INFO] [stdout] ... [INFO] [stdout] 111 | } [INFO] [stdout] 112 ~ } _ => { [INFO] [stdout] 113 | lexer.sync = sync_edits_dead; [INFO] [stdout] 114 | lexer.sync_rev = sync_edits_dead_rev; [INFO] [stdout] 115 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:184:16 [INFO] [stdout] | [INFO] [stdout] 184 | if let Some(response) = responses.remove(request.id()) { [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/syntax/lsp_calls.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | } 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] 184 ~ match responses.remove(request.id()) { Some(response) => { [INFO] [stdout] 185 | match request.parse(response.result) { [INFO] [stdout] ... [INFO] [stdout] 248 | } [INFO] [stdout] 249 ~ } _ => { [INFO] [stdout] 250 | if matches!(request, LSPResponseType::Tokens(..)) { [INFO] [stdout] ... [INFO] [stdout] 253 | unresolved_requests.push(request); [INFO] [stdout] 254 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:193:32 [INFO] [stdout] | [INFO] [stdout] 193 | ... if let Some(modal) = lexer.modal.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:195:29 [INFO] [stdout] | [INFO] [stdout] 195 | ... } 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] 193 ~ match lexer.modal.as_mut() { Some(modal) => { [INFO] [stdout] 194 | modal.hover_map(hover, &lexer.theme); [INFO] [stdout] 195 ~ } _ => { [INFO] [stdout] 196 | lexer.modal.replace(LSPModal::from_hover(hover, &lexer.theme)); [INFO] [stdout] 197 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:200:32 [INFO] [stdout] | [INFO] [stdout] 200 | ... if let Some(modal) = lexer.modal.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^-----------^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:202:29 [INFO] [stdout] | [INFO] [stdout] 202 | ... } 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] 200 ~ match lexer.modal.as_mut() { Some(modal) => { [INFO] [stdout] 201 | modal.signature_map(signature, &lexer.theme); [INFO] [stdout] 202 ~ } _ => { [INFO] [stdout] 203 | lexer.modal.replace(LSPModal::from_signature(signature, &lexer.theme)); [INFO] [stdout] 204 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/syntax/lsp_calls.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | ... if let Some(mut locations) = locations { [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/syntax/lsp_calls.rs:234:29 [INFO] [stdout] | [INFO] [stdout] 234 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 228 ~ match locations { Some(mut locations) => { [INFO] [stdout] 229 | if locations.len() == 1 { [INFO] [stdout] ... [INFO] [stdout] 233 | } [INFO] [stdout] 234 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/tree/mod.rs:206:16 [INFO] [stdout] | [INFO] [stdout] 206 | if let Ok(d_path) = (self.path_parser)(&path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/tree/mod.rs:220:13 [INFO] [stdout] | [INFO] [stdout] 220 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 206 ~ match (self.path_parser)(&path) { Ok(d_path) => { [INFO] [stdout] 207 | self.tree.map_diagnostics_base(&d_path, new_diagnostic); [INFO] [stdout] ... [INFO] [stdout] 219 | } [INFO] [stdout] 220 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `impl Iterator` will capture more lifetimes than possibly intended in edition 2024 [INFO] [stdout] --> src/utils.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_nested_paths(path: &PathBuf) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: specifically, this lifetime is in scope but not mentioned in the type's bounds [INFO] [stdout] --> src/utils.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_nested_paths(path: &PathBuf) -> impl Iterator { [INFO] [stdout] | ^ [INFO] [stdout] = note: all lifetimes in scope will be captured by `impl Trait`s in edition 2024 [INFO] [stdout] help: use the precise capturing `use<...>` syntax to make the captures explicit [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_nested_paths(path: &PathBuf) -> impl Iterator + use<> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | if let Some(editor) = self.editors.get_mut(0) { [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/workspace/mod.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | } else if let Some(line) = gs.tab_area.into_iter().next() { [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 53 ~ match self.editors.get_mut(0) { Some(editor) => { [INFO] [stdout] 54 | let line = match gs.tab_area.into_iter().next() { [INFO] [stdout] ... [INFO] [stdout] 68 | gs.writer.reset_style(); [INFO] [stdout] 69 ~ } _ => if let Some(line) = gs.tab_area.into_iter().next() { [INFO] [stdout] 70 | line.render_empty(&mut gs.writer); [INFO] [stdout] 71 ~ }} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:133:19 [INFO] [stdout] | [INFO] [stdout] 133 | } else if let Some(editor) = self.editors.find(|e| e.path == old) { [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/workspace/mod.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 133 ~ } else { match self.editors.find(|e| e.path == old) { Some(editor) => { [INFO] [stdout] 134 | gs.log_if_lsp_error(editor.update_path(new_path), editor.file_type); [INFO] [stdout] 135 ~ } _ => {}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:153:20 [INFO] [stdout] | [INFO] [stdout] 153 | if let Some(editor) = self.get_editor(file_url.path().as_str()) { [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] 154 | editor.apply_file_edits(file_edits); [INFO] [stdout] 155 | } else if let Ok(mut editor) = self.build_basic_editor(PathBuf::from(file_url.path().as_str()), gs) { [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/workspace/mod.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | } else if let Ok(mut editor) = self.build_basic_editor(PathBuf::from(file_url.path().as_str()), gs) { [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:158:17 [INFO] [stdout] | [INFO] [stdout] 158 | } 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] 153 ~ match self.get_editor(file_url.path().as_str()) { Some(editor) => { [INFO] [stdout] 154 | editor.apply_file_edits(file_edits); [INFO] [stdout] 155 ~ } _ => { match self.build_basic_editor(PathBuf::from(file_url.path().as_str()), gs) { Ok(mut editor) => { [INFO] [stdout] 156 | editor.apply_file_edits(file_edits); [INFO] [stdout] 157 | editor.try_write_file(gs); [INFO] [stdout] 158 ~ } _ => { [INFO] [stdout] 159 | gs.error(format!("Unable to build editor for {}", file_url.path())); [INFO] [stdout] 160 ~ }}}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | if let Some(documet_edit) = edits.document_changes { [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/workspace/mod.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 163 ~ match edits.document_changes { Some(documet_edit) => { [INFO] [stdout] 164 | match documet_edit { [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/workspace/mod.rs:177:36 [INFO] [stdout] | [INFO] [stdout] 177 | ... if let Err(err) = self.handle_tree_operations(operation) { [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/workspace/mod.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | ... } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 177 ~ match self.handle_tree_operations(operation) { Err(err) => { [INFO] [stdout] 178 | gs.error(format!("Failed file tree operation: {err}")); [INFO] [stdout] 179 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | if let Some(editor) = self.get_editor(text_document_edit.text_document.uri.path().as_str()) { [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] 200 | self.build_basic_editor(PathBuf::from(text_document_edit.text_document.uri.path().as_str()), gs) [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/workspace/mod.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | } else if let Ok(mut editor) = [INFO] [stdout] | ^ [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | } 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] 189 ~ match self.get_editor(text_document_edit.text_document.uri.path().as_str()) { Some(editor) => { [INFO] [stdout] 190 | let edits = text_document_edit [INFO] [stdout] ... [INFO] [stdout] 198 | editor.apply_file_edits(edits); [INFO] [stdout] 199 ~ } _ => { match self.build_basic_editor(PathBuf::from(text_document_edit.text_document.uri.path().as_str()), gs) [INFO] [stdout] 200 ~ { Ok(mut editor) => { [INFO] [stdout] 201 | let edits = text_document_edit [INFO] [stdout] ... [INFO] [stdout] 210 | editor.try_write_file(gs); [INFO] [stdout] 211 ~ } _ => { [INFO] [stdout] 212 | gs.error(format!("Unable to build editor for {}", text_document_edit.text_document.uri.path())); [INFO] [stdout] 213 ~ }}}}; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:222:24 [INFO] [stdout] | [INFO] [stdout] 222 | if let Some(options) = create.options { [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/workspace/mod.rs:228:21 [INFO] [stdout] | [INFO] [stdout] 228 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 222 ~ match create.options { Some(options) => { [INFO] [stdout] 223 | if matches!(options.overwrite, Some(overwrite) if !overwrite) [INFO] [stdout] ... [INFO] [stdout] 227 | } [INFO] [stdout] 228 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | if let Some(editor) = self.get_editor(rename.old_uri.path().as_str()) { [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/workspace/mod.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 242 ~ match self.get_editor(rename.old_uri.path().as_str()) { Some(editor) => { [INFO] [stdout] 243 | let path = PathBuf::from(rename.new_uri.path().as_str()); [INFO] [stdout] 244 | editor.display = path.display().to_string(); [INFO] [stdout] 245 | editor.path = path; [INFO] [stdout] 246 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:344:12 [INFO] [stdout] | [INFO] [stdout] 344 | if let Some(lsp) = self.lsp_servers.get_mut(&ft) { [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/workspace/mod.rs:355:9 [INFO] [stdout] | [INFO] [stdout] 355 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 344 ~ match self.lsp_servers.get_mut(&ft) { Some(lsp) => { [INFO] [stdout] 345 | match lsp.check_status(ft).await { [INFO] [stdout] ... [INFO] [stdout] 354 | } [INFO] [stdout] 355 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:360:12 [INFO] [stdout] | [INFO] [stdout] 360 | if let Some(lsp) = self.lsp_servers.get(ft) { [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/workspace/mod.rs:364:9 [INFO] [stdout] | [INFO] [stdout] 364 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 360 ~ match self.lsp_servers.get(ft) { Some(lsp) => { [INFO] [stdout] 361 | for editor in self.editors.iter_mut().filter(|e| &e.file_type == ft) { [INFO] [stdout] 362 | editor.lexer.set_lsp_client(lsp.aquire_client(), editor.stringify(), gs); [INFO] [stdout] 363 | } [INFO] [stdout] 364 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:445:16 [INFO] [stdout] | [INFO] [stdout] 445 | if let Some(lsp) = self.lsp_servers.get(&editor.file_type) { [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/workspace/mod.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 445 ~ match self.lsp_servers.get(&editor.file_type) { Some(lsp) => { [INFO] [stdout] 446 | if !editor.lexer.lsp { [INFO] [stdout] 447 | editor.lexer.set_lsp_client(lsp.aquire_client(), editor.stringify(), gs); [INFO] [stdout] 448 | } [INFO] [stdout] 449 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/mod.rs:507:20 [INFO] [stdout] | [INFO] [stdout] 507 | if let Some(mut editor) = ws.editors.pop() { [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/workspace/mod.rs:514:17 [INFO] [stdout] | [INFO] [stdout] 514 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 507 ~ match ws.editors.pop() { Some(mut editor) => { [INFO] [stdout] 508 | gs.event.push(IdiomEvent::SelectPath(editor.path.clone())); [INFO] [stdout] ... [INFO] [stdout] 513 | ws.editors.insert(0, editor); [INFO] [stdout] 514 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/editor/mod.rs:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | if let Some(clip) = gs.clipboard.pull() { [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/workspace/editor/mod.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 243 ~ match gs.clipboard.pull() { Some(clip) => { [INFO] [stdout] 244 | self.actions.paste(clip, &mut self.cursor, &mut self.content, &mut self.lexer); [INFO] [stdout] 245 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/renderer/code/mod.rs:83:16 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(diagnostic) = code.diagnostics.as_ref() { [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/workspace/renderer/code/mod.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 83 ~ match code.diagnostics.as_ref() { Some(diagnostic) => { [INFO] [stdout] 84 | diagnostic.inline_render(line_width - code.char_len, backend) [INFO] [stdout] 85 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/renderer/code/mod.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | if let Some(diagnostic) = code.diagnostics.as_ref() { [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/workspace/renderer/code/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | } [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 ~ match code.diagnostics.as_ref() { Some(diagnostic) => { [INFO] [stdout] 104 | diagnostic.inline_render(line_width - code.content.width(), backend) [INFO] [stdout] 105 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/renderer/code/mod.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | if let Some(diagnostic) = code.diagnostics.as_ref() { [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/workspace/renderer/code/mod.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 119 ~ match code.diagnostics.as_ref() { Some(diagnostic) => { [INFO] [stdout] 120 | diagnostic.inline_render(line_width - code.char_len, backend) [INFO] [stdout] 121 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/renderer/code/mod.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | if let Some(diagnostic) = code.diagnostics.as_ref() { [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/workspace/renderer/code/mod.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 138 ~ match code.diagnostics.as_ref() { Some(diagnostic) => { [INFO] [stdout] 139 | diagnostic.inline_render(line_width - code.content.width(), backend) [INFO] [stdout] 140 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/renderer/code/ascii_cursor.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | if let Some(diagnostics) = line.diagnostics.as_ref() { [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/workspace/renderer/code/ascii_cursor.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 20 ~ match line.diagnostics.as_ref() { Some(diagnostics) => { [INFO] [stdout] 21 | diagnostics.inline_render(line_width - line.char_len, backend); [INFO] [stdout] 22 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/workspace/renderer/code/complex_cursor.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | if let Some(diagnostic) = line.diagnostics.as_ref() { [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/workspace/renderer/code/complex_cursor.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | } [INFO] [stdout] | ^ [INFO] [stdout] help: a `match` with a single arm can preserve the drop order up to Edition 2021 [INFO] [stdout] | [INFO] [stdout] 23 ~ match line.diagnostics.as_ref() { Some(diagnostic) => { [INFO] [stdout] 24 | diagnostic.inline_render(remainder, backend); [INFO] [stdout] 25 ~ } _ => {}} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.52s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking idiom v0.4.4 (/tmp/fixit) [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lsp/client.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | let mut gen = MonoID::default(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 272 | let mut r#gen = MonoID::default(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found reserved keyword `gen` [INFO] [stdout] --> src/lsp/client.rs:272:17 [INFO] [stdout] | [INFO] [stdout] 272 | let mut gen = MonoID::default(); [INFO] [stdout] | ^^^ expected identifier, found reserved keyword [INFO] [stdout] | [INFO] [stdout] help: escape `gen` to use it as an identifier [INFO] [stdout] | [INFO] [stdout] 272 | let mut r#gen = MonoID::default(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lsp/client.rs:273:23 [INFO] [stdout] | [INFO] [stdout] 273 | assert_eq!(1, gen.next_id()); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/macros/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] = note: while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found reserved keyword `gen` [INFO] [stdout] --> src/lsp/client.rs:274:23 [INFO] [stdout] | [INFO] [stdout] 274 | assert_eq!(2, gen.next_id()); [INFO] [stdout] | ^^^ expected expression [INFO] [stdout] --> /rustc/65132f36b923285d5da381c2fbafee6ce899e841/library/core/src/macros/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] = note: while parsing argument for this `expr` macro fragment [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `idiom` (bin "idiom") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `idiom` (bin "idiom" test) due to 3 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "1b60c92db2aa79261966c78bd878d01b0c85f6eed9dd6d4e1dd936ea8ce5d162", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b60c92db2aa79261966c78bd878d01b0c85f6eed9dd6d4e1dd936ea8ce5d162", kill_on_drop: false }` [INFO] [stdout] 1b60c92db2aa79261966c78bd878d01b0c85f6eed9dd6d4e1dd936ea8ce5d162