[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] building niuez/editor against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fniuez%2Feditor" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/niuez/editor on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded termios v0.3.3
[INFO] [stderr]   Downloaded prost v0.11.9
[INFO] [stderr]   Downloaded prost-derive v0.11.9
[INFO] [stderr]   Downloaded str_indices v0.4.3
[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 fluent-uri v0.1.4
[INFO] [stderr]   Downloaded lsp-types v0.97.0
[INFO] [stderr]   Downloaded indexmap v2.3.0
[INFO] [stderr]   Downloaded tonic v0.9.2
[INFO] [stderr]   Downloaded ropey v1.6.1
[INFO] [stderr]   Downloaded hdrhistogram v7.5.4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 50dac38cb421d4df79c7f1ac6ab8d2932184c398b239a2766afaa679b1f9e8f6
[INFO] running `Command { std: "docker" "start" "-a" "50dac38cb421d4df79c7f1ac6ab8d2932184c398b239a2766afaa679b1f9e8f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "50dac38cb421d4df79c7f1ac6ab8d2932184c398b239a2766afaa679b1f9e8f6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "50dac38cb421d4df79c7f1ac6ab8d2932184c398b239a2766afaa679b1f9e8f6", kill_on_drop: false }`
[INFO] [stdout] 50dac38cb421d4df79c7f1ac6ab8d2932184c398b239a2766afaa679b1f9e8f6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d3602ee94be944c1e70a1c4bda0159e9c01533e9d42a91337f151604acac2d82
[INFO] running `Command { std: "docker" "start" "-a" "d3602ee94be944c1e70a1c4bda0159e9c01533e9d42a91337f151604acac2d82", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling bytes v1.7.1
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling mio v1.0.1
[INFO] [stderr]    Compiling indexmap v2.3.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling crossbeam-utils v0.8.20
[INFO] [stderr]    Compiling serde_json v1.0.122
[INFO] [stderr]    Compiling miniz_oxide v0.7.4
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling futures-io v0.3.30
[INFO] [stderr]    Compiling fluent-uri v0.1.4
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling str_indices v0.4.3
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling ropey v1.6.1
[INFO] [stderr]    Compiling syn v2.0.72
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling flate2 v1.0.31
[INFO] [stderr]    Compiling crossbeam-channel v0.5.13
[INFO] [stderr]    Compiling termios v0.3.3
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling hdrhistogram v7.5.4
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling prost-derive 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 serde_repr v0.1.19
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling tokio v1.39.2
[INFO] [stderr]    Compiling prost v0.11.9
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]    Compiling pin-project v1.1.5
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling tracing-subscriber v0.3.18
[INFO] [stderr]    Compiling prost-types v0.11.9
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tokio-util v0.7.11
[INFO] [stderr]    Compiling tokio-io-timeout v1.2.0
[INFO] [stderr]    Compiling tokio-stream v0.1.15
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling lsp-types v0.97.0
[INFO] [stderr]    Compiling hyper v0.14.30
[INFO] [stderr]    Compiling hyper-timeout v0.4.1
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]    Compiling tonic v0.9.2
[INFO] [stderr]    Compiling console-api v0.5.0
[INFO] [stderr]    Compiling console-subscriber v0.1.10
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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: `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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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::<Message>(1000);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_server_sender`
[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<Arc<LspClient>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 29 |     buffers: Vec<Rc<RefCell<TextBuffer>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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<anyhow::Result<()>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     from_server_receiver: Receiver<Message>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     to_server_thread: tokio::task::JoinHandle<anyhow::Result<()>>,
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 03s
[INFO] running `Command { std: "docker" "inspect" "d3602ee94be944c1e70a1c4bda0159e9c01533e9d42a91337f151604acac2d82", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d3602ee94be944c1e70a1c4bda0159e9c01533e9d42a91337f151604acac2d82", kill_on_drop: false }`
[INFO] [stdout] d3602ee94be944c1e70a1c4bda0159e9c01533e9d42a91337f151604acac2d82
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9593fd9da6d01de75aba0df3b66d3686da0f217239c17197dec96f7697adab85
[INFO] running `Command { std: "docker" "start" "-a" "9593fd9da6d01de75aba0df3b66d3686da0f217239c17197dec96f7697adab85", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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: `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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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::<Message>(1000);
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_server_sender`
[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<Arc<LspClient>>,
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 29 |     buffers: Vec<Rc<RefCell<TextBuffer>>>,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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<anyhow::Result<()>>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     from_server_receiver: Receiver<Message>,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     to_server_thread: tokio::task::JoinHandle<anyhow::Result<()>>,
[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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.18s
[INFO] running `Command { std: "docker" "inspect" "9593fd9da6d01de75aba0df3b66d3686da0f217239c17197dec96f7697adab85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9593fd9da6d01de75aba0df3b66d3686da0f217239c17197dec96f7697adab85", kill_on_drop: false }`
[INFO] [stdout] 9593fd9da6d01de75aba0df3b66d3686da0f217239c17197dec96f7697adab85
