Skip to content

Bump saphir-cli version (#223) #515

Bump saphir-cli version (#223)

Bump saphir-cli version (#223) #515

Triggered via push April 1, 2024 12:35
Status Success
Total duration 56s
Artifacts

clippy_check.yml

on: push
clippy_check
46s
clippy_check
Fit to window
Zoom out
Zoom in

Annotations

165 warnings
empty doc comment: saphir/src/lib.rs#L222
warning: empty doc comment --> saphir/src/lib.rs:222:5 | 222 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L220
warning: empty doc comment --> saphir/src/lib.rs:220:5 | 220 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L218
warning: empty doc comment --> saphir/src/lib.rs:218:5 | 218 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L216
warning: empty doc comment --> saphir/src/lib.rs:216:5 | 216 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L214
warning: empty doc comment --> saphir/src/lib.rs:214:5 | 214 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L212
warning: empty doc comment --> saphir/src/lib.rs:212:5 | 212 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L210
warning: empty doc comment --> saphir/src/lib.rs:210:5 | 210 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L208
warning: empty doc comment --> saphir/src/lib.rs:208:5 | 208 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L206
warning: empty doc comment --> saphir/src/lib.rs:206:5 | 206 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L204
warning: empty doc comment --> saphir/src/lib.rs:204:5 | 204 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L202
warning: empty doc comment --> saphir/src/lib.rs:202:5 | 202 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L200
warning: empty doc comment --> saphir/src/lib.rs:200:5 | 200 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L196
warning: empty doc comment --> saphir/src/lib.rs:196:5 | 196 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L192
warning: empty doc comment --> saphir/src/lib.rs:192:5 | 192 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L190
warning: empty doc comment --> saphir/src/lib.rs:190:5 | 190 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L188
warning: empty doc comment --> saphir/src/lib.rs:188:5 | 188 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L184
warning: empty doc comment --> saphir/src/lib.rs:184:5 | 184 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L182
warning: empty doc comment --> saphir/src/lib.rs:182:5 | 182 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L177
warning: empty doc comment --> saphir/src/lib.rs:177:5 | 177 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L175
warning: empty doc comment --> saphir/src/lib.rs:175:5 | 175 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L171
warning: empty doc comment --> saphir/src/lib.rs:171:5 | 171 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L169
warning: empty doc comment --> saphir/src/lib.rs:169:5 | 169 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L167
warning: empty doc comment --> saphir/src/lib.rs:167:5 | 167 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L165
warning: empty doc comment --> saphir/src/lib.rs:165:5 | 165 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L163
warning: empty doc comment --> saphir/src/lib.rs:163:5 | 163 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L161
warning: empty doc comment --> saphir/src/lib.rs:161:5 | 161 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L159
warning: empty doc comment --> saphir/src/lib.rs:159:5 | 159 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L157
warning: empty doc comment --> saphir/src/lib.rs:157:5 | 157 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L155
warning: empty doc comment --> saphir/src/lib.rs:155:5 | 155 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L153
warning: empty doc comment --> saphir/src/lib.rs:153:5 | 153 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L149
warning: empty doc comment --> saphir/src/lib.rs:149:5 | 149 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L145
warning: empty doc comment --> saphir/src/lib.rs:145:5 | 145 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L143
warning: empty doc comment --> saphir/src/lib.rs:143:5 | 143 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L141
warning: empty doc comment --> saphir/src/lib.rs:141:5 | 141 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L125
warning: empty doc comment --> saphir/src/lib.rs:125:1 | 125 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/utils.rs#L460
warning: empty doc comment --> saphir/src/utils.rs:460:5 | 460 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
use of `format!` to build up a string from an iterator: saphir/src/utils.rs#L395
warning: use of `format!` to build up a string from an iterator --> saphir/src/utils.rs:395:37 | 395 | let value = segments.iter().map(|&s| format!("/{}", s)).collect(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: call `fold` instead --> saphir/src/utils.rs:395:53 | 395 | let value = segments.iter().map(|&s| format!("/{}", s)).collect(); | ^^^ help: ... and use the `write!` macro here --> saphir/src/utils.rs:395:62 | 395 | let value = segments.iter().map(|&s| format!("/{}", s)).collect(); | ^^^^^^^^^^^^^^^^^ = note: this can be written more efficiently by appending to a `String` directly = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_collect = note: `#[warn(clippy::format_collect)]` on by default
the item `FutureExt` is imported redundantly: saphir/examples/basic.rs#L6
warning: the item `FutureExt` is imported redundantly --> saphir/examples/basic.rs:6:5 | 6 | FutureExt, | ^^^^^^^^^ 7 | }; 8 | use saphir::prelude::*; | ------------------ the item `FutureExt` is already imported here
the item `BoxFuture` is imported redundantly: saphir/examples/basic.rs#L5
warning: the item `BoxFuture` is imported redundantly --> saphir/examples/basic.rs:5:14 | 5 | future::{BoxFuture, Ready}, | ^^^^^^^^^ ... 8 | use saphir::prelude::*; | ------------------ the item `BoxFuture` is already imported here | = note: `#[warn(unused_imports)]` on by default
assigning the result of `Clone::clone()` may be inefficient: saphir_cli/src/openapi/generate/response_info.rs#L141
warning: assigning the result of `Clone::clone()` may be inefficient --> saphir_cli/src/openapi/generate/response_info.rs:141:41 | 141 | ... anonymous_type.name = name.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `anonymous_type.name.clone_from(&name)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones = note: `#[warn(clippy::assigning_clones)]` on by default
empty doc comment: saphir/src/lib.rs#L123
warning: empty doc comment --> saphir/src/lib.rs:123:1 | 123 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
field `0` is never read: saphir/examples/macro.rs#L86
warning: field `0` is never read --> saphir/examples/macro.rs:86:25 | 86 | struct ApiKeyMiddleware(String); | ---------------- ^^^^^^ | | | field in this struct | = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 86 | struct ApiKeyMiddleware(()); | ~~
field `syn` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L71
warning: field `syn` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:71:9 | 69 | pub struct ImplItem<'b> { | -------- field in this struct 70 | pub im: &'b Impl<'b>, 71 | pub syn: &'b SynImplItem, | ^^^ | = note: `ImplItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
fields `item` and `syn` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L51
warning: fields `item` and `syn` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:51:9 | 50 | pub struct Struct<'b> { | ------ fields in this struct 51 | pub item: &'b Item<'b>, | ^^^^ 52 | pub syn: &'b SynItemStruct, | ^^^ | = note: `Struct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
fields `item` and `syn` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L45
warning: fields `item` and `syn` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:45:9 | 44 | pub struct Enum<'b> { | ---- fields in this struct 45 | pub item: &'b Item<'b>, | ^^^^ 46 | pub syn: &'b SynItemEnum, | ^^^ | = note: `Enum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
fields `item` and `syn` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L39
warning: fields `item` and `syn` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:39:9 | 38 | pub struct Use<'b> { | --- fields in this struct 39 | pub item: &'b Item<'b>, | ^^^^ 40 | pub syn: &'b SynItemUse, | ^^^ | = note: `Use` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
field `0` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L32
warning: field `0` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:32:10 | 32 | Enum(Enum<'b>), | ---- ^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 32 | Enum(()), | ~~
field `0` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L31
warning: field `0` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:31:12 | 31 | Struct(Struct<'b>), | ------ ^^^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 31 | Struct(()), | ~~
field `0` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L30
warning: field `0` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:30:9 | 30 | Use(Use<'b>), | --- ^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 30 | Use(()), | ~~
fields `target` and `path` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/file.rs#L13
warning: fields `target` and `path` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/file.rs:13:9 | 12 | pub struct File<'b> { | ---- fields in this struct 13 | pub target: &'b Target<'b>, | ^^^^^^ 14 | pub file: SynFile, 15 | pub path: String, | ^^^^ | = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
use of `unwrap_or_else` to construct default value: saphir/src/server.rs#L329
warning: use of `unwrap_or_else` to construct default value --> saphir/src/server.rs:329:44 | 329 | listener_config: self.listener.unwrap_or_else(ListenerBuilder::new).build(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
empty doc comment: saphir/src/response.rs#L325
warning: empty doc comment --> saphir/src/response.rs:325:5 | 325 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L222
warning: empty doc comment --> saphir/src/lib.rs:222:5 | 222 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L220
warning: empty doc comment --> saphir/src/lib.rs:220:5 | 220 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L218
warning: empty doc comment --> saphir/src/lib.rs:218:5 | 218 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L216
warning: empty doc comment --> saphir/src/lib.rs:216:5 | 216 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L214
warning: empty doc comment --> saphir/src/lib.rs:214:5 | 214 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L212
warning: empty doc comment --> saphir/src/lib.rs:212:5 | 212 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L210
warning: empty doc comment --> saphir/src/lib.rs:210:5 | 210 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L208
warning: empty doc comment --> saphir/src/lib.rs:208:5 | 208 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L206
warning: empty doc comment --> saphir/src/lib.rs:206:5 | 206 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L204
warning: empty doc comment --> saphir/src/lib.rs:204:5 | 204 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L202
warning: empty doc comment --> saphir/src/lib.rs:202:5 | 202 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L200
warning: empty doc comment --> saphir/src/lib.rs:200:5 | 200 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L196
warning: empty doc comment --> saphir/src/lib.rs:196:5 | 196 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L192
warning: empty doc comment --> saphir/src/lib.rs:192:5 | 192 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L190
warning: empty doc comment --> saphir/src/lib.rs:190:5 | 190 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L188
warning: empty doc comment --> saphir/src/lib.rs:188:5 | 188 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L184
warning: empty doc comment --> saphir/src/lib.rs:184:5 | 184 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L182
warning: empty doc comment --> saphir/src/lib.rs:182:5 | 182 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L177
warning: empty doc comment --> saphir/src/lib.rs:177:5 | 177 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L175
warning: empty doc comment --> saphir/src/lib.rs:175:5 | 175 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L171
warning: empty doc comment --> saphir/src/lib.rs:171:5 | 171 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L169
warning: empty doc comment --> saphir/src/lib.rs:169:5 | 169 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L167
warning: empty doc comment --> saphir/src/lib.rs:167:5 | 167 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L165
warning: empty doc comment --> saphir/src/lib.rs:165:5 | 165 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L163
warning: empty doc comment --> saphir/src/lib.rs:163:5 | 163 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L161
warning: empty doc comment --> saphir/src/lib.rs:161:5 | 161 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L159
warning: empty doc comment --> saphir/src/lib.rs:159:5 | 159 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L157
warning: empty doc comment --> saphir/src/lib.rs:157:5 | 157 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L155
warning: empty doc comment --> saphir/src/lib.rs:155:5 | 155 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L153
warning: empty doc comment --> saphir/src/lib.rs:153:5 | 153 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L149
warning: empty doc comment --> saphir/src/lib.rs:149:5 | 149 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L145
warning: empty doc comment --> saphir/src/lib.rs:145:5 | 145 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L143
warning: empty doc comment --> saphir/src/lib.rs:143:5 | 143 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L141
warning: empty doc comment --> saphir/src/lib.rs:141:5 | 141 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L125
warning: empty doc comment --> saphir/src/lib.rs:125:1 | 125 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/request.rs#L81
warning: empty doc comment --> saphir/src/request.rs:81:5 | 81 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/utils.rs#L460
warning: empty doc comment --> saphir/src/utils.rs:460:5 | 460 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
use of `format!` to build up a string from an iterator: saphir/src/utils.rs#L395
warning: use of `format!` to build up a string from an iterator --> saphir/src/utils.rs:395:37 | 395 | let value = segments.iter().map(|&s| format!("/{}", s)).collect(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: call `fold` instead --> saphir/src/utils.rs:395:53 | 395 | let value = segments.iter().map(|&s| format!("/{}", s)).collect(); | ^^^ help: ... and use the `write!` macro here --> saphir/src/utils.rs:395:62 | 395 | let value = segments.iter().map(|&s| format!("/{}", s)).collect(); | ^^^^^^^^^^^^^^^^^ = note: this can be written more efficiently by appending to a `String` directly = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#format_collect = note: `#[warn(clippy::format_collect)]` on by default
empty doc comment: saphir/src/lib.rs#L123
warning: empty doc comment --> saphir/src/lib.rs:123:1 | 123 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L109
warning: empty doc comment --> saphir/src/lib.rs:109:1 | 109 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
variable does not need to be mutable: saphir_cli/src/openapi/generate/response_info.rs#L334
warning: variable does not need to be mutable --> saphir_cli/src/openapi/generate/response_info.rs:334:41 | 334 | ... if let Some(mut type_info) = success_response.type_info.as_mut() { | ----^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
use of `unwrap_or_else` to construct default value: saphir/src/http_context.rs#L225
warning: use of `unwrap_or_else` to construct default value --> saphir/src/http_context.rs:225:18 | 225 | .unwrap_or_else(operation::OperationId::new); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default
direct implementation of `ToString`: saphir/src/file/mod.rs#L215
warning: direct implementation of `ToString` --> saphir/src/file/mod.rs:215:1 | 215 | / impl ToString for Compression { 216 | | fn to_string(&self) -> String { 217 | | match self { 218 | | Compression::Deflate => "deflate".to_string(), ... | 223 | | } 224 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
use of `unwrap_or_else` to construct default value: saphir/src/server.rs#L329
warning: use of `unwrap_or_else` to construct default value --> saphir/src/server.rs:329:44 | 329 | listener_config: self.listener.unwrap_or_else(ListenerBuilder::new).build(), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default
empty doc comment: saphir/src/response.rs#L325
warning: empty doc comment --> saphir/src/response.rs:325:5 | 325 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
direct implementation of `ToString`: saphir/src/file/range.rs#L117
warning: direct implementation of `ToString` --> saphir/src/file/range.rs:117:1 | 117 | / impl ToString for Range { 118 | | fn to_string(&self) -> String { 119 | | match *self { 120 | | Range::Bytes(ref ranges) => { ... | 134 | | } 135 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
direct implementation of `ToString`: saphir/src/file/range.rs#L107
warning: direct implementation of `ToString` --> saphir/src/file/range.rs:107:1 | 107 | / impl ToString for ByteRangeSpec { 108 | | fn to_string(&self) -> String { 109 | | match *self { 110 | | ByteRangeSpec::FromTo(from, to) => format!("{}-{}", from, to), ... | 114 | | } 115 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
assigning the result of `Clone::clone()` may be inefficient: saphir_cli/src/openapi/generate/response_info.rs#L141
warning: assigning the result of `Clone::clone()` may be inefficient --> saphir_cli/src/openapi/generate/response_info.rs:141:41 | 141 | ... anonymous_type.name = name.clone(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `clone_from()`: `anonymous_type.name.clone_from(&name)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assigning_clones = note: `#[warn(clippy::assigning_clones)]` on by default
empty doc comment: saphir/src/request.rs#L81
warning: empty doc comment --> saphir/src/request.rs:81:5 | 81 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
direct implementation of `ToString`: saphir/src/file/content_range.rs#L101
warning: direct implementation of `ToString` --> saphir/src/file/content_range.rs:101:1 | 101 | / impl ToString for ContentRange { 102 | | fn to_string(&self) -> String { 103 | | match *self { 104 | | ContentRange::Bytes { range, instance_length } => { ... | 125 | | } 126 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl = note: `#[warn(clippy::to_string_trait_impl)]` on by default
empty doc comment: saphir/src/lib.rs#L109
warning: empty doc comment --> saphir/src/lib.rs:109:1 | 109 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
use of `unwrap_or_else` to construct default value: saphir/src/http_context.rs#L225
warning: use of `unwrap_or_else` to construct default value --> saphir/src/http_context.rs:225:18 | 225 | .unwrap_or_else(operation::OperationId::new); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_default()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unwrap_or_default = note: `#[warn(clippy::unwrap_or_default)]` on by default
empty doc comment: saphir/src/lib.rs#L89
warning: empty doc comment --> saphir/src/lib.rs:89:1 | 89 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L87
warning: empty doc comment --> saphir/src/lib.rs:87:1 | 87 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
field `syn` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L71
warning: field `syn` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:71:9 | 69 | pub struct ImplItem<'b> { | -------- field in this struct 70 | pub im: &'b Impl<'b>, 71 | pub syn: &'b SynImplItem, | ^^^ | = note: `ImplItem` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
fields `item` and `syn` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L51
warning: fields `item` and `syn` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:51:9 | 50 | pub struct Struct<'b> { | ------ fields in this struct 51 | pub item: &'b Item<'b>, | ^^^^ 52 | pub syn: &'b SynItemStruct, | ^^^ | = note: `Struct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
fields `item` and `syn` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L45
warning: fields `item` and `syn` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:45:9 | 44 | pub struct Enum<'b> { | ---- fields in this struct 45 | pub item: &'b Item<'b>, | ^^^^ 46 | pub syn: &'b SynItemEnum, | ^^^ | = note: `Enum` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
fields `item` and `syn` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L39
warning: fields `item` and `syn` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:39:9 | 38 | pub struct Use<'b> { | --- fields in this struct 39 | pub item: &'b Item<'b>, | ^^^^ 40 | pub syn: &'b SynItemUse, | ^^^ | = note: `Use` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
field `0` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L32
warning: field `0` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:32:10 | 32 | Enum(Enum<'b>), | ---- ^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 32 | Enum(()), | ~~
field `0` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L31
warning: field `0` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:31:12 | 31 | Struct(Struct<'b>), | ------ ^^^^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 31 | Struct(()), | ~~
field `0` is never read: saphir_cli/src/openapi/generate/crate_syn_browser/item.rs#L30
warning: field `0` is never read --> saphir_cli/src/openapi/generate/crate_syn_browser/item.rs:30:9 | 30 | Use(Use<'b>), | --- ^^^^^^^ | | | field in this variant | help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 30 | Use(()), | ~~
fields `target` and `path` are never read: saphir_cli/src/openapi/generate/crate_syn_browser/file.rs#L13
warning: fields `target` and `path` are never read --> saphir_cli/src/openapi/generate/crate_syn_browser/file.rs:13:9 | 12 | pub struct File<'b> { | ---- fields in this struct 13 | pub target: &'b Target<'b>, | ^^^^^^ 14 | pub file: SynFile, 15 | pub path: String, | ^^^^ | = note: `File` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default
empty doc comment: saphir/src/error.rs#L87
warning: empty doc comment --> saphir/src/error.rs:87:5 | 87 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L81
warning: empty doc comment --> saphir/src/error.rs:81:5 | 81 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L78
warning: empty doc comment --> saphir/src/error.rs:78:5 | 78 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L75
warning: empty doc comment --> saphir/src/error.rs:75:5 | 75 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L57
warning: empty doc comment --> saphir/src/error.rs:57:5 | 57 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L38
warning: empty doc comment --> saphir/src/error.rs:38:5 | 38 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L35
warning: empty doc comment --> saphir/src/error.rs:35:5 | 35 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L83
warning: empty doc comment --> saphir/src/lib.rs:83:1 | 83 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
direct implementation of `ToString`: saphir/src/file/mod.rs#L215
warning: direct implementation of `ToString` --> saphir/src/file/mod.rs:215:1 | 215 | / impl ToString for Compression { 216 | | fn to_string(&self) -> String { 217 | | match self { 218 | | Compression::Deflate => "deflate".to_string(), ... | 223 | | } 224 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
empty doc comment: saphir/src/controller.rs#L84
warning: empty doc comment --> saphir/src/controller.rs:84:5 | 84 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/controller.rs#L82
warning: empty doc comment --> saphir/src/controller.rs:82:1 | 82 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/controller.rs#L74
warning: empty doc comment --> saphir/src/controller.rs:74:5 | 74 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
direct implementation of `ToString`: saphir/src/file/range.rs#L117
warning: direct implementation of `ToString` --> saphir/src/file/range.rs:117:1 | 117 | / impl ToString for Range { 118 | | fn to_string(&self) -> String { 119 | | match *self { 120 | | Range::Bytes(ref ranges) => { ... | 134 | | } 135 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
direct implementation of `ToString`: saphir/src/file/range.rs#L107
warning: direct implementation of `ToString` --> saphir/src/file/range.rs:107:1 | 107 | / impl ToString for ByteRangeSpec { 108 | | fn to_string(&self) -> String { 109 | | match *self { 110 | | ByteRangeSpec::FromTo(from, to) => format!("{}-{}", from, to), ... | 114 | | } 115 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl
empty doc comment: saphir/src/lib.rs#L79
warning: empty doc comment --> saphir/src/lib.rs:79:1 | 79 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs = note: `#[warn(clippy::empty_docs)]` on by default
direct implementation of `ToString`: saphir/src/file/content_range.rs#L101
warning: direct implementation of `ToString` --> saphir/src/file/content_range.rs:101:1 | 101 | / impl ToString for ContentRange { 102 | | fn to_string(&self) -> String { 103 | | match *self { 104 | | ContentRange::Bytes { range, instance_length } => { ... | 125 | | } 126 | | } | |_^ | = help: prefer implementing `Display` instead = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#to_string_trait_impl = note: `#[warn(clippy::to_string_trait_impl)]` on by default
empty doc comment: saphir/src/lib.rs#L89
warning: empty doc comment --> saphir/src/lib.rs:89:1 | 89 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L87
warning: empty doc comment --> saphir/src/lib.rs:87:1 | 87 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L87
warning: empty doc comment --> saphir/src/error.rs:87:5 | 87 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L81
warning: empty doc comment --> saphir/src/error.rs:81:5 | 81 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L78
warning: empty doc comment --> saphir/src/error.rs:78:5 | 78 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L75
warning: empty doc comment --> saphir/src/error.rs:75:5 | 75 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L57
warning: empty doc comment --> saphir/src/error.rs:57:5 | 57 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L38
warning: empty doc comment --> saphir/src/error.rs:38:5 | 38 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/error.rs#L35
warning: empty doc comment --> saphir/src/error.rs:35:5 | 35 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/lib.rs#L83
warning: empty doc comment --> saphir/src/lib.rs:83:1 | 83 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/controller.rs#L84
warning: empty doc comment --> saphir/src/controller.rs:84:5 | 84 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/controller.rs#L82
warning: empty doc comment --> saphir/src/controller.rs:82:1 | 82 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
empty doc comment: saphir/src/controller.rs#L74
warning: empty doc comment --> saphir/src/controller.rs:74:5 | 74 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs
unused imports: `CrateModule`, `Enum`, `FileModule`, `ImplItem`, `InlineModule`, `ModuleKind`, `Struct`, `Use`: saphir_cli/src/openapi/generate/crate_syn_browser/mod.rs#L16
warning: unused imports: `CrateModule`, `Enum`, `FileModule`, `ImplItem`, `InlineModule`, `ModuleKind`, `Struct`, `Use` --> saphir_cli/src/openapi/generate/crate_syn_browser/mod.rs:16:12 | 16 | item::{Enum, Impl, ImplItem, ImplItemKind, Item, ItemKind, Method, Struct, Use}, | ^^^^ ^^^^^^^^ ^^^^^^ ^^^ 17 | module::{CrateModule, FileModule, InlineModule, Module, ModuleKind}, | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
empty doc comment: saphir/src/lib.rs#L79
warning: empty doc comment --> saphir/src/lib.rs:79:1 | 79 | /// | ^^^ | = help: consider removing or filling it = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_docs = note: `#[warn(clippy::empty_docs)]` on by default
variable does not need to be mutable: saphir_cli/src/openapi/generate/response_info.rs#L334
warning: variable does not need to be mutable --> saphir_cli/src/openapi/generate/response_info.rs:334:41 | 334 | ... if let Some(mut type_info) = success_response.type_info.as_mut() { | ----^^^^^^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default
unused imports: `CrateModule`, `Enum`, `FileModule`, `ImplItem`, `InlineModule`, `ModuleKind`, `Struct`, `Use`: saphir_cli/src/openapi/generate/crate_syn_browser/mod.rs#L16
warning: unused imports: `CrateModule`, `Enum`, `FileModule`, `ImplItem`, `InlineModule`, `ModuleKind`, `Struct`, `Use` --> saphir_cli/src/openapi/generate/crate_syn_browser/mod.rs:16:12 | 16 | item::{Enum, Impl, ImplItem, ImplItemKind, Item, ItemKind, Method, Struct, Use}, | ^^^^ ^^^^^^^^ ^^^^^^ ^^^ 17 | module::{CrateModule, FileModule, InlineModule, Module, ModuleKind}, | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
the item `FromIterator` is imported redundantly: saphir/src/utils.rs#L12
warning: the item `FromIterator` is imported redundantly --> saphir/src/utils.rs:12:5 | 12 | iter::FromIterator, | ^^^^^^^^^^^^^^^^^^ --> /rustc/805813650248c1a2f6f271460d728d1bb852d2a7/library/std/src/prelude/mod.rs:148:13 | = note: the item `FromIterator` is already defined here
the item `Stream` is imported redundantly: saphir/src/server.rs#L16
warning: the item `Stream` is imported redundantly --> saphir/src/server.rs:16:42 | 13 | prelude::*, | ---------- the item `Stream` is already imported here ... 16 | use futures_util::{future::TryFutureExt, stream::Stream}; | ^^^^^^^^^^^^^^
the item `Future` is imported redundantly: saphir/src/server.rs#L10
warning: the item `Future` is imported redundantly --> saphir/src/server.rs:10:11 | 10 | use std::{future::Future, net::SocketAddr}; | ^^^^^^^^^^^^^^ ... 13 | prelude::*, | ---------- the item `Future` is already imported here
the item `TryFrom` is imported redundantly: saphir/src/response.rs#L3
warning: the item `TryFrom` is imported redundantly --> saphir/src/response.rs:3:5 | 3 | convert::TryFrom, | ^^^^^^^^^^^^^^^^ --> /rustc/805813650248c1a2f6f271460d728d1bb852d2a7/library/std/src/prelude/mod.rs:148:13 | = note: the item `TryFrom` is already defined here
the item `TryInto` is imported redundantly: saphir/src/redirect.rs#L7
warning: the item `TryInto` is imported redundantly --> saphir/src/redirect.rs:7:33 | 7 | use std::{collections::HashMap, convert::TryInto, fmt::Debug}; | ^^^^^^^^^^^^^^^^ --> /rustc/805813650248c1a2f6f271460d728d1bb852d2a7/library/std/src/prelude/mod.rs:148:13 | = note: the item `TryInto` is already defined here
the item `SystemTime` is imported redundantly: saphir/src/file/range_requests.rs#L84
warning: the item `SystemTime` is imported redundantly --> saphir/src/file/range_requests.rs:84:31 | 78 | use super::*; | -------- the item `SystemTime` is already imported here ... 84 | use std::time::{Duration, SystemTime}; | ^^^^^^^^^^
the item `EntityTag` is imported redundantly: saphir/src/file/range_requests.rs#L80
warning: the item `EntityTag` is imported redundantly --> saphir/src/file/range_requests.rs:80:56 | 78 | use super::*; | -------- the item `EntityTag` is already imported here 79 | use crate::{ 80 | file::{conditional_request::format_systemtime, etag::EntityTag}, | ^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
the item `FromIterator` is imported redundantly: saphir/src/utils.rs#L12
warning: the item `FromIterator` is imported redundantly --> saphir/src/utils.rs:12:5 | 12 | iter::FromIterator, | ^^^^^^^^^^^^^^^^^^ --> /rustc/805813650248c1a2f6f271460d728d1bb852d2a7/library/std/src/prelude/mod.rs:148:13 | = note: the item `FromIterator` is already defined here
the item `Stream` is imported redundantly: saphir/src/server.rs#L16
warning: the item `Stream` is imported redundantly --> saphir/src/server.rs:16:42 | 13 | prelude::*, | ---------- the item `Stream` is already imported here ... 16 | use futures_util::{future::TryFutureExt, stream::Stream}; | ^^^^^^^^^^^^^^
the item `Future` is imported redundantly: saphir/src/server.rs#L10
warning: the item `Future` is imported redundantly --> saphir/src/server.rs:10:11 | 10 | use std::{future::Future, net::SocketAddr}; | ^^^^^^^^^^^^^^ ... 13 | prelude::*, | ---------- the item `Future` is already imported here
the item `TryFrom` is imported redundantly: saphir/src/response.rs#L3
warning: the item `TryFrom` is imported redundantly --> saphir/src/response.rs:3:5 | 3 | convert::TryFrom, | ^^^^^^^^^^^^^^^^ --> /rustc/805813650248c1a2f6f271460d728d1bb852d2a7/library/std/src/prelude/mod.rs:148:13 | = note: the item `TryFrom` is already defined here
the item `TryInto` is imported redundantly: saphir/src/redirect.rs#L7
warning: the item `TryInto` is imported redundantly --> saphir/src/redirect.rs:7:33 | 7 | use std::{collections::HashMap, convert::TryInto, fmt::Debug}; | ^^^^^^^^^^^^^^^^ --> /rustc/805813650248c1a2f6f271460d728d1bb852d2a7/library/std/src/prelude/mod.rs:148:13 | = note: the item `TryInto` is already defined here | = note: `#[warn(unused_imports)]` on by default
clippy_check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/