[INFO] cloning repository https://github.com/ohah/yew-blog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ohah/yew-blog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohah%2Fyew-blog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohah%2Fyew-blog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 468a234efd37205be9d05c63334f46185de45c01 [INFO] testing ohah/yew-blog against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohah%2Fyew-blog" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ohah/yew-blog on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ohah/yew-blog [INFO] finished tweaking git repo https://github.com/ohah/yew-blog [INFO] tweaked toml for git repo https://github.com/ohah/yew-blog written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ohah/yew-blog 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" "+1.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yewdux-macros v0.8.1 [INFO] [stderr] Downloaded gloo-history v0.1.0 [INFO] [stderr] Downloaded strip_markdown v0.2.0 [INFO] [stderr] Downloaded pulldown-cmark v0.7.2 [INFO] [stderr] Downloaded yewdux v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2ea3b6308e7bd254217fc76ebf0b276ac7d749e6d9db9ce737299407e6077fd7 [INFO] running `Command { std: "docker" "start" "-a" "2ea3b6308e7bd254217fc76ebf0b276ac7d749e6d9db9ce737299407e6077fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2ea3b6308e7bd254217fc76ebf0b276ac7d749e6d9db9ce737299407e6077fd7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ea3b6308e7bd254217fc76ebf0b276ac7d749e6d9db9ce737299407e6077fd7", kill_on_drop: false }` [INFO] [stdout] 2ea3b6308e7bd254217fc76ebf0b276ac7d749e6d9db9ce737299407e6077fd7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2cdd4956d1a0fa19398152690160267e10c9c71a27a5ce23281294e48e32562 [INFO] running `Command { std: "docker" "start" "-a" "b2cdd4956d1a0fa19398152690160267e10c9c71a27a5ce23281294e48e32562", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling once_cell v1.13.1 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling itoa v1.0.3 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling ryu v1.0.11 [INFO] [stderr] Compiling bumpalo v3.11.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.82 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling futures-channel v0.3.23 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling ucd-trie v0.1.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling miniz_oxide v0.5.4 [INFO] [stderr] Compiling time v0.3.14 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling pulldown-cmark v0.7.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling flate2 v1.0.24 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.19 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling futures-sink v0.3.23 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling xdg v2.4.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling route-recognizer v0.3.1 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling either v1.8.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling itertools v0.10.4 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82 [INFO] [stderr] Compiling strip_markdown v0.2.0 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling pin-project-internal v1.0.12 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling yew-router-macro v0.16.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling thiserror v1.0.32 [INFO] [stderr] Compiling pest v2.3.0 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling yewdux-macros v0.8.1 [INFO] [stderr] Compiling pin-project v1.0.12 [INFO] [stderr] Compiling pest_meta v2.3.0 [INFO] [stderr] Compiling pest_generator v2.3.0 [INFO] [stderr] Compiling pest_derive v2.3.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling plist v1.3.1 [INFO] [stderr] Compiling syntect v4.6.0 [INFO] [stderr] Compiling js-sys v0.3.59 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling comrak v0.14.0 [INFO] [stderr] Compiling web-sys v0.3.59 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.32 [INFO] [stderr] Compiling gloo-timers v0.2.4 [INFO] [stderr] Compiling serde-wasm-bindgen v0.3.1 [INFO] [stderr] Compiling gloo-utils v0.1.5 [INFO] [stderr] Compiling gloo-events v0.1.2 [INFO] [stderr] Compiling gloo-console v0.2.1 [INFO] [stderr] Compiling gloo-dialogs v0.1.1 [INFO] [stderr] Compiling gloo-render v0.1.1 [INFO] [stderr] Compiling wasm-logger v0.2.0 [INFO] [stderr] Compiling gloo-storage v0.2.1 [INFO] [stderr] Compiling gloo-worker v0.2.1 [INFO] [stderr] Compiling gloo-file v0.2.3 [INFO] [stderr] Compiling gloo-history v0.1.0 [INFO] [stderr] Compiling gloo-net v0.2.4 [INFO] [stderr] Compiling gloo v0.4.2 [INFO] [stderr] Compiling yew v0.19.3 [INFO] [stderr] Compiling gloo v0.8.0 [INFO] [stderr] Compiling yew-router v0.16.0 [INFO] [stderr] Compiling yewdux v0.8.1 [INFO] [stderr] Compiling blog v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/components/header.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::{Event, MouseEvent, FocusEvent, HtmlInputElement}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `history` [INFO] [stdout] --> src/components/header.rs:3:104 [INFO] [stdout] | [INFO] [stdout] 3 | use yew_router::{components::Link, prelude::{use_history, History, use_location, Location, use_route}, history}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComrakPlugins`, `markdown_to_html_with_plugins`, and `plugins::syntect::SyntectAdapter` [INFO] [stdout] --> src/components/../pages/blog/view.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use comrak::{markdown_to_html, ComrakOptions, plugins::syntect::SyntectAdapter, markdown_to_html_with_plugins, ComrakPlugins}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `history` [INFO] [stdout] --> src/components/../pages/blog/list.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use yew_router::{history, prelude::{use_history, use_location, Location}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChildrenRenderer`, `Children`, `function_component`, `html_nested`, `use_effect_with_deps`, and `use_state` [INFO] [stdout] --> src/components/dropdown.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{ChildrenRenderer}, {events::Event}, function_component, Children, Properties, html_nested, virtual_dom::{VChild, VNode}, Html, use_state, Callback, use_effect_with_deps, C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChildrenRenderer`, `Html`, `UseStateHandle`, `VChild`, `VNode`, `create_portal`, and `html_nested` [INFO] [stdout] --> src/components/transition.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{ChildrenRenderer}, create_portal, function_component, Children, Properties, html_nested, virtual_dom::{VChild, VNode}, Html, use_state, Callback, UseStateHandle, u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComrakPlugins`, `markdown_to_html_with_plugins`, and `plugins::syntect::SyntectAdapter` [INFO] [stdout] --> src/router/../pages/blog/view.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use comrak::{markdown_to_html, ComrakOptions, plugins::syntect::SyntectAdapter, markdown_to_html_with_plugins, ComrakPlugins}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `history` [INFO] [stdout] --> src/router/../pages/blog/list.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use yew_router::{history, prelude::{use_history, use_location, Location}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/components/../pages/blog/list.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | let history = use_history().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/components/../pages/blog/list.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/components/../pages/blog/list.rs:108:85 [INFO] [stdout] | [INFO] [stdout] 108 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 0 ).map(|(i, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/components/../pages/blog/list.rs:118:85 [INFO] [stdout] | [INFO] [stdout] 118 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 1 ).map(|(i, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/components/../pages/blog/list.rs:128:85 [INFO] [stdout] | [INFO] [stdout] 128 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 2 ).map(|(i, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/components/../pages/blog/my_list.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | use_effect_with_deps(move |page| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/components/header.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alert` [INFO] [stdout] --> src/components/header.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | let alert = { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/components/header.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let route = route.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/components/header.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/card.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_at` [INFO] [stdout] --> src/components/list_card.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | let updated_at = updated_at.clone().unwrap_or("-".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/components/list_card.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn list_card(Datas {category,content,id, title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&Datas) -> Html { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `content: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/components/list_card.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn list_card(Datas {category,content,id, title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&Datas) -> Html { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/components/list_card.rs:29:113 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn list_card(Datas {category,content,id, title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&Datas) -> Html { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/toast.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | Callback::from(move|value| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_rows` [INFO] [stdout] --> src/components/pagination.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn pagination(PageProps {page,total_rows, page_rows, total_page }:&PageProps) -> Html { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `total_rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_rows` [INFO] [stdout] --> src/components/pagination.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn pagination(PageProps {page,total_rows, page_rows, total_page }:&PageProps) -> Html { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `page_rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_rows` [INFO] [stdout] --> src/components/my_pagination.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn my_pagination(MyPageProps {page,total_rows, page_rows, total_page }:&MyPageProps) -> Html { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `page_rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_at` [INFO] [stdout] --> src/components/latest_card.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn latset_card(LatestProps { title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&LatestProps) -> Html { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `updated_at: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/components/latest_card.rs:25:101 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn latset_card(LatestProps { title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&LatestProps) -> Html { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/components/comment_card.rs:198:6 [INFO] [stdout] | [INFO] [stdout] 178 | reply => { [INFO] [stdout] | ----- matches any value [INFO] [stdout] ... [INFO] [stdout] 198 | _ => html! {<>} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/components/comment_card.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | let reply = reply.clone().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_id` [INFO] [stdout] --> src/components/comment_card.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn comment_card(CommentListResponse {id,wr_id,parent_id,content,avatar_url,name,created_at,updated_at,reply }:&CommentListResponse) -... [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `parent_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_at` [INFO] [stdout] --> src/components/comment_card.rs:16:96 [INFO] [stdout] | [INFO] [stdout] 16 | ..._id,content,avatar_url,name,created_at,updated_at,reply }:&CommentListResponse) -> Html { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `updated_at: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/components/comment_write.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | Callback::from(move|e:MouseEvent| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activate` [INFO] [stdout] --> src/components/comment_reply_card.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | let activate = { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_id` [INFO] [stdout] --> src/components/comment_reply_card.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn comment_reply_card(CommentListResponse {id,wr_id,parent_id,content,avatar_url,name,created_at,updated_at, reply }:&CommentListResp... [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `parent_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_at` [INFO] [stdout] --> src/components/comment_reply_card.rs:13:102 [INFO] [stdout] | [INFO] [stdout] 13 | ..._id,content,avatar_url,name,created_at,updated_at, reply }:&CommentListResponse) -> Html { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `updated_at: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> src/components/comment_reply_card.rs:13:114 [INFO] [stdout] | [INFO] [stdout] 13 | ...tent,avatar_url,name,created_at,updated_at, reply }:&CommentListResponse) -> Html { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `reply: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_box` [INFO] [stdout] --> src/components/tag_input.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | let input_box = input_box.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/dropdown.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/components/dropdown.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | ctx.link().callback(move|e:Event| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/dropdown.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | fn changed(&mut self, ctx: &Context) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/dropdown.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | let mut props = Rc::make_mut(&mut item.props); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/dropdown.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | fn rendered(&mut self, ctx: &Context, first_render: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/dropdown.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | fn destroy(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `toggle_click` [INFO] [stdout] --> src/components/transition.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | let toggle_click = { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toggle_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/router/../pages/blog/list.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | let history = use_history().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/router/../pages/blog/list.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/router/../pages/blog/list.rs:108:85 [INFO] [stdout] | [INFO] [stdout] 108 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 0 ).map(|(i, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/router/../pages/blog/list.rs:118:85 [INFO] [stdout] | [INFO] [stdout] 118 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 1 ).map(|(i, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/router/../pages/blog/list.rs:128:85 [INFO] [stdout] | [INFO] [stdout] 128 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 2 ).map(|(i, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/router/../pages/blog/my_list.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | use_effect_with_deps(move |page| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/store/github_auth.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/store/blog.rs:46:57 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn write(payload:WritePayload, history:AnyHistory, route:RootRoute) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/store/blog.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn remove(payload:DeletePayload, history:AnyHistory, route:RootRoute) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/store/toast.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let index = children.clone().iter().position(|x| *x.key == key).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/store/toast.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut children = state.clone().children; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `member` is never read [INFO] [stdout] --> src/components/../pages/blog/write.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Data { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub member:String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/components/../pages/blog/write.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Properties, PartialEq, Clone)] [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | pub struct WriteProps { [INFO] [stdout] 35 | pub id:Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove` is never used [INFO] [stdout] --> src/components/tag_input.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | fn remove (tag:UseStateHandle>, index:usize, handle_onchange:Callback) -> Callback { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Attr` is never used [INFO] [stdout] --> src/components/dropdown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Attr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/components/dropdown.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | impl Attr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 24 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Parent` is never used [INFO] [stdout] --> src/components/dropdown.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | pub type Parent = usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Button` is never used [INFO] [stdout] --> src/components/dropdown.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | pub type Button = u8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Body` is never used [INFO] [stdout] --> src/components/dropdown.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | pub type Body = u16; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_of` is never used [INFO] [stdout] --> src/components/dropdown.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn type_of(_: T) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `member` is never read [INFO] [stdout] --> src/router/../pages/blog/write.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Data { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub member:String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/router/../pages/blog/write.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Properties, PartialEq, Clone)] [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | pub struct WriteProps { [INFO] [stdout] 35 | pub id:Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dark` and `Light` are never constructed [INFO] [stdout] --> src/store/theme.rs:59:2 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum ThemeConfig { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 59 | Dark, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INFO` is never constructed [INFO] [stdout] --> src/store/toast.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ToastStatus { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | INFO, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToastStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_remove` is never used [INFO] [stdout] --> src/store/toast.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 24 | impl ToastMessage { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn message_remove(&self, key:String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/components/header.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | history.push_with_query(RootRoute::List { page: 1.to_string() }, SearchQuery {query: value.clone()}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = history.push_with_query(RootRoute::List { page: 1.to_string() }, SearchQuery {query: value.clone()}); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/components/kanban_card.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | let ctx = ctx.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `yew::Context` does not implement `Clone`, so calling `clone` on `&yew::Context` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 35 - let ctx = ctx.clone(); [INFO] [stdout] 35 + let ctx = ctx; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `yew::Context`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yew-0.19.3/src/html/component/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub struct Context { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/components/transition.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let leave_ms = leave_ms.clone().to_string().parse::().unwrap_or(300); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/components/transition.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | Some(enter_from.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/components/transition.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | Some(enter_to.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/components/transition.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | Some(leave_from.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/components/transition.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | Some(leave_to.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/components/transition.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | Some(enter.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/components/transition.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | Some(leave.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b2cdd4956d1a0fa19398152690160267e10c9c71a27a5ce23281294e48e32562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2cdd4956d1a0fa19398152690160267e10c9c71a27a5ce23281294e48e32562", kill_on_drop: false }` [INFO] [stdout] b2cdd4956d1a0fa19398152690160267e10c9c71a27a5ce23281294e48e32562 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f23281fc468b54434b92c771c88dbe329fb064b77d51bb6b65658bcd0e4bc25 [INFO] running `Command { std: "docker" "start" "-a" "6f23281fc468b54434b92c771c88dbe329fb064b77d51bb6b65658bcd0e4bc25", kill_on_drop: false }` [INFO] [stderr] Compiling blog v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/components/header.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::{Event, MouseEvent, FocusEvent, HtmlInputElement}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `history` [INFO] [stdout] --> src/components/header.rs:3:104 [INFO] [stdout] | [INFO] [stdout] 3 | use yew_router::{components::Link, prelude::{use_history, History, use_location, Location, use_route}, history}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComrakPlugins`, `markdown_to_html_with_plugins`, and `plugins::syntect::SyntectAdapter` [INFO] [stdout] --> src/components/../pages/blog/view.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use comrak::{markdown_to_html, ComrakOptions, plugins::syntect::SyntectAdapter, markdown_to_html_with_plugins, ComrakPlugins}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `history` [INFO] [stdout] --> src/components/../pages/blog/list.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use yew_router::{history, prelude::{use_history, use_location, Location}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChildrenRenderer`, `Children`, `function_component`, `html_nested`, `use_effect_with_deps`, and `use_state` [INFO] [stdout] --> src/components/dropdown.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | ...::{ChildrenRenderer}, {events::Event}, function_component, Children, Properties, html_nested, virtual_dom::{VChild, VNode}, Html, use_state, Callback, use_effect_with_deps, C... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChildrenRenderer`, `Html`, `UseStateHandle`, `VChild`, `VNode`, `create_portal`, and `html_nested` [INFO] [stdout] --> src/components/transition.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | ...::{ChildrenRenderer}, create_portal, function_component, Children, Properties, html_nested, virtual_dom::{VChild, VNode}, Html, use_state, Callback, UseStateHandle, u... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComrakPlugins`, `markdown_to_html_with_plugins`, and `plugins::syntect::SyntectAdapter` [INFO] [stdout] --> src/router/../pages/blog/view.rs:5:47 [INFO] [stdout] | [INFO] [stdout] 5 | use comrak::{markdown_to_html, ComrakOptions, plugins::syntect::SyntectAdapter, markdown_to_html_with_plugins, ComrakPlugins}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `history` [INFO] [stdout] --> src/router/../pages/blog/list.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use yew_router::{history, prelude::{use_history, use_location, Location}}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/components/../pages/blog/list.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | let history = use_history().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/components/../pages/blog/list.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/components/../pages/blog/list.rs:108:85 [INFO] [stdout] | [INFO] [stdout] 108 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 0 ).map(|(i, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/components/../pages/blog/list.rs:118:85 [INFO] [stdout] | [INFO] [stdout] 118 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 1 ).map(|(i, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/components/../pages/blog/list.rs:128:85 [INFO] [stdout] | [INFO] [stdout] 128 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 2 ).map(|(i, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/components/../pages/blog/my_list.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | use_effect_with_deps(move |page| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/components/header.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `alert` [INFO] [stdout] --> src/components/header.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | let alert = { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alert` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/components/header.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | let route = route.clone(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/components/header.rs:112:17 [INFO] [stdout] | [INFO] [stdout] 112 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/card.rs:39:23 [INFO] [stdout] | [INFO] [stdout] 39 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_at` [INFO] [stdout] --> src/components/list_card.rs:35:6 [INFO] [stdout] | [INFO] [stdout] 35 | let updated_at = updated_at.clone().unwrap_or("-".to_string()); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/components/list_card.rs:29:34 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn list_card(Datas {category,content,id, title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&Datas) -> Html { [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `content: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/components/list_card.rs:29:42 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn list_card(Datas {category,content,id, title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&Datas) -> Html { [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/components/list_card.rs:29:113 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn list_card(Datas {category,content,id, title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&Datas) -> Html { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/toast.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | Callback::from(move|value| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `total_rows` [INFO] [stdout] --> src/components/pagination.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn pagination(PageProps {page,total_rows, page_rows, total_page }:&PageProps) -> Html { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `total_rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_rows` [INFO] [stdout] --> src/components/pagination.rs:14:47 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn pagination(PageProps {page,total_rows, page_rows, total_page }:&PageProps) -> Html { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `page_rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page_rows` [INFO] [stdout] --> src/components/my_pagination.rs:14:52 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn my_pagination(MyPageProps {page,total_rows, page_rows, total_page }:&MyPageProps) -> Html { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `page_rows: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_at` [INFO] [stdout] --> src/components/latest_card.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn latset_card(LatestProps { title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&LatestProps) -> Html { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `updated_at: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/components/latest_card.rs:25:101 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn latset_card(LatestProps { title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&LatestProps) -> Html { [INFO] [stdout] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/components/comment_card.rs:198:6 [INFO] [stdout] | [INFO] [stdout] 178 | reply => { [INFO] [stdout] | ----- matches any value [INFO] [stdout] ... [INFO] [stdout] 198 | _ => html! {<>} [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stdout] --> src/components/comment_card.rs:23:6 [INFO] [stdout] | [INFO] [stdout] 23 | let reply = reply.clone().unwrap(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_id` [INFO] [stdout] --> src/components/comment_card.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn comment_card(CommentListResponse {id,wr_id,parent_id,content,avatar_url,name,created_at,updated_at,reply }:&CommentListResponse) -... [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `parent_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_at` [INFO] [stdout] --> src/components/comment_card.rs:16:96 [INFO] [stdout] | [INFO] [stdout] 16 | ..._id,content,avatar_url,name,created_at,updated_at,reply }:&CommentListResponse) -> Html { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `updated_at: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/components/comment_write.rs:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | Callback::from(move|e:MouseEvent| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `activate` [INFO] [stdout] --> src/components/comment_reply_card.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | let activate = { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent_id` [INFO] [stdout] --> src/components/comment_reply_card.rs:13:57 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn comment_reply_card(CommentListResponse {id,wr_id,parent_id,content,avatar_url,name,created_at,updated_at, reply }:&CommentListResp... [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `parent_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `updated_at` [INFO] [stdout] --> src/components/comment_reply_card.rs:13:102 [INFO] [stdout] | [INFO] [stdout] 13 | ..._id,content,avatar_url,name,created_at,updated_at, reply }:&CommentListResponse) -> Html { [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `updated_at: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reply` [INFO] [stdout] --> src/components/comment_reply_card.rs:13:114 [INFO] [stdout] | [INFO] [stdout] 13 | ...tent,avatar_url,name,created_at,updated_at, reply }:&CommentListResponse) -> Html { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `reply: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_box` [INFO] [stdout] --> src/components/tag_input.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | let input_box = input_box.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/dropdown.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/components/dropdown.rs:126:29 [INFO] [stdout] | [INFO] [stdout] 126 | ctx.link().callback(move|e:Event| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/dropdown.rs:182:24 [INFO] [stdout] | [INFO] [stdout] 182 | fn changed(&mut self, ctx: &Context) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/components/dropdown.rs:212:11 [INFO] [stdout] | [INFO] [stdout] 212 | let mut props = Rc::make_mut(&mut item.props); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/dropdown.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | fn rendered(&mut self, ctx: &Context, first_render: bool) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/dropdown.rs:227:24 [INFO] [stdout] | [INFO] [stdout] 227 | fn destroy(&mut self, ctx: &Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `toggle_click` [INFO] [stdout] --> src/components/transition.rs:93:6 [INFO] [stdout] | [INFO] [stdout] 93 | let toggle_click = { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toggle_click` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `history` [INFO] [stdout] --> src/router/../pages/blog/list.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | let history = use_history().unwrap(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/router/../pages/blog/list.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/router/../pages/blog/list.rs:108:85 [INFO] [stdout] | [INFO] [stdout] 108 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 0 ).map(|(i, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/router/../pages/blog/list.rs:118:85 [INFO] [stdout] | [INFO] [stdout] 118 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 1 ).map(|(i, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/router/../pages/blog/list.rs:128:85 [INFO] [stdout] | [INFO] [stdout] 128 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 2 ).map(|(i, row)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `page` [INFO] [stdout] --> src/router/../pages/blog/my_list.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | use_effect_with_deps(move |page| { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/store/github_auth.rs:112:10 [INFO] [stdout] | [INFO] [stdout] 112 | Err(err) => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/store/blog.rs:46:57 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn write(payload:WritePayload, history:AnyHistory, route:RootRoute) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `route` [INFO] [stdout] --> src/store/blog.rs:122:59 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn remove(payload:DeletePayload, history:AnyHistory, route:RootRoute) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/store/toast.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | let index = children.clone().iter().position(|x| *x.key == key).unwrap(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/store/toast.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let mut children = state.clone().children; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `member` is never read [INFO] [stdout] --> src/components/../pages/blog/write.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Data { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub member:String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/components/../pages/blog/write.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Properties, PartialEq, Clone)] [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | pub struct WriteProps { [INFO] [stdout] 35 | pub id:Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove` is never used [INFO] [stdout] --> src/components/tag_input.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | fn remove (tag:UseStateHandle>, index:usize, handle_onchange:Callback) -> Callback { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Attr` is never used [INFO] [stdout] --> src/components/dropdown.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum Attr { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/components/dropdown.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 23 | impl Attr { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 24 | fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Parent` is never used [INFO] [stdout] --> src/components/dropdown.rs:74:10 [INFO] [stdout] | [INFO] [stdout] 74 | pub type Parent = usize; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Button` is never used [INFO] [stdout] --> src/components/dropdown.rs:75:10 [INFO] [stdout] | [INFO] [stdout] 75 | pub type Button = u8; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Body` is never used [INFO] [stdout] --> src/components/dropdown.rs:76:10 [INFO] [stdout] | [INFO] [stdout] 76 | pub type Body = u16; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `type_of` is never used [INFO] [stdout] --> src/components/dropdown.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn type_of(_: T) -> &'static str { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `member` is never read [INFO] [stdout] --> src/router/../pages/blog/write.rs:24:6 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct Data { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 24 | pub member:String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Data` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/router/../pages/blog/write.rs:35:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[derive(Properties, PartialEq, Clone)] [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | pub struct WriteProps { [INFO] [stdout] 35 | pub id:Option, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Dark` and `Light` are never constructed [INFO] [stdout] --> src/store/theme.rs:59:2 [INFO] [stdout] | [INFO] [stdout] 58 | pub enum ThemeConfig { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 59 | Dark, [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | Light, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `INFO` is never constructed [INFO] [stdout] --> src/store/toast.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ToastStatus { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | INFO, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ToastStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `message_remove` is never used [INFO] [stdout] --> src/store/toast.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 24 | impl ToastMessage { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn message_remove(&self, key:String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/components/header.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | history.push_with_query(RootRoute::List { page: 1.to_string() }, SearchQuery {query: value.clone()}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 144 | let _ = history.push_with_query(RootRoute::List { page: 1.to_string() }, SearchQuery {query: value.clone()}); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/components/kanban_card.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | let ctx = ctx.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `yew::Context` does not implement `Clone`, so calling `clone` on `&yew::Context` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 35 - let ctx = ctx.clone(); [INFO] [stdout] 35 + let ctx = ctx; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `yew::Context`, implement `Clone` for it [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yew-0.19.3/src/html/component/mod.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 18 + #[derive(Clone)] [INFO] [stdout] 19 | pub struct Context { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/components/transition.rs:75:26 [INFO] [stdout] | [INFO] [stdout] 75 | let leave_ms = leave_ms.clone().to_string().parse::().unwrap_or(300); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/components/transition.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | Some(enter_from.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/components/transition.rs:104:16 [INFO] [stdout] | [INFO] [stdout] 104 | Some(enter_to.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/components/transition.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | Some(leave_from.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/components/transition.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | Some(leave_to.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/components/transition.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | Some(enter.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stdout] --> src/components/transition.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | Some(leave.clone()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.72s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6f23281fc468b54434b92c771c88dbe329fb064b77d51bb6b65658bcd0e4bc25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f23281fc468b54434b92c771c88dbe329fb064b77d51bb6b65658bcd0e4bc25", kill_on_drop: false }` [INFO] [stdout] 6f23281fc468b54434b92c771c88dbe329fb064b77d51bb6b65658bcd0e4bc25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8e1683a3ea0322b6c7e22dcd0683c76a24c3017bd7ea3c21d8fc887238ea1493 [INFO] running `Command { std: "docker" "start" "-a" "8e1683a3ea0322b6c7e22dcd0683c76a24c3017bd7ea3c21d8fc887238ea1493", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Event` [INFO] [stderr] --> src/components/header.rs:1:15 [INFO] [stderr] | [INFO] [stderr] 1 | use web_sys::{Event, MouseEvent, FocusEvent, HtmlInputElement}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `history` [INFO] [stderr] --> src/components/header.rs:3:104 [INFO] [stderr] | [INFO] [stderr] 3 | use yew_router::{components::Link, prelude::{use_history, History, use_location, Location, use_route}, history}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ComrakPlugins`, `markdown_to_html_with_plugins`, and `plugins::syntect::SyntectAdapter` [INFO] [stderr] --> src/components/../pages/blog/view.rs:5:47 [INFO] [stderr] | [INFO] [stderr] 5 | use comrak::{markdown_to_html, ComrakOptions, plugins::syntect::SyntectAdapter, markdown_to_html_with_plugins, ComrakPlugins}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `history` [INFO] [stderr] --> src/components/../pages/blog/list.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use yew_router::{history, prelude::{use_history, use_location, Location}}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ChildrenRenderer`, `Children`, `function_component`, `html_nested`, `use_effect_with_deps`, and `use_state` [INFO] [stderr] --> src/components/dropdown.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | ...::{ChildrenRenderer}, {events::Event}, function_component, Children, Properties, html_nested, virtual_dom::{VChild, VNode}, Html, use_state, Callback, use_effect_with_deps, C... [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ChildrenRenderer`, `Html`, `UseStateHandle`, `VChild`, `VNode`, `create_portal`, and `html_nested` [INFO] [stderr] --> src/components/transition.rs:3:25 [INFO] [stderr] | [INFO] [stderr] 3 | ...::{ChildrenRenderer}, create_portal, function_component, Children, Properties, html_nested, virtual_dom::{VChild, VNode}, Html, use_state, Callback, UseStateHandle, u... [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^ ^^^^^ ^^^^ ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ComrakPlugins`, `markdown_to_html_with_plugins`, and `plugins::syntect::SyntectAdapter` [INFO] [stderr] --> src/router/../pages/blog/view.rs:5:47 [INFO] [stderr] | [INFO] [stderr] 5 | use comrak::{markdown_to_html, ComrakOptions, plugins::syntect::SyntectAdapter, markdown_to_html_with_plugins, ComrakPlugins}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `history` [INFO] [stderr] --> src/router/../pages/blog/list.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use yew_router::{history, prelude::{use_history, use_location, Location}}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `history` [INFO] [stderr] --> src/components/../pages/blog/list.rs:33:7 [INFO] [stderr] | [INFO] [stderr] 33 | let history = use_history().unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/components/../pages/blog/list.rs:41:11 [INFO] [stderr] | [INFO] [stderr] 41 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/components/../pages/blog/list.rs:108:85 [INFO] [stderr] | [INFO] [stderr] 108 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 0 ).map(|(i, row)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/components/../pages/blog/list.rs:118:85 [INFO] [stderr] | [INFO] [stderr] 118 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 1 ).map(|(i, row)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/components/../pages/blog/list.rs:128:85 [INFO] [stderr] | [INFO] [stderr] 128 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 2 ).map(|(i, row)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page` [INFO] [stderr] --> src/components/../pages/blog/my_list.rs:29:32 [INFO] [stderr] | [INFO] [stderr] 29 | use_effect_with_deps(move |page| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/components/header.rs:38:13 [INFO] [stderr] | [INFO] [stderr] 38 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `alert` [INFO] [stderr] --> src/components/header.rs:90:7 [INFO] [stderr] | [INFO] [stderr] 90 | let alert = { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_alert` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `route` [INFO] [stderr] --> src/components/header.rs:134:9 [INFO] [stderr] | [INFO] [stderr] 134 | let route = route.clone(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/components/header.rs:112:17 [INFO] [stderr] | [INFO] [stderr] 112 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/card.rs:39:23 [INFO] [stderr] | [INFO] [stderr] 39 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `updated_at` [INFO] [stderr] --> src/components/list_card.rs:35:6 [INFO] [stderr] | [INFO] [stderr] 35 | let updated_at = updated_at.clone().unwrap_or("-".to_string()); [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_updated_at` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `content` [INFO] [stderr] --> src/components/list_card.rs:29:34 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn list_card(Datas {category,content,id, title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&Datas) -> Html { [INFO] [stderr] | ^^^^^^^ help: try ignoring the field: `content: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/components/list_card.rs:29:42 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn list_card(Datas {category,content,id, title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&Datas) -> Html { [INFO] [stderr] | ^^ help: try ignoring the field: `id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/components/list_card.rs:29:113 [INFO] [stderr] | [INFO] [stderr] 29 | pub fn list_card(Datas {category,content,id, title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&Datas) -> Html { [INFO] [stderr] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `value` [INFO] [stderr] --> src/components/toast.rs:26:25 [INFO] [stderr] | [INFO] [stderr] 26 | Callback::from(move|value| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `total_rows` [INFO] [stderr] --> src/components/pagination.rs:14:35 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn pagination(PageProps {page,total_rows, page_rows, total_page }:&PageProps) -> Html { [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `total_rows: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page_rows` [INFO] [stderr] --> src/components/pagination.rs:14:47 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn pagination(PageProps {page,total_rows, page_rows, total_page }:&PageProps) -> Html { [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `page_rows: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page_rows` [INFO] [stderr] --> src/components/my_pagination.rs:14:52 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn my_pagination(MyPageProps {page,total_rows, page_rows, total_page }:&MyPageProps) -> Html { [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `page_rows: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `updated_at` [INFO] [stderr] --> src/components/latest_card.rs:25:65 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn latset_card(LatestProps { title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&LatestProps) -> Html { [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `updated_at: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `name` [INFO] [stderr] --> src/components/latest_card.rs:25:101 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn latset_card(LatestProps { title,seo_title,tag,created_at,updated_at,description, avatar_url, name }:&LatestProps) -> Html { [INFO] [stderr] | ^^^^ help: try ignoring the field: `name: _` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/components/comment_card.rs:198:6 [INFO] [stderr] | [INFO] [stderr] 178 | reply => { [INFO] [stderr] | ----- matches any value [INFO] [stderr] ... [INFO] [stderr] 198 | _ => html! {<>} [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: there is a binding of the same name; if you meant to pattern match against the value of that binding, that is a feature of constants that is not available for `let` bindings [INFO] [stderr] --> src/components/comment_card.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | let reply = reply.clone().unwrap(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parent_id` [INFO] [stderr] --> src/components/comment_card.rs:16:51 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn comment_card(CommentListResponse {id,wr_id,parent_id,content,avatar_url,name,created_at,updated_at,reply }:&CommentListResponse) -... [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `parent_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `updated_at` [INFO] [stderr] --> src/components/comment_card.rs:16:96 [INFO] [stderr] | [INFO] [stderr] 16 | ..._id,content,avatar_url,name,created_at,updated_at,reply }:&CommentListResponse) -> Html { [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `updated_at: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/components/comment_write.rs:63:23 [INFO] [stderr] | [INFO] [stderr] 63 | Callback::from(move|e:MouseEvent| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `activate` [INFO] [stderr] --> src/components/comment_reply_card.rs:21:6 [INFO] [stderr] | [INFO] [stderr] 21 | let activate = { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_activate` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `parent_id` [INFO] [stderr] --> src/components/comment_reply_card.rs:13:57 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn comment_reply_card(CommentListResponse {id,wr_id,parent_id,content,avatar_url,name,created_at,updated_at, reply }:&CommentListResp... [INFO] [stderr] | ^^^^^^^^^ help: try ignoring the field: `parent_id: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `updated_at` [INFO] [stderr] --> src/components/comment_reply_card.rs:13:102 [INFO] [stderr] | [INFO] [stderr] 13 | ..._id,content,avatar_url,name,created_at,updated_at, reply }:&CommentListResponse) -> Html { [INFO] [stderr] | ^^^^^^^^^^ help: try ignoring the field: `updated_at: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `reply` [INFO] [stderr] --> src/components/comment_reply_card.rs:13:114 [INFO] [stderr] | [INFO] [stderr] 13 | ...tent,avatar_url,name,created_at,updated_at, reply }:&CommentListResponse) -> Html { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `reply: _` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input_box` [INFO] [stderr] --> src/components/tag_input.rs:68:7 [INFO] [stderr] | [INFO] [stderr] 68 | let input_box = input_box.clone(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_box` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/dropdown.rs:115:12 [INFO] [stderr] | [INFO] [stderr] 115 | fn create(ctx: &Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/components/dropdown.rs:126:29 [INFO] [stderr] | [INFO] [stderr] 126 | ctx.link().callback(move|e:Event| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/dropdown.rs:182:24 [INFO] [stderr] | [INFO] [stderr] 182 | fn changed(&mut self, ctx: &Context) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/components/dropdown.rs:212:11 [INFO] [stderr] | [INFO] [stderr] 212 | let mut props = Rc::make_mut(&mut item.props); [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/dropdown.rs:221:25 [INFO] [stderr] | [INFO] [stderr] 221 | fn rendered(&mut self, ctx: &Context, first_render: bool) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/dropdown.rs:227:24 [INFO] [stderr] | [INFO] [stderr] 227 | fn destroy(&mut self, ctx: &Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `toggle_click` [INFO] [stderr] --> src/components/transition.rs:93:6 [INFO] [stderr] | [INFO] [stderr] 93 | let toggle_click = { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_toggle_click` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `history` [INFO] [stderr] --> src/router/../pages/blog/list.rs:33:7 [INFO] [stderr] | [INFO] [stderr] 33 | let history = use_history().unwrap(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_history` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/router/../pages/blog/list.rs:41:11 [INFO] [stderr] | [INFO] [stderr] 41 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/router/../pages/blog/list.rs:108:85 [INFO] [stderr] | [INFO] [stderr] 108 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 0 ).map(|(i, row)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/router/../pages/blog/list.rs:118:85 [INFO] [stderr] | [INFO] [stderr] 118 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 1 ).map(|(i, row)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/router/../pages/blog/list.rs:128:85 [INFO] [stderr] | [INFO] [stderr] 128 | for lists.data.iter().enumerate().filter(|&(i, _)| i % 3 == 2 ).map(|(i, row)| { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `page` [INFO] [stderr] --> src/router/../pages/blog/my_list.rs:29:32 [INFO] [stderr] | [INFO] [stderr] 29 | use_effect_with_deps(move |page| { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_page` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/store/github_auth.rs:112:10 [INFO] [stderr] | [INFO] [stderr] 112 | Err(err) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `route` [INFO] [stderr] --> src/store/blog.rs:46:57 [INFO] [stderr] | [INFO] [stderr] 46 | pub fn write(payload:WritePayload, history:AnyHistory, route:RootRoute) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `route` [INFO] [stderr] --> src/store/blog.rs:122:59 [INFO] [stderr] | [INFO] [stderr] 122 | pub fn remove(payload:DeletePayload, history:AnyHistory, route:RootRoute) { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_route` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `index` [INFO] [stderr] --> src/store/toast.rs:57:9 [INFO] [stderr] | [INFO] [stderr] 57 | let index = children.clone().iter().position(|x| *x.key == key).unwrap(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/store/toast.rs:56:9 [INFO] [stderr] | [INFO] [stderr] 56 | let mut children = state.clone().children; [INFO] [stderr] | ----^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: field `member` is never read [INFO] [stderr] --> src/components/../pages/blog/write.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Data { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | pub member:String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Data` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/components/../pages/blog/write.rs:35:7 [INFO] [stderr] | [INFO] [stderr] 33 | #[derive(Properties, PartialEq, Clone)] [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 34 | pub struct WriteProps { [INFO] [stderr] 35 | pub id:Option, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: function `remove` is never used [INFO] [stderr] --> src/components/tag_input.rs:124:5 [INFO] [stderr] | [INFO] [stderr] 124 | fn remove (tag:UseStateHandle>, index:usize, handle_onchange:Callback) -> Callback { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Attr` is never used [INFO] [stderr] --> src/components/dropdown.rs:16:10 [INFO] [stderr] | [INFO] [stderr] 16 | pub enum Attr { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `as_str` is never used [INFO] [stderr] --> src/components/dropdown.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 23 | impl Attr { [INFO] [stderr] | --------- method in this implementation [INFO] [stderr] 24 | fn as_str(&self) -> &'static str { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Parent` is never used [INFO] [stderr] --> src/components/dropdown.rs:74:10 [INFO] [stderr] | [INFO] [stderr] 74 | pub type Parent = usize; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Button` is never used [INFO] [stderr] --> src/components/dropdown.rs:75:10 [INFO] [stderr] | [INFO] [stderr] 75 | pub type Button = u8; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type alias `Body` is never used [INFO] [stderr] --> src/components/dropdown.rs:76:10 [INFO] [stderr] | [INFO] [stderr] 76 | pub type Body = u16; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `type_of` is never used [INFO] [stderr] --> src/components/dropdown.rs:89:8 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn type_of(_: T) -> &'static str { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `member` is never read [INFO] [stderr] --> src/router/../pages/blog/write.rs:24:6 [INFO] [stderr] | [INFO] [stderr] 20 | pub struct Data { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] ... [INFO] [stderr] 24 | pub member:String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Data` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/router/../pages/blog/write.rs:35:7 [INFO] [stderr] | [INFO] [stderr] 33 | #[derive(Properties, PartialEq, Clone)] [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 34 | pub struct WriteProps { [INFO] [stderr] 35 | pub id:Option, [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Dark` and `Light` are never constructed [INFO] [stderr] --> src/store/theme.rs:59:2 [INFO] [stderr] | [INFO] [stderr] 58 | pub enum ThemeConfig { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] 59 | Dark, [INFO] [stderr] | ^^^^ [INFO] [stderr] 60 | Light, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `INFO` is never constructed [INFO] [stderr] --> src/store/toast.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum ToastStatus { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 8 | INFO, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ToastStatus` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `message_remove` is never used [INFO] [stderr] --> src/store/toast.rs:65:10 [INFO] [stderr] | [INFO] [stderr] 24 | impl ToastMessage { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 65 | pub fn message_remove(&self, key:String) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/components/header.rs:144:9 [INFO] [stderr] | [INFO] [stderr] 144 | history.push_with_query(RootRoute::List { page: 1.to_string() }, SearchQuery {query: value.clone()}); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 144 | let _ = history.push_with_query(RootRoute::List { page: 1.to_string() }, SearchQuery {query: value.clone()}); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/components/kanban_card.rs:35:16 [INFO] [stderr] | [INFO] [stderr] 35 | let ctx = ctx.clone(); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: the type `yew::Context` does not implement `Clone`, so calling `clone` on `&yew::Context` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] 35 - let ctx = ctx.clone(); [INFO] [stderr] 35 + let ctx = ctx; [INFO] [stderr] | [INFO] [stderr] help: if you meant to clone `yew::Context`, implement `Clone` for it [INFO] [stderr] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/yew-0.19.3/src/html/component/mod.rs:18:1 [INFO] [stderr] | [INFO] [stderr] 18 + #[derive(Clone)] [INFO] [stderr] 19 | pub struct Context { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/components/transition.rs:75:26 [INFO] [stderr] | [INFO] [stderr] 75 | let leave_ms = leave_ms.clone().to_string().parse::().unwrap_or(300); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/components/transition.rs:102:18 [INFO] [stderr] | [INFO] [stderr] 102 | Some(enter_from.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/components/transition.rs:104:16 [INFO] [stderr] | [INFO] [stderr] 104 | Some(enter_to.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/components/transition.rs:109:18 [INFO] [stderr] | [INFO] [stderr] 109 | Some(leave_from.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/components/transition.rs:111:16 [INFO] [stderr] | [INFO] [stderr] 111 | Some(leave_to.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/components/transition.rs:116:13 [INFO] [stderr] | [INFO] [stderr] 116 | Some(enter.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: using `.clone()` on a double reference, which returns `&str` instead of cloning the inner type [INFO] [stderr] --> src/components/transition.rs:118:13 [INFO] [stderr] | [INFO] [stderr] 118 | Some(leave.clone()) [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `blog` (bin "blog" test) generated 79 warnings (run `cargo fix --bin "blog" --tests` to apply 12 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.82 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/blog-c5e9c90f31c1f72e) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8e1683a3ea0322b6c7e22dcd0683c76a24c3017bd7ea3c21d8fc887238ea1493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e1683a3ea0322b6c7e22dcd0683c76a24c3017bd7ea3c21d8fc887238ea1493", kill_on_drop: false }` [INFO] [stdout] 8e1683a3ea0322b6c7e22dcd0683c76a24c3017bd7ea3c21d8fc887238ea1493