[INFO] cloning repository https://github.com/unrealhoang/lspc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/unrealhoang/lspc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funrealhoang%2Flspc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funrealhoang%2Flspc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21c283a82c7416c6a833941de7e1741fd0ba8a10 [INFO] testing unrealhoang/lspc against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funrealhoang%2Flspc" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/unrealhoang/lspc on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/unrealhoang/lspc [INFO] finished tweaking git repo https://github.com/unrealhoang/lspc [INFO] tweaked toml for git repo https://github.com/unrealhoang/lspc written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/unrealhoang/lspc already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17e4626256a614def66f496e7c20c3661896435db9d20bde640bc85bb7a9840a [INFO] running `Command { std: "docker" "start" "-a" "17e4626256a614def66f496e7c20c3661896435db9d20bde640bc85bb7a9840a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17e4626256a614def66f496e7c20c3661896435db9d20bde640bc85bb7a9840a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17e4626256a614def66f496e7c20c3661896435db9d20bde640bc85bb7a9840a", kill_on_drop: false }` [INFO] [stdout] 17e4626256a614def66f496e7c20c3661896435db9d20bde640bc85bb7a9840a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f7612b3dff7e8e4ae4569f9162d027a4823f316d162c0f4d740d908c5c50a74e [INFO] running `Command { std: "docker" "start" "-a" "f7612b3dff7e8e4ae4569f9162d027a4823f316d162c0f4d740d908c5c50a74e", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bimap v0.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling ropey v1.1.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling simple-logging v2.0.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling rmp v0.8.8 (https://github.com/3Hren/msgpack-rust#ef42c6b2) [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Compiling serde_bytes v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling rmpv v0.4.2 (https://github.com/3Hren/msgpack-rust#ef42c6b2) [INFO] [stderr] Compiling lsp-types v0.61.0 [INFO] [stderr] Compiling lspc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:97:71 [INFO] [stdout] | [INFO] [stdout] 97 | let msg = from_str(&text).map_err(|e| RpcError::Deserialize(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | .map_err(|e| RpcError::Serialize(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | .map_err(|e| e.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:254:24 [INFO] [stdout] | [INFO] [stdout] 254 | .map_err(|e| e.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:255:52 [INFO] [stdout] | [INFO] [stdout] 255 | let buf = String::from_utf8(buf).map_err(|e| e.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 263 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:265:40 [INFO] [stdout] | [INFO] [stdout] 265 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:267:40 [INFO] [stdout] | [INFO] [stdout] 267 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:735:74 [INFO] [stdout] | [INFO] [stdout] 735 | EditorError::Failed(format!("Failed to encode params: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:745:64 [INFO] [stdout] | [INFO] [stdout] 745 | let value = read_value(r).map_err(|e| RpcError::Read(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:748:67 [INFO] [stdout] | [INFO] [stdout] 748 | from_value(value).map_err(|e| RpcError::Deserialize(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:757:70 [INFO] [stdout] | [INFO] [stdout] 757 | let value = to_value(self).map_err(|e| RpcError::Serialize(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:758:62 [INFO] [stdout] | [INFO] [stdout] 758 | write_value(w, &value).map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:760:44 [INFO] [stdout] | [INFO] [stdout] 760 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/rpc.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn close(self) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lspc/tracking_file.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | std::mem::replace(last_content_change, content_change.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lspc/tracking_file.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | std::mem::replace(content, new_rope); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 50.75s [INFO] running `Command { std: "docker" "inspect" "f7612b3dff7e8e4ae4569f9162d027a4823f316d162c0f4d740d908c5c50a74e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7612b3dff7e8e4ae4569f9162d027a4823f316d162c0f4d740d908c5c50a74e", kill_on_drop: false }` [INFO] [stdout] f7612b3dff7e8e4ae4569f9162d027a4823f316d162c0f4d740d908c5c50a74e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de7975c8e0dc569dc4585467d1ec826e67b3f8fbd7e283fb25634d0eacf3fcef [INFO] running `Command { std: "docker" "start" "-a" "de7975c8e0dc569dc4585467d1ec826e67b3f8fbd7e283fb25634d0eacf3fcef", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:97:71 [INFO] [stdout] | [INFO] [stdout] 97 | let msg = from_str(&text).map_err(|e| RpcError::Deserialize(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | .map_err(|e| RpcError::Serialize(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | .map_err(|e| e.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:254:24 [INFO] [stdout] | [INFO] [stdout] 254 | .map_err(|e| e.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:255:52 [INFO] [stdout] | [INFO] [stdout] 255 | let buf = String::from_utf8(buf).map_err(|e| e.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 263 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:265:40 [INFO] [stdout] | [INFO] [stdout] 265 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:267:40 [INFO] [stdout] | [INFO] [stdout] 267 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:735:74 [INFO] [stdout] | [INFO] [stdout] 735 | EditorError::Failed(format!("Failed to encode params: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:745:64 [INFO] [stdout] | [INFO] [stdout] 745 | let value = read_value(r).map_err(|e| RpcError::Read(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:748:67 [INFO] [stdout] | [INFO] [stdout] 748 | from_value(value).map_err(|e| RpcError::Deserialize(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:757:70 [INFO] [stdout] | [INFO] [stdout] 757 | let value = to_value(self).map_err(|e| RpcError::Serialize(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:758:62 [INFO] [stdout] | [INFO] [stdout] 758 | write_value(w, &value).map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:760:44 [INFO] [stdout] | [INFO] [stdout] 760 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/rpc.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn close(self) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lspc/tracking_file.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | std::mem::replace(last_content_change, content_change.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lspc/tracking_file.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | std::mem::replace(content, new_rope); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling lspc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:97:71 [INFO] [stdout] | [INFO] [stdout] 97 | let msg = from_str(&text).map_err(|e| RpcError::Deserialize(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:112:44 [INFO] [stdout] | [INFO] [stdout] 112 | .map_err(|e| RpcError::Serialize(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | .map_err(|e| e.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:254:24 [INFO] [stdout] | [INFO] [stdout] 254 | .map_err(|e| e.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:255:52 [INFO] [stdout] | [INFO] [stdout] 255 | let buf = String::from_utf8(buf).map_err(|e| e.description().to_owned())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:263:40 [INFO] [stdout] | [INFO] [stdout] 263 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:265:40 [INFO] [stdout] | [INFO] [stdout] 265 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lspc/msg.rs:267:40 [INFO] [stdout] | [INFO] [stdout] 267 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:735:74 [INFO] [stdout] | [INFO] [stdout] 735 | EditorError::Failed(format!("Failed to encode params: {}", e.description())) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:745:64 [INFO] [stdout] | [INFO] [stdout] 745 | let value = read_value(r).map_err(|e| RpcError::Read(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:748:67 [INFO] [stdout] | [INFO] [stdout] 748 | from_value(value).map_err(|e| RpcError::Deserialize(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:757:70 [INFO] [stdout] | [INFO] [stdout] 757 | let value = to_value(self).map_err(|e| RpcError::Serialize(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:758:62 [INFO] [stdout] | [INFO] [stdout] 758 | write_value(w, &value).map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/neovim.rs:760:44 [INFO] [stdout] | [INFO] [stdout] 760 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `close` [INFO] [stdout] --> src/rpc.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 128 | fn close(self) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lspc/tracking_file.rs:61:25 [INFO] [stdout] | [INFO] [stdout] 61 | std::mem::replace(last_content_change, content_change.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/lspc/tracking_file.rs:74:21 [INFO] [stdout] | [INFO] [stdout] 74 | std::mem::replace(content, new_rope); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.80s [INFO] running `Command { std: "docker" "inspect" "de7975c8e0dc569dc4585467d1ec826e67b3f8fbd7e283fb25634d0eacf3fcef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de7975c8e0dc569dc4585467d1ec826e67b3f8fbd7e283fb25634d0eacf3fcef", kill_on_drop: false }` [INFO] [stdout] de7975c8e0dc569dc4585467d1ec826e67b3f8fbd7e283fb25634d0eacf3fcef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a69eabeab20cf11cc634faabe0b0ee934c03a0de360e757f0d775323ff0ae9c2 [INFO] running `Command { std: "docker" "start" "-a" "a69eabeab20cf11cc634faabe0b0ee934c03a0de360e757f0d775323ff0ae9c2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:97:71 [INFO] [stderr] | [INFO] [stderr] 97 | let msg = from_str(&text).map_err(|e| RpcError::Deserialize(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:112:44 [INFO] [stderr] | [INFO] [stderr] 112 | .map_err(|e| RpcError::Serialize(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:226:28 [INFO] [stderr] | [INFO] [stderr] 226 | .map_err(|e| e.description().to_owned())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:254:24 [INFO] [stderr] | [INFO] [stderr] 254 | .map_err(|e| e.description().to_owned())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:255:52 [INFO] [stderr] | [INFO] [stderr] 255 | let buf = String::from_utf8(buf).map_err(|e| e.description().to_owned())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:263:40 [INFO] [stderr] | [INFO] [stderr] 263 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:265:40 [INFO] [stderr] | [INFO] [stderr] 265 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:267:40 [INFO] [stderr] | [INFO] [stderr] 267 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/neovim.rs:735:74 [INFO] [stderr] | [INFO] [stderr] 735 | EditorError::Failed(format!("Failed to encode params: {}", e.description())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/neovim.rs:745:64 [INFO] [stderr] | [INFO] [stderr] 745 | let value = read_value(r).map_err(|e| RpcError::Read(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/neovim.rs:748:67 [INFO] [stderr] | [INFO] [stderr] 748 | from_value(value).map_err(|e| RpcError::Deserialize(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/neovim.rs:757:70 [INFO] [stderr] | [INFO] [stderr] 757 | let value = to_value(self).map_err(|e| RpcError::Serialize(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/neovim.rs:758:62 [INFO] [stderr] | [INFO] [stderr] 758 | write_value(w, &value).map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/neovim.rs:760:44 [INFO] [stderr] | [INFO] [stderr] 760 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `close` [INFO] [stderr] --> src/rpc.rs:128:8 [INFO] [stderr] | [INFO] [stderr] 128 | fn close(self) -> Result<(), String> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lspc/tracking_file.rs:61:25 [INFO] [stderr] | [INFO] [stderr] 61 | std::mem::replace(last_content_change, content_change.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lspc/tracking_file.rs:74:21 [INFO] [stderr] | [INFO] [stderr] 74 | std::mem::replace(content, new_rope); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:97:71 [INFO] [stderr] | [INFO] [stderr] 97 | let msg = from_str(&text).map_err(|e| RpcError::Deserialize(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:112:44 [INFO] [stderr] | [INFO] [stderr] 112 | .map_err(|e| RpcError::Serialize(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:226:28 [INFO] [stderr] | [INFO] [stderr] 226 | .map_err(|e| e.description().to_owned())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:254:24 [INFO] [stderr] | [INFO] [stderr] 254 | .map_err(|e| e.description().to_owned())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:255:52 [INFO] [stderr] | [INFO] [stderr] 255 | let buf = String::from_utf8(buf).map_err(|e| e.description().to_owned())?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:263:40 [INFO] [stderr] | [INFO] [stderr] 263 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:265:40 [INFO] [stderr] | [INFO] [stderr] 265 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lspc/msg.rs:267:40 [INFO] [stderr] | [INFO] [stderr] 267 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/neovim.rs:735:74 [INFO] [stderr] | [INFO] [stderr] 735 | EditorError::Failed(format!("Failed to encode params: {}", e.description())) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/neovim.rs:745:64 [INFO] [stderr] | [INFO] [stderr] 745 | let value = read_value(r).map_err(|e| RpcError::Read(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/neovim.rs:748:67 [INFO] [stderr] | [INFO] [stderr] 748 | from_value(value).map_err(|e| RpcError::Deserialize(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/neovim.rs:757:70 [INFO] [stderr] | [INFO] [stderr] 757 | let value = to_value(self).map_err(|e| RpcError::Serialize(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/neovim.rs:758:62 [INFO] [stderr] | [INFO] [stderr] 758 | write_value(w, &value).map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/neovim.rs:760:44 [INFO] [stderr] | [INFO] [stderr] 760 | .map_err(|e| RpcError::Write(e.description().into()))?; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `close` [INFO] [stderr] --> src/rpc.rs:128:8 [INFO] [stderr] | [INFO] [stderr] 128 | fn close(self) -> Result<(), String> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lspc/tracking_file.rs:61:25 [INFO] [stderr] | [INFO] [stderr] 61 | std::mem::replace(last_content_change, content_change.clone()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/lspc/tracking_file.rs:74:21 [INFO] [stderr] | [INFO] [stderr] 74 | std::mem::replace(content, new_rope); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.62s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lspc-ee2f78d403d81679) [INFO] [stdout] running 6 tests [INFO] [stdout] test neovim::tests::test_apply_edits ... ok [INFO] [stdout] test lspc::tracking_file::test::tracking_file_full ... ok [INFO] [stdout] test neovim::tests::test_deserialize_start_lang_server_params ... ok [INFO] [stdout] test neovim::tests::test_deserialize_ls_config ... ok [INFO] [stdout] test neovim::tests::test_deserialize_buffer_handler ... ok [INFO] [stdout] test neovim::tests::test_deserialize_inlay_hints_params ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/neovim_lspc-9f78874246f10fff) [INFO] [stdout] [INFO] [stderr] Doc-tests lspc [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a69eabeab20cf11cc634faabe0b0ee934c03a0de360e757f0d775323ff0ae9c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a69eabeab20cf11cc634faabe0b0ee934c03a0de360e757f0d775323ff0ae9c2", kill_on_drop: false }` [INFO] [stdout] a69eabeab20cf11cc634faabe0b0ee934c03a0de360e757f0d775323ff0ae9c2