Bump serde from 1.0.210 to 1.0.213 in the serde group #110
Annotations
46 warnings
unexpected `cfg` condition value: `sentry`:
gui2/src/main.rs#L19
warning: unexpected `cfg` condition value: `sentry`
--> gui2/src/main.rs:19:11
|
19 | #[cfg(not(feature = "sentry"))]
| ^^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `sentry` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `sentry`:
gui2/src/main.rs#L5
warning: unexpected `cfg` condition value: `sentry`
--> gui2/src/main.rs:5:7
|
5 | #[cfg(feature = "sentry")]
| ^^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `sentry` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
large size difference between variants:
gui2/src/lib.rs#L38
warning: large size difference between variants
--> gui2/src/lib.rs:38:1
|
38 | / pub enum Message {
39 | | TabSelected(TabId),
40 | | CodeViewer(CodeViewerAction),
| | ---------------------------- the second-largest variant contains at least 16 bytes
41 | | DebuggerMessage(Event),
| | ---------------------- the largest variant contains at least 352 bytes
... |
44 | | Quit,
45 | | }
| |_^ the entire enum is at least 0 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
41 | DebuggerMessage(Box<Event>),
| ~~~~~~~~~~
|
the following explicit lifetimes could be elided: 'a:
gui2/src/code_view/mod.rs#L87
warning: the following explicit lifetimes could be elided: 'a
--> gui2/src/code_view/mod.rs:87:6
|
87 | impl<'a, Message> Component<Message> for CodeViewer<'a, Message> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
87 - impl<'a, Message> Component<Message> for CodeViewer<'a, Message> {
87 + impl<Message> Component<Message> for CodeViewer<'_, Message> {
|
|
the following explicit lifetimes could be elided: 'b:
gui2/src/code_view/render_breakpoints.rs#L16
warning: the following explicit lifetimes could be elided: 'b
--> gui2/src/code_view/render_breakpoints.rs:16:6
|
16 | impl<'b> Program<Event> for RenderBreakpoints<'b> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
16 - impl<'b> Program<Event> for RenderBreakpoints<'b> {
16 + impl Program<Event> for RenderBreakpoints<'_> {
|
|
struct `DapDecoder` is never constructed:
dap-codec/src/lib.rs#L17
warning: struct `DapDecoder` is never constructed
--> dap-codec/src/lib.rs:17:8
|
17 | struct DapDecoder {}
| ^^^^^^^^^^
|
variant `MissingContentLengthHeader` is never constructed:
dap-codec/src/lib.rs#L12
warning: variant `MissingContentLengthHeader` is never constructed
--> dap-codec/src/lib.rs:12:5
|
6 | enum CodecError {
| ---------- variant in this enum
...
12 | MissingContentLengthHeader,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `CodecError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
large size difference between variants:
gui/src/main.rs#L49
warning: large size difference between variants
--> gui/src/main.rs:49:1
|
49 | / enum State {
50 | | Initialising,
| | ------------ the second-largest variant carries no data at all
51 | | Running,
52 | |/ Paused {
53 | || stack: Vec<StackFrame>,
54 | || paused_frame: PausedFrame,
55 | || breakpoints: Vec<debugger::Breakpoint>,
56 | || },
| ||_____- the largest variant contains at least 344 bytes
57 | | Terminated,
58 | | }
| |__^ the entire enum is at least 344 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
54 | paused_frame: Box<PausedFrame>,
| ~~~~~~~~~~~~~~~~
|
the following explicit lifetimes could be elided: 's:
gui/src/ui/control_panel.rs#L15
warning: the following explicit lifetimes could be elided: 's
--> gui/src/ui/control_panel.rs:15:6
|
15 | impl<'s> Widget for ControlPanel<'s> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
15 - impl<'s> Widget for ControlPanel<'s> {
15 + impl Widget for ControlPanel<'_> {
|
|
the following explicit lifetimes could be elided: 's:
gui/src/ui/call_stack.rs#L26
warning: the following explicit lifetimes could be elided: 's
--> gui/src/ui/call_stack.rs:26:6
|
26 | impl<'s> Widget for CallStack<'s> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
26 - impl<'s> Widget for CallStack<'s> {
26 + impl Widget for CallStack<'_> {
|
|
the following explicit lifetimes could be elided: 's:
gui/src/ui/breakpoints.rs#L17
warning: the following explicit lifetimes could be elided: 's
--> gui/src/ui/breakpoints.rs:17:6
|
17 | impl<'s> Widget for Breakpoints<'s> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
17 - impl<'s> Widget for Breakpoints<'s> {
17 + impl Widget for Breakpoints<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
gui/src/code_view.rs#L136
warning: the following explicit lifetimes could be elided: 'a
--> gui/src/code_view.rs:136:6
|
136 | impl<'a> CodeView<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
136 - impl<'a> CodeView<'a> {
136 + impl CodeView<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
gui/src/code_view.rs#L49
warning: the following explicit lifetimes could be elided: 'a
--> gui/src/code_view.rs:49:6
|
49 | impl<'a> egui::Widget for CodeView<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
49 - impl<'a> egui::Widget for CodeView<'a> {
49 + impl egui::Widget for CodeView<'_> {
|
|
large size difference between variants:
debugger/src/state.rs#L11
warning: large size difference between variants
--> debugger/src/state.rs:11:1
|
11 | / pub(crate) enum DebuggerState {
12 | | Initialised,
| | ----------- the second-largest variant carries no data at all
13 | |/ Paused {
14 | || stack: Vec<types::StackFrame>,
15 | || paused_frame: PausedFrame,
16 | || breakpoints: Vec<types::Breakpoint>,
17 | || },
| ||_____- the largest variant contains at least 344 bytes
18 | | Running,
19 | | Ended,
20 | | }
| |__^ the entire enum is at least 344 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
15 | paused_frame: Box<PausedFrame>,
| ~~~~~~~~~~~~~~~~
|
large size difference between variants:
transport/src/client.rs#L223
warning: large size difference between variants
--> transport/src/client.rs:223:1
|
223 | / pub enum Received {
224 | | Event(events::Event),
| | -------------------- the second-largest variant contains at least 208 bytes
225 | | Response(requests::RequestBody, responses::Response),
| | ---------------------------------------------------- the largest variant contains at least 432 bytes
226 | | }
| |_^ the entire enum is at least 432 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
225 | Response(requests::RequestBody, Box<responses::Response>),
| ~~~~~~~~~~~~~~~~~~~~~~~~
|
field `0` is never read:
transport/src/request_store.rs#L10
warning: field `0` is never read
--> transport/src/request_store.rs:10:5
|
9 | pub(crate) struct WaitingRequest(
| -------------- field in this struct
10 | pub(crate) requests::RequestBody,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
10 | (),
| ~~
|
struct `Reply` is never constructed:
transport/src/client.rs#L19
warning: struct `Reply` is never constructed
--> transport/src/client.rs:19:12
|
19 | pub struct Reply {
| ^^^^^
|
= note: `Reply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
unexpected `cfg` condition name: `nom`:
transport/src/reader/mod.rs#L24
warning: unexpected `cfg` condition name: `nom`
--> transport/src/reader/mod.rs:24:11
|
24 | #[cfg(not(nom))]
| ^^^ help: found config with similar value: `feature = "nom"`
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nom)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nom)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition name: `nom`:
transport/src/reader/mod.rs#L15
warning: unexpected `cfg` condition name: `nom`
--> transport/src/reader/mod.rs:15:7
|
15 | #[cfg(nom)]
| ^^^ help: found config with similar value: `feature = "nom"`
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nom)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nom)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition name: `nom`:
transport/src/reader/mod.rs#L7
warning: unexpected `cfg` condition name: `nom`
--> transport/src/reader/mod.rs:7:7
|
7 | #[cfg(nom)]
| ^^^ help: found config with similar value: `feature = "nom"`
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nom)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nom)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition name: `nom`:
transport/src/reader/mod.rs#L5
warning: unexpected `cfg` condition name: `nom`
--> transport/src/reader/mod.rs:5:11
|
5 | #[cfg(not(nom))]
| ^^^ help: found config with similar value: `feature = "nom"`
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nom)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nom)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition name: `nom`:
transport/src/client.rs#L12
warning: unexpected `cfg` condition name: `nom`
--> transport/src/client.rs:12:7
|
12 | #[cfg(nom)]
| ^^^ help: found config with similar value: `feature = "nom"`
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nom)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nom)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition name: `nom`:
transport/src/lib.rs#L7
warning: unexpected `cfg` condition name: `nom`
--> transport/src/lib.rs:7:7
|
7 | #[cfg(nom)]
| ^^^ help: found config with similar value: `feature = "nom"`
|
= help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nom)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nom)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
unexpected `cfg` condition value: `sentry`:
gui2/src/main.rs#L19
warning: unexpected `cfg` condition value: `sentry`
--> gui2/src/main.rs:19:11
|
19 | #[cfg(not(feature = "sentry"))]
| ^^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `sentry` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition value: `sentry`:
gui2/src/main.rs#L5
warning: unexpected `cfg` condition value: `sentry`
--> gui2/src/main.rs:5:7
|
5 | #[cfg(feature = "sentry")]
| ^^^^^^^^^^^^^^^^^^ help: remove the condition
|
= note: no expected values for `feature`
= help: consider adding `sentry` as a feature in `Cargo.toml`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|
large size difference between variants:
gui2/src/lib.rs#L38
warning: large size difference between variants
--> gui2/src/lib.rs:38:1
|
38 | / pub enum Message {
39 | | TabSelected(TabId),
40 | | CodeViewer(CodeViewerAction),
| | ---------------------------- the second-largest variant contains at least 16 bytes
41 | | DebuggerMessage(Event),
| | ---------------------- the largest variant contains at least 352 bytes
... |
44 | | Quit,
45 | | }
| |_^ the entire enum is at least 0 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
41 | DebuggerMessage(Box<Event>),
| ~~~~~~~~~~
|
the following explicit lifetimes could be elided: 'a:
gui2/src/code_view/mod.rs#L87
warning: the following explicit lifetimes could be elided: 'a
--> gui2/src/code_view/mod.rs:87:6
|
87 | impl<'a, Message> Component<Message> for CodeViewer<'a, Message> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
87 - impl<'a, Message> Component<Message> for CodeViewer<'a, Message> {
87 + impl<Message> Component<Message> for CodeViewer<'_, Message> {
|
|
the following explicit lifetimes could be elided: 'b:
gui2/src/code_view/render_breakpoints.rs#L16
warning: the following explicit lifetimes could be elided: 'b
--> gui2/src/code_view/render_breakpoints.rs:16:6
|
16 | impl<'b> Program<Event> for RenderBreakpoints<'b> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
16 - impl<'b> Program<Event> for RenderBreakpoints<'b> {
16 + impl Program<Event> for RenderBreakpoints<'_> {
|
|
struct `DapDecoder` is never constructed:
dap-codec/src/lib.rs#L17
warning: struct `DapDecoder` is never constructed
--> dap-codec/src/lib.rs:17:8
|
17 | struct DapDecoder {}
| ^^^^^^^^^^
|
variant `MissingContentLengthHeader` is never constructed:
dap-codec/src/lib.rs#L12
warning: variant `MissingContentLengthHeader` is never constructed
--> dap-codec/src/lib.rs:12:5
|
6 | enum CodecError {
| ---------- variant in this enum
...
12 | MissingContentLengthHeader,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `CodecError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
large size difference between variants:
gui/src/main.rs#L49
warning: large size difference between variants
--> gui/src/main.rs:49:1
|
49 | / enum State {
50 | | Initialising,
| | ------------ the second-largest variant carries no data at all
51 | | Running,
52 | |/ Paused {
53 | || stack: Vec<StackFrame>,
54 | || paused_frame: PausedFrame,
55 | || breakpoints: Vec<debugger::Breakpoint>,
56 | || },
| ||_____- the largest variant contains at least 344 bytes
57 | | Terminated,
58 | | }
| |__^ the entire enum is at least 344 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
54 | paused_frame: Box<PausedFrame>,
| ~~~~~~~~~~~~~~~~
|
the following explicit lifetimes could be elided: 's:
gui/src/ui/control_panel.rs#L15
warning: the following explicit lifetimes could be elided: 's
--> gui/src/ui/control_panel.rs:15:6
|
15 | impl<'s> Widget for ControlPanel<'s> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
15 - impl<'s> Widget for ControlPanel<'s> {
15 + impl Widget for ControlPanel<'_> {
|
|
the following explicit lifetimes could be elided: 's:
gui/src/ui/call_stack.rs#L26
warning: the following explicit lifetimes could be elided: 's
--> gui/src/ui/call_stack.rs:26:6
|
26 | impl<'s> Widget for CallStack<'s> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
26 - impl<'s> Widget for CallStack<'s> {
26 + impl Widget for CallStack<'_> {
|
|
the following explicit lifetimes could be elided: 's:
gui/src/ui/breakpoints.rs#L17
warning: the following explicit lifetimes could be elided: 's
--> gui/src/ui/breakpoints.rs:17:6
|
17 | impl<'s> Widget for Breakpoints<'s> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
17 - impl<'s> Widget for Breakpoints<'s> {
17 + impl Widget for Breakpoints<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
gui/src/code_view.rs#L136
warning: the following explicit lifetimes could be elided: 'a
--> gui/src/code_view.rs:136:6
|
136 | impl<'a> CodeView<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
136 - impl<'a> CodeView<'a> {
136 + impl CodeView<'_> {
|
|
the following explicit lifetimes could be elided: 'a:
gui/src/code_view.rs#L49
warning: the following explicit lifetimes could be elided: 'a
--> gui/src/code_view.rs:49:6
|
49 | impl<'a> egui::Widget for CodeView<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `#[warn(clippy::needless_lifetimes)]` on by default
help: elide the lifetimes
|
49 - impl<'a> egui::Widget for CodeView<'a> {
49 + impl egui::Widget for CodeView<'_> {
|
|
large size difference between variants:
debugger/src/state.rs#L11
warning: large size difference between variants
--> debugger/src/state.rs:11:1
|
11 | / pub(crate) enum DebuggerState {
12 | | Initialised,
| | ----------- the second-largest variant carries no data at all
13 | |/ Paused {
14 | || stack: Vec<types::StackFrame>,
15 | || paused_frame: PausedFrame,
16 | || breakpoints: Vec<types::Breakpoint>,
17 | || },
| ||_____- the largest variant contains at least 344 bytes
18 | | Running,
19 | | Ended,
20 | | }
| |__^ the entire enum is at least 344 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
15 | paused_frame: Box<PausedFrame>,
| ~~~~~~~~~~~~~~~~
|
large size difference between variants:
transport/src/client.rs#L223
warning: large size difference between variants
--> transport/src/client.rs:223:1
|
223 | / pub enum Received {
224 | | Event(events::Event),
| | -------------------- the second-largest variant contains at least 208 bytes
225 | | Response(requests::RequestBody, responses::Response),
| | ---------------------------------------------------- the largest variant contains at least 432 bytes
226 | | }
| |_^ the entire enum is at least 432 bytes
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant
= note: `#[warn(clippy::large_enum_variant)]` on by default
help: consider boxing the large fields to reduce the total size of the enum
|
225 | Response(requests::RequestBody, Box<responses::Response>),
| ~~~~~~~~~~~~~~~~~~~~~~~~
|
field `0` is never read:
transport/src/request_store.rs#L10
warning: field `0` is never read
--> transport/src/request_store.rs:10:5
|
9 | pub(crate) struct WaitingRequest(
| -------------- field in this struct
10 | pub(crate) requests::RequestBody,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
|
10 | (),
| ~~
|
struct `Reply` is never constructed:
transport/src/client.rs#L19
warning: struct `Reply` is never constructed
--> transport/src/client.rs:19:12
|
19 | pub struct Reply {
| ^^^^^
|
= note: `Reply` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
= note: `#[warn(dead_code)]` on by default
|
unexpected `cfg` condition name: `nom`:
transport/src/reader/mod.rs#L24
warning: unexpected `cfg` condition name: `nom`
--> transport/src/reader/mod.rs:24:11
|
24 | #[cfg(not(nom))]
| ^^^ help: found config with similar value: `feature = "nom"`
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nom)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nom)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition name: `nom`:
transport/src/reader/mod.rs#L15
warning: unexpected `cfg` condition name: `nom`
--> transport/src/reader/mod.rs:15:7
|
15 | #[cfg(nom)]
| ^^^ help: found config with similar value: `feature = "nom"`
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nom)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nom)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition name: `nom`:
transport/src/reader/mod.rs#L7
warning: unexpected `cfg` condition name: `nom`
--> transport/src/reader/mod.rs:7:7
|
7 | #[cfg(nom)]
| ^^^ help: found config with similar value: `feature = "nom"`
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nom)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nom)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition name: `nom`:
transport/src/reader/mod.rs#L5
warning: unexpected `cfg` condition name: `nom`
--> transport/src/reader/mod.rs:5:11
|
5 | #[cfg(not(nom))]
| ^^^ help: found config with similar value: `feature = "nom"`
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nom)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nom)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition name: `nom`:
transport/src/client.rs#L12
warning: unexpected `cfg` condition name: `nom`
--> transport/src/client.rs:12:7
|
12 | #[cfg(nom)]
| ^^^ help: found config with similar value: `feature = "nom"`
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nom)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nom)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
|
unexpected `cfg` condition name: `nom`:
transport/src/lib.rs#L7
warning: unexpected `cfg` condition name: `nom`
--> transport/src/lib.rs:7:7
|
7 | #[cfg(nom)]
| ^^^ help: found config with similar value: `feature = "nom"`
|
= help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(nom)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nom)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
|