[INFO] cloning repository https://github.com/niuez/editor [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/niuez/editor" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniuez%2Feditor", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniuez%2Feditor'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82de5bcf9b15a0d01e1970277b7af1391d67f3bd [INFO] checking niuez/editor against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniuez%2Feditor" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niuez/editor on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/niuez/editor [INFO] finished tweaking git repo https://github.com/niuez/editor [INFO] tweaked toml for git repo https://github.com/niuez/editor written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/niuez/editor 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.122 [INFO] [stderr] Downloaded lsp-types v0.97.0 [INFO] [stderr] Downloaded console-api v0.5.0 [INFO] [stderr] Downloaded prost-types v0.11.9 [INFO] [stderr] Downloaded console-subscriber v0.1.10 [INFO] [stderr] Downloaded cc v1.1.7 [INFO] [stderr] Downloaded fluent-uri v0.1.4 [INFO] [stderr] Downloaded ropey v1.6.1 [INFO] [stderr] Downloaded termios v0.3.3 [INFO] [stderr] Downloaded str_indices v0.4.3 [INFO] [stderr] Downloaded hdrhistogram v7.5.4 [INFO] [stderr] Downloaded object v0.36.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db090a9447729b5c085f9d1909263e21c722e38e2a562b29398c05822e2682d5 [INFO] running `Command { std: "docker" "start" "-a" "db090a9447729b5c085f9d1909263e21c722e38e2a562b29398c05822e2682d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db090a9447729b5c085f9d1909263e21c722e38e2a562b29398c05822e2682d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db090a9447729b5c085f9d1909263e21c722e38e2a562b29398c05822e2682d5", kill_on_drop: false }` [INFO] [stdout] db090a9447729b5c085f9d1909263e21c722e38e2a562b29398c05822e2682d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b255445ff1d1da12591195d2ba9777ac49074dac0826df1cfae3beb74192ed9 [INFO] running `Command { std: "docker" "start" "-a" "7b255445ff1d1da12591195d2ba9777ac49074dac0826df1cfae3beb74192ed9", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking fluent-uri v0.1.4 [INFO] [stderr] Checking str_indices v0.4.3 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Checking prost-types v0.11.9 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking lsp-types v0.97.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stderr] Checking console-api v0.5.0 [INFO] [stderr] Checking console-subscriber v0.1.10 [INFO] [stderr] Checking editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fs::File` and `io::BufReader` [INFO] [stdout] --> src/viewer/text_viewer.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, fs::File, io::BufReader, rc::Rc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletionResponse` and `CompletionTextEdit` [INFO] [stdout] --> src/viewer/text_viewer.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use lsp_types::{CompletionResponse, CompletionTextEdit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::ResponseReceiver` [INFO] [stdout] --> src/viewer/text_viewer.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{buffer::Buffer, lsp::{client::ResponseReceiver, method::{completion::CompletionFetch, hover::HoverFetch}}, terminal::Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hover_viewer::HoverViewer` [INFO] [stdout] --> src/viewer/text_viewer.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{Draw, Input, Viewer, ViewerRect, hover_viewer::HoverViewer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_buffer::TextBuffer` [INFO] [stdout] --> src/viewer/completion_viewer.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{buffer::{CursorPos, text_buffer::TextBuffer, Buffer}, terminal::Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lsp::client::ResponseReceiver` [INFO] [stdout] --> src/viewer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{lsp::client::ResponseReceiver, terminal::Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResponseReceiver` [INFO] [stdout] --> src/buffer/text_buffer.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lsp::{client::{LspClient, ResponseReceiver, path_to_uri}, method::{completion::{CompletionFetch, CompletionParam}, didchange::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::ResponseReceiver` [INFO] [stdout] --> src/buffer.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lsp::{client::ResponseReceiver, method::{completion::CompletionFetch, hover::HoverFetch}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path_to_uri` [INFO] [stdout] --> src/editor.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::lsp::client::{LspClient, LspClientStartArg, path_to_uri}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::viewer::hover_viewer::HoverViewer` [INFO] [stdout] --> src/editor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::viewer::hover_viewer::HoverViewer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Viewer` [INFO] [stdout] --> src/editor.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::viewer::{ Draw, Input, Viewer, ViewerRect, text_viewer::TextViewer }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResponseError` [INFO] [stdout] --> src/lsp/client.rs:1:71 [INFO] [stdout] | [INFO] [stdout] 1 | use super::msg::{Message, Notification, Request, RequestId, Response, ResponseError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Notify` [INFO] [stdout] --> src/lsp/client.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::{sync::{Mutex, Notify, mpsc::{ self, Receiver, Sender }}, task::JoinHandle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWrite` [INFO] [stdout] --> src/lsp/msg.rs:2:54 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::{self, AsyncBufReadExt, AsyncReadExt, AsyncWrite, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LspClient`, `ResponseReceiver`, and `TryGetResponse` [INFO] [stdout] --> src/lsp/method/hover.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{buffer::CursorPos, lsp::client::{LspClient, TryGetResponse, ResponseReceiver, path_to_uri}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Position` and `Request` [INFO] [stdout] --> src/lsp/method/completion.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use lsp_types::{CompletionParams, PartialResultParams, Position, Uri, WorkDoneProgressParams, request::{Request, Completion}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File` and `io::BufReader` [INFO] [stdout] --> src/viewer/text_viewer.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, fs::File, io::BufReader, rc::Rc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletionResponse` and `CompletionTextEdit` [INFO] [stdout] --> src/viewer/text_viewer.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use lsp_types::{CompletionResponse, CompletionTextEdit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::ResponseReceiver` [INFO] [stdout] --> src/viewer/text_viewer.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{buffer::Buffer, lsp::{client::ResponseReceiver, method::{completion::CompletionFetch, hover::HoverFetch}}, terminal::Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hover_viewer::HoverViewer` [INFO] [stdout] --> src/viewer/text_viewer.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{Draw, Input, Viewer, ViewerRect, hover_viewer::HoverViewer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_buffer::TextBuffer` [INFO] [stdout] --> src/viewer/completion_viewer.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{buffer::{CursorPos, text_buffer::TextBuffer, Buffer}, terminal::Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lsp::client::ResponseReceiver` [INFO] [stdout] --> src/viewer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{lsp::client::ResponseReceiver, terminal::Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResponseReceiver` [INFO] [stdout] --> src/buffer/text_buffer.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lsp::{client::{LspClient, ResponseReceiver, path_to_uri}, method::{completion::{CompletionFetch, CompletionParam}, didchange::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::ResponseReceiver` [INFO] [stdout] --> src/buffer.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lsp::{client::ResponseReceiver, method::{completion::CompletionFetch, hover::HoverFetch}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path_to_uri` [INFO] [stdout] --> src/editor.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::lsp::client::{LspClient, LspClientStartArg, path_to_uri}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::viewer::hover_viewer::HoverViewer` [INFO] [stdout] --> src/editor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::viewer::hover_viewer::HoverViewer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Viewer` [INFO] [stdout] --> src/editor.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::viewer::{ Draw, Input, Viewer, ViewerRect, text_viewer::TextViewer }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResponseError` [INFO] [stdout] --> src/lsp/client.rs:1:71 [INFO] [stdout] | [INFO] [stdout] 1 | use super::msg::{Message, Notification, Request, RequestId, Response, ResponseError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Notify` [INFO] [stdout] --> src/lsp/client.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::{sync::{Mutex, Notify, mpsc::{ self, Receiver, Sender }}, task::JoinHandle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWrite` [INFO] [stdout] --> src/lsp/msg.rs:2:54 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::{self, AsyncBufReadExt, AsyncReadExt, AsyncWrite, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LspClient`, `ResponseReceiver`, and `TryGetResponse` [INFO] [stdout] --> src/lsp/method/hover.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{buffer::CursorPos, lsp::client::{LspClient, TryGetResponse, ResponseReceiver, path_to_uri}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Position` and `Request` [INFO] [stdout] --> src/lsp/method/completion.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use lsp_types::{CompletionParams, PartialResultParams, Position, Uri, WorkDoneProgressParams, request::{Request, Completion}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_server_sender` [INFO] [stdout] --> src/lsp/client.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | let (from_server_sender, from_server_receiver) = mpsc::channel::(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_server_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/lsp/client.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | Message::Request(req) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ntf` [INFO] [stdout] --> src/lsp/client.rs:62:47 [INFO] [stdout] | [INFO] [stdout] 62 | Message::Notification(ntf) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ntf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_server_sender` [INFO] [stdout] --> src/lsp/client.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | let (from_server_sender, from_server_receiver) = mpsc::channel::(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_server_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/lsp/client.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | Message::Request(req) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ntf` [INFO] [stdout] --> src/lsp/client.rs:62:47 [INFO] [stdout] | [INFO] [stdout] 62 | Message::Notification(ntf) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ntf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/viewer/hover_viewer.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terminal` [INFO] [stdout] --> src/viewer/hover_viewer.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/viewer/completion_viewer.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terminal` [INFO] [stdout] --> src/viewer/completion_viewer.rs:105:50 [INFO] [stdout] | [INFO] [stdout] 105 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/viewer/hover_viewer.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terminal` [INFO] [stdout] --> src/viewer/hover_viewer.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/viewer/completion_viewer.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terminal` [INFO] [stdout] --> src/viewer/completion_viewer.rs:105:50 [INFO] [stdout] | [INFO] [stdout] 105 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/lsp/msg.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | Err(error) => Err(anyhow!("extract error")), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/lsp/msg.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | Err(error) => Err(anyhow!("extract error")), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lsp_client` and `buffers` are never read [INFO] [stdout] --> src/editor.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Editor { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | lsp_client: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | buffers: Vec>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lsp_process_child`, `from_server_thread`, `from_server_receiver`, and `to_server_thread` are never read [INFO] [stdout] --> src/lsp/client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LspClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | lsp_process_child: tokio::process::Child, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | from_server_thread: tokio::task::JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | from_server_receiver: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | to_server_thread: tokio::task::JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_shutdown` and `is_initialize` are never used [INFO] [stdout] --> src/lsp/msg.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 231 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub(crate) fn is_shutdown(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub(crate) fn is_initialize(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_exit` and `is_initialized` are never used [INFO] [stdout] --> src/lsp/msg.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 256 | impl Notification { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub(crate) fn is_exit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub(crate) fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lsp_client` and `buffers` are never read [INFO] [stdout] --> src/editor.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Editor { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | lsp_client: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | buffers: Vec>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lsp_process_child`, `from_server_thread`, `from_server_receiver`, and `to_server_thread` are never read [INFO] [stdout] --> src/lsp/client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LspClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | lsp_process_child: tokio::process::Child, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | from_server_thread: tokio::task::JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | from_server_receiver: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | to_server_thread: tokio::task::JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_shutdown` and `is_initialize` are never used [INFO] [stdout] --> src/lsp/msg.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 231 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub(crate) fn is_shutdown(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub(crate) fn is_initialize(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_exit` and `is_initialized` are never used [INFO] [stdout] --> src/lsp/msg.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 256 | impl Notification { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub(crate) fn is_exit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub(crate) fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.87s [INFO] running `Command { std: "docker" "inspect" "7b255445ff1d1da12591195d2ba9777ac49074dac0826df1cfae3beb74192ed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b255445ff1d1da12591195d2ba9777ac49074dac0826df1cfae3beb74192ed9", kill_on_drop: false }` [INFO] [stdout] 7b255445ff1d1da12591195d2ba9777ac49074dac0826df1cfae3beb74192ed9 [INFO] checking niuez/editor against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniuez%2Feditor" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/niuez/editor on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config [INFO] started tweaking git repo https://github.com/niuez/editor [INFO] finished tweaking git repo https://github.com/niuez/editor [INFO] tweaked toml for git repo https://github.com/niuez/editor written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/niuez/editor 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 55371bd45c8071e820aa7f37aae31758cf1a34bdcebc8ecd431ad1314b9f6bed [INFO] running `Command { std: "docker" "start" "-a" "55371bd45c8071e820aa7f37aae31758cf1a34bdcebc8ecd431ad1314b9f6bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "55371bd45c8071e820aa7f37aae31758cf1a34bdcebc8ecd431ad1314b9f6bed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55371bd45c8071e820aa7f37aae31758cf1a34bdcebc8ecd431ad1314b9f6bed", kill_on_drop: false }` [INFO] [stdout] 55371bd45c8071e820aa7f37aae31758cf1a34bdcebc8ecd431ad1314b9f6bed [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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee268c7316ef3bb81ee46fbab227ad649ac0044040aae0c1c5e9d3e622066ffd [INFO] running `Command { std: "docker" "start" "-a" "ee268c7316ef3bb81ee46fbab227ad649ac0044040aae0c1c5e9d3e622066ffd", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking indexmap v2.3.0 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking matchit v0.7.3 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking thread_local v1.1.8 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking fluent-uri v0.1.4 [INFO] [stderr] Checking str_indices v0.4.3 [INFO] [stderr] Checking flate2 v1.0.31 [INFO] [stderr] Checking termios v0.3.3 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Checking matchers v0.1.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking hdrhistogram v7.5.4 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Checking prost-types v0.11.9 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking tokio v1.39.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking lsp-types v0.97.0 [INFO] [stderr] Checking hyper v0.14.30 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stderr] Checking console-api v0.5.0 [INFO] [stderr] Checking console-subscriber v0.1.10 [INFO] [stderr] Checking editor v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `fs::File` and `io::BufReader` [INFO] [stdout] --> src/viewer/text_viewer.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, fs::File, io::BufReader, rc::Rc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletionResponse` and `CompletionTextEdit` [INFO] [stdout] --> src/viewer/text_viewer.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use lsp_types::{CompletionResponse, CompletionTextEdit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::ResponseReceiver` [INFO] [stdout] --> src/viewer/text_viewer.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{buffer::Buffer, lsp::{client::ResponseReceiver, method::{completion::CompletionFetch, hover::HoverFetch}}, terminal::Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hover_viewer::HoverViewer` [INFO] [stdout] --> src/viewer/text_viewer.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{Draw, Input, Viewer, ViewerRect, hover_viewer::HoverViewer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_buffer::TextBuffer` [INFO] [stdout] --> src/viewer/completion_viewer.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{buffer::{CursorPos, text_buffer::TextBuffer, Buffer}, terminal::Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lsp::client::ResponseReceiver` [INFO] [stdout] --> src/viewer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{lsp::client::ResponseReceiver, terminal::Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResponseReceiver` [INFO] [stdout] --> src/buffer/text_buffer.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lsp::{client::{LspClient, ResponseReceiver, path_to_uri}, method::{completion::{CompletionFetch, CompletionParam}, didchange::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::ResponseReceiver` [INFO] [stdout] --> src/buffer.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lsp::{client::ResponseReceiver, method::{completion::CompletionFetch, hover::HoverFetch}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path_to_uri` [INFO] [stdout] --> src/editor.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::lsp::client::{LspClient, LspClientStartArg, path_to_uri}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::viewer::hover_viewer::HoverViewer` [INFO] [stdout] --> src/editor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::viewer::hover_viewer::HoverViewer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Viewer` [INFO] [stdout] --> src/editor.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::viewer::{ Draw, Input, Viewer, ViewerRect, text_viewer::TextViewer }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResponseError` [INFO] [stdout] --> src/lsp/client.rs:1:71 [INFO] [stdout] | [INFO] [stdout] 1 | use super::msg::{Message, Notification, Request, RequestId, Response, ResponseError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Notify` [INFO] [stdout] --> src/lsp/client.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::{sync::{Mutex, Notify, mpsc::{ self, Receiver, Sender }}, task::JoinHandle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWrite` [INFO] [stdout] --> src/lsp/msg.rs:2:54 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::{self, AsyncBufReadExt, AsyncReadExt, AsyncWrite, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LspClient`, `ResponseReceiver`, and `TryGetResponse` [INFO] [stdout] --> src/lsp/method/hover.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{buffer::CursorPos, lsp::client::{LspClient, TryGetResponse, ResponseReceiver, path_to_uri}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Position` and `Request` [INFO] [stdout] --> src/lsp/method/completion.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use lsp_types::{CompletionParams, PartialResultParams, Position, Uri, WorkDoneProgressParams, request::{Request, Completion}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `fs::File` and `io::BufReader` [INFO] [stdout] --> src/viewer/text_viewer.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cell::RefCell, fs::File, io::BufReader, rc::Rc}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletionResponse` and `CompletionTextEdit` [INFO] [stdout] --> src/viewer/text_viewer.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use lsp_types::{CompletionResponse, CompletionTextEdit}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::ResponseReceiver` [INFO] [stdout] --> src/viewer/text_viewer.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{buffer::Buffer, lsp::{client::ResponseReceiver, method::{completion::CompletionFetch, hover::HoverFetch}}, terminal::Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hover_viewer::HoverViewer` [INFO] [stdout] --> src/viewer/text_viewer.rs:6:46 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{Draw, Input, Viewer, ViewerRect, hover_viewer::HoverViewer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `text_buffer::TextBuffer` [INFO] [stdout] --> src/viewer/completion_viewer.rs:3:33 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{buffer::{CursorPos, text_buffer::TextBuffer, Buffer}, terminal::Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lsp::client::ResponseReceiver` [INFO] [stdout] --> src/viewer.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::{lsp::client::ResponseReceiver, terminal::Terminal}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResponseReceiver` [INFO] [stdout] --> src/buffer/text_buffer.rs:3:38 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::lsp::{client::{LspClient, ResponseReceiver, path_to_uri}, method::{completion::{CompletionFetch, CompletionParam}, didchange::... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `client::ResponseReceiver` [INFO] [stdout] --> src/buffer.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::lsp::{client::ResponseReceiver, method::{completion::CompletionFetch, hover::HoverFetch}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `path_to_uri` [INFO] [stdout] --> src/editor.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::lsp::client::{LspClient, LspClientStartArg, path_to_uri}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::viewer::hover_viewer::HoverViewer` [INFO] [stdout] --> src/editor.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::viewer::hover_viewer::HoverViewer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Viewer` [INFO] [stdout] --> src/editor.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::viewer::{ Draw, Input, Viewer, ViewerRect, text_viewer::TextViewer }; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResponseError` [INFO] [stdout] --> src/lsp/client.rs:1:71 [INFO] [stdout] | [INFO] [stdout] 1 | use super::msg::{Message, Notification, Request, RequestId, Response, ResponseError}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Notify` [INFO] [stdout] --> src/lsp/client.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio::{sync::{Mutex, Notify, mpsc::{ self, Receiver, Sender }}, task::JoinHandle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWrite` [INFO] [stdout] --> src/lsp/msg.rs:2:54 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::io::{self, AsyncBufReadExt, AsyncReadExt, AsyncWrite, AsyncWriteExt}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `LspClient`, `ResponseReceiver`, and `TryGetResponse` [INFO] [stdout] --> src/lsp/method/hover.rs:4:46 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{buffer::CursorPos, lsp::client::{LspClient, TryGetResponse, ResponseReceiver, path_to_uri}}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Position` and `Request` [INFO] [stdout] --> src/lsp/method/completion.rs:1:56 [INFO] [stdout] | [INFO] [stdout] 1 | use lsp_types::{CompletionParams, PartialResultParams, Position, Uri, WorkDoneProgressParams, request::{Request, Completion}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_server_sender` [INFO] [stdout] --> src/lsp/client.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | let (from_server_sender, from_server_receiver) = mpsc::channel::(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_server_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/lsp/client.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | Message::Request(req) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ntf` [INFO] [stdout] --> src/lsp/client.rs:62:47 [INFO] [stdout] | [INFO] [stdout] 62 | Message::Notification(ntf) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ntf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_server_sender` [INFO] [stdout] --> src/lsp/client.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | let (from_server_sender, from_server_receiver) = mpsc::channel::(1000); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_server_sender` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/lsp/client.rs:60:42 [INFO] [stdout] | [INFO] [stdout] 60 | Message::Request(req) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ntf` [INFO] [stdout] --> src/lsp/client.rs:62:47 [INFO] [stdout] | [INFO] [stdout] 62 | Message::Notification(ntf) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ntf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/viewer/hover_viewer.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terminal` [INFO] [stdout] --> src/viewer/hover_viewer.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/viewer/completion_viewer.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terminal` [INFO] [stdout] --> src/viewer/completion_viewer.rs:105:50 [INFO] [stdout] | [INFO] [stdout] 105 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/viewer/hover_viewer.rs:38:31 [INFO] [stdout] | [INFO] [stdout] 38 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terminal` [INFO] [stdout] --> src/viewer/hover_viewer.rs:38:50 [INFO] [stdout] | [INFO] [stdout] 38 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rect` [INFO] [stdout] --> src/viewer/completion_viewer.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rect` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `terminal` [INFO] [stdout] --> src/viewer/completion_viewer.rs:105:50 [INFO] [stdout] | [INFO] [stdout] 105 | fn draw_cursor(&mut self, rect: &ViewerRect, terminal: &mut Terminal) -> anyhow::Result<()> { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/lsp/msg.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | Err(error) => Err(anyhow!("extract error")), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lsp_client` and `buffers` are never read [INFO] [stdout] --> src/editor.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Editor { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | lsp_client: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | buffers: Vec>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lsp_process_child`, `from_server_thread`, `from_server_receiver`, and `to_server_thread` are never read [INFO] [stdout] --> src/lsp/client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LspClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | lsp_process_child: tokio::process::Child, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | from_server_thread: tokio::task::JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | from_server_receiver: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | to_server_thread: tokio::task::JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_shutdown` and `is_initialize` are never used [INFO] [stdout] --> src/lsp/msg.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 231 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub(crate) fn is_shutdown(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub(crate) fn is_initialize(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_exit` and `is_initialized` are never used [INFO] [stdout] --> src/lsp/msg.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 256 | impl Notification { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub(crate) fn is_exit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub(crate) fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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/viewer/text_viewer.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn open(buffer: Rc>) -> anyhow::Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Ok( [INFO] [stdout] 20 | / TextViewer { [INFO] [stdout] 21 | | buffer, [INFO] [stdout] 22 | | top: 0, [INFO] [stdout] 23 | | left: 0, [INFO] [stdout] ... | [INFO] [stdout] 26 | | completion: CompletionFetch::Got(None), [INFO] [stdout] 27 | | } [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/editor.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | let buffer = Rc::new(RefCell::new(TextBuffer::open("./test.txt")?)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Ok(Editor { [INFO] [stdout] | ____________^ [INFO] [stdout] 40 | | _mode: RawMode::enable_raw_mode().context("enable raw mode failed")?, [INFO] [stdout] 41 | | stdin: std::io::stdin(), [INFO] [stdout] 42 | | terminal, [INFO] [stdout] ... | [INFO] [stdout] 49 | | active: 0, [INFO] [stdout] 50 | | }) [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] | [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/lsp/client.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 127 | let (sender, receiver) = tokio::sync::oneshot::channel::(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | let (sender2, receiver2) = tokio::sync::oneshot::channel::>(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | match receiver.await { [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/lsp/client.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn try_get_response(mut self) -> TryGetResponse { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | match self.receiver.try_recv() { [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/lsp/client.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn path_to_uri>(path: P) -> anyhow::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | Ok(lsp_types::Uri::from_str(&format!("file://{}", std::path::absolute(path)?.to_str().context("cant to_str")?))?) [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/lsp/msg.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn deserialize_result<'de, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Ok(Deserialize::deserialize(deserializer) [INFO] [stdout] | ________^ [INFO] [stdout] 94 | | .map(|op: Option| Some(op.unwrap_or(serde_json::Value::Null))) [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/lsp/msg.rs:215:37 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn new_ok(id: RequestId, result: R) -> Response { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | Response { id, result: Some(serde_json::to_value(result).unwrap()), error: 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/lsp/msg.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new(id: RequestId, method: String, params: P) -> Request { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | Request { id, method, params: serde_json::to_value(params).unwrap() } [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/lsp/msg.rs:258:40 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn new(method: String, params: impl Serialize) -> Notification { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | Notification { method, params: serde_json::to_value(params).unwrap() } [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/lsp/method/hover.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new>(filename: S, cursor: CursorPos) -> anyhow::Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | uri: path_to_uri(filename)?, [INFO] [stdout] 59 | | cursor, [INFO] [stdout] 60 | | }) [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/lsp/method/hover.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 66 | fn into_param(self) -> Self::ActualParam { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | lsp_types::HoverParams { [INFO] [stdout] 68 | text_document_position_params: lsp_types::TextDocumentPositionParams { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 69 | | text_document: lsp_types::TextDocumentIdentifier { uri: self.uri }, [INFO] [stdout] 70 | | position: lsp_types::Position { line: self.cursor.0 as u32, character: self.cursor.1 as u32 }, [INFO] [stdout] 71 | | }, [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/lsp/method/didchange.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new>(filename: S, version: i32) -> anyhow::Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 13 | | text_document: VersionedTextDocumentIdentifier { uri: path_to_uri(filename)?, version, }, [INFO] [stdout] 14 | | changes: vec![], [INFO] [stdout] 15 | | }) [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/lsp/method/completion.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new>(filename: S, cursor: CursorPos) -> anyhow::Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 15 | | uri: path_to_uri(filename)?, [INFO] [stdout] 16 | | cursor, [INFO] [stdout] 17 | | }) [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/lsp/method/completion.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 23 | fn into_param(self) -> Self::ActualParam { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | CompletionParams { [INFO] [stdout] 25 | text_document_position: lsp_types::TextDocumentPositionParams { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 26 | | text_document: lsp_types::TextDocumentIdentifier { uri: self.uri }, [INFO] [stdout] 27 | | position: lsp_types::Position { line: self.cursor.0 as u32, character: self.cursor.1 as u32 }, [INFO] [stdout] 28 | | }, [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 14 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/lsp/msg.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | Err(error) => Err(anyhow!("extract error")), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `editor` (bin "editor") due to 15 previous errors; 28 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `lsp_client` and `buffers` are never read [INFO] [stdout] --> src/editor.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Editor { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | lsp_client: Option>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | buffers: Vec>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `lsp_process_child`, `from_server_thread`, `from_server_receiver`, and `to_server_thread` are never read [INFO] [stdout] --> src/lsp/client.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct LspClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 10 | lsp_process_child: tokio::process::Child, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | from_server_thread: tokio::task::JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 12 | from_server_receiver: Receiver, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | to_server_thread: tokio::task::JoinHandle>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_shutdown` and `is_initialize` are never used [INFO] [stdout] --> src/lsp/msg.rs:248:19 [INFO] [stdout] | [INFO] [stdout] 231 | impl Request { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 248 | pub(crate) fn is_shutdown(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub(crate) fn is_initialize(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_exit` and `is_initialized` are never used [INFO] [stdout] --> src/lsp/msg.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 256 | impl Notification { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 272 | pub(crate) fn is_exit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub(crate) fn is_initialized(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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/viewer/text_viewer.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn open(buffer: Rc>) -> anyhow::Result { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 19 | Ok( [INFO] [stdout] 20 | / TextViewer { [INFO] [stdout] 21 | | buffer, [INFO] [stdout] 22 | | top: 0, [INFO] [stdout] 23 | | left: 0, [INFO] [stdout] ... | [INFO] [stdout] 26 | | completion: CompletionFetch::Got(None), [INFO] [stdout] 27 | | } [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/editor.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | let buffer = Rc::new(RefCell::new(TextBuffer::open("./test.txt")?)); [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 39 | Ok(Editor { [INFO] [stdout] | ____________^ [INFO] [stdout] 40 | | _mode: RawMode::enable_raw_mode().context("enable raw mode failed")?, [INFO] [stdout] 41 | | stdin: std::io::stdin(), [INFO] [stdout] 42 | | terminal, [INFO] [stdout] ... | [INFO] [stdout] 49 | | active: 0, [INFO] [stdout] 50 | | }) [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] | [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/lsp/client.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 127 | let (sender, receiver) = tokio::sync::oneshot::channel::(); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 137 | let (sender2, receiver2) = tokio::sync::oneshot::channel::>(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 140 | match receiver.await { [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/lsp/client.rs:175:15 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn try_get_response(mut self) -> TryGetResponse { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 175 | match self.receiver.try_recv() { [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/lsp/client.rs:205:8 [INFO] [stdout] | [INFO] [stdout] 204 | pub fn path_to_uri>(path: P) -> anyhow::Result { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 205 | Ok(lsp_types::Uri::from_str(&format!("file://{}", std::path::absolute(path)?.to_str().context("cant to_str")?))?) [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/lsp/msg.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 90 | fn deserialize_result<'de, D>(deserializer: D) -> Result, D::Error> [INFO] [stdout] | --------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 93 | Ok(Deserialize::deserialize(deserializer) [INFO] [stdout] | ________^ [INFO] [stdout] 94 | | .map(|op: Option| Some(op.unwrap_or(serde_json::Value::Null))) [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/lsp/msg.rs:215:37 [INFO] [stdout] | [INFO] [stdout] 214 | pub fn new_ok(id: RequestId, result: R) -> Response { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 215 | Response { id, result: Some(serde_json::to_value(result).unwrap()), error: 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/lsp/msg.rs:233:39 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn new(id: RequestId, method: String, params: P) -> Request { [INFO] [stdout] | --------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 233 | Request { id, method, params: serde_json::to_value(params).unwrap() } [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/lsp/msg.rs:258:40 [INFO] [stdout] | [INFO] [stdout] 257 | pub fn new(method: String, params: impl Serialize) -> Notification { [INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 258 | Notification { method, params: serde_json::to_value(params).unwrap() } [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/lsp/method/hover.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn new>(filename: S, cursor: CursorPos) -> anyhow::Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 57 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 58 | | uri: path_to_uri(filename)?, [INFO] [stdout] 59 | | cursor, [INFO] [stdout] 60 | | }) [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/lsp/method/hover.rs:68:44 [INFO] [stdout] | [INFO] [stdout] 66 | fn into_param(self) -> Self::ActualParam { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 67 | lsp_types::HoverParams { [INFO] [stdout] 68 | text_document_position_params: lsp_types::TextDocumentPositionParams { [INFO] [stdout] | ____________________________________________^ [INFO] [stdout] 69 | | text_document: lsp_types::TextDocumentIdentifier { uri: self.uri }, [INFO] [stdout] 70 | | position: lsp_types::Position { line: self.cursor.0 as u32, character: self.cursor.1 as u32 }, [INFO] [stdout] 71 | | }, [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/lsp/method/didchange.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn new>(filename: S, version: i32) -> anyhow::Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 12 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 13 | | text_document: VersionedTextDocumentIdentifier { uri: path_to_uri(filename)?, version, }, [INFO] [stdout] 14 | | changes: vec![], [INFO] [stdout] 15 | | }) [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/lsp/method/completion.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new>(filename: S, cursor: CursorPos) -> anyhow::Result { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 15 | | uri: path_to_uri(filename)?, [INFO] [stdout] 16 | | cursor, [INFO] [stdout] 17 | | }) [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/lsp/method/completion.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 23 | fn into_param(self) -> Self::ActualParam { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 24 | CompletionParams { [INFO] [stdout] 25 | text_document_position: lsp_types::TextDocumentPositionParams { [INFO] [stdout] | _____________________________________^ [INFO] [stdout] 26 | | text_document: lsp_types::TextDocumentIdentifier { uri: self.uri }, [INFO] [stdout] 27 | | position: lsp_types::Position { line: self.cursor.0 as u32, character: self.cursor.1 as u32 }, [INFO] [stdout] 28 | | }, [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 14 previous errors; 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `editor` (bin "editor" test) due to 15 previous errors; 28 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee268c7316ef3bb81ee46fbab227ad649ac0044040aae0c1c5e9d3e622066ffd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee268c7316ef3bb81ee46fbab227ad649ac0044040aae0c1c5e9d3e622066ffd", kill_on_drop: false }` [INFO] [stdout] ee268c7316ef3bb81ee46fbab227ad649ac0044040aae0c1c5e9d3e622066ffd