reviewdog [clippy] report
reported by reviewdog 🐶
Findings (11)
providers/sentry/src/sentry.rs|6 col 12| warning: fields id
and entries
are never read
--> providers/sentry/src/sentry.rs:7:9
|
6 | pub struct SentryEvent {
| ----------- fields in this struct
7 | pub id: String,
| ^^
8 | #[serde(default)]
9 | pub entries: Vec,
| ^^^^^^^
|
= note: #[warn(dead_code)]
on by default
providers/sentry/src/sentry.rs|16 col 5| warning: field data
is never read
--> providers/sentry/src/sentry.rs:16:17
|
16 | Exception { data: SentryExceptionData },
| --------- ^^^^
| |
| field in this variant
providers/sentry/src/sentry.rs|23 col 12| warning: fields stacktrace
and value
are never read
--> providers/sentry/src/sentry.rs:25:9
|
23 | pub struct SentryException {
| --------------- fields in this struct
24 | #[serde(default)]
25 | pub stacktrace: Option,
| ^^^^^^^^^^
26 | pub value: String,
| ^^^^^
providers/sentry/src/sentry.rs|31 col 12| warning: field values
is never read
--> providers/sentry/src/sentry.rs:32:9
|
31 | pub struct SentryExceptionData {
| ------------------- field in this struct
32 | pub values: Vec,
| ^^^^^^
providers/sentry/src/sentry.rs|37 col 12| warning: multiple fields are never read
--> providers/sentry/src/sentry.rs:39:9
|
37 | pub struct SentryIssue {
| ----------- fields in this struct
38 | #[serde(default)]
39 | pub first_seen: String,
| ^^^^^^^^^^
...
43 | pub level: String,
| ^^^^^
44 | pub num_comments: u32,
| ^^^^^^^^^^^^
45 | pub permalink: String,
46 | pub platform: String,
| ^^^^^^^^
47 | pub project: SentryProjectSummary,
48 | pub short_id: String,
| ^^^^^^^^
49 | pub status: String,
| ^^^^^^
50 | #[serde(default)]
51 | pub tags: Vec,
| ^^^^
52 | pub title: String,
| ^^^^^
...
55 | pub count: String,
| ^^^^^
providers/sentry/src/sentry.rs|62 col 12| warning: fields filename
and title
are never read
--> providers/sentry/src/sentry.rs:63:9
|
62 | pub struct SentryIssueMetadata {
| ------------------- fields in this struct
63 | pub filename: Option,
| ^^^^^^^^
...
67 | pub title: Option,
| ^^^^^
providers/sentry/src/sentry.rs|72 col 12| warning: fields id
and slug
are never read
--> providers/sentry/src/sentry.rs:73:9
|
72 | pub struct SentryProjectSummary {
| -------------------- fields in this struct
73 | pub id: String,
| ^^
74 | pub name: String,
75 | pub slug: String,
| ^^^^
providers/sentry/src/sentry.rs|80 col 12| warning: field frames
is never read
--> providers/sentry/src/sentry.rs:81:9
|
80 | pub struct SentryStacktrace {
| ---------------- field in this struct
81 | pub frames: Vec,
| ^^^^^^
providers/sentry/src/sentry.rs|86 col 12| warning: fields col_no
, context
, filename
, function
, line_no
, and module
are never read
--> providers/sentry/src/sentry.rs:88:9
|
86 | pub struct SentryStackframe {
| ---------------- fields in this struct
87 | #[serde(default)]
88 | pub col_no: Option,
| ^^^^^^
89 | #[serde(default)]
90 | pub context: Vec,
| ^^^^^^^
91 | #[serde(default)]
92 | pub filename: Option,
| ^^^^^^^^
93 | #[serde(default)]
94 | pub function: Option,
| ^^^^^^^^
95 | #[serde(default)]
96 | pub line_no: Option,
| ^^^^^^^
97 | #[serde(default)]
98 | pub module: Option,
| ^^^^^^
providers/sentry/src/sentry.rs|108 col 12| warning: fields key
, name
, total_values
, and top_values
are never read
--> providers/sentry/src/sentry.rs:109:9
|
108 | pub struct SentryTag {
| --------- fields in this struct
109 | pub key: String,
| ^^^
110 | pub name: String,
| ^^^^
111 | pub total_values: u32,
| ^^^^^^^^^^^^
112 | #[serde(default)]
113 | pub top_values: Vec,
| ^^^^^^^^^^
providers/sentry/src/sentry.rs|118 col 12| warning: fields key
, name
, value
, count
, last_seen
, and first_seen
are never read
--> providers/sentry/src/sentry.rs:119:9
|
118 | pub struct SentryTagValue {
| -------------- fields in this struct
119 | pub key: String,
| ^^^
120 | pub name: String,
| ^^^^
121 | pub value: String,
| ^^^^^
122 | pub count: u32,
| ^^^^^
123 | pub last_seen: String,
| ^^^^^^^^^
124 | pub first_seen: String,
| ^^^^^^^^^^
Filtered Findings (0)
Annotations
Check warning on line 6 in providers/sentry/src/sentry.rs
github-actions / clippy
[clippy] providers/sentry/src/sentry.rs#L6
warning: fields `id` and `entries` are never read
--> providers/sentry/src/sentry.rs:7:9
|
6 | pub struct SentryEvent {
| ----------- fields in this struct
7 | pub id: String,
| ^^
8 | #[serde(default)]
9 | pub entries: Vec<SentryEventEntry>,
| ^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
Raw output
providers/sentry/src/sentry.rs:6:12:w:warning: fields `id` and `entries` are never read
--> providers/sentry/src/sentry.rs:7:9
|
6 | pub struct SentryEvent {
| ----------- fields in this struct
7 | pub id: String,
| ^^
8 | #[serde(default)]
9 | pub entries: Vec<SentryEventEntry>,
| ^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
__END__
Check warning on line 16 in providers/sentry/src/sentry.rs
github-actions / clippy
[clippy] providers/sentry/src/sentry.rs#L16
warning: field `data` is never read
--> providers/sentry/src/sentry.rs:16:17
|
16 | Exception { data: SentryExceptionData },
| --------- ^^^^
| |
| field in this variant
Raw output
providers/sentry/src/sentry.rs:16:5:w:warning: field `data` is never read
--> providers/sentry/src/sentry.rs:16:17
|
16 | Exception { data: SentryExceptionData },
| --------- ^^^^
| |
| field in this variant
__END__
Check warning on line 23 in providers/sentry/src/sentry.rs
github-actions / clippy
[clippy] providers/sentry/src/sentry.rs#L23
warning: fields `stacktrace` and `value` are never read
--> providers/sentry/src/sentry.rs:25:9
|
23 | pub struct SentryException {
| --------------- fields in this struct
24 | #[serde(default)]
25 | pub stacktrace: Option<SentryStacktrace>,
| ^^^^^^^^^^
26 | pub value: String,
| ^^^^^
Raw output
providers/sentry/src/sentry.rs:23:12:w:warning: fields `stacktrace` and `value` are never read
--> providers/sentry/src/sentry.rs:25:9
|
23 | pub struct SentryException {
| --------------- fields in this struct
24 | #[serde(default)]
25 | pub stacktrace: Option<SentryStacktrace>,
| ^^^^^^^^^^
26 | pub value: String,
| ^^^^^
__END__
Check warning on line 31 in providers/sentry/src/sentry.rs
github-actions / clippy
[clippy] providers/sentry/src/sentry.rs#L31
warning: field `values` is never read
--> providers/sentry/src/sentry.rs:32:9
|
31 | pub struct SentryExceptionData {
| ------------------- field in this struct
32 | pub values: Vec<SentryException>,
| ^^^^^^
Raw output
providers/sentry/src/sentry.rs:31:12:w:warning: field `values` is never read
--> providers/sentry/src/sentry.rs:32:9
|
31 | pub struct SentryExceptionData {
| ------------------- field in this struct
32 | pub values: Vec<SentryException>,
| ^^^^^^
__END__
Check warning on line 37 in providers/sentry/src/sentry.rs
github-actions / clippy
[clippy] providers/sentry/src/sentry.rs#L37
warning: multiple fields are never read
--> providers/sentry/src/sentry.rs:39:9
|
37 | pub struct SentryIssue {
| ----------- fields in this struct
38 | #[serde(default)]
39 | pub first_seen: String,
| ^^^^^^^^^^
...
43 | pub level: String,
| ^^^^^
44 | pub num_comments: u32,
| ^^^^^^^^^^^^
45 | pub permalink: String,
46 | pub platform: String,
| ^^^^^^^^
47 | pub project: SentryProjectSummary,
48 | pub short_id: String,
| ^^^^^^^^
49 | pub status: String,
| ^^^^^^
50 | #[serde(default)]
51 | pub tags: Vec<SentryTag>,
| ^^^^
52 | pub title: String,
| ^^^^^
...
55 | pub count: String,
| ^^^^^
Raw output
providers/sentry/src/sentry.rs:37:12:w:warning: multiple fields are never read
--> providers/sentry/src/sentry.rs:39:9
|
37 | pub struct SentryIssue {
| ----------- fields in this struct
38 | #[serde(default)]
39 | pub first_seen: String,
| ^^^^^^^^^^
...
43 | pub level: String,
| ^^^^^
44 | pub num_comments: u32,
| ^^^^^^^^^^^^
45 | pub permalink: String,
46 | pub platform: String,
| ^^^^^^^^
47 | pub project: SentryProjectSummary,
48 | pub short_id: String,
| ^^^^^^^^
49 | pub status: String,
| ^^^^^^
50 | #[serde(default)]
51 | pub tags: Vec<SentryTag>,
| ^^^^
52 | pub title: String,
| ^^^^^
...
55 | pub count: String,
| ^^^^^
__END__
Check warning on line 62 in providers/sentry/src/sentry.rs
github-actions / clippy
[clippy] providers/sentry/src/sentry.rs#L62
warning: fields `filename` and `title` are never read
--> providers/sentry/src/sentry.rs:63:9
|
62 | pub struct SentryIssueMetadata {
| ------------------- fields in this struct
63 | pub filename: Option<String>,
| ^^^^^^^^
...
67 | pub title: Option<String>,
| ^^^^^
Raw output
providers/sentry/src/sentry.rs:62:12:w:warning: fields `filename` and `title` are never read
--> providers/sentry/src/sentry.rs:63:9
|
62 | pub struct SentryIssueMetadata {
| ------------------- fields in this struct
63 | pub filename: Option<String>,
| ^^^^^^^^
...
67 | pub title: Option<String>,
| ^^^^^
__END__
Check warning on line 72 in providers/sentry/src/sentry.rs
github-actions / clippy
[clippy] providers/sentry/src/sentry.rs#L72
warning: fields `id` and `slug` are never read
--> providers/sentry/src/sentry.rs:73:9
|
72 | pub struct SentryProjectSummary {
| -------------------- fields in this struct
73 | pub id: String,
| ^^
74 | pub name: String,
75 | pub slug: String,
| ^^^^
Raw output
providers/sentry/src/sentry.rs:72:12:w:warning: fields `id` and `slug` are never read
--> providers/sentry/src/sentry.rs:73:9
|
72 | pub struct SentryProjectSummary {
| -------------------- fields in this struct
73 | pub id: String,
| ^^
74 | pub name: String,
75 | pub slug: String,
| ^^^^
__END__
Check warning on line 80 in providers/sentry/src/sentry.rs
github-actions / clippy
[clippy] providers/sentry/src/sentry.rs#L80
warning: field `frames` is never read
--> providers/sentry/src/sentry.rs:81:9
|
80 | pub struct SentryStacktrace {
| ---------------- field in this struct
81 | pub frames: Vec<SentryStackframe>,
| ^^^^^^
Raw output
providers/sentry/src/sentry.rs:80:12:w:warning: field `frames` is never read
--> providers/sentry/src/sentry.rs:81:9
|
80 | pub struct SentryStacktrace {
| ---------------- field in this struct
81 | pub frames: Vec<SentryStackframe>,
| ^^^^^^
__END__
Check warning on line 86 in providers/sentry/src/sentry.rs
github-actions / clippy
[clippy] providers/sentry/src/sentry.rs#L86
warning: fields `col_no`, `context`, `filename`, `function`, `line_no`, and `module` are never read
--> providers/sentry/src/sentry.rs:88:9
|
86 | pub struct SentryStackframe {
| ---------------- fields in this struct
87 | #[serde(default)]
88 | pub col_no: Option<u32>,
| ^^^^^^
89 | #[serde(default)]
90 | pub context: Vec<SentryStackframeContext>,
| ^^^^^^^
91 | #[serde(default)]
92 | pub filename: Option<String>,
| ^^^^^^^^
93 | #[serde(default)]
94 | pub function: Option<String>,
| ^^^^^^^^
95 | #[serde(default)]
96 | pub line_no: Option<u32>,
| ^^^^^^^
97 | #[serde(default)]
98 | pub module: Option<String>,
| ^^^^^^
Raw output
providers/sentry/src/sentry.rs:86:12:w:warning: fields `col_no`, `context`, `filename`, `function`, `line_no`, and `module` are never read
--> providers/sentry/src/sentry.rs:88:9
|
86 | pub struct SentryStackframe {
| ---------------- fields in this struct
87 | #[serde(default)]
88 | pub col_no: Option<u32>,
| ^^^^^^
89 | #[serde(default)]
90 | pub context: Vec<SentryStackframeContext>,
| ^^^^^^^
91 | #[serde(default)]
92 | pub filename: Option<String>,
| ^^^^^^^^
93 | #[serde(default)]
94 | pub function: Option<String>,
| ^^^^^^^^
95 | #[serde(default)]
96 | pub line_no: Option<u32>,
| ^^^^^^^
97 | #[serde(default)]
98 | pub module: Option<String>,
| ^^^^^^
__END__
Check warning on line 108 in providers/sentry/src/sentry.rs
github-actions / clippy
[clippy] providers/sentry/src/sentry.rs#L108
warning: fields `key`, `name`, `total_values`, and `top_values` are never read
--> providers/sentry/src/sentry.rs:109:9
|
108 | pub struct SentryTag {
| --------- fields in this struct
109 | pub key: String,
| ^^^
110 | pub name: String,
| ^^^^
111 | pub total_values: u32,
| ^^^^^^^^^^^^
112 | #[serde(default)]
113 | pub top_values: Vec<SentryTagValue>,
| ^^^^^^^^^^
Raw output
providers/sentry/src/sentry.rs:108:12:w:warning: fields `key`, `name`, `total_values`, and `top_values` are never read
--> providers/sentry/src/sentry.rs:109:9
|
108 | pub struct SentryTag {
| --------- fields in this struct
109 | pub key: String,
| ^^^
110 | pub name: String,
| ^^^^
111 | pub total_values: u32,
| ^^^^^^^^^^^^
112 | #[serde(default)]
113 | pub top_values: Vec<SentryTagValue>,
| ^^^^^^^^^^
__END__
Check warning on line 118 in providers/sentry/src/sentry.rs
github-actions / clippy
[clippy] providers/sentry/src/sentry.rs#L118
warning: fields `key`, `name`, `value`, `count`, `last_seen`, and `first_seen` are never read
--> providers/sentry/src/sentry.rs:119:9
|
118 | pub struct SentryTagValue {
| -------------- fields in this struct
119 | pub key: String,
| ^^^
120 | pub name: String,
| ^^^^
121 | pub value: String,
| ^^^^^
122 | pub count: u32,
| ^^^^^
123 | pub last_seen: String,
| ^^^^^^^^^
124 | pub first_seen: String,
| ^^^^^^^^^^
Raw output
providers/sentry/src/sentry.rs:118:12:w:warning: fields `key`, `name`, `value`, `count`, `last_seen`, and `first_seen` are never read
--> providers/sentry/src/sentry.rs:119:9
|
118 | pub struct SentryTagValue {
| -------------- fields in this struct
119 | pub key: String,
| ^^^
120 | pub name: String,
| ^^^^
121 | pub value: String,
| ^^^^^
122 | pub count: u32,
| ^^^^^
123 | pub last_seen: String,
| ^^^^^^^^^
124 | pub first_seen: String,
| ^^^^^^^^^^
__END__