Skip to content
This repository has been archived by the owner on Aug 24, 2023. It is now read-only.

bump(deps): update rust crate serde to 1.0.186 #1692

bump(deps): update rust crate serde to 1.0.186

bump(deps): update rust crate serde to 1.0.186 #1692

GitHub Actions / clippy failed Aug 21, 2023 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.66.0-nightly (9062b780b 2022-09-21)
  • cargo 1.66.0-nightly (73ba3f35e 2022-09-18)
  • clippy 0.1.65 (9062b78 2022-09-21)

Annotations

Check failure on line 101 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo_metadata-0.14.2/src/messages.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot move out of `*self` which is behind a shared reference

error[E0507]: cannot move out of `*self` which is behind a shared reference
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo_metadata-0.14.2/src/messages.rs:101:24
    |
101 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
    |                        ^^^^^^^^^
    |                        |
    |                        data moved here
    |                        move occurs because `unrecognized` has type `Message`, which does not implement the `Copy` trait
    |                        help: consider borrowing here: `&Serialize`
    |
    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)

Check failure on line 95 in /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo_metadata-0.14.2/src/diagnostic.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

cannot move out of `*self` which is behind a shared reference

error[E0507]: cannot move out of `*self` which is behind a shared reference
  --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/cargo_metadata-0.14.2/src/diagnostic.rs:95:24
   |
95 | #[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, Hash)]
   |                        ^^^^^^^^^
   |                        |
   |                        data moved here
   |                        move occurs because `unrecognized` has type `Applicability`, which does not implement the `Copy` trait
   |                        help: consider borrowing here: `&Serialize`
   |
   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)