Skip to content

Update prost to v0.13 and tonic to v0.12 #401

Update prost to v0.13 and tonic to v0.12

Update prost to v0.13 and tonic to v0.12 #401

GitHub Actions / clippy failed Jul 17, 2024 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.79.0 (129f3b996 2024-06-10)
  • cargo 1.79.0 (ffa9cf99a 2024-06-03)
  • clippy 0.1.79 (129f3b9 2024-06-10)

Annotations

Check failure on line 213 in src/google.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `clone` on type `Timestamp` which implements the `Copy` trait

error: using `clone` on type `Timestamp` which implements the `Copy` trait
   --> src/google.rs:213:34
    |
213 |             let orig_timestamp = timestamp.clone();
    |                                  ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
note: the lint level is defined here
   --> src/lib.rs:6:9
    |
6   | #![deny(warnings, trivial_casts, trivial_numeric_casts, unused_import_braces)]
    |         ^^^^^^^^
    = note: `#[deny(clippy::clone_on_copy)]` implied by `#[deny(warnings)]`

Check failure on line 213 in src/google.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `clone` on type `Timestamp` which implements the `Copy` trait

error: using `clone` on type `Timestamp` which implements the `Copy` trait
   --> src/google.rs:213:34
    |
213 |             let orig_timestamp = timestamp.clone();
    |                                  ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy
note: the lint level is defined here
   --> src/lib.rs:6:9
    |
6   | #![deny(warnings, trivial_casts, trivial_numeric_casts, unused_import_braces)]
    |         ^^^^^^^^
    = note: `#[deny(clippy::clone_on_copy)]` implied by `#[deny(warnings)]`