[INFO] updating cached repository https://github.com/unrealhoang/lspc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 21c283a82c7416c6a833941de7e1741fd0ba8a10 [INFO] testing unrealhoang/lspc against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funrealhoang%2Flspc" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/unrealhoang/lspc on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-6/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5406d65f6443a5edd2b1d8ab2a448a8eb26fe3a564cbc0c338b101ec7ef0726d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5406d65f6443a5edd2b1d8ab2a448a8eb26fe3a564cbc0c338b101ec7ef0726d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5406d65f6443a5edd2b1d8ab2a448a8eb26fe3a564cbc0c338b101ec7ef0726d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5406d65f6443a5edd2b1d8ab2a448a8eb26fe3a564cbc0c338b101ec7ef0726d", kill_on_drop: false }` [INFO] [stdout] 5406d65f6443a5edd2b1d8ab2a448a8eb26fe3a564cbc0c338b101ec7ef0726d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8bf2c2c049aca9dcad343bb7b38c57be3c8e620a1272b089bee037ece1c7ec4d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8bf2c2c049aca9dcad343bb7b38c57be3c8e620a1272b089bee037ece1c7ec4d", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling ropey v1.1.0 [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling bimap v0.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [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 thread-id v3.3.0 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling simple-logging v2.0.2 [INFO] [stderr] Compiling rmp v0.8.8 (https://github.com/3Hren/msgpack-rust#ef42c6b2) [INFO] [stderr] Compiling dirs v2.0.2 [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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 1m 17s [INFO] running `Command { std: "docker" "inspect" "8bf2c2c049aca9dcad343bb7b38c57be3c8e620a1272b089bee037ece1c7ec4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8bf2c2c049aca9dcad343bb7b38c57be3c8e620a1272b089bee037ece1c7ec4d", kill_on_drop: false }` [INFO] [stdout] 8bf2c2c049aca9dcad343bb7b38c57be3c8e620a1272b089bee037ece1c7ec4d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d4b8dfe788101d306e17d20d9725f7460a6ff480875dad1447c84c0ee925f9d6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d4b8dfe788101d306e17d20d9725f7460a6ff480875dad1447c84c0ee925f9d6", kill_on_drop: false }` [INFO] [stderr] Compiling lspc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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] [stdout] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.00s [INFO] [stdout] warning: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d4b8dfe788101d306e17d20d9725f7460a6ff480875dad1447c84c0ee925f9d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4b8dfe788101d306e17d20d9725f7460a6ff480875dad1447c84c0ee925f9d6", kill_on_drop: false }` [INFO] [stdout] d4b8dfe788101d306e17d20d9725f7460a6ff480875dad1447c84c0ee925f9d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 801868d953a198a7f744da122f4204974bb5db2ea583b90677d0bf365a92ce8c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "801868d953a198a7f744da122f4204974bb5db2ea583b90677d0bf365a92ce8c", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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 item '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.19s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/lspc-12000881937f080a [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/neovim_lspc-d7c8158b7c27799d [INFO] [stdout] test neovim::tests::test_deserialize_buffer_handler ... ok [INFO] [stdout] test neovim::tests::test_apply_edits ... ok [INFO] [stdout] test neovim::tests::test_deserialize_ls_config ... ok [INFO] [stdout] test neovim::tests::test_deserialize_start_lang_server_params ... ok [INFO] [stdout] test lspc::tracking_file::test::tracking_file_full ... 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 [INFO] [stdout] [INFO] [stderr] Doc-tests lspc [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 [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 [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "801868d953a198a7f744da122f4204974bb5db2ea583b90677d0bf365a92ce8c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "801868d953a198a7f744da122f4204974bb5db2ea583b90677d0bf365a92ce8c", kill_on_drop: false }` [INFO] [stdout] 801868d953a198a7f744da122f4204974bb5db2ea583b90677d0bf365a92ce8c