[INFO] cloning repository https://github.com/CoolLoong/jsonui-lsp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CoolLoong/jsonui-lsp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoolLoong%2Fjsonui-lsp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoolLoong%2Fjsonui-lsp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d9382ccc6b9a148963f212949818e55f98d6ec4c [INFO] checking CoolLoong/jsonui-lsp/d9382ccc6b9a148963f212949818e55f98d6ec4c against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCoolLoong%2Fjsonui-lsp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CoolLoong/jsonui-lsp 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] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/CoolLoong/jsonui-lsp [INFO] finished tweaking git repo https://github.com/CoolLoong/jsonui-lsp [INFO] tweaked toml for git repo https://github.com/CoolLoong/jsonui-lsp written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 120 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.6.0) [INFO] [stderr] Adding dashmap v5.5.3 (latest: v6.0.1) [INFO] [stderr] Adding flexi_logger v0.28.5 (latest: v0.29.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding idna v0.5.0 (latest: v1.0.2) [INFO] [stderr] Adding lsp-types v0.94.1 (latest: v0.97.0) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding tower v0.4.13 (latest: v0.5.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 8aab5e96aafa14b1eedb666fa6f99dbd3af74a559c5ce7fc67795c4d504fe94b [INFO] running `Command { std: "docker" "start" "-a" "8aab5e96aafa14b1eedb666fa6f99dbd3af74a559c5ce7fc67795c4d504fe94b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8aab5e96aafa14b1eedb666fa6f99dbd3af74a559c5ce7fc67795c4d504fe94b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8aab5e96aafa14b1eedb666fa6f99dbd3af74a559c5ce7fc67795c4d504fe94b", kill_on_drop: false }` [INFO] [stdout] 8aab5e96aafa14b1eedb666fa6f99dbd3af74a559c5ce7fc67795c4d504fe94b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 01ddf763a99a8d465832dfaed6e0c4978fc77847a91dfb8f1e74afd16e94b884 [INFO] running `Command { std: "docker" "start" "-a" "01ddf763a99a8d465832dfaed6e0c4978fc77847a91dfb8f1e74afd16e94b884", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking museair v0.2.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Compiling auto_impl v1.2.0 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking flexi_logger v0.28.5 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking jsonc-parser v0.23.0 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking vanillapack_define_gen v0.1.0 (/opt/rustwide/workdir/vanillapack_define_gen) [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking jsonui-lsp v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/completion.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `DocumentColorParams` [INFO] [stdout] --> src/completion.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Color, ColorInformation, CompletionItem, CompletionParams, DidChangeTextDocumentParams, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | DocumentColorParams, Position, Range, Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/document.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | use tower_lsp::lsp_types::{DidChangeTextDocumentParams, Position, Range}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/completion.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Color` and `DocumentColorParams` [INFO] [stdout] --> src/completion.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | Color, ColorInformation, CompletionItem, CompletionParams, DidChangeTextDocumentParams, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 16 | DocumentColorParams, Position, Range, Url, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/document.rs:4:67 [INFO] [stdout] | [INFO] [stdout] 4 | use tower_lsp::lsp_types::{DidChangeTextDocumentParams, Position, Range}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_some` and `is_none` are never used [INFO] [stdout] --> src/completion.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 49 | pub fn is_some(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_index` is never read [INFO] [stdout] --> src/document.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct LineInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | pub start_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineInfo` has a derived impl for the trait `Debug`, but this is 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:551:14 [INFO] [stdout] | [INFO] [stdout] 516 | let log: flexi_logger::LoggerHandle = Logger::with(LogSpecification::info()).start().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 549 | let (service, socket) = LspService::build(|client| Backend { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 550 | client, [INFO] [stdout] 551 | log: Arc::new(log), [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:552:21 [INFO] [stdout] | [INFO] [stdout] 516 | let log: flexi_logger::LoggerHandle = Logger::with(LogSpecification::info()).start().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 549 | let (service, socket) = LspService::build(|client| Backend { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 552 | completers: Mutex::new(HashMap::new()), [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:555:29 [INFO] [stdout] | [INFO] [stdout] 516 | let log: flexi_logger::LoggerHandle = Logger::with(LogSpecification::info()).start().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 549 | let (service, socket) = LspService::build(|client| Backend { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 555 | id_2_namespace_map: Mutex::new(HashMap::new()), [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:556:15 [INFO] [stdout] | [INFO] [stdout] 516 | let log: flexi_logger::LoggerHandle = Logger::with(LogSpecification::info()).start().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 549 | let (service, socket) = LspService::build(|client| Backend { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 556 | lang: Mutex::new(Arc::from("zh-cn")), [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/completion.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn from(str: Arc) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | Completer { [INFO] [stdout] 250 | document: Document::from(&str.to_string()), [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/completion.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn from(str: Arc) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | ast: Mutex::new(None), [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/document.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 23 | let content_chars: Vec> = content.graphemes(true).map(Arc::from).collect(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | content_chars: Mutex::new(content_chars), [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 7 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonui-lsp` (bin "jsonui-lsp" test) due to 8 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `is_some` and `is_none` are never used [INFO] [stdout] --> src/completion.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl Value { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] 49 | pub fn is_some(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn is_none(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `start_index` is never read [INFO] [stdout] --> src/document.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct LineInfo { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 16 | pub start_index: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineInfo` has a derived impl for the trait `Debug`, but this is 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:551:14 [INFO] [stdout] | [INFO] [stdout] 516 | let log: flexi_logger::LoggerHandle = Logger::with(LogSpecification::info()).start().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 549 | let (service, socket) = LspService::build(|client| Backend { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 550 | client, [INFO] [stdout] 551 | log: Arc::new(log), [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:552:21 [INFO] [stdout] | [INFO] [stdout] 516 | let log: flexi_logger::LoggerHandle = Logger::with(LogSpecification::info()).start().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 549 | let (service, socket) = LspService::build(|client| Backend { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 552 | completers: Mutex::new(HashMap::new()), [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:555:29 [INFO] [stdout] | [INFO] [stdout] 516 | let log: flexi_logger::LoggerHandle = Logger::with(LogSpecification::info()).start().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 549 | let (service, socket) = LspService::build(|client| Backend { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 555 | id_2_namespace_map: Mutex::new(HashMap::new()), [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:556:15 [INFO] [stdout] | [INFO] [stdout] 516 | let log: flexi_logger::LoggerHandle = Logger::with(LogSpecification::info()).start().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 549 | let (service, socket) = LspService::build(|client| Backend { [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 556 | lang: Mutex::new(Arc::from("zh-cn")), [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/completion.rs:250:23 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn from(str: Arc) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 249 | Completer { [INFO] [stdout] 250 | document: Document::from(&str.to_string()), [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/completion.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn from(str: Arc) -> Self { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 251 | ast: Mutex::new(None), [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/document.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 23 | let content_chars: Vec> = content.graphemes(true).map(Arc::from).collect(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 27 | content_chars: Mutex::new(content_chars), [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 7 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonui-lsp` (bin "jsonui-lsp") due to 8 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "01ddf763a99a8d465832dfaed6e0c4978fc77847a91dfb8f1e74afd16e94b884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01ddf763a99a8d465832dfaed6e0c4978fc77847a91dfb8f1e74afd16e94b884", kill_on_drop: false }` [INFO] [stdout] 01ddf763a99a8d465832dfaed6e0c4978fc77847a91dfb8f1e74afd16e94b884