[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funrealhoang%2Flspc" "/workspace/builds/worker-81/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-81/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/unrealhoang/lspc on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-81/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" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7f868c0fd69498fc95ceccdc603d07fc8d3e0fd3b7224da1478891103c5a39fd [INFO] running `Command { std: "docker" "start" "-a" "7f868c0fd69498fc95ceccdc603d07fc8d3e0fd3b7224da1478891103c5a39fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7f868c0fd69498fc95ceccdc603d07fc8d3e0fd3b7224da1478891103c5a39fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f868c0fd69498fc95ceccdc603d07fc8d3e0fd3b7224da1478891103c5a39fd", kill_on_drop: false }` [INFO] [stdout] 7f868c0fd69498fc95ceccdc603d07fc8d3e0fd3b7224da1478891103c5a39fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a5858f21b8cd5363be7d1e3bcfadcc11161a50d6c5d2076335fbe3a9771ac62 [INFO] running `Command { std: "docker" "start" "-a" "3a5858f21b8cd5363be7d1e3bcfadcc11161a50d6c5d2076335fbe3a9771ac62", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling unicode-xid v0.2.0 [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 libc v0.2.65 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling bimap v0.4.0 [INFO] [stderr] Compiling semver v0.9.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 rustc_version v0.2.3 [INFO] [stderr] Compiling smallvec v0.6.13 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling rmp v0.8.8 (https://github.com/3Hren/msgpack-rust#ef42c6b2) [INFO] [stderr] Compiling unicode-normalization v0.1.9 [INFO] [stderr] Compiling ropey v1.1.0 [INFO] [stderr] Compiling simple-logging v2.0.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling crossbeam v0.7.3 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling serde_bytes v0.11.2 [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: field is never read: `threads` [INFO] [stdout] --> src/rpc.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | threads: Threads, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rpc.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 01s [INFO] running `Command { std: "docker" "inspect" "3a5858f21b8cd5363be7d1e3bcfadcc11161a50d6c5d2076335fbe3a9771ac62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a5858f21b8cd5363be7d1e3bcfadcc11161a50d6c5d2076335fbe3a9771ac62", kill_on_drop: false }` [INFO] [stdout] 3a5858f21b8cd5363be7d1e3bcfadcc11161a50d6c5d2076335fbe3a9771ac62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a9465a3d0636739ed6524d605e438dd6a9b064644ce0f4d83bdf49bf6d95050 [INFO] running `Command { std: "docker" "start" "-a" "7a9465a3d0636739ed6524d605e438dd6a9b064644ce0f4d83bdf49bf6d95050", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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: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: field is never read: `threads` [INFO] [stdout] --> src/rpc.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | threads: Threads, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rpc.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: 18 warnings emitted [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: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: field is never read: `threads` [INFO] [stdout] --> src/rpc.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | threads: Threads, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/rpc.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.49s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/lspc-1de275510790ea02) [INFO] [stderr] Executable unittests src/bin/neovim_lspc.rs (/opt/rustwide/target/debug/deps/neovim_lspc-380b5b7e265a4984) [INFO] running `Command { std: "docker" "inspect" "7a9465a3d0636739ed6524d605e438dd6a9b064644ce0f4d83bdf49bf6d95050", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a9465a3d0636739ed6524d605e438dd6a9b064644ce0f4d83bdf49bf6d95050", kill_on_drop: false }` [INFO] [stdout] 7a9465a3d0636739ed6524d605e438dd6a9b064644ce0f4d83bdf49bf6d95050 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-81/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 27bd43e90811291dc83264aeb42c697bd10c20a13d75b705a792fb015079d4fa [INFO] running `Command { std: "docker" "start" "-a" "27bd43e90811291dc83264aeb42c697bd10c20a13d75b705a792fb015079d4fa", kill_on_drop: false }` [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: field is never read: `threads` [INFO] [stderr] --> src/rpc.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | threads: Threads, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Client` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/rpc.rs:67:10 [INFO] [stderr] | [INFO] [stderr] 67 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 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: `lspc` (lib) generated 18 warnings [INFO] [stderr] warning: `lspc` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lspc-1de275510790ea02) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test neovim::tests::test_deserialize_buffer_handler ... ok [INFO] [stdout] test lspc::tracking_file::test::tracking_file_full ... 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_inlay_hints_params ... ok [INFO] [stdout] test neovim::tests::test_deserialize_start_lang_server_params ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/neovim_lspc.rs (/opt/rustwide/target/debug/deps/neovim_lspc-380b5b7e265a4984) [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] [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; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "27bd43e90811291dc83264aeb42c697bd10c20a13d75b705a792fb015079d4fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27bd43e90811291dc83264aeb42c697bd10c20a13d75b705a792fb015079d4fa", kill_on_drop: false }` [INFO] [stdout] 27bd43e90811291dc83264aeb42c697bd10c20a13d75b705a792fb015079d4fa