Add tracing #695
clippy
18 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 18 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.1 (d5c2e9c34 2023-09-13)
- cargo 1.72.1 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (d5c2e9c 2023-09-13)
Annotations
github-actions / clippy
`dyn libsignal_protocol::KyberPreKeyStore` doesn't implement `std::fmt::Debug`
error[E0277]: `dyn libsignal_protocol::KyberPreKeyStore` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:423:1
|
423 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `dyn libsignal_protocol::KyberPreKeyStore` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `dyn libsignal_protocol::KyberPreKeyStore`
= help: the following other types implement trait `std::fmt::Debug`:
(dyn tracing::Value + 'static)
(dyn std::any::Any + 'static)
(dyn std::any::Any + std::marker::Send + 'static)
(dyn std::any::Any + std::marker::Send + std::marker::Sync + 'static)
= note: required for `&mut dyn libsignal_protocol::KyberPreKeyStore` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut dyn libsignal_protocol::KyberPreKeyStore` to implement `std::fmt::Debug`
= note: required for `tracing::field::DebugValue<&&mut dyn libsignal_protocol::KyberPreKeyStore>` to implement `tracing::Value`
= note: required for the cast from `&tracing::field::DebugValue<&&mut dyn libsignal_protocol::KyberPreKeyStore>` to `&dyn tracing::Value`
= note: this error originates in the macro `$crate::valueset` which comes from the expansion of the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / clippy
`dyn libsignal_protocol::SenderKeyStore` doesn't implement `std::fmt::Debug`
error[E0277]: `dyn libsignal_protocol::SenderKeyStore` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:423:1
|
423 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `dyn libsignal_protocol::SenderKeyStore` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `dyn libsignal_protocol::SenderKeyStore`
= help: the following other types implement trait `std::fmt::Debug`:
(dyn tracing::Value + 'static)
(dyn std::any::Any + 'static)
(dyn std::any::Any + std::marker::Send + 'static)
(dyn std::any::Any + std::marker::Send + std::marker::Sync + 'static)
= note: required for `&mut dyn libsignal_protocol::SenderKeyStore` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut dyn libsignal_protocol::SenderKeyStore` to implement `std::fmt::Debug`
= note: required for `tracing::field::DebugValue<&&mut dyn libsignal_protocol::SenderKeyStore>` to implement `tracing::Value`
= note: required for the cast from `&tracing::field::DebugValue<&&mut dyn libsignal_protocol::SenderKeyStore>` to `&dyn tracing::Value`
= note: this error originates in the macro `$crate::valueset` which comes from the expansion of the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / clippy
`dyn libsignal_protocol::SignedPreKeyStore` doesn't implement `std::fmt::Debug`
error[E0277]: `dyn libsignal_protocol::SignedPreKeyStore` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:423:1
|
423 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `dyn libsignal_protocol::SignedPreKeyStore` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `dyn libsignal_protocol::SignedPreKeyStore`
= help: the following other types implement trait `std::fmt::Debug`:
(dyn tracing::Value + 'static)
(dyn std::any::Any + 'static)
(dyn std::any::Any + std::marker::Send + 'static)
(dyn std::any::Any + std::marker::Send + std::marker::Sync + 'static)
= note: required for `&mut dyn libsignal_protocol::SignedPreKeyStore` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut dyn libsignal_protocol::SignedPreKeyStore` to implement `std::fmt::Debug`
= note: required for `tracing::field::DebugValue<&&mut dyn libsignal_protocol::SignedPreKeyStore>` to implement `tracing::Value`
= note: required for the cast from `&tracing::field::DebugValue<&&mut dyn libsignal_protocol::SignedPreKeyStore>` to `&dyn tracing::Value`
= note: this error originates in the macro `$crate::valueset` which comes from the expansion of the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / clippy
`dyn libsignal_protocol::PreKeyStore` doesn't implement `std::fmt::Debug`
error[E0277]: `dyn libsignal_protocol::PreKeyStore` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:423:1
|
423 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `dyn libsignal_protocol::PreKeyStore` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `dyn libsignal_protocol::PreKeyStore`
= help: the following other types implement trait `std::fmt::Debug`:
(dyn tracing::Value + 'static)
(dyn std::any::Any + 'static)
(dyn std::any::Any + std::marker::Send + 'static)
(dyn std::any::Any + std::marker::Send + std::marker::Sync + 'static)
= note: required for `&mut dyn libsignal_protocol::PreKeyStore` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut dyn libsignal_protocol::PreKeyStore` to implement `std::fmt::Debug`
= note: required for `tracing::field::DebugValue<&&mut dyn libsignal_protocol::PreKeyStore>` to implement `tracing::Value`
= note: required for the cast from `&tracing::field::DebugValue<&&mut dyn libsignal_protocol::PreKeyStore>` to `&dyn tracing::Value`
= note: this error originates in the macro `$crate::valueset` which comes from the expansion of the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / clippy
`dyn libsignal_protocol::SessionStore` doesn't implement `std::fmt::Debug`
error[E0277]: `dyn libsignal_protocol::SessionStore` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:423:1
|
423 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `dyn libsignal_protocol::SessionStore` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `dyn libsignal_protocol::SessionStore`
= help: the following other types implement trait `std::fmt::Debug`:
(dyn tracing::Value + 'static)
(dyn std::any::Any + 'static)
(dyn std::any::Any + std::marker::Send + 'static)
(dyn std::any::Any + std::marker::Send + std::marker::Sync + 'static)
= note: required for `&mut dyn libsignal_protocol::SessionStore` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut dyn libsignal_protocol::SessionStore` to implement `std::fmt::Debug`
= note: required for `tracing::field::DebugValue<&&mut dyn libsignal_protocol::SessionStore>` to implement `tracing::Value`
= note: required for the cast from `&tracing::field::DebugValue<&&mut dyn libsignal_protocol::SessionStore>` to `&dyn tracing::Value`
= note: this error originates in the macro `$crate::valueset` which comes from the expansion of the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / clippy
`dyn libsignal_protocol::IdentityKeyStore` doesn't implement `std::fmt::Debug`
error[E0277]: `dyn libsignal_protocol::IdentityKeyStore` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:423:1
|
423 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `dyn libsignal_protocol::IdentityKeyStore` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `dyn libsignal_protocol::IdentityKeyStore`
= help: the following other types implement trait `std::fmt::Debug`:
(dyn tracing::Value + 'static)
(dyn std::any::Any + 'static)
(dyn std::any::Any + std::marker::Send + 'static)
(dyn std::any::Any + std::marker::Send + std::marker::Sync + 'static)
= note: required for `&mut dyn libsignal_protocol::IdentityKeyStore` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut dyn libsignal_protocol::IdentityKeyStore` to implement `std::fmt::Debug`
= note: required for `tracing::field::DebugValue<&&mut dyn libsignal_protocol::IdentityKeyStore>` to implement `tracing::Value`
= note: required for the cast from `&tracing::field::DebugValue<&&mut dyn libsignal_protocol::IdentityKeyStore>` to `&dyn tracing::Value`
= note: this error originates in the macro `$crate::valueset` which comes from the expansion of the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 423 in libsignal-service/src/cipher.rs
github-actions / clippy
`dyn libsignal_protocol::KyberPreKeyStore` doesn't implement `std::fmt::Debug`
error[E0277]: `dyn libsignal_protocol::KyberPreKeyStore` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:423:1
|
423 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `dyn libsignal_protocol::KyberPreKeyStore` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `dyn libsignal_protocol::KyberPreKeyStore`
= help: the following other types implement trait `std::fmt::Debug`:
(dyn tracing::Value + 'static)
(dyn std::any::Any + 'static)
(dyn std::any::Any + std::marker::Send + 'static)
(dyn std::any::Any + std::marker::Send + std::marker::Sync + 'static)
= note: required for `&mut dyn libsignal_protocol::KyberPreKeyStore` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut dyn libsignal_protocol::KyberPreKeyStore` to implement `std::fmt::Debug`
note: required by a bound in `tracing::field::debug`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.31/src/field.rs:365:8
|
363 | pub fn debug<T>(t: T) -> DebugValue<T>
| ----- required by a bound in this function
364 | where
365 | T: fmt::Debug,
| ^^^^^^^^^^ required by this bound in `debug`
= note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 423 in libsignal-service/src/cipher.rs
github-actions / clippy
`dyn libsignal_protocol::SenderKeyStore` doesn't implement `std::fmt::Debug`
error[E0277]: `dyn libsignal_protocol::SenderKeyStore` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:423:1
|
423 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `dyn libsignal_protocol::SenderKeyStore` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `dyn libsignal_protocol::SenderKeyStore`
= help: the following other types implement trait `std::fmt::Debug`:
(dyn tracing::Value + 'static)
(dyn std::any::Any + 'static)
(dyn std::any::Any + std::marker::Send + 'static)
(dyn std::any::Any + std::marker::Send + std::marker::Sync + 'static)
= note: required for `&mut dyn libsignal_protocol::SenderKeyStore` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut dyn libsignal_protocol::SenderKeyStore` to implement `std::fmt::Debug`
note: required by a bound in `tracing::field::debug`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.31/src/field.rs:365:8
|
363 | pub fn debug<T>(t: T) -> DebugValue<T>
| ----- required by a bound in this function
364 | where
365 | T: fmt::Debug,
| ^^^^^^^^^^ required by this bound in `debug`
= note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 423 in libsignal-service/src/cipher.rs
github-actions / clippy
`dyn libsignal_protocol::SignedPreKeyStore` doesn't implement `std::fmt::Debug`
error[E0277]: `dyn libsignal_protocol::SignedPreKeyStore` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:423:1
|
423 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `dyn libsignal_protocol::SignedPreKeyStore` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `dyn libsignal_protocol::SignedPreKeyStore`
= help: the following other types implement trait `std::fmt::Debug`:
(dyn tracing::Value + 'static)
(dyn std::any::Any + 'static)
(dyn std::any::Any + std::marker::Send + 'static)
(dyn std::any::Any + std::marker::Send + std::marker::Sync + 'static)
= note: required for `&mut dyn libsignal_protocol::SignedPreKeyStore` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut dyn libsignal_protocol::SignedPreKeyStore` to implement `std::fmt::Debug`
note: required by a bound in `tracing::field::debug`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.31/src/field.rs:365:8
|
363 | pub fn debug<T>(t: T) -> DebugValue<T>
| ----- required by a bound in this function
364 | where
365 | T: fmt::Debug,
| ^^^^^^^^^^ required by this bound in `debug`
= note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 423 in libsignal-service/src/cipher.rs
github-actions / clippy
`dyn libsignal_protocol::PreKeyStore` doesn't implement `std::fmt::Debug`
error[E0277]: `dyn libsignal_protocol::PreKeyStore` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:423:1
|
423 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `dyn libsignal_protocol::PreKeyStore` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `dyn libsignal_protocol::PreKeyStore`
= help: the following other types implement trait `std::fmt::Debug`:
(dyn tracing::Value + 'static)
(dyn std::any::Any + 'static)
(dyn std::any::Any + std::marker::Send + 'static)
(dyn std::any::Any + std::marker::Send + std::marker::Sync + 'static)
= note: required for `&mut dyn libsignal_protocol::PreKeyStore` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut dyn libsignal_protocol::PreKeyStore` to implement `std::fmt::Debug`
note: required by a bound in `tracing::field::debug`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.31/src/field.rs:365:8
|
363 | pub fn debug<T>(t: T) -> DebugValue<T>
| ----- required by a bound in this function
364 | where
365 | T: fmt::Debug,
| ^^^^^^^^^^ required by this bound in `debug`
= note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 423 in libsignal-service/src/cipher.rs
github-actions / clippy
`dyn libsignal_protocol::SessionStore` doesn't implement `std::fmt::Debug`
error[E0277]: `dyn libsignal_protocol::SessionStore` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:423:1
|
423 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `dyn libsignal_protocol::SessionStore` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `dyn libsignal_protocol::SessionStore`
= help: the following other types implement trait `std::fmt::Debug`:
(dyn tracing::Value + 'static)
(dyn std::any::Any + 'static)
(dyn std::any::Any + std::marker::Send + 'static)
(dyn std::any::Any + std::marker::Send + std::marker::Sync + 'static)
= note: required for `&mut dyn libsignal_protocol::SessionStore` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut dyn libsignal_protocol::SessionStore` to implement `std::fmt::Debug`
note: required by a bound in `tracing::field::debug`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.31/src/field.rs:365:8
|
363 | pub fn debug<T>(t: T) -> DebugValue<T>
| ----- required by a bound in this function
364 | where
365 | T: fmt::Debug,
| ^^^^^^^^^^ required by this bound in `debug`
= note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 423 in libsignal-service/src/cipher.rs
github-actions / clippy
`dyn libsignal_protocol::IdentityKeyStore` doesn't implement `std::fmt::Debug`
error[E0277]: `dyn libsignal_protocol::IdentityKeyStore` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:423:1
|
423 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `dyn libsignal_protocol::IdentityKeyStore` cannot be formatted using `{:?}` because it doesn't implement `std::fmt::Debug`
|
= help: the trait `std::fmt::Debug` is not implemented for `dyn libsignal_protocol::IdentityKeyStore`
= help: the following other types implement trait `std::fmt::Debug`:
(dyn tracing::Value + 'static)
(dyn std::any::Any + 'static)
(dyn std::any::Any + std::marker::Send + 'static)
(dyn std::any::Any + std::marker::Send + std::marker::Sync + 'static)
= note: required for `&mut dyn libsignal_protocol::IdentityKeyStore` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut dyn libsignal_protocol::IdentityKeyStore` to implement `std::fmt::Debug`
note: required by a bound in `tracing::field::debug`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.31/src/field.rs:365:8
|
363 | pub fn debug<T>(t: T) -> DebugValue<T>
| ----- required by a bound in this function
364 | where
365 | T: fmt::Debug,
| ^^^^^^^^^^ required by this bound in `debug`
= note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / clippy
`cipher::ServiceCipher<S, R>` doesn't implement `std::fmt::Debug`
error[E0277]: `cipher::ServiceCipher<S, R>` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:268:5
|
268 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `cipher::ServiceCipher<S, R>` cannot be formatted using `{:?}`
|
= help: the trait `std::fmt::Debug` is not implemented for `cipher::ServiceCipher<S, R>`
= note: add `#[derive(Debug)]` to `cipher::ServiceCipher<S, R>` or manually `impl std::fmt::Debug for cipher::ServiceCipher<S, R>`
= help: the trait `tracing::Value` is implemented for `tracing::field::DebugValue<T>`
= note: required for `&mut cipher::ServiceCipher<S, R>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut cipher::ServiceCipher<S, R>` to implement `std::fmt::Debug`
= note: required for `tracing::field::DebugValue<&&mut cipher::ServiceCipher<S, R>>` to implement `tracing::Value`
= note: required for the cast from `&tracing::field::DebugValue<&&mut cipher::ServiceCipher<S, R>>` to `&dyn tracing::Value`
= note: this error originates in the macro `$crate::valueset` which comes from the expansion of the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 268 in libsignal-service/src/cipher.rs
github-actions / clippy
`cipher::ServiceCipher<S, R>` doesn't implement `std::fmt::Debug`
error[E0277]: `cipher::ServiceCipher<S, R>` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:268:5
|
268 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `cipher::ServiceCipher<S, R>` cannot be formatted using `{:?}`
|
= help: the trait `std::fmt::Debug` is not implemented for `cipher::ServiceCipher<S, R>`
= note: add `#[derive(Debug)]` to `cipher::ServiceCipher<S, R>` or manually `impl std::fmt::Debug for cipher::ServiceCipher<S, R>`
= note: required for `&mut cipher::ServiceCipher<S, R>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut cipher::ServiceCipher<S, R>` to implement `std::fmt::Debug`
note: required by a bound in `tracing::field::debug`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.31/src/field.rs:365:8
|
363 | pub fn debug<T>(t: T) -> DebugValue<T>
| ----- required by a bound in this function
364 | where
365 | T: fmt::Debug,
| ^^^^^^^^^^ required by this bound in `debug`
= note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / clippy
`cipher::ServiceCipher<S, R>` doesn't implement `std::fmt::Debug`
error[E0277]: `cipher::ServiceCipher<S, R>` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:93:5
|
93 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `cipher::ServiceCipher<S, R>` cannot be formatted using `{:?}`
|
= help: the trait `std::fmt::Debug` is not implemented for `cipher::ServiceCipher<S, R>`
= note: add `#[derive(Debug)]` to `cipher::ServiceCipher<S, R>` or manually `impl std::fmt::Debug for cipher::ServiceCipher<S, R>`
= help: the trait `tracing::Value` is implemented for `tracing::field::DebugValue<T>`
= note: required for `&mut cipher::ServiceCipher<S, R>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut cipher::ServiceCipher<S, R>` to implement `std::fmt::Debug`
= note: required for `tracing::field::DebugValue<&&mut cipher::ServiceCipher<S, R>>` to implement `tracing::Value`
= note: required for the cast from `&tracing::field::DebugValue<&&mut cipher::ServiceCipher<S, R>>` to `&dyn tracing::Value`
= note: this error originates in the macro `$crate::valueset` which comes from the expansion of the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 93 in libsignal-service/src/cipher.rs
github-actions / clippy
`cipher::ServiceCipher<S, R>` doesn't implement `std::fmt::Debug`
error[E0277]: `cipher::ServiceCipher<S, R>` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:93:5
|
93 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `cipher::ServiceCipher<S, R>` cannot be formatted using `{:?}`
|
= help: the trait `std::fmt::Debug` is not implemented for `cipher::ServiceCipher<S, R>`
= note: add `#[derive(Debug)]` to `cipher::ServiceCipher<S, R>` or manually `impl std::fmt::Debug for cipher::ServiceCipher<S, R>`
= note: required for `&mut cipher::ServiceCipher<S, R>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut cipher::ServiceCipher<S, R>` to implement `std::fmt::Debug`
note: required by a bound in `tracing::field::debug`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.31/src/field.rs:365:8
|
363 | pub fn debug<T>(t: T) -> DebugValue<T>
| ----- required by a bound in this function
364 | where
365 | T: fmt::Debug,
| ^^^^^^^^^^ required by this bound in `debug`
= note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
github-actions / clippy
`cipher::ServiceCipher<S, R>` doesn't implement `std::fmt::Debug`
error[E0277]: `cipher::ServiceCipher<S, R>` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:61:5
|
61 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `cipher::ServiceCipher<S, R>` cannot be formatted using `{:?}`
|
= help: the trait `std::fmt::Debug` is not implemented for `cipher::ServiceCipher<S, R>`
= note: add `#[derive(Debug)]` to `cipher::ServiceCipher<S, R>` or manually `impl std::fmt::Debug for cipher::ServiceCipher<S, R>`
= help: the trait `tracing::Value` is implemented for `tracing::field::DebugValue<T>`
= note: required for `&mut cipher::ServiceCipher<S, R>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut cipher::ServiceCipher<S, R>` to implement `std::fmt::Debug`
= note: required for `tracing::field::DebugValue<&&mut cipher::ServiceCipher<S, R>>` to implement `tracing::Value`
= note: required for the cast from `&tracing::field::DebugValue<&&mut cipher::ServiceCipher<S, R>>` to `&dyn tracing::Value`
= note: this error originates in the macro `$crate::valueset` which comes from the expansion of the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)
Check failure on line 61 in libsignal-service/src/cipher.rs
github-actions / clippy
`cipher::ServiceCipher<S, R>` doesn't implement `std::fmt::Debug`
error[E0277]: `cipher::ServiceCipher<S, R>` doesn't implement `std::fmt::Debug`
--> libsignal-service/src/cipher.rs:61:5
|
61 | #[tracing::instrument]
| ^^^^^^^^^^^^^^^^^^^^^^ `cipher::ServiceCipher<S, R>` cannot be formatted using `{:?}`
|
= help: the trait `std::fmt::Debug` is not implemented for `cipher::ServiceCipher<S, R>`
= note: add `#[derive(Debug)]` to `cipher::ServiceCipher<S, R>` or manually `impl std::fmt::Debug for cipher::ServiceCipher<S, R>`
= note: required for `&mut cipher::ServiceCipher<S, R>` to implement `std::fmt::Debug`
= note: 1 redundant requirement hidden
= note: required for `&&mut cipher::ServiceCipher<S, R>` to implement `std::fmt::Debug`
note: required by a bound in `tracing::field::debug`
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/tracing-core-0.1.31/src/field.rs:365:8
|
363 | pub fn debug<T>(t: T) -> DebugValue<T>
| ----- required by a bound in this function
364 | where
365 | T: fmt::Debug,
| ^^^^^^^^^^ required by this bound in `debug`
= note: this error originates in the attribute macro `tracing::instrument` (in Nightly builds, run with -Z macro-backtrace for more info)