[INFO] fetching crate kak-lsp 17.1.2... [INFO] checking kak-lsp-17.1.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate kak-lsp 17.1.2 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate kak-lsp 17.1.2 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kak-lsp 17.1.2 [INFO] finished tweaking crates.io crate kak-lsp 17.1.2 [INFO] tweaked toml for crates.io crate kak-lsp 17.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate kak-lsp 17.1.2 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fef164bd46de400936037dab3093b96ada8d7d65a048641f9804db7b3af736df [INFO] running `Command { std: "docker" "start" "-a" "fef164bd46de400936037dab3093b96ada8d7d65a048641f9804db7b3af736df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fef164bd46de400936037dab3093b96ada8d7d65a048641f9804db7b3af736df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fef164bd46de400936037dab3093b96ada8d7d65a048641f9804db7b3af736df", kill_on_drop: false }` [INFO] [stdout] fef164bd46de400936037dab3093b96ada8d7d65a048641f9804db7b3af736df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c33ba9a77e724cbe10b037e2f81b40368efb07da210ea4ea7448fa39183f94ac [INFO] running `Command { std: "docker" "start" "-a" "c33ba9a77e724cbe10b037e2f81b40368efb07da210ea4ea7448fa39183f94ac", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.156 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.208 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.125 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking rle-decode-fast v1.0.3 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking slog-scope v4.4.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling syn v2.0.74 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling pulldown-cmark v0.9.6 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking dary_heap v0.3.6 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking slog-stdlog v4.1.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking file-id v0.2.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking str_indices v0.4.3 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking whoami v1.5.1 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking diffs v0.5.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking filetime v0.2.24 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking daemonize v0.5.0 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking notify v6.1.1 [INFO] [stderr] Checking slog-term v2.9.1 [INFO] [stderr] Checking notify-debouncer-full v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking fs4 v0.8.4 [INFO] [stderr] Compiling trackable_derive v1.0.0 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking trackable v1.3.0 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.208 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking slog-kvfilter v0.7.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking libflate_lz77 v2.1.0 [INFO] [stderr] Checking indexmap v2.4.0 [INFO] [stderr] Checking libflate v2.1.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking sloggers v2.2.0 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking lsp-types v0.95.1 [INFO] [stderr] Checking jsonrpc-core v18.0.0 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking kak-lsp v17.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/language_server_transport.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LanguageServerTransport { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub errors: Worker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workaround_server_sends_plaintext_labeled_as_markdown` is never read [INFO] [stdout] --> src/types.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct LanguageServerConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | pub workaround_server_sends_plaintext_labeled_as_markdown: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LanguageServerConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selection_desc` is never read [INFO] [stdout] --> src/types.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct MainSelectionParams { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 228 | pub selection_desc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MainSelectionParams` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/types.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct ObjectParams { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 304 | pub position: KakounePosition, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectParams` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | let connect = || match UnixStream::connect(&path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:369:6 [INFO] [stdout] | [INFO] [stdout] 349 | let mut log_path = Box::default(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | let logger = if let Some(path) = matches.get_one::("log") { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let mut builder = FileLoggerBuilder::new(path); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | let mut builder = TerminalLoggerBuilder::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | (slog_scope::set_global_logger(logger), log_path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:353:43 [INFO] [stdout] | [INFO] [stdout] 353 | path.parent().and_then(|path| path.canonicalize().ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn new(params: ContextBuilder) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | batches: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn new(params: ContextBuilder) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | documents: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 100 | let tx = transport.to_lang_server.sender().clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | / ServerSettings { [INFO] [stdout] 105 | | root_path: route.root.clone(), [INFO] [stdout] 106 | | offset_encoding: offset_encoding.unwrap_or_default(), [INFO] [stdout] 107 | | preferred_offset_encoding: *offset_encoding, [INFO] [stdout] 108 | | capabilities: None, [INFO] [stdout] 109 | | tx, [INFO] [stdout] 110 | | }, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/editor_transport.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 23 | let (sender, receiver) = bounded(channel_capacity); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let from_editor = receiver; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | [INFO] [stdout] 50 | let to_editor = Worker::spawn( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(EditorTransport { [INFO] [stdout] | ________^ [INFO] [stdout] 63 | | from_editor, [INFO] [stdout] 64 | | to_editor, [INFO] [stdout] 65 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/language_features/goto.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 105 | .map(|(path, locations)| { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let path_str = path.to_str().unwrap(); [INFO] [stdout] 107 | let contents = match get_file_contents(path_str, ctx) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Some(contents) => contents, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | / locations [INFO] [stdout] 112 | | .map(|(server_name, Location { range, .. })| { [INFO] [stdout] 113 | | let server = &ctx.language_servers[server_name]; [INFO] [stdout] 114 | | let pos = lsp_range_to_kakoune(range, &contents, server.offset_encoding).start; [INFO] [stdout] ... | [INFO] [stdout] 126 | | ) [INFO] [stdout] 127 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/language_server_transport.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 30 | let mut child = match Command::new(cmd) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(c) => c, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let writer = BufWriter::new(child.stdin.take().expect("Failed to open stdin")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let reader = BufReader::new(child.stdout.take().expect("Failed to open stdout")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mut stderr = BufReader::new(child.stderr.take().expect("Failed to open stderr")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let errors = Worker::spawn( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let from_lang_server = { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let to_lang_server = { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | Ok(LanguageServerTransport { [INFO] [stdout] | ________^ [INFO] [stdout] 126 | | to_lang_server, [INFO] [stdout] 127 | | from_lang_server, [INFO] [stdout] 128 | | errors, [INFO] [stdout] 129 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/language_server_transport.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 30 | let mut child = match Command::new(cmd) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let writer = BufWriter::new(child.stdin.take().expect("Failed to open stdin")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | move |receiver, _| { [INFO] [stdout] | -------- - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | match child.try_wait() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/show_message.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | .map(|v| jsonrpc_core::to_value(v).expect("Cannot serialize item")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/text_edit.rs:215:11 [INFO] [stdout] | [INFO] [stdout] 119 | text_edits: Vec, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let path = std::ffi::CString::new(filename).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let text = Rope::from_reader(BufReader::new(file))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | [INFO] [stdout] 141 | let (temp_path, temp_file) = { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | let template = format!("{}.XXXXXX", filename); [INFO] [stdout] 143 | let cstr = std::ffi::CString::new(template).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | let cstr = unsafe { std::ffi::CString::from_raw(ptr) }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | let temp_file = unsafe { File::from_raw_fd(temp_fd) }; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | match apply_text_edits_to_file_impl(text, temp_file, text_edits, server.offset_encoding) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/thread_worker.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn spawn(name: &'static str, f: impl FnOnce() + Send + 'static) -> ScopedThread { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let inner = thread::Builder::new().name(name.into()).spawn(f).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ScopedThread { inner: Some(inner) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `errors` is never read [INFO] [stdout] --> src/language_server_transport.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LanguageServerTransport { [INFO] [stdout] | ----------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | pub errors: Worker, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `workaround_server_sends_plaintext_labeled_as_markdown` is never read [INFO] [stdout] --> src/types.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct LanguageServerConfig { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 69 | pub workaround_server_sends_plaintext_labeled_as_markdown: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LanguageServerConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `selection_desc` is never read [INFO] [stdout] --> src/types.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 227 | pub struct MainSelectionParams { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] 228 | pub selection_desc: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MainSelectionParams` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `position` is never read [INFO] [stdout] --> src/types.rs:304:9 [INFO] [stdout] | [INFO] [stdout] 301 | pub struct ObjectParams { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 304 | pub position: KakounePosition, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObjectParams` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:228:32 [INFO] [stdout] | [INFO] [stdout] 228 | let connect = || match UnixStream::connect(&path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:369:6 [INFO] [stdout] | [INFO] [stdout] 349 | let mut log_path = Box::default(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 350 | let logger = if let Some(path) = matches.get_one::("log") { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 355 | let mut builder = FileLoggerBuilder::new(path); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 359 | let mut builder = TerminalLoggerBuilder::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 369 | (slog_scope::set_global_logger(logger), log_path) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:353:43 [INFO] [stdout] | [INFO] [stdout] 353 | path.parent().and_then(|path| path.canonicalize().ok()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn new(params: ContextBuilder) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | batches: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/context.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn new(params: ContextBuilder) -> Self { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | documents: Default::default(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 100 | let tx = transport.to_lang_server.sender().clone(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 104 | / ServerSettings { [INFO] [stdout] 105 | | root_path: route.root.clone(), [INFO] [stdout] 106 | | offset_encoding: offset_encoding.unwrap_or_default(), [INFO] [stdout] 107 | | preferred_offset_encoding: *offset_encoding, [INFO] [stdout] 108 | | capabilities: None, [INFO] [stdout] 109 | | tx, [INFO] [stdout] 110 | | }, [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/editor_transport.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 23 | let (sender, receiver) = bounded(channel_capacity); [INFO] [stdout] | ------ -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | let from_editor = receiver; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 49 | [INFO] [stdout] 50 | let to_editor = Worker::spawn( [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 62 | Ok(EditorTransport { [INFO] [stdout] | ________^ [INFO] [stdout] 63 | | from_editor, [INFO] [stdout] 64 | | to_editor, [INFO] [stdout] 65 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/language_features/goto.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 105 | .map(|(path, locations)| { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | let path_str = path.to_str().unwrap(); [INFO] [stdout] 107 | let contents = match get_file_contents(path_str, ctx) { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 108 | Some(contents) => contents, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 111 | / locations [INFO] [stdout] 112 | | .map(|(server_name, Location { range, .. })| { [INFO] [stdout] 113 | | let server = &ctx.language_servers[server_name]; [INFO] [stdout] 114 | | let pos = lsp_range_to_kakoune(range, &contents, server.offset_encoding).start; [INFO] [stdout] ... | [INFO] [stdout] 126 | | ) [INFO] [stdout] 127 | | }) [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/language_server_transport.rs:125:8 [INFO] [stdout] | [INFO] [stdout] 30 | let mut child = match Command::new(cmd) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 38 | Ok(c) => c, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Err(err) => { [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let writer = BufWriter::new(child.stdin.take().expect("Failed to open stdin")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 48 | let reader = BufReader::new(child.stdout.take().expect("Failed to open stdout")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 54 | let mut stderr = BufReader::new(child.stderr.take().expect("Failed to open stderr")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 55 | let errors = Worker::spawn( [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | let from_lang_server = { [INFO] [stdout] | ---------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | let to_lang_server = { [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | Ok(LanguageServerTransport { [INFO] [stdout] | ________^ [INFO] [stdout] 126 | | to_lang_server, [INFO] [stdout] 127 | | from_lang_server, [INFO] [stdout] 128 | | errors, [INFO] [stdout] 129 | | }) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/language_server_transport.rs:108:23 [INFO] [stdout] | [INFO] [stdout] 30 | let mut child = match Command::new(cmd) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 47 | let writer = BufWriter::new(child.stdin.take().expect("Failed to open stdin")); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 98 | move |receiver, _| { [INFO] [stdout] | -------- - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 108 | match child.try_wait() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/show_message.rs:52:22 [INFO] [stdout] | [INFO] [stdout] 52 | .map(|v| jsonrpc_core::to_value(v).expect("Cannot serialize item")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/text_edit.rs:215:11 [INFO] [stdout] | [INFO] [stdout] 119 | text_edits: Vec, [INFO] [stdout] | ------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 125 | let path = std::ffi::CString::new(filename).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 138 | let file = File::open(filename)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 139 | let text = Rope::from_reader(BufReader::new(file))?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 140 | [INFO] [stdout] 141 | let (temp_path, temp_file) = { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 142 | let template = format!("{}.XXXXXX", filename); [INFO] [stdout] 143 | let cstr = std::ffi::CString::new(template).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 146 | let cstr = unsafe { std::ffi::CString::from_raw(ptr) }; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 149 | let temp_file = unsafe { File::from_raw_fd(temp_fd) }; [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 215 | match apply_text_edits_to_file_impl(text, temp_file, text_edits, server.offset_encoding) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/thread_worker.rs:39:31 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn spawn(name: &'static str, f: impl FnOnce() + Send + 'static) -> ScopedThread { [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 38 | let inner = thread::Builder::new().name(name.into()).spawn(f).unwrap(); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | ScopedThread { inner: Some(inner) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 13 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kak-lsp` (bin "kak-lsp" test) due to 14 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 13 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `kak-lsp` (bin "kak-lsp") due to 14 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c33ba9a77e724cbe10b037e2f81b40368efb07da210ea4ea7448fa39183f94ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c33ba9a77e724cbe10b037e2f81b40368efb07da210ea4ea7448fa39183f94ac", kill_on_drop: false }` [INFO] [stdout] c33ba9a77e724cbe10b037e2f81b40368efb07da210ea4ea7448fa39183f94ac