[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] checking ohah/yew-blog against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohah%2Fyew-blog" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ohah/yew-blog on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "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-6-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Updating crates.io index
[INFO] [stderr] Downloading crates ...
[INFO] [stderr] Downloaded gloo-file v0.2.3
[INFO] [stderr] Downloaded gloo-utils v0.1.5
[INFO] [stderr] Downloaded yew-router-macro v0.16.0
[INFO] [stderr] Downloaded yewdux-macros v0.8.1
[INFO] [stderr] Downloaded serde-wasm-bindgen v0.3.1
[INFO] [stderr] Downloaded wasm-logger v0.2.0
[INFO] [stderr] Downloaded yew-router v0.16.0
[INFO] [stderr] Downloaded typed-arena v1.7.0
[INFO] [stderr] Downloaded strip_markdown v0.2.0
[INFO] [stderr] Downloaded gloo-net v0.2.4
[INFO] [stderr] Downloaded pest_meta v2.3.0
[INFO] [stderr] Downloaded pest_derive v2.3.0
[INFO] [stderr] Downloaded pest_generator v2.3.0
[INFO] [stderr] Downloaded gloo-worker v0.2.1
[INFO] [stderr] Downloaded pest v2.3.0
[INFO] [stderr] Downloaded itertools v0.10.4
[INFO] [stderr] Downloaded pulldown-cmark v0.7.2
[INFO] [stderr] Downloaded comrak v0.14.0
[INFO] [stderr] Downloaded gloo-history v0.1.0
[INFO] [stderr] Downloaded anymap2 v0.13.0
[INFO] [stderr] Downloaded gloo v0.8.0
[INFO] [stderr] Downloaded syntect v4.6.0
[INFO] [stderr] Downloaded yewdux v0.8.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1d5ed37b9c2d4ad0c2dfa54cdc19a8d57608e1cf91fb6a83406b62dbc2a2dda3
[INFO] running `Command { std: "docker" "start" "-a" "1d5ed37b9c2d4ad0c2dfa54cdc19a8d57608e1cf91fb6a83406b62dbc2a2dda3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1d5ed37b9c2d4ad0c2dfa54cdc19a8d57608e1cf91fb6a83406b62dbc2a2dda3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d5ed37b9c2d4ad0c2dfa54cdc19a8d57608e1cf91fb6a83406b62dbc2a2dda3", kill_on_drop: false }`
[INFO] [stdout] 1d5ed37b9c2d4ad0c2dfa54cdc19a8d57608e1cf91fb6a83406b62dbc2a2dda3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7db05f1e9d82011f59812f0790a037aeef7840c203a8fe493ca36866313778dc
[INFO] running `Command { std: "docker" "start" "-a" "7db05f1e9d82011f59812f0790a037aeef7840c203a8fe493ca36866313778dc", kill_on_drop: false }`
[INFO] [stderr] Compiling proc-macro2 v1.0.43
[INFO] [stderr] Compiling unicode-ident v1.0.3
[INFO] [stderr] Compiling quote v1.0.21
[INFO] [stderr] Compiling syn v1.0.99
[INFO] [stderr] Compiling serde_derive v1.0.143
[INFO] [stderr] Compiling serde v1.0.143
[INFO] [stderr] Compiling once_cell v1.13.1
[INFO] [stderr] Checking itoa v1.0.3
[INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82
[INFO] [stderr] Compiling log v0.4.17
[INFO] [stderr] Compiling serde_json v1.0.83
[INFO] [stderr] Checking ryu v1.0.11
[INFO] [stderr] Compiling bumpalo v3.11.0
[INFO] [stderr] Compiling wasm-bindgen v0.2.82
[INFO] [stderr] Compiling futures-core v0.3.23
[INFO] [stderr] Compiling libc v0.2.132
[INFO] [stderr] Compiling futures-channel v0.3.23
[INFO] [stderr] Compiling indexmap v1.9.1
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr] Compiling proc-macro-error v1.0.4
[INFO] [stderr] Compiling memchr v2.5.0
[INFO] [stderr] Checking hashbrown v0.12.3
[INFO] [stderr] Compiling pkg-config v0.3.25
[INFO] [stderr] Checking unicode-width v0.1.9
[INFO] [stderr] Compiling cc v1.0.73
[INFO] [stderr] Compiling slab v0.4.7
[INFO] [stderr] Checking percent-encoding v2.1.0
[INFO] [stderr] Compiling fnv v1.0.7
[INFO] [stderr] Compiling strsim v0.10.0
[INFO] [stderr] Compiling ucd-trie v0.1.5
[INFO] [stderr] Checking matches v0.1.9
[INFO] [stderr] Compiling ident_case v1.0.1
[INFO] [stderr] Checking form_urlencoded v1.0.1
[INFO] [stderr] Compiling unicase v2.6.0
[INFO] [stderr] Checking num_threads v0.1.6
[INFO] [stderr] Compiling boolinator v2.4.0
[INFO] [stderr] Checking safemem v0.3.3
[INFO] [stderr] Checking miniz_oxide v0.5.4
[INFO] [stderr] Checking time v0.3.14
[INFO] [stderr] Checking line-wrap v0.1.1
[INFO] [stderr] Checking dirs-sys v0.3.7
[INFO] [stderr] Compiling pulldown-cmark v0.7.2
[INFO] [stderr] Checking base64 v0.13.0
[INFO] [stderr] Checking same-file v1.0.6
[INFO] [stderr] Checking regex-syntax v0.6.27
[INFO] [stderr] Checking scoped-tls-hkt v0.1.2
[INFO] [stderr] Checking xml-rs v0.8.4
[INFO] [stderr] Compiling onig_sys v69.8.1
[INFO] [stderr] Checking flate2 v1.0.24
[INFO] [stderr] Checking walkdir v2.3.2
[INFO] [stderr] Checking dirs v4.0.0
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking aho-corasick v0.7.19
[INFO] [stderr] Checking getopts v0.2.21
[INFO] [stderr] Checking textwrap v0.11.0
[INFO] [stderr] Checking lazycell v1.3.0
[INFO] [stderr] Checking futures-sink v0.3.23
[INFO] [stderr] Checking anymap2 v0.13.0
[INFO] [stderr] Checking clap v2.34.0
[INFO] [stderr] Checking xdg v2.4.1
[INFO] [stderr] Checking entities v1.0.1
[INFO] [stderr] Checking typed-arena v1.7.0
[INFO] [stderr] Compiling convert_case v0.4.0
[INFO] [stderr] Checking unicode_categories v0.1.1
[INFO] [stderr] Checking route-recognizer v0.3.1
[INFO] [stderr] Checking either v1.8.0
[INFO] [stderr] Checking shell-words v1.1.0
[INFO] [stderr] Checking anymap v0.12.1
[INFO] [stderr] Checking itertools v0.10.4
[INFO] [stderr] Checking strip_markdown v0.2.0
[INFO] [stderr] Checking quad-rand v0.2.1
[INFO] [stderr] Checking regex v1.6.0
[INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82
[INFO] [stderr] Compiling darling_core v0.13.4
[INFO] [stderr] Compiling thiserror-impl v1.0.32
[INFO] [stderr] Compiling pin-project-internal v1.0.12
[INFO] [stderr] Compiling yew-macro v0.19.3
[INFO] [stderr] Compiling yew-router-macro v0.16.0
[INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82
[INFO] [stderr] Compiling derive_more v0.99.17
[INFO] [stderr] Checking thiserror v1.0.32
[INFO] [stderr] Compiling pest v2.3.0
[INFO] [stderr] Checking pin-project v1.0.12
[INFO] [stderr] Checking onig v6.4.0
[INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82
[INFO] [stderr] Compiling darling_macro v0.13.4
[INFO] [stderr] Compiling pest_meta v2.3.0
[INFO] [stderr] Compiling darling v0.13.4
[INFO] [stderr] Compiling yewdux-macros v0.8.1
[INFO] [stderr] Compiling pest_generator v2.3.0
[INFO] [stderr] Compiling pest_derive v2.3.0
[INFO] [stderr] Checking bincode v1.3.3
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking plist v1.3.1
[INFO] [stderr] Checking syntect v4.6.0
[INFO] [stderr] Checking js-sys v0.3.59
[INFO] [stderr] Checking console_error_panic_hook v0.1.7
[INFO] [stderr] Checking comrak v0.14.0
[INFO] [stderr] Checking web-sys v0.3.59
[INFO] [stderr] Checking wasm-bindgen-futures v0.4.32
[INFO] [stderr] Checking gloo-timers v0.2.4
[INFO] [stderr] Checking serde-wasm-bindgen v0.3.1
[INFO] [stderr] Checking gloo-utils v0.1.5
[INFO] [stderr] Checking gloo-events v0.1.2
[INFO] [stderr] Checking gloo-console v0.2.1
[INFO] [stderr] Checking gloo-render v0.1.1
[INFO] [stderr] Checking gloo-dialogs v0.1.1
[INFO] [stderr] Checking wasm-logger v0.2.0
[INFO] [stderr] Checking gloo-storage v0.2.1
[INFO] [stderr] Checking gloo-net v0.2.4
[INFO] [stderr] Checking gloo-file v0.2.3
[INFO] [stderr] Checking gloo-history v0.1.0
[INFO] [stderr] Checking gloo-worker v0.2.1
[INFO] [stderr] Checking gloo v0.4.2
[INFO] [stderr] Checking gloo v0.8.0
[INFO] [stderr] Checking yew v0.19.3
[INFO] [stderr] Checking yewdux v0.8.1
[INFO] [stderr] Checking yew-router v0.16.0
[INFO] [stderr] Checking blog v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/../pages/blog/view.rs:131:16
[INFO] [stdout] |
[INFO] [stdout] 131 |
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/../pages/blog/view.rs:131:16
[INFO] [stdout] |
[INFO] [stdout] 131 |
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/header.rs:189:26
[INFO] [stdout] |
[INFO] [stdout] 189 |
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/kanban_card.rs:43:10
[INFO] [stdout] |
[INFO] [stdout] 43 | ...
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/list_card.rs:48:8
[INFO] [stdout] |
[INFO] [stdout] 48 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/latest_card.rs:42:8
[INFO] [stdout] |
[INFO] [stdout] 42 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/comment_card.rs:101:8
[INFO] [stdout] |
[INFO] [stdout] 101 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/comment_card.rs:209:8
[INFO] [stdout] |
[INFO] [stdout] 209 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/comment_reply_card.rs:96:7
[INFO] [stdout] |
[INFO] [stdout] 96 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/header.rs:189:26
[INFO] [stdout] |
[INFO] [stdout] 189 |
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/kanban_card.rs:43:10
[INFO] [stdout] |
[INFO] [stdout] 43 | ...
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/list_card.rs:48:8
[INFO] [stdout] |
[INFO] [stdout] 48 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/latest_card.rs:42:8
[INFO] [stdout] |
[INFO] [stdout] 42 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/comment_card.rs:101:8
[INFO] [stdout] |
[INFO] [stdout] 101 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/comment_card.rs:209:8
[INFO] [stdout] |
[INFO] [stdout] 209 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/comment_reply_card.rs:96:7
[INFO] [stdout] |
[INFO] [stdout] 96 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 'javascript:void(0)' is not a suitable value for the `href` attribute. Without a meaningful attribute assistive technologies will struggle to understand your webpage. https://developer.mozilla.org/en-US/docs/Learn/Accessibility/HTML#onclick_events
[INFO] [stdout] --> src/router/../pages/page_not_found.rs:20:23
[INFO] [stdout] |
[INFO] [stdout] 20 | ... 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: `#[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 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/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-6f17d22bba15001f/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] [stdout] warning: 89 warnings emitted
[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: `#[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-6f17d22bba15001f/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] [stdout] warning: 89 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.93s
[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 2`
[INFO] running `Command { std: "docker" "inspect" "7db05f1e9d82011f59812f0790a037aeef7840c203a8fe493ca36866313778dc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7db05f1e9d82011f59812f0790a037aeef7840c203a8fe493ca36866313778dc", kill_on_drop: false }`
[INFO] [stdout] 7db05f1e9d82011f59812f0790a037aeef7840c203a8fe493ca36866313778dc
[INFO] checking ohah/yew-blog against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fohah%2Fyew-blog" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ohah/yew-blog on toolchain f9935d29d867449445ee008640ccca1bf1ae0889
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "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-6-tc2/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 82c654ffe154146e798d7a20ad621fa1a98d81029a98922c4e7c9fd9ad798231
[INFO] running `Command { std: "docker" "start" "-a" "82c654ffe154146e798d7a20ad621fa1a98d81029a98922c4e7c9fd9ad798231", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "82c654ffe154146e798d7a20ad621fa1a98d81029a98922c4e7c9fd9ad798231", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "82c654ffe154146e798d7a20ad621fa1a98d81029a98922c4e7c9fd9ad798231", kill_on_drop: false }`
[INFO] [stdout] 82c654ffe154146e798d7a20ad621fa1a98d81029a98922c4e7c9fd9ad798231
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3530c1f9b433b48d40e7fbd248e044e6436d9dcebda9ab81d83fcdccab8a6918
[INFO] running `Command { std: "docker" "start" "-a" "3530c1f9b433b48d40e7fbd248e044e6436d9dcebda9ab81d83fcdccab8a6918", 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 serde_derive v1.0.143
[INFO] [stderr] Compiling serde v1.0.143
[INFO] [stderr] Compiling once_cell v1.13.1
[INFO] [stderr] Checking itoa v1.0.3
[INFO] [stderr] Compiling log v0.4.17
[INFO] [stderr] Compiling wasm-bindgen-shared v0.2.82
[INFO] [stderr] Checking ryu v1.0.11
[INFO] [stderr] Compiling serde_json v1.0.83
[INFO] [stderr] Compiling bumpalo v3.11.0
[INFO] [stderr] Compiling wasm-bindgen v0.2.82
[INFO] [stderr] Compiling futures-core v0.3.23
[INFO] [stderr] Compiling libc v0.2.132
[INFO] [stderr] Compiling futures-channel v0.3.23
[INFO] [stderr] Compiling indexmap v1.9.1
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr] Compiling proc-macro-error v1.0.4
[INFO] [stderr] Compiling memchr v2.5.0
[INFO] [stderr] Checking hashbrown v0.12.3
[INFO] [stderr] Checking unicode-width v0.1.9
[INFO] [stderr] Compiling cc v1.0.73
[INFO] [stderr] Compiling pkg-config v0.3.25
[INFO] [stderr] Compiling slab v0.4.7
[INFO] [stderr] Compiling ident_case v1.0.1
[INFO] [stderr] Compiling strsim v0.10.0
[INFO] [stderr] Checking matches v0.1.9
[INFO] [stderr] Compiling fnv v1.0.7
[INFO] [stderr] Compiling ucd-trie v0.1.5
[INFO] [stderr] Checking percent-encoding v2.1.0
[INFO] [stderr] Compiling unicase v2.6.0
[INFO] [stderr] Checking safemem v0.3.3
[INFO] [stderr] Checking form_urlencoded v1.0.1
[INFO] [stderr] Checking num_threads v0.1.6
[INFO] [stderr] Compiling boolinator v2.4.0
[INFO] [stderr] Checking time v0.3.14
[INFO] [stderr] Checking miniz_oxide v0.5.4
[INFO] [stderr] Checking line-wrap v0.1.1
[INFO] [stderr] Checking dirs-sys v0.3.7
[INFO] [stderr] Checking base64 v0.13.0
[INFO] [stderr] Compiling pulldown-cmark v0.7.2
[INFO] [stderr] Checking xml-rs v0.8.4
[INFO] [stderr] Checking scoped-tls-hkt v0.1.2
[INFO] [stderr] Compiling onig_sys v69.8.1
[INFO] [stderr] Checking regex-syntax v0.6.27
[INFO] [stderr] Checking same-file v1.0.6
[INFO] [stderr] Checking walkdir v2.3.2
[INFO] [stderr] Checking flate2 v1.0.24
[INFO] [stderr] Checking dirs v4.0.0
[INFO] [stderr] Checking atty v0.2.14
[INFO] [stderr] Checking aho-corasick v0.7.19
[INFO] [stderr] Checking textwrap v0.11.0
[INFO] [stderr] Checking getopts v0.2.21
[INFO] [stderr] Checking lazycell v1.3.0
[INFO] [stderr] Checking anymap2 v0.13.0
[INFO] [stderr] Checking futures-sink v0.3.23
[INFO] [stderr] Checking clap v2.34.0
[INFO] [stderr] Checking xdg v2.4.1
[INFO] [stderr] Checking route-recognizer v0.3.1
[INFO] [stderr] Checking typed-arena v1.7.0
[INFO] [stderr] Checking entities v1.0.1
[INFO] [stderr] Checking anymap v0.12.1
[INFO] [stderr] Compiling convert_case v0.4.0
[INFO] [stderr] Checking shell-words v1.1.0
[INFO] [stderr] Checking either v1.8.0
[INFO] [stderr] Checking unicode_categories v0.1.1
[INFO] [stderr] Checking itertools v0.10.4
[INFO] [stderr] Checking quad-rand v0.2.1
[INFO] [stderr] Checking strip_markdown v0.2.0
[INFO] [stderr] Checking regex v1.6.0
[INFO] [stderr] Compiling wasm-bindgen-backend v0.2.82
[INFO] [stderr] Compiling darling_core v0.13.4
[INFO] [stderr] Checking onig v6.4.0
[INFO] [stderr] Compiling thiserror-impl v1.0.32
[INFO] [stderr] Compiling pin-project-internal v1.0.12
[INFO] [stderr] Compiling yew-macro v0.19.3
[INFO] [stderr] Compiling yew-router-macro v0.16.0
[INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.82
[INFO] [stderr] Compiling derive_more v0.99.17
[INFO] [stderr] Compiling wasm-bindgen-macro v0.2.82
[INFO] [stderr] Checking pin-project v1.0.12
[INFO] [stderr] Checking thiserror v1.0.32
[INFO] [stderr] Checking pest v2.3.0
[INFO] [stderr] Compiling darling_macro v0.13.4
[INFO] [stderr] Compiling darling v0.13.4
[INFO] [stderr] Compiling yewdux-macros v0.8.1
[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] Checking bincode v1.3.3
[INFO] [stderr] Checking serde_urlencoded v0.7.1
[INFO] [stderr] Checking plist v1.3.1
[INFO] [stderr] Checking syntect v4.6.0
[INFO] [stderr] Checking js-sys v0.3.59
[INFO] [stderr] Checking console_error_panic_hook v0.1.7
[INFO] [stderr] Checking comrak v0.14.0
[INFO] [stderr] Checking web-sys v0.3.59
[INFO] [stderr] Checking wasm-bindgen-futures v0.4.32
[INFO] [stderr] Checking gloo-timers v0.2.4
[INFO] [stderr] Checking serde-wasm-bindgen v0.3.1
[INFO] [stderr] Checking gloo-utils v0.1.5
[INFO] [stderr] Checking gloo-events v0.1.2
[INFO] [stderr] Checking gloo-console v0.2.1
[INFO] [stderr] Checking gloo-dialogs v0.1.1
[INFO] [stderr] Checking gloo-render v0.1.1
[INFO] [stderr] Checking wasm-logger v0.2.0
[INFO] [stderr] Checking gloo-file v0.2.3
[INFO] [stderr] Checking gloo-storage v0.2.1
[INFO] [stderr] Checking gloo-net v0.2.4
[INFO] [stderr] Checking gloo-history v0.1.0
[INFO] [stderr] Checking gloo-worker v0.2.1
[INFO] [stderr] Checking gloo v0.4.2
[INFO] [stderr] Checking yew v0.19.3
[INFO] [stderr] Checking gloo v0.8.0
[INFO] [stderr] Checking yewdux v0.8.1
[INFO] [stderr] Checking yew-router v0.16.0
[INFO] [stderr] Checking blog v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/../pages/blog/view.rs:131:16
[INFO] [stdout] |
[INFO] [stdout] 131 |
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/../pages/blog/view.rs:131:16
[INFO] [stdout] |
[INFO] [stdout] 131 |
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/header.rs:189:26
[INFO] [stdout] |
[INFO] [stdout] 189 |
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/kanban_card.rs:43:10
[INFO] [stdout] |
[INFO] [stdout] 43 | ...
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/list_card.rs:48:8
[INFO] [stdout] |
[INFO] [stdout] 48 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/header.rs:189:26
[INFO] [stdout] |
[INFO] [stdout] 189 |
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/kanban_card.rs:43:10
[INFO] [stdout] |
[INFO] [stdout] 43 | ...
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/list_card.rs:48:8
[INFO] [stdout] |
[INFO] [stdout] 48 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/latest_card.rs:42:8
[INFO] [stdout] |
[INFO] [stdout] 42 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/comment_card.rs:101:8
[INFO] [stdout] |
[INFO] [stdout] 101 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/latest_card.rs:42:8
[INFO] [stdout] |
[INFO] [stdout] 42 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/comment_card.rs:101:8
[INFO] [stdout] |
[INFO] [stdout] 101 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/comment_card.rs:209:8
[INFO] [stdout] |
[INFO] [stdout] 209 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/comment_reply_card.rs:96:7
[INFO] [stdout] |
[INFO] [stdout] 96 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/comment_card.rs:209:8
[INFO] [stdout] |
[INFO] [stdout] 209 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: All `
` tags should have an `alt` attribute which provides a human-readable description
[INFO] [stdout] --> src/components/comment_reply_card.rs:96:7
[INFO] [stdout] |
[INFO] [stdout] 96 |
[INFO] [stdout] | ^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: 'javascript:void(0)' is not a suitable value for the `href` attribute. Without a meaningful attribute assistive technologies will struggle to understand your webpage. https://developer.mozilla.org/en-US/docs/Learn/Accessibility/HTML#onclick_events
[INFO] [stdout] --> src/router/../pages/page_not_found.rs:20:23
[INFO] [stdout] |
[INFO] [stdout] 20 | ... 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: `#[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: `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: `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: `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: `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: `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: 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: 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: `#[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: 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-6f17d22bba15001f/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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/components/tag_input.rs:19:18
[INFO] [stdout] |
[INFO] [stdout] 18 | fn remove(remove:Callback, i:usize) -> Callback{
[INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 19 | Callback::from(move|e:MouseEvent| {
[INFO] [stdout] | ________________________^
[INFO] [stdout] 20 | | e.prevent_default();
[INFO] [stdout] 21 | | remove.emit(i);
[INFO] [stdout] 22 | | })
[INFO] [stdout] | |_________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/components/tag_input.rs:125:18
[INFO] [stdout] |
[INFO] [stdout] 124 | fn remove (tag:UseStateHandle>, index:usize, handle_onchange:Callback) -> Callback {
[INFO] [stdout] | ------------------------------- -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 125 | Callback::from(move|e:MouseEvent| {
[INFO] [stdout] | ________________________^
[INFO] [stdout] 126 | | e.prevent_default();
[INFO] [stdout] 127 | | let mut vec = tag.to_vec();
[INFO] [stdout] 128 | | vec.remove(index);
[INFO] [stdout] ... |
[INFO] [stdout] 132 | | handle_onchange.clone().emit(emit);
[INFO] [stdout] 133 | | })
[INFO] [stdout] | |_________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/store/theme.rs:14:2
[INFO] [stdout] |
[INFO] [stdout] 8 | let window = web_sys::window().ok_or(StorageError::WindowNotFound)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 9 | let storage = match area {
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 14 | storage.map_err(StorageError::WebSys)?.ok_or(StorageError::StorageAccess(area))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/store/theme.rs:14:47
[INFO] [stdout] |
[INFO] [stdout] 8 | let window = web_sys::window().ok_or(StorageError::WindowNotFound)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 9 | let storage = match area {
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 14 | storage.map_err(StorageError::WebSys)?.ok_or(StorageError::StorageAccess(area))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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] error: aborting due to 4 previous errors; 89 warnings emitted
[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] [stderr] error: could not compile `blog` (bin "blog" test) due to 5 previous errors; 89 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[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-6f17d22bba15001f/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] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/components/tag_input.rs:19:18
[INFO] [stdout] |
[INFO] [stdout] 18 | fn remove(remove:Callback, i:usize) -> Callback{
[INFO] [stdout] | ---------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 19 | Callback::from(move|e:MouseEvent| {
[INFO] [stdout] | ________________________^
[INFO] [stdout] 20 | | e.prevent_default();
[INFO] [stdout] 21 | | remove.emit(i);
[INFO] [stdout] 22 | | })
[INFO] [stdout] | |_________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/components/tag_input.rs:125:18
[INFO] [stdout] |
[INFO] [stdout] 124 | fn remove (tag:UseStateHandle>, index:usize, handle_onchange:Callback) -> Callback {
[INFO] [stdout] | ------------------------------- -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 125 | Callback::from(move|e:MouseEvent| {
[INFO] [stdout] | ________________________^
[INFO] [stdout] 126 | | e.prevent_default();
[INFO] [stdout] 127 | | let mut vec = tag.to_vec();
[INFO] [stdout] 128 | | vec.remove(index);
[INFO] [stdout] ... |
[INFO] [stdout] 132 | | handle_onchange.clone().emit(emit);
[INFO] [stdout] 133 | | })
[INFO] [stdout] | |_________^
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[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] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/store/theme.rs:14:2
[INFO] [stdout] |
[INFO] [stdout] 8 | let window = web_sys::window().ok_or(StorageError::WindowNotFound)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 9 | let storage = match area {
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 14 | storage.map_err(StorageError::WebSys)?.ok_or(StorageError::StorageAccess(area))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021
[INFO] [stdout] --> src/store/theme.rs:14:47
[INFO] [stdout] |
[INFO] [stdout] 8 | let window = web_sys::window().ok_or(StorageError::WindowNotFound)?;
[INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] 9 | let storage = match area {
[INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 14 | storage.map_err(StorageError::WebSys)?.ok_or(StorageError::StorageAccess(area))
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] | |
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024
[INFO] [stdout] |
[INFO] [stdout] = warning: this changes meaning in Rust 2024
[INFO] [stdout] = note: for more information, see issue #123739
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error: aborting due to 4 previous errors; 89 warnings emitted
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stderr] error: could not compile `blog` (bin "blog") due to 5 previous errors; 89 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "3530c1f9b433b48d40e7fbd248e044e6436d9dcebda9ab81d83fcdccab8a6918", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3530c1f9b433b48d40e7fbd248e044e6436d9dcebda9ab81d83fcdccab8a6918", kill_on_drop: false }`
[INFO] [stdout] 3530c1f9b433b48d40e7fbd248e044e6436d9dcebda9ab81d83fcdccab8a6918