[INFO] fetching crate pulz-schedule-macros 0.1.0-alpha2... [INFO] linting pulz-schedule-macros-0.1.0-alpha2 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate pulz-schedule-macros 0.1.0-alpha2 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pulz-schedule-macros 0.1.0-alpha2 [INFO] finished tweaking crates.io crate pulz-schedule-macros 0.1.0-alpha2 [INFO] tweaked toml for crates.io crate pulz-schedule-macros 0.1.0-alpha2 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pulz-schedule-macros 0.1.0-alpha2 on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pulz-schedule-macros 0.1.0-alpha2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22aca0f5cc7a4f34a546da5a102d4edda7605b2a7aaad83caf4fa31e1a251a74 [INFO] running `Command { std: "docker" "start" "-a" "22aca0f5cc7a4f34a546da5a102d4edda7605b2a7aaad83caf4fa31e1a251a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22aca0f5cc7a4f34a546da5a102d4edda7605b2a7aaad83caf4fa31e1a251a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22aca0f5cc7a4f34a546da5a102d4edda7605b2a7aaad83caf4fa31e1a251a74", kill_on_drop: false }` [INFO] [stdout] 22aca0f5cc7a4f34a546da5a102d4edda7605b2a7aaad83caf4fa31e1a251a74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d8bf2db6b5a91e680555e1139a9317465bf57d19e6d232947b5fd2b61c139b0 [INFO] running `Command { std: "docker" "start" "-a" "8d8bf2db6b5a91e680555e1139a9317465bf57d19e6d232947b5fd2b61c139b0", kill_on_drop: false }` [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking unicode-ident v1.0.22 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking toml_datetime v0.7.3 [INFO] [stderr] Checking proc-macro2 v1.0.103 [INFO] [stderr] Checking quote v1.0.42 [INFO] [stderr] Checking syn v2.0.110 [INFO] [stderr] Checking indexmap v2.12.0 [INFO] [stderr] Checking toml_parser v1.0.4 [INFO] [stderr] Checking toml_edit v0.23.7 [INFO] [stderr] Checking proc-macro-crate v3.4.0 [INFO] [stderr] Checking pulz-schedule-macros v0.1.0-alpha2 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `arg` and `index` are never read [INFO] [stdout] --> src/attrib_system.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | struct SystemArgGenerator<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 56 | pub arg: &'a FnArg, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `system_ident` and `system_trait_ident` are never used [INFO] [stdout] --> src/attrib_system.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl<'a> SystemGenerator<'a> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn system_ident(&self) -> &Ident { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn system_trait_ident(&self) -> &Ident { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/attrib_system_module.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Default(Option), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DefaultBehaviourDisableable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Default(Option), [INFO] [stdout] 24 + Default(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/attrib_system_module.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | Disabled(Span), [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DefaultBehaviourDisableable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 - Disabled(Span), [INFO] [stdout] 25 + Disabled(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_default` is never used [INFO] [stdout] --> src/attrib_system_module.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl DefaultBehaviourDisableable { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 36 | pub fn is_default(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `crate_path` is never read [INFO] [stdout] --> src/attrib_system_module.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct SystemModuleGenerator<'a> { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub crate_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_attrs` is never used [INFO] [stdout] --> src/utils.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CratePath { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn from_attrs(attrs: &[syn::Attribute]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/attrib_system.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / if let PathArguments::AngleBracketed(args) = &path.segments[0].arguments { [INFO] [stdout] 93 | | if args.args.len() == 1 { [INFO] [stdout] 94 | | if let syn::GenericArgument::Type(ty) = &args.args[0] { [INFO] [stdout] 95 | | return Some(ty); [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 92 ~ if let PathArguments::AngleBracketed(args) = &path.segments[0].arguments [INFO] [stdout] 93 ~ && args.args.len() == 1 { [INFO] [stdout] 94 | if let syn::GenericArgument::Type(ty) = &args.args[0] { [INFO] [stdout] 95 | return Some(ty); [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/attrib_system.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | / if args.args.len() == 1 { [INFO] [stdout] 94 | | if let syn::GenericArgument::Type(ty) = &args.args[0] { [INFO] [stdout] 95 | | return Some(ty); [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 93 ~ if args.args.len() == 1 [INFO] [stdout] 94 ~ && let syn::GenericArgument::Type(ty) = &args.args[0] { [INFO] [stdout] 95 | return Some(ty); [INFO] [stdout] 96 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/attrib_system.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | / if let Some(nested_wrap) = argwrap { [INFO] [stdout] 113 | | Some( [INFO] [stdout] 114 | | parse_quote_spanned!(argtype.span() => #expr.map(|#mapper_arg_ident| #nested_wrap)), [INFO] [stdout] ... | [INFO] [stdout] 117 | | None [INFO] [stdout] 118 | | }, [INFO] [stdout] | |_________________________^ help: try: `argwrap.map(|nested_wrap| parse_quote_spanned!(argtype.span() => #expr.map(|#mapper_arg_ident| #nested_wrap)))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map [INFO] [stdout] = note: `#[warn(clippy::manual_map)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/attrib_system.rs:176:62 [INFO] [stdout] | [INFO] [stdout] 176 | FnArg::Typed(pat) => Self::map_arg_type(&pat.ty, &expr), [INFO] [stdout] | ^^^^^ help: change this to: `expr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/attrib_system.rs:177:61 [INFO] [stdout] | [INFO] [stdout] 177 | FnArg::Receiver(r) => Self::map_arg_type(&r.ty, &expr), [INFO] [stdout] | ^^^^^ help: change this to: `expr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/attrib_system.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | &fn_item.sig.asyncness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `fn_item.sig.asyncness` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/utils.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | return syn::meta::parser(|meta| self.parse_nested_meta(meta)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 89 - return syn::meta::parser(|meta| self.parse_nested_meta(meta)); [INFO] [stdout] 89 + syn::meta::parser(|meta| self.parse_nested_meta(meta)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | / if let syn::Type::Path(p) = i { [INFO] [stdout] 200 | | if p.path.is_ident("Self") { [INFO] [stdout] 201 | | *i = self.0.clone(); [INFO] [stdout] 202 | | return; [INFO] [stdout] 203 | | } [INFO] [stdout] 204 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 199 ~ if let syn::Type::Path(p) = i [INFO] [stdout] 200 ~ && p.path.is_ident("Self") { [INFO] [stdout] 201 | *i = self.0.clone(); [INFO] [stdout] 202 | return; [INFO] [stdout] 203 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | / if let syn::GenericParam::Type(p) = param { [INFO] [stdout] 231 | | if p.ident == *ident { [INFO] [stdout] 232 | | self.included[i] = true; [INFO] [stdout] 233 | | return true; [INFO] [stdout] 234 | | } [INFO] [stdout] 235 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 230 ~ if let syn::GenericParam::Type(p) = param [INFO] [stdout] 231 ~ && p.ident == *ident { [INFO] [stdout] 232 | self.included[i] = true; [INFO] [stdout] 233 | return true; [INFO] [stdout] 234 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | / if let syn::GenericParam::Const(p) = param { [INFO] [stdout] 242 | | if p.ident == *ident { [INFO] [stdout] 243 | | self.included[i] = true; [INFO] [stdout] 244 | | return true; [INFO] [stdout] 245 | | } [INFO] [stdout] 246 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 241 ~ if let syn::GenericParam::Const(p) = param [INFO] [stdout] 242 ~ && p.ident == *ident { [INFO] [stdout] 243 | self.included[i] = true; [INFO] [stdout] 244 | return true; [INFO] [stdout] 245 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | / if let syn::GenericParam::Lifetime(p) = param { [INFO] [stdout] 253 | | if p.lifetime == *lt { [INFO] [stdout] 254 | | self.included[i] = true; [INFO] [stdout] 255 | | return true; [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 252 ~ if let syn::GenericParam::Lifetime(p) = param [INFO] [stdout] 253 ~ && p.lifetime == *lt { [INFO] [stdout] 254 | self.included[i] = true; [INFO] [stdout] 255 | return true; [INFO] [stdout] 256 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 279 | / if let syn::WherePredicate::Type(t) = pred { [INFO] [stdout] 280 | | if let syn::Type::Path(p) = &t.bounded_ty { [INFO] [stdout] 281 | | if let Some(i) = p.path.get_ident() { [INFO] [stdout] 282 | | if params.iter().any(|param| { [INFO] [stdout] ... | [INFO] [stdout] 293 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 279 ~ if let syn::WherePredicate::Type(t) = pred [INFO] [stdout] 280 ~ && let syn::Type::Path(p) = &t.bounded_ty { [INFO] [stdout] 281 | if let Some(i) = p.path.get_ident() { [INFO] [stdout] ... [INFO] [stdout] 291 | } [INFO] [stdout] 292 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | / ... if let syn::Type::Path(p) = &t.bounded_ty { [INFO] [stdout] 281 | | ... if let Some(i) = p.path.get_ident() { [INFO] [stdout] 282 | | ... if params.iter().any(|param| { [INFO] [stdout] 283 | | ... if let syn::GenericParam::Type(tp) = param { [INFO] [stdout] ... | [INFO] [stdout] 292 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 280 ~ if let syn::Type::Path(p) = &t.bounded_ty [INFO] [stdout] 281 ~ && let Some(i) = p.path.get_ident() { [INFO] [stdout] 282 | if params.iter().any(|param| { [INFO] [stdout] ... [INFO] [stdout] 290 | } [INFO] [stdout] 291 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:281:33 [INFO] [stdout] | [INFO] [stdout] 281 | / ... if let Some(i) = p.path.get_ident() { [INFO] [stdout] 282 | | ... if params.iter().any(|param| { [INFO] [stdout] 283 | | ... if let syn::GenericParam::Type(tp) = param { [INFO] [stdout] 284 | | ... tp.ident == *i [INFO] [stdout] ... | [INFO] [stdout] 291 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 281 ~ if let Some(i) = p.path.get_ident() [INFO] [stdout] 282 ~ && params.iter().any(|param| { [INFO] [stdout] 283 | if let syn::GenericParam::Type(tp) = param { [INFO] [stdout] ... [INFO] [stdout] 289 | return Some(pred.clone()); [INFO] [stdout] 290 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | / if let Some(ident) = t.path.get_ident() { [INFO] [stdout] 316 | | if t.qself.is_none() && self.mark_type_ident(ident) { [INFO] [stdout] 317 | | return; [INFO] [stdout] 318 | | } [INFO] [stdout] 319 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 315 ~ if let Some(ident) = t.path.get_ident() [INFO] [stdout] 316 ~ && t.qself.is_none() && self.mark_type_ident(ident) { [INFO] [stdout] 317 | return; [INFO] [stdout] 318 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | / if let Some(ident) = e.path.get_ident() { [INFO] [stdout] 324 | | if e.qself.is_none() && self.mark_const_ident(ident) { [INFO] [stdout] 325 | | return; [INFO] [stdout] 326 | | } [INFO] [stdout] 327 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 323 ~ if let Some(ident) = e.path.get_ident() [INFO] [stdout] 324 ~ && e.qself.is_none() && self.mark_const_ident(ident) { [INFO] [stdout] 325 | return; [INFO] [stdout] 326 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utils.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | !self.0.is_some() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try: `self.0.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/utils.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | / if let Some(err) = self.0.take() { [INFO] [stdout] 398 | | Some(err.into_compile_error()) [INFO] [stdout] 399 | | } else { [INFO] [stdout] 400 | | None [INFO] [stdout] 401 | | } [INFO] [stdout] | |_________^ help: try: `self.0.take().map(|err| err.into_compile_error())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `arg` and `index` are never read [INFO] [stdout] --> src/attrib_system.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 55 | struct SystemArgGenerator<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 56 | pub arg: &'a FnArg, [INFO] [stdout] | ^^^ [INFO] [stdout] 57 | pub index: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `system_ident` and `system_trait_ident` are never used [INFO] [stdout] --> src/attrib_system.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 205 | impl<'a> SystemGenerator<'a> { [INFO] [stdout] | ---------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 268 | pub fn system_ident(&self) -> &Ident { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | pub fn system_trait_ident(&self) -> &Ident { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/attrib_system_module.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | Default(Option), [INFO] [stdout] | ------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DefaultBehaviourDisableable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 - Default(Option), [INFO] [stdout] 24 + Default(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/attrib_system_module.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | Disabled(Span), [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `DefaultBehaviourDisableable` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 - Disabled(Span), [INFO] [stdout] 25 + Disabled(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_default` is never used [INFO] [stdout] --> src/attrib_system_module.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl DefaultBehaviourDisableable { [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] 36 | pub fn is_default(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `crate_path` is never read [INFO] [stdout] --> src/attrib_system_module.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 95 | pub struct SystemModuleGenerator<'a> { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | pub crate_path: &'a Path, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_attrs` is never used [INFO] [stdout] --> src/utils.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CratePath { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn from_attrs(attrs: &[syn::Attribute]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/attrib_system.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | / if let PathArguments::AngleBracketed(args) = &path.segments[0].arguments { [INFO] [stdout] 93 | | if args.args.len() == 1 { [INFO] [stdout] 94 | | if let syn::GenericArgument::Type(ty) = &args.args[0] { [INFO] [stdout] 95 | | return Some(ty); [INFO] [stdout] ... | [INFO] [stdout] 98 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] = note: `#[warn(clippy::collapsible_if)]` on by default [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 92 ~ if let PathArguments::AngleBracketed(args) = &path.segments[0].arguments [INFO] [stdout] 93 ~ && args.args.len() == 1 { [INFO] [stdout] 94 | if let syn::GenericArgument::Type(ty) = &args.args[0] { [INFO] [stdout] 95 | return Some(ty); [INFO] [stdout] 96 | } [INFO] [stdout] 97 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/attrib_system.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | / if args.args.len() == 1 { [INFO] [stdout] 94 | | if let syn::GenericArgument::Type(ty) = &args.args[0] { [INFO] [stdout] 95 | | return Some(ty); [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 93 ~ if args.args.len() == 1 [INFO] [stdout] 94 ~ && let syn::GenericArgument::Type(ty) = &args.args[0] { [INFO] [stdout] 95 | return Some(ty); [INFO] [stdout] 96 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/attrib_system.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | / if let Some(nested_wrap) = argwrap { [INFO] [stdout] 113 | | Some( [INFO] [stdout] 114 | | parse_quote_spanned!(argtype.span() => #expr.map(|#mapper_arg_ident| #nested_wrap)), [INFO] [stdout] ... | [INFO] [stdout] 117 | | None [INFO] [stdout] 118 | | }, [INFO] [stdout] | |_________________________^ help: try: `argwrap.map(|nested_wrap| parse_quote_spanned!(argtype.span() => #expr.map(|#mapper_arg_ident| #nested_wrap)))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map [INFO] [stdout] = note: `#[warn(clippy::manual_map)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/attrib_system.rs:176:62 [INFO] [stdout] | [INFO] [stdout] 176 | FnArg::Typed(pat) => Self::map_arg_type(&pat.ty, &expr), [INFO] [stdout] | ^^^^^ help: change this to: `expr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/attrib_system.rs:177:61 [INFO] [stdout] | [INFO] [stdout] 177 | FnArg::Receiver(r) => Self::map_arg_type(&r.ty, &expr), [INFO] [stdout] | ^^^^^ help: change this to: `expr` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/attrib_system.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | &fn_item.sig.asyncness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `fn_item.sig.asyncness` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/utils.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | return syn::meta::parser(|meta| self.parse_nested_meta(meta)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 89 - return syn::meta::parser(|meta| self.parse_nested_meta(meta)); [INFO] [stdout] 89 + syn::meta::parser(|meta| self.parse_nested_meta(meta)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | / if let syn::Type::Path(p) = i { [INFO] [stdout] 200 | | if p.path.is_ident("Self") { [INFO] [stdout] 201 | | *i = self.0.clone(); [INFO] [stdout] 202 | | return; [INFO] [stdout] 203 | | } [INFO] [stdout] 204 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 199 ~ if let syn::Type::Path(p) = i [INFO] [stdout] 200 ~ && p.path.is_ident("Self") { [INFO] [stdout] 201 | *i = self.0.clone(); [INFO] [stdout] 202 | return; [INFO] [stdout] 203 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | / if let syn::GenericParam::Type(p) = param { [INFO] [stdout] 231 | | if p.ident == *ident { [INFO] [stdout] 232 | | self.included[i] = true; [INFO] [stdout] 233 | | return true; [INFO] [stdout] 234 | | } [INFO] [stdout] 235 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 230 ~ if let syn::GenericParam::Type(p) = param [INFO] [stdout] 231 ~ && p.ident == *ident { [INFO] [stdout] 232 | self.included[i] = true; [INFO] [stdout] 233 | return true; [INFO] [stdout] 234 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:241:13 [INFO] [stdout] | [INFO] [stdout] 241 | / if let syn::GenericParam::Const(p) = param { [INFO] [stdout] 242 | | if p.ident == *ident { [INFO] [stdout] 243 | | self.included[i] = true; [INFO] [stdout] 244 | | return true; [INFO] [stdout] 245 | | } [INFO] [stdout] 246 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 241 ~ if let syn::GenericParam::Const(p) = param [INFO] [stdout] 242 ~ && p.ident == *ident { [INFO] [stdout] 243 | self.included[i] = true; [INFO] [stdout] 244 | return true; [INFO] [stdout] 245 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | / if let syn::GenericParam::Lifetime(p) = param { [INFO] [stdout] 253 | | if p.lifetime == *lt { [INFO] [stdout] 254 | | self.included[i] = true; [INFO] [stdout] 255 | | return true; [INFO] [stdout] 256 | | } [INFO] [stdout] 257 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 252 ~ if let syn::GenericParam::Lifetime(p) = param [INFO] [stdout] 253 ~ && p.lifetime == *lt { [INFO] [stdout] 254 | self.included[i] = true; [INFO] [stdout] 255 | return true; [INFO] [stdout] 256 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:279:25 [INFO] [stdout] | [INFO] [stdout] 279 | / if let syn::WherePredicate::Type(t) = pred { [INFO] [stdout] 280 | | if let syn::Type::Path(p) = &t.bounded_ty { [INFO] [stdout] 281 | | if let Some(i) = p.path.get_ident() { [INFO] [stdout] 282 | | if params.iter().any(|param| { [INFO] [stdout] ... | [INFO] [stdout] 293 | | } [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 279 ~ if let syn::WherePredicate::Type(t) = pred [INFO] [stdout] 280 ~ && let syn::Type::Path(p) = &t.bounded_ty { [INFO] [stdout] 281 | if let Some(i) = p.path.get_ident() { [INFO] [stdout] ... [INFO] [stdout] 291 | } [INFO] [stdout] 292 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | / ... if let syn::Type::Path(p) = &t.bounded_ty { [INFO] [stdout] 281 | | ... if let Some(i) = p.path.get_ident() { [INFO] [stdout] 282 | | ... if params.iter().any(|param| { [INFO] [stdout] 283 | | ... if let syn::GenericParam::Type(tp) = param { [INFO] [stdout] ... | [INFO] [stdout] 292 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 280 ~ if let syn::Type::Path(p) = &t.bounded_ty [INFO] [stdout] 281 ~ && let Some(i) = p.path.get_ident() { [INFO] [stdout] 282 | if params.iter().any(|param| { [INFO] [stdout] ... [INFO] [stdout] 290 | } [INFO] [stdout] 291 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:281:33 [INFO] [stdout] | [INFO] [stdout] 281 | / ... if let Some(i) = p.path.get_ident() { [INFO] [stdout] 282 | | ... if params.iter().any(|param| { [INFO] [stdout] 283 | | ... if let syn::GenericParam::Type(tp) = param { [INFO] [stdout] 284 | | ... tp.ident == *i [INFO] [stdout] ... | [INFO] [stdout] 291 | | ... } [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 281 ~ if let Some(i) = p.path.get_ident() [INFO] [stdout] 282 ~ && params.iter().any(|param| { [INFO] [stdout] 283 | if let syn::GenericParam::Type(tp) = param { [INFO] [stdout] ... [INFO] [stdout] 289 | return Some(pred.clone()); [INFO] [stdout] 290 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | / if let Some(ident) = t.path.get_ident() { [INFO] [stdout] 316 | | if t.qself.is_none() && self.mark_type_ident(ident) { [INFO] [stdout] 317 | | return; [INFO] [stdout] 318 | | } [INFO] [stdout] 319 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 315 ~ if let Some(ident) = t.path.get_ident() [INFO] [stdout] 316 ~ && t.qself.is_none() && self.mark_type_ident(ident) { [INFO] [stdout] 317 | return; [INFO] [stdout] 318 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/utils.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | / if let Some(ident) = e.path.get_ident() { [INFO] [stdout] 324 | | if e.qself.is_none() && self.mark_const_ident(ident) { [INFO] [stdout] 325 | | return; [INFO] [stdout] 326 | | } [INFO] [stdout] 327 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if [INFO] [stdout] help: collapse nested if block [INFO] [stdout] | [INFO] [stdout] 323 ~ if let Some(ident) = e.path.get_ident() [INFO] [stdout] 324 ~ && e.qself.is_none() && self.mark_const_ident(ident) { [INFO] [stdout] 325 | return; [INFO] [stdout] 326 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/utils.rs:376:9 [INFO] [stdout] | [INFO] [stdout] 376 | !self.0.is_some() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try: `self.0.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `Option::map` [INFO] [stdout] --> src/utils.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | / if let Some(err) = self.0.take() { [INFO] [stdout] 398 | | Some(err.into_compile_error()) [INFO] [stdout] 399 | | } else { [INFO] [stdout] 400 | | None [INFO] [stdout] 401 | | } [INFO] [stdout] | |_________^ help: try: `self.0.take().map(|err| err.into_compile_error())` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_map [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.44s [INFO] running `Command { std: "docker" "inspect" "8d8bf2db6b5a91e680555e1139a9317465bf57d19e6d232947b5fd2b61c139b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d8bf2db6b5a91e680555e1139a9317465bf57d19e6d232947b5fd2b61c139b0", kill_on_drop: false }` [INFO] [stdout] 8d8bf2db6b5a91e680555e1139a9317465bf57d19e6d232947b5fd2b61c139b0