[INFO] cloning repository https://github.com/wheregmis/dioxus-riverpod [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wheregmis/dioxus-riverpod" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwheregmis%2Fdioxus-riverpod", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwheregmis%2Fdioxus-riverpod'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4d31ff917a15dfaa2f207933894df2808a79a062 [INFO] linting wheregmis/dioxus-riverpod against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwheregmis%2Fdioxus-riverpod" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/wheregmis/dioxus-riverpod [INFO] finished tweaking git repo https://github.com/wheregmis/dioxus-riverpod [INFO] tweaked toml for git repo https://github.com/wheregmis/dioxus-riverpod written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/wheregmis/dioxus-riverpod 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 git repo https://github.com/wheregmis/dioxus-riverpod 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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded const-serialize v0.7.1 [INFO] [stderr] Downloaded manganis v0.7.1 [INFO] [stderr] Downloaded manganis-core v0.7.1 [INFO] [stderr] Downloaded subsecond v0.7.1 [INFO] [stderr] Downloaded dioxus-core-types v0.7.1 [INFO] [stderr] Downloaded manganis-macro v0.7.1 [INFO] [stderr] Downloaded dioxus-cli-config v0.7.1 [INFO] [stderr] Downloaded subsecond-types v0.7.1 [INFO] [stderr] Downloaded dioxus-config-macro v0.7.1 [INFO] [stderr] Downloaded dioxus-config-macros v0.7.1 [INFO] [stderr] Downloaded cocoa-foundation v0.2.1 [INFO] [stderr] Downloaded dioxus-asset-resolver v0.7.1 [INFO] [stderr] Downloaded dioxus-stores-macro v0.7.1 [INFO] [stderr] Downloaded dioxus-stores v0.7.1 [INFO] [stderr] Downloaded dioxus-fullstack-macro v0.7.1 [INFO] [stderr] Downloaded dioxus-logger v0.7.1 [INFO] [stderr] Downloaded generational-box v0.7.1 [INFO] [stderr] Downloaded dioxus-devtools v0.7.1 [INFO] [stderr] Downloaded dioxus-history v0.7.1 [INFO] [stderr] Downloaded dioxus-html-internal-macro v0.7.1 [INFO] [stderr] Downloaded lazy-js-bundle v0.7.1 [INFO] [stderr] Downloaded const-serialize-macro v0.7.1 [INFO] [stderr] Downloaded dioxus v0.7.1 [INFO] [stderr] Downloaded dioxus-devtools-types v0.7.1 [INFO] [stderr] Downloaded dioxus-document v0.7.1 [INFO] [stderr] Downloaded dlopen2_derive v0.4.1 [INFO] [stderr] Downloaded const-str v0.7.0 [INFO] [stderr] Downloaded dioxus-hooks v0.7.1 [INFO] [stderr] Downloaded sledgehammer_bindgen_macro v0.6.1 [INFO] [stderr] Downloaded dioxus-fullstack-core v0.7.1 [INFO] [stderr] Downloaded cocoa v0.26.1 [INFO] [stderr] Downloaded dioxus-interpreter-js v0.7.1 [INFO] [stderr] Downloaded dioxus-core-macro v0.7.1 [INFO] [stderr] Downloaded dioxus-web v0.7.1 [INFO] [stderr] Downloaded dioxus-rsx v0.7.1 [INFO] [stderr] Downloaded dioxus-html v0.7.1 [INFO] [stderr] Downloaded global-hotkey v0.7.0 [INFO] [stderr] Downloaded rfd v0.15.4 [INFO] [stderr] Downloaded dioxus-fullstack v0.7.1 [INFO] [stderr] Downloaded tray-icon v0.21.2 [INFO] [stderr] Downloaded dioxus-signals v0.7.1 [INFO] [stderr] Downloaded ashpd v0.11.0 [INFO] [stderr] Downloaded dioxus-core v0.7.1 [INFO] [stderr] Downloaded wry v0.53.5 [INFO] [stderr] Downloaded dioxus-desktop v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] d8fb49c80ff98056611f03d46a0555bfc0ea6c13787d50893ede586dd65a2334 [INFO] running `Command { std: "docker" "start" "-a" "d8fb49c80ff98056611f03d46a0555bfc0ea6c13787d50893ede586dd65a2334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8fb49c80ff98056611f03d46a0555bfc0ea6c13787d50893ede586dd65a2334", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8fb49c80ff98056611f03d46a0555bfc0ea6c13787d50893ede586dd65a2334", kill_on_drop: false }` [INFO] [stdout] d8fb49c80ff98056611f03d46a0555bfc0ea6c13787d50893ede586dd65a2334 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4ca14dc1b3452bab1b41f9e39a726e768fa10775face809901a4018d88aa95d0 [INFO] running `Command { std: "docker" "start" "-a" "4ca14dc1b3452bab1b41f9e39a726e768fa10775face809901a4018d88aa95d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling hashbrown v0.16.0 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling version-compare v0.2.1 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking unicode-ident v1.0.22 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling gio v0.18.4 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking dioxus-core-types v0.7.1 [INFO] [stderr] Compiling toml_parser v1.0.4 [INFO] [stderr] Compiling toml_datetime v0.7.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling cfg-expr v0.15.8 [INFO] [stderr] Compiling cc v1.2.46 [INFO] [stderr] Compiling field-offset v0.3.6 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Compiling gtk v0.18.2 [INFO] [stderr] Compiling lazy-js-bundle v0.7.1 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling wayland-sys v0.31.7 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling libxdo-sys v0.11.0 [INFO] [stderr] Compiling indexmap v2.12.0 [INFO] [stderr] Checking dioxus-cli-config v0.7.1 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Compiling dioxus-interpreter-js v0.7.1 [INFO] [stderr] Compiling dioxus-document v0.7.1 [INFO] [stderr] Compiling wry v0.53.5 [INFO] [stderr] Compiling rfd v0.15.4 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Checking x11rb-protocol v0.13.2 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Compiling toml_edit v0.23.7 [INFO] [stderr] Checking sledgehammer_utils v0.3.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling dioxus-desktop v0.7.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking const_format v0.2.35 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling wayland-backend v0.3.11 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking memmap2 v0.9.9 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling wayland-scanner v0.31.7 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking nix v0.30.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking x11-dl v2.21.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking signal-hook v0.3.18 [INFO] [stderr] Compiling dioxus-config-macro v0.7.1 [INFO] [stderr] Checking dioxus-config-macros v0.7.1 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking jiff v0.2.16 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking libxdo v0.6.0 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking env_filter v0.1.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Compiling macro-string v0.1.4 [INFO] [stderr] Compiling dioxus-rsx v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling const-serialize-macro v0.7.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling dioxus-core-macro v0.7.1 [INFO] [stderr] Compiling dioxus-html-internal-macro v0.7.1 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking gethostname v1.1.0 [INFO] [stderr] Compiling dlopen2_derive v0.4.1 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling sledgehammer_bindgen_macro v0.6.1 [INFO] [stderr] Checking x11rb v0.13.2 [INFO] [stderr] Compiling dioxus-stores-macro v0.7.1 [INFO] [stderr] Compiling dioxus-provider-macros v0.2.1 (/opt/rustwide/workdir/dioxus-provider-macros) [INFO] [stderr] Checking env_logger v0.11.8 [INFO] [stderr] Checking warnings v0.2.1 [INFO] [stderr] Checking generational-box v0.7.1 [INFO] [stderr] Checking wayland-client v0.31.11 [INFO] [stderr] Checking dlopen2 v0.8.0 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | / if let Some(ctx) = ctx_ident { [INFO] [stdout] 472 | | if param.name == *ctx { [INFO] [stdout] 473 | | return quote! { #ctx }; [INFO] [stdout] 474 | | } [INFO] [stdout] 475 | | } [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] 471 ~ if let Some(ctx) = ctx_ident [INFO] [stdout] 472 ~ && param.name == *ctx { [INFO] [stdout] 473 | return quote! { #ctx }; [INFO] [stdout] 474 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:477:17 [INFO] [stdout] | [INFO] [stdout] 477 | / if let Some(data_name) = data_param_name { [INFO] [stdout] 478 | | if param.name == *data_name { [INFO] [stdout] 479 | | if let Some(ref data_expr) = auto_apply_data_expr { [INFO] [stdout] 480 | | return data_expr.clone(); [INFO] [stdout] ... | [INFO] [stdout] 483 | | } [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] 477 ~ if let Some(data_name) = data_param_name [INFO] [stdout] 478 ~ && param.name == *data_name { [INFO] [stdout] 479 | if let Some(ref data_expr) = auto_apply_data_expr { [INFO] [stdout] 480 | return data_expr.clone(); [INFO] [stdout] 481 | } [INFO] [stdout] 482 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:478:21 [INFO] [stdout] | [INFO] [stdout] 478 | / if param.name == *data_name { [INFO] [stdout] 479 | | if let Some(ref data_expr) = auto_apply_data_expr { [INFO] [stdout] 480 | | return data_expr.clone(); [INFO] [stdout] 481 | | } [INFO] [stdout] 482 | | } [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] 478 ~ if param.name == *data_name [INFO] [stdout] 479 ~ && let Some(ref data_expr) = auto_apply_data_expr { [INFO] [stdout] 480 | return data_expr.clone(); [INFO] [stdout] 481 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | / if !is_auto_apply { [INFO] [stdout] 564 | | if let (Some(ctx_ident), Some(data_ty), Some(err_ty)) = ( [INFO] [stdout] 565 | | context_ident.as_ref(), [INFO] [stdout] 566 | | context_data_ty.as_ref(), [INFO] [stdout] ... | [INFO] [stdout] 571 | | } [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] 563 ~ if !is_auto_apply [INFO] [stdout] 564 ~ && let (Some(ctx_ident), Some(data_ty), Some(err_ty)) = ( [INFO] [stdout] 565 | context_ident.as_ref(), [INFO] [stdout] ... [INFO] [stdout] 569 | prelude.push(quote! { let #ctx_ident = ::dioxus_provider::mutation::MutationContext::<'static, #data_ty, #err_ty>::new(None); }); [INFO] [stdout] 570 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:770:5 [INFO] [stdout] | [INFO] [stdout] 770 | / if let Type::Path(type_path) = ty { [INFO] [stdout] 771 | | if let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 772 | | if segment.ident == "MutationContext" { [INFO] [stdout] 773 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] ... | [INFO] [stdout] 789 | | } [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] 770 ~ if let Type::Path(type_path) = ty [INFO] [stdout] 771 ~ && let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 772 | if segment.ident == "MutationContext" { [INFO] [stdout] ... [INFO] [stdout] 787 | } [INFO] [stdout] 788 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:771:9 [INFO] [stdout] | [INFO] [stdout] 771 | / if let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 772 | | if segment.ident == "MutationContext" { [INFO] [stdout] 773 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 774 | | if args.args.len() == 2 { [INFO] [stdout] ... | [INFO] [stdout] 788 | | } [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] 771 ~ if let Some(segment) = type_path.path.segments.last() [INFO] [stdout] 772 ~ && segment.ident == "MutationContext" { [INFO] [stdout] 773 | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] ... [INFO] [stdout] 786 | } [INFO] [stdout] 787 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:772:13 [INFO] [stdout] | [INFO] [stdout] 772 | / if segment.ident == "MutationContext" { [INFO] [stdout] 773 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 774 | | if args.args.len() == 2 { [INFO] [stdout] 775 | | let mut iter = args.args.iter(); [INFO] [stdout] ... | [INFO] [stdout] 787 | | } [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] 772 ~ if segment.ident == "MutationContext" [INFO] [stdout] 773 ~ && let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 774 | if args.args.len() == 2 { [INFO] [stdout] ... [INFO] [stdout] 785 | } [INFO] [stdout] 786 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:773:17 [INFO] [stdout] | [INFO] [stdout] 773 | / if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 774 | | if args.args.len() == 2 { [INFO] [stdout] 775 | | let mut iter = args.args.iter(); [INFO] [stdout] 776 | | let data_ty = match iter.next()? { [INFO] [stdout] ... | [INFO] [stdout] 786 | | } [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] 773 ~ if let syn::PathArguments::AngleBracketed(args) = &segment.arguments [INFO] [stdout] 774 ~ && args.args.len() == 2 { [INFO] [stdout] 775 | let mut iter = args.args.iter(); [INFO] [stdout] ... [INFO] [stdout] 784 | return Some((data_ty, error_ty)); [INFO] [stdout] 785 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:850:9 [INFO] [stdout] | [INFO] [stdout] 850 | / if let Some(last_param) = input_params.last() { [INFO] [stdout] 851 | | if types_equal(&last_param.ty, output_type) { [INFO] [stdout] 852 | | data_param = input_params.pop(); [INFO] [stdout] 853 | | } [INFO] [stdout] 854 | | } [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] 850 ~ if let Some(last_param) = input_params.last() [INFO] [stdout] 851 ~ && types_equal(&last_param.ty, output_type) { [INFO] [stdout] 852 | data_param = input_params.pop(); [INFO] [stdout] 853 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:967:13 [INFO] [stdout] | [INFO] [stdout] 967 | / if let Type::Path(type_path) = &**ty { [INFO] [stdout] 968 | | if let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 969 | | if segment.ident == "Result" { [INFO] [stdout] 970 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] ... | [INFO] [stdout] 999 | | } [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] 967 ~ if let Type::Path(type_path) = &**ty [INFO] [stdout] 968 ~ && let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 969 | if segment.ident == "Result" { [INFO] [stdout] ... [INFO] [stdout] 997 | } [INFO] [stdout] 998 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:968:17 [INFO] [stdout] | [INFO] [stdout] 968 | / if let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 969 | | if segment.ident == "Result" { [INFO] [stdout] 970 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 971 | | if args.args.len() == 2 { [INFO] [stdout] ... | [INFO] [stdout] 998 | | } [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] 968 ~ if let Some(segment) = type_path.path.segments.last() [INFO] [stdout] 969 ~ && segment.ident == "Result" { [INFO] [stdout] 970 | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] ... [INFO] [stdout] 996 | } [INFO] [stdout] 997 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:969:21 [INFO] [stdout] | [INFO] [stdout] 969 | / if segment.ident == "Result" { [INFO] [stdout] 970 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 971 | | if args.args.len() == 2 { [INFO] [stdout] 972 | | let mut args_iter = args.args.iter(); [INFO] [stdout] ... | [INFO] [stdout] 997 | | } [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] 969 ~ if segment.ident == "Result" [INFO] [stdout] 970 ~ && let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 971 | if args.args.len() == 2 { [INFO] [stdout] ... [INFO] [stdout] 995 | } [INFO] [stdout] 996 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:970:25 [INFO] [stdout] | [INFO] [stdout] 970 | / if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 971 | | if args.args.len() == 2 { [INFO] [stdout] 972 | | let mut args_iter = args.args.iter(); [INFO] [stdout] ... | [INFO] [stdout] 996 | | } [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] 970 ~ if let syn::PathArguments::AngleBracketed(args) = &segment.arguments [INFO] [stdout] 971 ~ && args.args.len() == 2 { [INFO] [stdout] 972 | let mut args_iter = args.args.iter(); [INFO] [stdout] ... [INFO] [stdout] 994 | return Ok((output_type, error_type)); [INFO] [stdout] 995 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | / if let Some(ctx) = ctx_ident { [INFO] [stdout] 472 | | if param.name == *ctx { [INFO] [stdout] 473 | | return quote! { #ctx }; [INFO] [stdout] 474 | | } [INFO] [stdout] 475 | | } [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] 471 ~ if let Some(ctx) = ctx_ident [INFO] [stdout] 472 ~ && param.name == *ctx { [INFO] [stdout] 473 | return quote! { #ctx }; [INFO] [stdout] 474 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:477:17 [INFO] [stdout] | [INFO] [stdout] 477 | / if let Some(data_name) = data_param_name { [INFO] [stdout] 478 | | if param.name == *data_name { [INFO] [stdout] 479 | | if let Some(ref data_expr) = auto_apply_data_expr { [INFO] [stdout] 480 | | return data_expr.clone(); [INFO] [stdout] ... | [INFO] [stdout] 483 | | } [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] 477 ~ if let Some(data_name) = data_param_name [INFO] [stdout] 478 ~ && param.name == *data_name { [INFO] [stdout] 479 | if let Some(ref data_expr) = auto_apply_data_expr { [INFO] [stdout] 480 | return data_expr.clone(); [INFO] [stdout] 481 | } [INFO] [stdout] 482 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:478:21 [INFO] [stdout] | [INFO] [stdout] 478 | / if param.name == *data_name { [INFO] [stdout] 479 | | if let Some(ref data_expr) = auto_apply_data_expr { [INFO] [stdout] 480 | | return data_expr.clone(); [INFO] [stdout] 481 | | } [INFO] [stdout] 482 | | } [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] 478 ~ if param.name == *data_name [INFO] [stdout] 479 ~ && let Some(ref data_expr) = auto_apply_data_expr { [INFO] [stdout] 480 | return data_expr.clone(); [INFO] [stdout] 481 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | / if !is_auto_apply { [INFO] [stdout] 564 | | if let (Some(ctx_ident), Some(data_ty), Some(err_ty)) = ( [INFO] [stdout] 565 | | context_ident.as_ref(), [INFO] [stdout] 566 | | context_data_ty.as_ref(), [INFO] [stdout] ... | [INFO] [stdout] 571 | | } [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] 563 ~ if !is_auto_apply [INFO] [stdout] 564 ~ && let (Some(ctx_ident), Some(data_ty), Some(err_ty)) = ( [INFO] [stdout] 565 | context_ident.as_ref(), [INFO] [stdout] ... [INFO] [stdout] 569 | prelude.push(quote! { let #ctx_ident = ::dioxus_provider::mutation::MutationContext::<'static, #data_ty, #err_ty>::new(None); }); [INFO] [stdout] 570 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:770:5 [INFO] [stdout] | [INFO] [stdout] 770 | / if let Type::Path(type_path) = ty { [INFO] [stdout] 771 | | if let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 772 | | if segment.ident == "MutationContext" { [INFO] [stdout] 773 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] ... | [INFO] [stdout] 789 | | } [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] 770 ~ if let Type::Path(type_path) = ty [INFO] [stdout] 771 ~ && let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 772 | if segment.ident == "MutationContext" { [INFO] [stdout] ... [INFO] [stdout] 787 | } [INFO] [stdout] 788 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:771:9 [INFO] [stdout] | [INFO] [stdout] 771 | / if let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 772 | | if segment.ident == "MutationContext" { [INFO] [stdout] 773 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 774 | | if args.args.len() == 2 { [INFO] [stdout] ... | [INFO] [stdout] 788 | | } [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] 771 ~ if let Some(segment) = type_path.path.segments.last() [INFO] [stdout] 772 ~ && segment.ident == "MutationContext" { [INFO] [stdout] 773 | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] ... [INFO] [stdout] 786 | } [INFO] [stdout] 787 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:772:13 [INFO] [stdout] | [INFO] [stdout] 772 | / if segment.ident == "MutationContext" { [INFO] [stdout] 773 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 774 | | if args.args.len() == 2 { [INFO] [stdout] 775 | | let mut iter = args.args.iter(); [INFO] [stdout] ... | [INFO] [stdout] 787 | | } [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] 772 ~ if segment.ident == "MutationContext" [INFO] [stdout] 773 ~ && let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 774 | if args.args.len() == 2 { [INFO] [stdout] ... [INFO] [stdout] 785 | } [INFO] [stdout] 786 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:773:17 [INFO] [stdout] | [INFO] [stdout] 773 | / if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 774 | | if args.args.len() == 2 { [INFO] [stdout] 775 | | let mut iter = args.args.iter(); [INFO] [stdout] 776 | | let data_ty = match iter.next()? { [INFO] [stdout] ... | [INFO] [stdout] 786 | | } [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] 773 ~ if let syn::PathArguments::AngleBracketed(args) = &segment.arguments [INFO] [stdout] 774 ~ && args.args.len() == 2 { [INFO] [stdout] 775 | let mut iter = args.args.iter(); [INFO] [stdout] ... [INFO] [stdout] 784 | return Some((data_ty, error_ty)); [INFO] [stdout] 785 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:850:9 [INFO] [stdout] | [INFO] [stdout] 850 | / if let Some(last_param) = input_params.last() { [INFO] [stdout] 851 | | if types_equal(&last_param.ty, output_type) { [INFO] [stdout] 852 | | data_param = input_params.pop(); [INFO] [stdout] 853 | | } [INFO] [stdout] 854 | | } [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] 850 ~ if let Some(last_param) = input_params.last() [INFO] [stdout] 851 ~ && types_equal(&last_param.ty, output_type) { [INFO] [stdout] 852 | data_param = input_params.pop(); [INFO] [stdout] 853 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:967:13 [INFO] [stdout] | [INFO] [stdout] 967 | / if let Type::Path(type_path) = &**ty { [INFO] [stdout] 968 | | if let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 969 | | if segment.ident == "Result" { [INFO] [stdout] 970 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] ... | [INFO] [stdout] 999 | | } [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] 967 ~ if let Type::Path(type_path) = &**ty [INFO] [stdout] 968 ~ && let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 969 | if segment.ident == "Result" { [INFO] [stdout] ... [INFO] [stdout] 997 | } [INFO] [stdout] 998 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:968:17 [INFO] [stdout] | [INFO] [stdout] 968 | / if let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 969 | | if segment.ident == "Result" { [INFO] [stdout] 970 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 971 | | if args.args.len() == 2 { [INFO] [stdout] ... | [INFO] [stdout] 998 | | } [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] 968 ~ if let Some(segment) = type_path.path.segments.last() [INFO] [stdout] 969 ~ && segment.ident == "Result" { [INFO] [stdout] 970 | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] ... [INFO] [stdout] 996 | } [INFO] [stdout] 997 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:969:21 [INFO] [stdout] | [INFO] [stdout] 969 | / if segment.ident == "Result" { [INFO] [stdout] 970 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 971 | | if args.args.len() == 2 { [INFO] [stdout] 972 | | let mut args_iter = args.args.iter(); [INFO] [stdout] ... | [INFO] [stdout] 997 | | } [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] 969 ~ if segment.ident == "Result" [INFO] [stdout] 970 ~ && let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 971 | if args.args.len() == 2 { [INFO] [stdout] ... [INFO] [stdout] 995 | } [INFO] [stdout] 996 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:970:25 [INFO] [stdout] | [INFO] [stdout] 970 | / if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 971 | | if args.args.len() == 2 { [INFO] [stdout] 972 | | let mut args_iter = args.args.iter(); [INFO] [stdout] ... | [INFO] [stdout] 996 | | } [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] 970 ~ if let syn::PathArguments::AngleBracketed(args) = &segment.arguments [INFO] [stdout] 971 ~ && args.args.len() == 2 { [INFO] [stdout] 972 | let mut args_iter = args.args.iter(); [INFO] [stdout] ... [INFO] [stdout] 994 | return Ok((output_type, error_type)); [INFO] [stdout] 995 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:471:17 [INFO] [stdout] | [INFO] [stdout] 471 | / if let Some(ctx) = ctx_ident { [INFO] [stdout] 472 | | if param.name == *ctx { [INFO] [stdout] 473 | | return quote! { #ctx }; [INFO] [stdout] 474 | | } [INFO] [stdout] 475 | | } [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] 471 ~ if let Some(ctx) = ctx_ident [INFO] [stdout] 472 ~ && param.name == *ctx { [INFO] [stdout] 473 | return quote! { #ctx }; [INFO] [stdout] 474 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:477:17 [INFO] [stdout] | [INFO] [stdout] 477 | / if let Some(data_name) = data_param_name { [INFO] [stdout] 478 | | if param.name == *data_name { [INFO] [stdout] 479 | | if let Some(ref data_expr) = auto_apply_data_expr { [INFO] [stdout] 480 | | return data_expr.clone(); [INFO] [stdout] ... | [INFO] [stdout] 483 | | } [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] 477 ~ if let Some(data_name) = data_param_name [INFO] [stdout] 478 ~ && param.name == *data_name { [INFO] [stdout] 479 | if let Some(ref data_expr) = auto_apply_data_expr { [INFO] [stdout] 480 | return data_expr.clone(); [INFO] [stdout] 481 | } [INFO] [stdout] 482 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:478:21 [INFO] [stdout] | [INFO] [stdout] 478 | / if param.name == *data_name { [INFO] [stdout] 479 | | if let Some(ref data_expr) = auto_apply_data_expr { [INFO] [stdout] 480 | | return data_expr.clone(); [INFO] [stdout] 481 | | } [INFO] [stdout] 482 | | } [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] 478 ~ if param.name == *data_name [INFO] [stdout] 479 ~ && let Some(ref data_expr) = auto_apply_data_expr { [INFO] [stdout] 480 | return data_expr.clone(); [INFO] [stdout] 481 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:563:9 [INFO] [stdout] | [INFO] [stdout] 563 | / if !is_auto_apply { [INFO] [stdout] 564 | | if let (Some(ctx_ident), Some(data_ty), Some(err_ty)) = ( [INFO] [stdout] 565 | | context_ident.as_ref(), [INFO] [stdout] 566 | | context_data_ty.as_ref(), [INFO] [stdout] ... | [INFO] [stdout] 571 | | } [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] 563 ~ if !is_auto_apply [INFO] [stdout] 564 ~ && let (Some(ctx_ident), Some(data_ty), Some(err_ty)) = ( [INFO] [stdout] 565 | context_ident.as_ref(), [INFO] [stdout] ... [INFO] [stdout] 569 | prelude.push(quote! { let #ctx_ident = ::dioxus_provider::mutation::MutationContext::<'static, #data_ty, #err_ty>::new(None); }); [INFO] [stdout] 570 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:770:5 [INFO] [stdout] | [INFO] [stdout] 770 | / if let Type::Path(type_path) = ty { [INFO] [stdout] 771 | | if let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 772 | | if segment.ident == "MutationContext" { [INFO] [stdout] 773 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] ... | [INFO] [stdout] 789 | | } [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] 770 ~ if let Type::Path(type_path) = ty [INFO] [stdout] 771 ~ && let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 772 | if segment.ident == "MutationContext" { [INFO] [stdout] ... [INFO] [stdout] 787 | } [INFO] [stdout] 788 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:771:9 [INFO] [stdout] | [INFO] [stdout] 771 | / if let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 772 | | if segment.ident == "MutationContext" { [INFO] [stdout] 773 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 774 | | if args.args.len() == 2 { [INFO] [stdout] ... | [INFO] [stdout] 788 | | } [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] 771 ~ if let Some(segment) = type_path.path.segments.last() [INFO] [stdout] 772 ~ && segment.ident == "MutationContext" { [INFO] [stdout] 773 | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] ... [INFO] [stdout] 786 | } [INFO] [stdout] 787 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:772:13 [INFO] [stdout] | [INFO] [stdout] 772 | / if segment.ident == "MutationContext" { [INFO] [stdout] 773 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 774 | | if args.args.len() == 2 { [INFO] [stdout] 775 | | let mut iter = args.args.iter(); [INFO] [stdout] ... | [INFO] [stdout] 787 | | } [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] 772 ~ if segment.ident == "MutationContext" [INFO] [stdout] 773 ~ && let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 774 | if args.args.len() == 2 { [INFO] [stdout] ... [INFO] [stdout] 785 | } [INFO] [stdout] 786 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:773:17 [INFO] [stdout] | [INFO] [stdout] 773 | / if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 774 | | if args.args.len() == 2 { [INFO] [stdout] 775 | | let mut iter = args.args.iter(); [INFO] [stdout] 776 | | let data_ty = match iter.next()? { [INFO] [stdout] ... | [INFO] [stdout] 786 | | } [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] 773 ~ if let syn::PathArguments::AngleBracketed(args) = &segment.arguments [INFO] [stdout] 774 ~ && args.args.len() == 2 { [INFO] [stdout] 775 | let mut iter = args.args.iter(); [INFO] [stdout] ... [INFO] [stdout] 784 | return Some((data_ty, error_ty)); [INFO] [stdout] 785 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:850:9 [INFO] [stdout] | [INFO] [stdout] 850 | / if let Some(last_param) = input_params.last() { [INFO] [stdout] 851 | | if types_equal(&last_param.ty, output_type) { [INFO] [stdout] 852 | | data_param = input_params.pop(); [INFO] [stdout] 853 | | } [INFO] [stdout] 854 | | } [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] 850 ~ if let Some(last_param) = input_params.last() [INFO] [stdout] 851 ~ && types_equal(&last_param.ty, output_type) { [INFO] [stdout] 852 | data_param = input_params.pop(); [INFO] [stdout] 853 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:967:13 [INFO] [stdout] | [INFO] [stdout] 967 | / if let Type::Path(type_path) = &**ty { [INFO] [stdout] 968 | | if let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 969 | | if segment.ident == "Result" { [INFO] [stdout] 970 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] ... | [INFO] [stdout] 999 | | } [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] 967 ~ if let Type::Path(type_path) = &**ty [INFO] [stdout] 968 ~ && let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 969 | if segment.ident == "Result" { [INFO] [stdout] ... [INFO] [stdout] 997 | } [INFO] [stdout] 998 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:968:17 [INFO] [stdout] | [INFO] [stdout] 968 | / if let Some(segment) = type_path.path.segments.last() { [INFO] [stdout] 969 | | if segment.ident == "Result" { [INFO] [stdout] 970 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 971 | | if args.args.len() == 2 { [INFO] [stdout] ... | [INFO] [stdout] 998 | | } [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] 968 ~ if let Some(segment) = type_path.path.segments.last() [INFO] [stdout] 969 ~ && segment.ident == "Result" { [INFO] [stdout] 970 | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] ... [INFO] [stdout] 996 | } [INFO] [stdout] 997 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:969:21 [INFO] [stdout] | [INFO] [stdout] 969 | / if segment.ident == "Result" { [INFO] [stdout] 970 | | if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 971 | | if args.args.len() == 2 { [INFO] [stdout] 972 | | let mut args_iter = args.args.iter(); [INFO] [stdout] ... | [INFO] [stdout] 997 | | } [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] 969 ~ if segment.ident == "Result" [INFO] [stdout] 970 ~ && let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 971 | if args.args.len() == 2 { [INFO] [stdout] ... [INFO] [stdout] 995 | } [INFO] [stdout] 996 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> dioxus-provider-macros/src/lib.rs:970:25 [INFO] [stdout] | [INFO] [stdout] 970 | / if let syn::PathArguments::AngleBracketed(args) = &segment.arguments { [INFO] [stdout] 971 | | if args.args.len() == 2 { [INFO] [stdout] 972 | | let mut args_iter = args.args.iter(); [INFO] [stdout] ... | [INFO] [stdout] 996 | | } [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] 970 ~ if let syn::PathArguments::AngleBracketed(args) = &segment.arguments [INFO] [stdout] 971 ~ && args.args.len() == 2 { [INFO] [stdout] 972 | let mut args_iter = args.args.iter(); [INFO] [stdout] ... [INFO] [stdout] 994 | return Ok((output_type, error_type)); [INFO] [stdout] 995 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking sledgehammer_bindgen v0.6.0 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking wayland-protocols v0.32.9 [INFO] [stderr] Checking dioxus-logger v0.7.1 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling enumset_derive v0.14.0 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling zvariant_utils v3.2.1 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling const-serialize v0.7.1 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking subsecond-types v0.7.1 [INFO] [stderr] Checking uuid v1.18.1 [INFO] [stderr] Checking keyboard-types v0.7.0 [INFO] [stderr] Checking euclid v0.22.11 [INFO] [stderr] Checking subsecond v0.7.1 [INFO] [stderr] Compiling manganis-core v0.7.1 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling zvariant_derive v5.8.0 [INFO] [stderr] Checking cfb v0.7.3 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking dioxus-core v0.7.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling manganis-macro v0.7.1 [INFO] [stderr] Compiling zvariant v5.8.0 [INFO] [stderr] Checking enumset v1.1.10 [INFO] [stderr] Checking infer v0.19.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking tungstenite v0.27.0 [INFO] [stderr] Checking manganis v0.7.1 [INFO] [stderr] Checking global-hotkey v0.7.0 [INFO] [stderr] Checking webbrowser v1.0.6 [INFO] [stderr] Checking dioxus-signals v0.7.1 [INFO] [stderr] Checking dioxus-devtools-types v0.7.1 [INFO] [stderr] Checking dioxus-history v0.7.1 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling toml v0.8.2 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling gtk3-macros v0.18.2 [INFO] [stderr] Compiling system-deps v6.2.2 [INFO] [stderr] Checking dioxus-hooks v0.7.1 [INFO] [stderr] Checking dioxus-devtools v0.7.1 [INFO] [stderr] Checking dioxus-stores v0.7.1 [INFO] [stderr] Compiling glib-macros v0.18.5 [INFO] [stderr] Checking dioxus-html v0.7.1 [INFO] [stderr] Compiling glib-sys v0.18.1 [INFO] [stderr] Compiling gobject-sys v0.18.0 [INFO] [stderr] Compiling gio-sys v0.18.1 [INFO] [stderr] Compiling gdk-sys v0.18.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.18.0 [INFO] [stderr] Compiling cairo-sys-rs v0.18.2 [INFO] [stderr] Compiling pango-sys v0.18.0 [INFO] [stderr] Compiling atk-sys v0.18.2 [INFO] [stderr] Compiling gtk-sys v0.18.2 [INFO] [stderr] Compiling javascriptcore-rs-sys v1.1.1 [INFO] [stderr] Compiling soup3-sys v0.5.0 [INFO] [stderr] Compiling webkit2gtk-sys v2.0.1 [INFO] [stderr] Compiling gdkx11-sys v0.18.2 [INFO] [stderr] Compiling zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_macros v5.12.0 [INFO] [stderr] Checking dioxus-asset-resolver v0.7.1 [INFO] [stderr] Checking glib v0.18.5 [INFO] [stderr] Checking gdkwayland-sys v0.18.2 [INFO] [stderr] Checking zbus v5.12.0 [INFO] [stderr] Checking libappindicator-sys v0.9.0 [INFO] [stderr] Checking ashpd v0.11.0 [INFO] [stderr] Checking cairo-rs v0.18.5 [INFO] [stderr] Checking atk v0.18.2 [INFO] [stderr] Checking javascriptcore-rs v1.1.2 [INFO] [stderr] Checking pango v0.18.3 [INFO] [stderr] Checking gdk-pixbuf v0.18.5 [INFO] [stderr] Checking soup3 v0.5.0 [INFO] [stderr] Checking gdk v0.18.2 [INFO] [stderr] Checking muda v0.17.1 [INFO] [stderr] Checking libappindicator v0.9.0 [INFO] [stderr] Checking webkit2gtk v2.0.1 [INFO] [stderr] Checking tao v0.34.5 [INFO] [stderr] Checking tray-icon v0.21.2 [INFO] [stderr] Checking dioxus v0.7.1 [INFO] [stderr] Checking dioxus-provider v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `global::init_global_providers`: Use init() or ProviderConfig::new().init() instead [INFO] [stdout] --> src/global.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | init_global_providers().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `injection::init_dependency_injection`: Use init() or ProviderConfig::new().with_dependency_injection().init() instead [INFO] [stdout] --> src/injection.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | init_dependency_injection(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `injection::init_dependency_injection`: Use init() or ProviderConfig::new().with_dependency_injection().init() instead [INFO] [stdout] --> src/injection.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | init_dependency_injection(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `injection::init_dependency_injection`: Use init() or ProviderConfig::new().with_dependency_injection().init() instead [INFO] [stdout] --> src/injection.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | init_dependency_injection(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/cache.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | / if let Some(exp_duration) = options.expiration { [INFO] [stdout] 323 | | if entry.is_expired(exp_duration) { [INFO] [stdout] 324 | | drop(cache_guard); [INFO] [stdout] ... | [INFO] [stdout] 335 | | } [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] 322 ~ if let Some(exp_duration) = options.expiration [INFO] [stdout] 323 ~ && entry.is_expired(exp_duration) { [INFO] [stdout] 324 | drop(cache_guard); [INFO] [stdout] ... [INFO] [stdout] 333 | return None; [INFO] [stdout] 334 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/cache.rs:322:9 [INFO] [stdout] | [INFO] [stdout] 322 | / if let Some(exp_duration) = options.expiration { [INFO] [stdout] 323 | | if entry.is_expired(exp_duration) { [INFO] [stdout] 324 | | drop(cache_guard); [INFO] [stdout] ... | [INFO] [stdout] 335 | | } [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] 322 ~ if let Some(exp_duration) = options.expiration [INFO] [stdout] 323 ~ && entry.is_expired(exp_duration) { [INFO] [stdout] 324 | drop(cache_guard); [INFO] [stdout] ... [INFO] [stdout] 333 | return None; [INFO] [stdout] 334 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/hooks/internal/tasks.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | / if let Ok(mut cache_lock) = cache_clone.cache.lock() { [INFO] [stdout] 123 | | if let Some(entry) = cache_lock.get(&cache_key_clone) { [INFO] [stdout] 124 | | if entry.is_expired(expiration) { [INFO] [stdout] 125 | | crate::debug_log!( [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [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] 122 ~ if let Ok(mut cache_lock) = cache_clone.cache.lock() [INFO] [stdout] 123 ~ && let Some(entry) = cache_lock.get(&cache_key_clone) { [INFO] [stdout] 124 | if entry.is_expired(expiration) { [INFO] [stdout] ... [INFO] [stdout] 134 | } [INFO] [stdout] 135 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/hooks/internal/tasks.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | / if let Some(entry) = cache_lock.get(&cache_key_clone) { [INFO] [stdout] 124 | | if entry.is_expired(expiration) { [INFO] [stdout] 125 | | crate::debug_log!( [INFO] [stdout] 126 | | "🗑️ [AUTO-EXPIRATION] Cache expired for key: {} - triggering reactive refresh", [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [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] 123 ~ if let Some(entry) = cache_lock.get(&cache_key_clone) [INFO] [stdout] 124 ~ && entry.is_expired(expiration) { [INFO] [stdout] 125 | crate::debug_log!( [INFO] [stdout] ... [INFO] [stdout] 133 | refresh_registry_clone.trigger_refresh(&cache_key_clone); [INFO] [stdout] 134 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/hooks/internal/tasks.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | / if let Ok(mut cache_lock) = cache_clone.cache.lock() { [INFO] [stdout] 123 | | if let Some(entry) = cache_lock.get(&cache_key_clone) { [INFO] [stdout] 124 | | if entry.is_expired(expiration) { [INFO] [stdout] 125 | | crate::debug_log!( [INFO] [stdout] ... | [INFO] [stdout] 136 | | } [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] 122 ~ if let Ok(mut cache_lock) = cache_clone.cache.lock() [INFO] [stdout] 123 ~ && let Some(entry) = cache_lock.get(&cache_key_clone) { [INFO] [stdout] 124 | if entry.is_expired(expiration) { [INFO] [stdout] ... [INFO] [stdout] 134 | } [INFO] [stdout] 135 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/hooks/internal/tasks.rs:123:21 [INFO] [stdout] | [INFO] [stdout] 123 | / if let Some(entry) = cache_lock.get(&cache_key_clone) { [INFO] [stdout] 124 | | if entry.is_expired(expiration) { [INFO] [stdout] 125 | | crate::debug_log!( [INFO] [stdout] 126 | | "🗑️ [AUTO-EXPIRATION] Cache expired for key: {} - triggering reactive refresh", [INFO] [stdout] ... | [INFO] [stdout] 135 | | } [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] 123 ~ if let Some(entry) = cache_lock.get(&cache_key_clone) [INFO] [stdout] 124 ~ && entry.is_expired(expiration) { [INFO] [stdout] 125 | crate::debug_log!( [INFO] [stdout] ... [INFO] [stdout] 133 | refresh_registry_clone.trigger_refresh(&cache_key_clone); [INFO] [stdout] 134 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `ok` [INFO] [stdout] --> src/mutation.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / match self.current? { [INFO] [stdout] 120 | | Ok(data) => Some(data), [INFO] [stdout] 121 | | Err(_) => None, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_________^ help: replace with: `self.current?.as_ref().ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_ok_err [INFO] [stdout] = note: `#[warn(clippy::manual_ok_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/mutation.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | ) -> Vec<(String, Result)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/mutation.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | ) -> Vec<(String, Result)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `ok` [INFO] [stdout] --> src/mutation.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | / match self.current? { [INFO] [stdout] 120 | | Ok(data) => Some(data), [INFO] [stdout] 121 | | Err(_) => None, [INFO] [stdout] 122 | | } [INFO] [stdout] | |_________^ help: replace with: `self.current?.as_ref().ok()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_ok_err [INFO] [stdout] = note: `#[warn(clippy::manual_ok_err)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/mutation.rs:279:10 [INFO] [stdout] | [INFO] [stdout] 279 | ) -> Vec<(String, Result)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] = note: `#[warn(clippy::type_complexity)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: very complex type used. Consider factoring parts into `type` definitions [INFO] [stdout] --> src/mutation.rs:296:10 [INFO] [stdout] | [INFO] [stdout] 296 | ) -> Vec<(String, Result)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/refresh.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / if let Ok(contexts) = self.reactive_contexts.lock() { [INFO] [stdout] 121 | | if let Some(key_contexts) = contexts.get(key) { [INFO] [stdout] 122 | | if let Ok(context_set) = key_contexts.lock() { [INFO] [stdout] 123 | | for reactive_context in context_set.iter() { [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [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] 120 ~ if let Ok(contexts) = self.reactive_contexts.lock() [INFO] [stdout] 121 ~ && let Some(key_contexts) = contexts.get(key) { [INFO] [stdout] 122 | if let Ok(context_set) = key_contexts.lock() { [INFO] [stdout] ... [INFO] [stdout] 126 | } [INFO] [stdout] 127 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/refresh.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | / if let Some(key_contexts) = contexts.get(key) { [INFO] [stdout] 122 | | if let Ok(context_set) = key_contexts.lock() { [INFO] [stdout] 123 | | for reactive_context in context_set.iter() { [INFO] [stdout] 124 | | reactive_context.mark_dirty(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | } [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] 121 ~ if let Some(key_contexts) = contexts.get(key) [INFO] [stdout] 122 ~ && let Ok(context_set) = key_contexts.lock() { [INFO] [stdout] 123 | for reactive_context in context_set.iter() { [INFO] [stdout] 124 | reactive_context.mark_dirty(); [INFO] [stdout] 125 | } [INFO] [stdout] 126 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/refresh.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | / if let Ok(contexts) = self.reactive_contexts.lock() { [INFO] [stdout] 121 | | if let Some(key_contexts) = contexts.get(key) { [INFO] [stdout] 122 | | if let Ok(context_set) = key_contexts.lock() { [INFO] [stdout] 123 | | for reactive_context in context_set.iter() { [INFO] [stdout] ... | [INFO] [stdout] 128 | | } [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] 120 ~ if let Ok(contexts) = self.reactive_contexts.lock() [INFO] [stdout] 121 ~ && let Some(key_contexts) = contexts.get(key) { [INFO] [stdout] 122 | if let Ok(context_set) = key_contexts.lock() { [INFO] [stdout] ... [INFO] [stdout] 126 | } [INFO] [stdout] 127 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `if` statement can be collapsed [INFO] [stdout] --> src/refresh.rs:121:13 [INFO] [stdout] | [INFO] [stdout] 121 | / if let Some(key_contexts) = contexts.get(key) { [INFO] [stdout] 122 | | if let Ok(context_set) = key_contexts.lock() { [INFO] [stdout] 123 | | for reactive_context in context_set.iter() { [INFO] [stdout] 124 | | reactive_context.mark_dirty(); [INFO] [stdout] ... | [INFO] [stdout] 127 | | } [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] 121 ~ if let Some(key_contexts) = contexts.get(key) [INFO] [stdout] 122 ~ && let Ok(context_set) = key_contexts.lock() { [INFO] [stdout] 123 | for reactive_context in context_set.iter() { [INFO] [stdout] 124 | reactive_context.mark_dirty(); [INFO] [stdout] 125 | } [INFO] [stdout] 126 ~ } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> examples/cache_expiration_demo.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | if call_number % 5 == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace with: `call_number.is_multiple_of(5)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] = note: `#[warn(clippy::manual_is_multiple_of)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> examples/cache_expiration_demo.rs:127:23 [INFO] [stdout] | [INFO] [stdout] 127 | theme: if call_number % 2 == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace with: `call_number.is_multiple_of(2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> examples/cache_expiration_demo.rs:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | notifications: call_number % 3 == 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace with: `call_number.is_multiple_of(3)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> examples/swr_demo.rs:50:8 [INFO] [stdout] | [INFO] [stdout] 50 | if call_number % 7 == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace with: `call_number.is_multiple_of(7)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] = note: `#[warn(clippy::manual_is_multiple_of)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> examples/swr_demo.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | status: if call_number % 3 == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace with: `call_number.is_multiple_of(3)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> examples/comprehensive_demo.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | if call_number % 8 == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace with: `call_number.is_multiple_of(8)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] = note: `#[warn(clippy::manual_is_multiple_of)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> examples/comprehensive_demo.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | theme: if call_number % 2 == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace with: `call_number.is_multiple_of(2)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> examples/comprehensive_demo.rs:89:27 [INFO] [stdout] | [INFO] [stdout] 89 | auto_refresh: call_number % 3 == 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace with: `call_number.is_multiple_of(3)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: manual implementation of `.is_multiple_of()` [INFO] [stdout] --> examples/comprehensive_demo.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | notifications_enabled: call_number % 4 != 0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: replace with: `!call_number.is_multiple_of(4)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_is_multiple_of [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 37s [INFO] running `Command { std: "docker" "inspect" "4ca14dc1b3452bab1b41f9e39a726e768fa10775face809901a4018d88aa95d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ca14dc1b3452bab1b41f9e39a726e768fa10775face809901a4018d88aa95d0", kill_on_drop: false }` [INFO] [stdout] 4ca14dc1b3452bab1b41f9e39a726e768fa10775face809901a4018d88aa95d0