[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] documenting unrealhoang/lspc against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Funrealhoang%2Flspc" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/unrealhoang/lspc on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "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-11/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-05-20" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5f11733e8d6022d7fc3dfa6de61e5203a42fc25167096d2c0dc86927d57b212b [INFO] running `Command { std: "docker" "start" "-a" "5f11733e8d6022d7fc3dfa6de61e5203a42fc25167096d2c0dc86927d57b212b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f11733e8d6022d7fc3dfa6de61e5203a42fc25167096d2c0dc86927d57b212b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f11733e8d6022d7fc3dfa6de61e5203a42fc25167096d2c0dc86927d57b212b", kill_on_drop: false }` [INFO] [stdout] 5f11733e8d6022d7fc3dfa6de61e5203a42fc25167096d2c0dc86927d57b212b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "RUSTDOCFLAGS=--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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c61c5bc073b2df099b5f16de9bcbbcd4ff2f82735da1eed9ca5bd71b65001b86 [INFO] running `Command { std: "docker" "start" "-a" "c61c5bc073b2df099b5f16de9bcbbcd4ff2f82735da1eed9ca5bd71b65001b86", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.8 [INFO] [stderr] Compiling libc v0.2.65 [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] Checking bimap v0.4.0 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking ropey v1.1.0 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking rmp v0.8.8 (https://github.com/3Hren/msgpack-rust#ef42c6b2) [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Checking serde v1.0.102 [INFO] [stderr] Checking serde_bytes v0.11.2 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking url_serde v0.2.0 [INFO] [stderr] Checking rmpv v0.4.2 (https://github.com/3Hren/msgpack-rust#ef42c6b2) [INFO] [stderr] Checking lsp-types v0.61.0 [INFO] [stderr] Documenting lspc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking 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 58.89s [INFO] running `Command { std: "docker" "inspect" "c61c5bc073b2df099b5f16de9bcbbcd4ff2f82735da1eed9ca5bd71b65001b86", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c61c5bc073b2df099b5f16de9bcbbcd4ff2f82735da1eed9ca5bd71b65001b86", kill_on_drop: false }` [INFO] [stdout] c61c5bc073b2df099b5f16de9bcbbcd4ff2f82735da1eed9ca5bd71b65001b86 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "RUSTC_BOOTSTRAP=1" "-e" "DOCS_RS=1" "-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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "rustdoc" "--lib" "-Zrustdoc-map" "--frozen" "--message-format=json" "--" "-Z" "unstable-options" "--document-private-items", kill_on_drop: false }` [INFO] [stdout] 99cfb6e7db037db05de76f7c7eb18cf589972bf0d2f5d7e32abd63a9da34cba6 [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" "99cfb6e7db037db05de76f7c7eb18cf589972bf0d2f5d7e32abd63a9da34cba6", 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] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde v1.0.102 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking 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] Checking smallvec v0.6.13 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking unicode-normalization v0.1.9 [INFO] [stderr] Checking ropey v1.1.0 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking crossbeam-queue v0.2.0 [INFO] [stderr] Checking crossbeam-channel v0.4.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking simple-logging v2.0.2 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking rmp v0.8.8 (https://github.com/3Hren/msgpack-rust#ef42c6b2) [INFO] [stderr] Checking crossbeam v0.7.3 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.102 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Checking url v2.1.0 [INFO] [stderr] Checking serde_json v1.0.41 [INFO] [stderr] Checking serde_bytes v0.11.2 [INFO] [stderr] Checking url_serde v0.2.0 [INFO] [stderr] Checking rmpv v0.4.2 (https://github.com/3Hren/msgpack-rust#ef42c6b2) [INFO] [stderr] Checking lsp-types v0.61.0 [INFO] [stderr] Documenting lspc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "99cfb6e7db037db05de76f7c7eb18cf589972bf0d2f5d7e32abd63a9da34cba6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99cfb6e7db037db05de76f7c7eb18cf589972bf0d2f5d7e32abd63a9da34cba6", kill_on_drop: false }` [INFO] [stdout] 99cfb6e7db037db05de76f7c7eb18cf589972bf0d2f5d7e32abd63a9da34cba6