Move to NATS #69
GitHub Actions / clippy
succeeded
Jun 30, 2024 in 0s
clippy
2 warnings
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 0 |
Warning | 2 |
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 warning on line 15 in src/iam.rs
github-actions / clippy
fields `issuer`, `audience`, `expires_at`, `not_before`, and `issued_at` are never read
warning: fields `issuer`, `audience`, `expires_at`, `not_before`, and `issued_at` are never read
--> src/iam.rs:15:9
|
13 | pub struct Claims {
| ------ fields in this struct
14 | #[serde(rename = "iss")]
15 | pub issuer: String,
| ^^^^^^
...
19 | pub audience: Vec<String>,
| ^^^^^^^^
20 | #[serde(rename = "exp")]
21 | pub expires_at: i64,
| ^^^^^^^^^^
22 | #[serde(rename = "nbf")]
23 | pub not_before: i64,
| ^^^^^^^^^^
24 | #[serde(rename = "iat")]
25 | pub issued_at: i64,
| ^^^^^^^^^
|
= note: `Claims` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
Check warning on line 15 in src/iam.rs
github-actions / clippy
fields `issuer`, `audience`, `expires_at`, `not_before`, and `issued_at` are never read
warning: fields `issuer`, `audience`, `expires_at`, `not_before`, and `issued_at` are never read
--> src/iam.rs:15:9
|
13 | pub struct Claims {
| ------ fields in this struct
14 | #[serde(rename = "iss")]
15 | pub issuer: String,
| ^^^^^^
...
19 | pub audience: Vec<String>,
| ^^^^^^^^
20 | #[serde(rename = "exp")]
21 | pub expires_at: i64,
| ^^^^^^^^^^
22 | #[serde(rename = "nbf")]
23 | pub not_before: i64,
| ^^^^^^^^^^
24 | #[serde(rename = "iat")]
25 | pub issued_at: i64,
| ^^^^^^^^^
|
= note: `Claims` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
Loading