[INFO] fetching crate wasm-language-server 0.0.0... [INFO] checking wasm-language-server-0.0.0 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate wasm-language-server 0.0.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate wasm-language-server 0.0.0 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate wasm-language-server 0.0.0 [INFO] finished tweaking crates.io crate wasm-language-server 0.0.0 [INFO] tweaked toml for crates.io crate wasm-language-server 0.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate crates.io crate wasm-language-server 0.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonrpc-core v14.0.5 [INFO] [stderr] Downloaded serde_repr v0.1.5 [INFO] [stderr] Downloaded failure v0.1.7 [INFO] [stderr] Downloaded zstd v0.5.1+zstd.1.4.4 [INFO] [stderr] Downloaded zerocopy v0.3.0 [INFO] [stderr] Downloaded jsonrpc-derive v14.0.5 [INFO] [stderr] Downloaded tower-lsp v0.10.0 [INFO] [stderr] Downloaded tree-sitter v0.6.3 [INFO] [stderr] Downloaded lsp-types v0.73.0 [INFO] [stderr] Downloaded dashmap v3.7.0 [INFO] [stderr] Downloaded sled v0.31.0 [INFO] [stderr] Downloaded zerocopy-derive v0.2.0 [INFO] [stderr] Downloaded zstd-safe v2.0.3+zstd.1.4.4 [INFO] [stderr] Downloaded zstd-sys v1.4.15+zstd.1.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 560ce2e45daf2c71c0afe726b6780895868a1b8ec97cacdeb51d665b17b510a6 [INFO] running `Command { std: "docker" "start" "-a" "560ce2e45daf2c71c0afe726b6780895868a1b8ec97cacdeb51d665b17b510a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "560ce2e45daf2c71c0afe726b6780895868a1b8ec97cacdeb51d665b17b510a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "560ce2e45daf2c71c0afe726b6780895868a1b8ec97cacdeb51d665b17b510a6", kill_on_drop: false }` [INFO] [stdout] 560ce2e45daf2c71c0afe726b6780895868a1b8ec97cacdeb51d665b17b510a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ca4f2d5ccda6342f76e11a734ae8e8fb6023c1b32e525f53f476139a67ce889 [INFO] running `Command { std: "docker" "start" "-a" "6ca4f2d5ccda6342f76e11a734ae8e8fb6023c1b32e525f53f476139a67ce889", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.14 [INFO] [stderr] Checking smallvec v1.2.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Checking futures v0.1.29 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0-alpha.4 [INFO] [stderr] Checking futures-io v0.3.4 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling jobserver v0.1.21 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking lock_api v0.3.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling zstd-sys v1.4.15+zstd.1.4.4 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling tree-sitter v0.6.3 [INFO] [stderr] Compiling wasm-language-server v0.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking const-random v0.1.8 [INFO] [stderr] Checking ahash v0.3.2 [INFO] [stderr] Checking dashmap v3.7.0 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_repr v0.1.5 [INFO] [stderr] Compiling async-trait v0.1.26 [INFO] [stderr] Compiling zerocopy-derive v0.2.0 [INFO] [stderr] Checking tokio v0.2.13 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking zerocopy v0.3.0 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking futures-executor v0.3.4 [INFO] [stderr] Checking futures v0.3.4 [INFO] [stderr] Checking serde_json v1.0.48 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Checking jsonrpc-core v14.0.5 [INFO] [stderr] Checking lsp-types v0.73.0 [INFO] [stderr] Compiling proc-macro-crate v0.1.4 [INFO] [stderr] Compiling jsonrpc-derive v14.0.5 [INFO] [stderr] Checking zstd-safe v2.0.3+zstd.1.4.4 [INFO] [stderr] Checking zstd v0.5.1+zstd.1.4.4 [INFO] [stderr] Checking sled v0.31.0 [INFO] [stderr] Checking tower-lsp v0.10.0 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | let client = client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Client` does not implement `Clone`, so calling `clone` on `&Client` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 185 - let client = client.clone(); [INFO] [stdout] 185 + let client = client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Client`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tower-lsp-0.10.0/src/delegate/client.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Clone)] [INFO] [stdout] 29 | pub struct Client { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | let client = client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Client` does not implement `Clone`, so calling `clone` on `&Client` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 194 - let client = client.clone(); [INFO] [stdout] 194 + let client = client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Client`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tower-lsp-0.10.0/src/delegate/client.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Clone)] [INFO] [stdout] 29 | pub struct Client { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | let client = client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Client` does not implement `Clone`, so calling `clone` on `&Client` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 217 - let client = client.clone(); [INFO] [stdout] 217 + let client = client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Client`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tower-lsp-0.10.0/src/delegate/client.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Clone)] [INFO] [stdout] 29 | pub struct Client { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 225 | let client = client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Client` does not implement `Clone`, so calling `clone` on `&Client` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 225 - let client = client.clone(); [INFO] [stdout] 225 + let client = client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Client`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tower-lsp-0.10.0/src/delegate/client.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Clone)] [INFO] [stdout] 29 | pub struct Client { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | #[derive(Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_Error` [INFO] [stdout] 5 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server.rs:185:32 [INFO] [stdout] | [INFO] [stdout] 185 | let client = client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Client` does not implement `Clone`, so calling `clone` on `&Client` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 185 - let client = client.clone(); [INFO] [stdout] 185 + let client = client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Client`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tower-lsp-0.10.0/src/delegate/client.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Clone)] [INFO] [stdout] 29 | pub struct Client { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | let client = client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Client` does not implement `Clone`, so calling `clone` on `&Client` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 194 - let client = client.clone(); [INFO] [stdout] 194 + let client = client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Client`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tower-lsp-0.10.0/src/delegate/client.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Clone)] [INFO] [stdout] 29 | pub struct Client { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server.rs:217:28 [INFO] [stdout] | [INFO] [stdout] 217 | let client = client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Client` does not implement `Clone`, so calling `clone` on `&Client` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 217 - let client = client.clone(); [INFO] [stdout] 217 + let client = client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Client`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tower-lsp-0.10.0/src/delegate/client.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Clone)] [INFO] [stdout] 29 | pub struct Client { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/server.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 225 | let client = client.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `Client` does not implement `Clone`, so calling `clone` on `&Client` copies the reference, which does not do anything and can be removed [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 225 - let client = client.clone(); [INFO] [stdout] 225 + let client = client; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `Client`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tower-lsp-0.10.0/src/delegate/client.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 + #[derive(Clone)] [INFO] [stdout] 29 | pub struct Client { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.35s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6ca4f2d5ccda6342f76e11a734ae8e8fb6023c1b32e525f53f476139a67ce889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ca4f2d5ccda6342f76e11a734ae8e8fb6023c1b32e525f53f476139a67ce889", kill_on_drop: false }` [INFO] [stdout] 6ca4f2d5ccda6342f76e11a734ae8e8fb6023c1b32e525f53f476139a67ce889