[INFO] cloning repository https://github.com/philipdaquin/Yew-Playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/philipdaquin/Yew-Playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipdaquin%2FYew-Playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipdaquin%2FYew-Playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e2542e6b93ddca86d5ac9f154ee8409443f1eb2e [INFO] testing philipdaquin/Yew-Playground against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fphilipdaquin%2FYew-Playground" "/workspace/builds/worker-67/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-67/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/philipdaquin/Yew-Playground on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/philipdaquin/Yew-Playground [INFO] finished tweaking git repo https://github.com/philipdaquin/Yew-Playground [INFO] tweaked toml for git repo https://github.com/philipdaquin/Yew-Playground written to /workspace/builds/worker-67/source/Cargo.toml [INFO] crate git repo https://github.com/philipdaquin/Yew-Playground already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing v0.1.30 [INFO] [stderr] Downloaded gloo-history v0.1.0 [INFO] [stderr] Downloaded gloo v0.6.0 [INFO] [stderr] Downloaded reqwasm v0.4.0 [INFO] [stderr] Downloaded yew-hooks v0.1.36 [INFO] [stderr] Downloaded tokio v1.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] aa1b26315551078543130cb9e87b31a76a9c6ebe3f4953f42b43b8e6f827edc1 [INFO] running `Command { std: "docker" "start" "-a" "aa1b26315551078543130cb9e87b31a76a9c6ebe3f4953f42b43b8e6f827edc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa1b26315551078543130cb9e87b31a76a9c6ebe3f4953f42b43b8e6f827edc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa1b26315551078543130cb9e87b31a76a9c6ebe3f4953f42b43b8e6f827edc1", kill_on_drop: false }` [INFO] [stdout] aa1b26315551078543130cb9e87b31a76a9c6ebe3f4953f42b43b8e6f827edc1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 828bb766d632fac53a9be4479362987245d33f6194553c967b4e6131c93e1af8 [INFO] running `Command { std: "docker" "start" "-a" "828bb766d632fac53a9be4479362987245d33f6194553c967b4e6131c93e1af8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.79 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling bumpalo v3.9.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling wasm-bindgen v0.2.79 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling yew v0.18.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling anymap v0.12.1 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling cfg-match v0.2.1 [INFO] [stderr] Compiling scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling yew-interop-core v0.2.0 [INFO] [stderr] Compiling wee_alloc v0.4.5 [INFO] [stderr] Compiling anymap2 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling memory_units v0.4.0 [INFO] [stderr] Compiling route-recognizer v0.3.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling litrs v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.29 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.79 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.79 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling yew-macro v0.19.3 [INFO] [stderr] Compiling yew-macro v0.18.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling yew-router-macro v0.16.0 [INFO] [stderr] Compiling yew-interop-macro v0.3.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.79 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling stylist-core v0.9.2 [INFO] [stderr] Compiling stylist-macros v0.9.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling js-sys v0.3.56 [INFO] [stderr] Compiling console_error_panic_hook v0.1.7 [INFO] [stderr] Compiling web-sys v0.3.56 [INFO] [stderr] Compiling gloo-timers v0.2.3 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.29 [INFO] [stderr] Compiling serde-wasm-bindgen v0.3.1 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.29 [INFO] [stderr] Compiling gloo-events v0.1.1 [INFO] [stderr] Compiling gloo-utils v0.1.2 [INFO] [stderr] Compiling gloo-console v0.2.1 [INFO] [stderr] Compiling gloo-render v0.1.0 [INFO] [stderr] Compiling gloo-dialogs v0.1.0 [INFO] [stderr] Compiling gloo-console-timer v0.1.0 [INFO] [stderr] Compiling wasm-logger v0.2.0 [INFO] [stderr] Compiling gloo-file v0.2.1 [INFO] [stderr] Compiling gloo-file v0.1.0 [INFO] [stderr] Compiling gloo-storage v0.2.0 [INFO] [stderr] Compiling gloo-history v0.1.0 [INFO] [stderr] Compiling gloo-worker v0.1.0 [INFO] [stderr] Compiling reqwasm v0.4.0 [INFO] [stderr] Compiling gloo v0.2.1 [INFO] [stderr] Compiling gloo v0.4.2 [INFO] [stderr] Compiling gloo v0.6.0 [INFO] [stderr] Compiling yew v0.19.3 [INFO] [stderr] Compiling yew-hooks v0.1.36 [INFO] [stderr] Compiling yew-router v0.16.0 [INFO] [stderr] Compiling yew-interop v0.3.0 [INFO] [stderr] Compiling yew_assets v0.1.2 [INFO] [stderr] Compiling stylist v0.9.2 [INFO] [stderr] Compiling yew_styles v0.11.0 [INFO] [stderr] Compiling Yew-Template-019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `header::Header`, `home::Home` [INFO] [stdout] --> src/app.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | header::Header, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | home::Home, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::router::cartprovider::CartProvider` [INFO] [stdout] --> src/app.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::router::cartprovider::CartProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `switch` [INFO] [stdout] --> src/components/navbar.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::router::{AppRoute, switch}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `functional` [INFO] [stdout] --> src/components/columns.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::{prelude::*, functional}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Timeout`, `Timer` [INFO] [stdout] --> src/components/parentcomp.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | timers::callback::{Interval, Timeout}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | console::{self, Timer}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html`, `prelude::*` [INFO] [stdout] --> src/components/portaldemo.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::{prelude::*, function_component, html, Html, create_portal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Html` [INFO] [stdout] --> src/components/errorhandling.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::{prelude::*, function_component, html, Html}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo_console` [INFO] [stdout] --> src/components/mousemovement.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gloo_console; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Html` [INFO] [stdout] --> src/router/newapp.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::{prelude::*, function_component, html, Html}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Html` [INFO] [stdout] --> src/router/app_reducer.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::{prelude::*, function_component, html, Html}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::router` [INFO] [stdout] --> src/router/app_reducer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::router; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Html` [INFO] [stdout] --> src/use_form/use_forms.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::{prelude::*, function_component, html, Html}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/app.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/app.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | 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: `msg` [INFO] [stdout] --> src/app.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/app.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | 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: unused variable: `ctx` [INFO] [stdout] --> src/app.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn view(&self, ctx: &Context) -> Html { [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/footer.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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: `ctx` [INFO] [stdout] --> src/components/footer.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | 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: `msg` [INFO] [stdout] --> src/components/footer.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/footer.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | 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: unused variable: `ctx` [INFO] [stdout] --> src/components/footer.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn view(&self, ctx: &Context) -> Html { [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/header.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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: `ctx` [INFO] [stdout] --> src/components/header.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | 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: `msg` [INFO] [stdout] --> src/components/header.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/header.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | 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: unused variable: `ctx` [INFO] [stdout] --> src/components/header.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn view(&self, ctx: &Context) -> Html { [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/lifecycleA.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | 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: `ctx` [INFO] [stdout] --> src/components/lifecycleA.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | 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: `msg` [INFO] [stdout] --> src/components/lifecycleA.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/lifecycleA.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | 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: unused variable: `ctx` [INFO] [stdout] --> src/components/lifecycleA.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | fn view(&self, ctx: &Context) -> Html { [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/regcomp.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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: `ctx` [INFO] [stdout] --> src/components/regcomp.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | 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: `msg` [INFO] [stdout] --> src/components/regcomp.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/regcomp.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | 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: unused variable: `ctx` [INFO] [stdout] --> src/components/regcomp.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn view(&self, ctx: &Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `standalone_handle` [INFO] [stdout] --> src/components/parentcomp.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let standalone_handle = Interval::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_standalone_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_handle` [INFO] [stdout] --> src/components/parentcomp.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let message_handle = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/components/parentcomp.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let link = ctx.link().clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/parentcomp.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | 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: `msg` [INFO] [stdout] --> src/components/parentcomp.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/parentcomp.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | 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: unused variable: `ctx` [INFO] [stdout] --> src/components/parentcomp.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn view(&self, ctx: &Context) -> Html { [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/errorboundary.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | 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: `ctx` [INFO] [stdout] --> src/components/errorboundary.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | 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: `msg` [INFO] [stdout] --> src/components/errorboundary.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/errorboundary.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | 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: unused variable: `ctx` [INFO] [stdout] --> src/components/errorboundary.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | 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: `first_render` [INFO] [stdout] --> src/components/errorboundary.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | fn rendered(&mut self, ctx: &Context, first_render: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/mousemovement.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | 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: `ctx` [INFO] [stdout] --> src/components/mousemovement.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | 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: `ctx` [INFO] [stdout] --> src/components/mousemovement.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | fn view(&self, ctx: &Context) -> Html { [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/router/newapp.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let ctx = use_state(|| UserContext { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx_channel` [INFO] [stdout] --> src/router/newapp.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let ctx_channel = use_state(|| ChannelContext { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/router/home.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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: `ctx` [INFO] [stdout] --> src/router/home.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | 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: `msg` [INFO] [stdout] --> src/router/home.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/router/home.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | 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: unused variable: `ctx` [INFO] [stdout] --> src/router/home.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn view(&self, ctx: &Context) -> Html { [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/router/app_reducer.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | Callback::from(move |e: MouseEvent| subtotal.dispatch(Action::AddToCart(10))); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addtocart` [INFO] [stdout] --> src/router/app_reducer.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let addtocart = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addtocart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/use_form/userform.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let window = gloo_utils::window(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_count` [INFO] [stdout] --> src/use_form/userform.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let message_count = use_mut_ref(|| 0); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `info` is never read [INFO] [stdout] --> src/use_form/use_forms.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let mut info = (*firstname).clone(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `info` is never read [INFO] [stdout] --> src/use_form/use_forms.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let mut info = (*lastname).clone(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `props` [INFO] [stdout] --> src/components/lifecycleA.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | props: Props [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/components/parentcomp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | name: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interval` [INFO] [stdout] --> src/components/parentcomp.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | interval: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Yew_Template_019` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `yew_template_019` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `lifecycleA` should have a snake case name [INFO] [stdout] --> src/components/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod lifecycleA; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lifecycle_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/components/columns.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / items.iter().map(|x| { [INFO] [stdout] 7 | | return html! { [INFO] [stdout] 8 | | <> [INFO] [stdout] 9 | |
{x}
[INFO] [stdout] 10 | | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | }); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/router/app_reducer.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | self.value + x; [INFO] [stdout] | ^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = self.value + x; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> src/router/app_reducer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Callback::from(move |e: MouseEvent| subtotal.dispatch(Action::AddToCart(10))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 01s [INFO] running `Command { std: "docker" "inspect" "828bb766d632fac53a9be4479362987245d33f6194553c967b4e6131c93e1af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "828bb766d632fac53a9be4479362987245d33f6194553c967b4e6131c93e1af8", kill_on_drop: false }` [INFO] [stdout] 828bb766d632fac53a9be4479362987245d33f6194553c967b4e6131c93e1af8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f66a52cde55b2c3d6ea609cf7b41f66bf6c9394d3aebc038cdf1d1f0cfc1fc4 [INFO] running `Command { std: "docker" "start" "-a" "0f66a52cde55b2c3d6ea609cf7b41f66bf6c9394d3aebc038cdf1d1f0cfc1fc4", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling Yew-Template-019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `header::Header`, `home::Home` [INFO] [stdout] --> src/app.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | header::Header, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 10 | home::Home, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::router::cartprovider::CartProvider` [INFO] [stdout] --> src/app.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::router::cartprovider::CartProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `switch` [INFO] [stdout] --> src/components/navbar.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::router::{AppRoute, switch}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `functional` [INFO] [stdout] --> src/components/columns.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::{prelude::*, functional}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Timeout`, `Timer` [INFO] [stdout] --> src/components/parentcomp.rs:2:34 [INFO] [stdout] | [INFO] [stdout] 2 | timers::callback::{Interval, Timeout}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 3 | console::{self, Timer}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html`, `prelude::*` [INFO] [stdout] --> src/components/portaldemo.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::{prelude::*, function_component, html, Html, create_portal}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Html` [INFO] [stdout] --> src/components/errorhandling.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::{prelude::*, function_component, html, Html}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `gloo_console` [INFO] [stdout] --> src/components/mousemovement.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use gloo_console; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Html` [INFO] [stdout] --> src/router/newapp.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::{prelude::*, function_component, html, Html}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Html` [INFO] [stdout] --> src/router/app_reducer.rs:1:49 [INFO] [stdout] | [INFO] [stdout] 1 | use yew::{prelude::*, function_component, html, Html}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::router` [INFO] [stdout] --> src/router/app_reducer.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::router; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Html` [INFO] [stdout] --> src/use_form/use_forms.rs:2:49 [INFO] [stdout] | [INFO] [stdout] 2 | use yew::{prelude::*, function_component, html, Html}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/app.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | fn create(ctx: &Context) -> Self { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/app.rs:25:26 [INFO] [stdout] | [INFO] [stdout] 25 | 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: `msg` [INFO] [stdout] --> src/app.rs:25:47 [INFO] [stdout] | [INFO] [stdout] 25 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/app.rs:28:27 [INFO] [stdout] | [INFO] [stdout] 28 | 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: unused variable: `ctx` [INFO] [stdout] --> src/app.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | fn view(&self, ctx: &Context) -> Html { [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/footer.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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: `ctx` [INFO] [stdout] --> src/components/footer.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | 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: `msg` [INFO] [stdout] --> src/components/footer.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/footer.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | 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: unused variable: `ctx` [INFO] [stdout] --> src/components/footer.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn view(&self, ctx: &Context) -> Html { [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/header.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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: `ctx` [INFO] [stdout] --> src/components/header.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | 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: `msg` [INFO] [stdout] --> src/components/header.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/header.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | 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: unused variable: `ctx` [INFO] [stdout] --> src/components/header.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn view(&self, ctx: &Context) -> Html { [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/lifecycleA.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | 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: `ctx` [INFO] [stdout] --> src/components/lifecycleA.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | 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: `msg` [INFO] [stdout] --> src/components/lifecycleA.rs:22:47 [INFO] [stdout] | [INFO] [stdout] 22 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/lifecycleA.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | 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: unused variable: `ctx` [INFO] [stdout] --> src/components/lifecycleA.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | fn view(&self, ctx: &Context) -> Html { [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/regcomp.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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: `ctx` [INFO] [stdout] --> src/components/regcomp.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | 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: `msg` [INFO] [stdout] --> src/components/regcomp.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/regcomp.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | 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: unused variable: `ctx` [INFO] [stdout] --> src/components/regcomp.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn view(&self, ctx: &Context) -> Html { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `standalone_handle` [INFO] [stdout] --> src/components/parentcomp.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let standalone_handle = Interval::new( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_standalone_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_handle` [INFO] [stdout] --> src/components/parentcomp.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let message_handle = { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `link` [INFO] [stdout] --> src/components/parentcomp.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let link = ctx.link().clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/parentcomp.rs:35:26 [INFO] [stdout] | [INFO] [stdout] 35 | 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: `msg` [INFO] [stdout] --> src/components/parentcomp.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/parentcomp.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | 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: unused variable: `ctx` [INFO] [stdout] --> src/components/parentcomp.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | fn view(&self, ctx: &Context) -> Html { [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/errorboundary.rs:21:15 [INFO] [stdout] | [INFO] [stdout] 21 | 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: `ctx` [INFO] [stdout] --> src/components/errorboundary.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | 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: `msg` [INFO] [stdout] --> src/components/errorboundary.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/errorboundary.rs:32:27 [INFO] [stdout] | [INFO] [stdout] 32 | 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: unused variable: `ctx` [INFO] [stdout] --> src/components/errorboundary.rs:35:28 [INFO] [stdout] | [INFO] [stdout] 35 | 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: `first_render` [INFO] [stdout] --> src/components/errorboundary.rs:35:49 [INFO] [stdout] | [INFO] [stdout] 35 | fn rendered(&mut self, ctx: &Context, first_render: bool) { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_render` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/components/mousemovement.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | 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: `ctx` [INFO] [stdout] --> src/components/mousemovement.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | 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: `ctx` [INFO] [stdout] --> src/components/mousemovement.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | fn view(&self, ctx: &Context) -> Html { [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/router/newapp.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let ctx = use_state(|| UserContext { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx_channel` [INFO] [stdout] --> src/router/newapp.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let ctx_channel = use_state(|| ChannelContext { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/router/home.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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: `ctx` [INFO] [stdout] --> src/router/home.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | 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: `msg` [INFO] [stdout] --> src/router/home.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/router/home.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | 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: unused variable: `ctx` [INFO] [stdout] --> src/router/home.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 18 | fn view(&self, ctx: &Context) -> Html { [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/router/app_reducer.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | Callback::from(move |e: MouseEvent| subtotal.dispatch(Action::AddToCart(10))); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addtocart` [INFO] [stdout] --> src/router/app_reducer.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | let addtocart = { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addtocart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window` [INFO] [stdout] --> src/use_form/userform.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let window = gloo_utils::window(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message_count` [INFO] [stdout] --> src/use_form/userform.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let message_count = use_mut_ref(|| 0); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `info` is never read [INFO] [stdout] --> src/use_form/use_forms.rs:13:21 [INFO] [stdout] | [INFO] [stdout] 13 | let mut info = (*firstname).clone(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `info` is never read [INFO] [stdout] --> src/use_form/use_forms.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | let mut info = (*lastname).clone(); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `props` [INFO] [stdout] --> src/components/lifecycleA.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | props: Props [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/components/parentcomp.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | name: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `interval` [INFO] [stdout] --> src/components/parentcomp.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | interval: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Yew_Template_019` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `yew_template_019` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `lifecycleA` should have a snake case name [INFO] [stdout] --> src/components/mod.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | pub mod lifecycleA; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `lifecycle_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Map` that must be used [INFO] [stdout] --> src/components/columns.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | / items.iter().map(|x| { [INFO] [stdout] 7 | | return html! { [INFO] [stdout] 8 | | <> [INFO] [stdout] 9 | |
{x}
[INFO] [stdout] 10 | | [INFO] [stdout] 11 | | } [INFO] [stdout] 12 | | }); [INFO] [stdout] | |_______^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: iterators are lazy and do nothing unless consumed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused arithmetic operation that must be used [INFO] [stdout] --> src/router/app_reducer.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | self.value + x; [INFO] [stdout] | ^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = self.value + x; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> src/router/app_reducer.rs:74:9 [INFO] [stdout] | [INFO] [stdout] 74 | Callback::from(move |e: MouseEvent| subtotal.dispatch(Action::AddToCart(10))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 74 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 50.06s [INFO] running `Command { std: "docker" "inspect" "0f66a52cde55b2c3d6ea609cf7b41f66bf6c9394d3aebc038cdf1d1f0cfc1fc4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f66a52cde55b2c3d6ea609cf7b41f66bf6c9394d3aebc038cdf1d1f0cfc1fc4", kill_on_drop: false }` [INFO] [stdout] 0f66a52cde55b2c3d6ea609cf7b41f66bf6c9394d3aebc038cdf1d1f0cfc1fc4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-67/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 09b74585569039a5df244f6b909fa09dcc108caa3e2ec4cb844898a83be54217 [INFO] running `Command { std: "docker" "start" "-a" "09b74585569039a5df244f6b909fa09dcc108caa3e2ec4cb844898a83be54217", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused imports: `header::Header`, `home::Home` [INFO] [stderr] --> src/app.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | header::Header, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 10 | home::Home, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::router::cartprovider::CartProvider` [INFO] [stderr] --> src/app.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use crate::router::cartprovider::CartProvider; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `switch` [INFO] [stderr] --> src/components/navbar.rs:3:31 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::router::{AppRoute, switch}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `functional` [INFO] [stderr] --> src/components/columns.rs:1:23 [INFO] [stderr] | [INFO] [stderr] 1 | use yew::{prelude::*, functional}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Timeout`, `Timer` [INFO] [stderr] --> src/components/parentcomp.rs:2:34 [INFO] [stderr] | [INFO] [stderr] 2 | timers::callback::{Interval, Timeout}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 3 | console::{self, Timer}}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Html`, `prelude::*` [INFO] [stderr] --> src/components/portaldemo.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use yew::{prelude::*, function_component, html, Html, create_portal}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Html` [INFO] [stderr] --> src/components/errorhandling.rs:1:49 [INFO] [stderr] | [INFO] [stderr] 1 | use yew::{prelude::*, function_component, html, Html}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `gloo_console` [INFO] [stderr] --> src/components/mousemovement.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use gloo_console; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Html` [INFO] [stderr] --> src/router/newapp.rs:1:49 [INFO] [stderr] | [INFO] [stderr] 1 | use yew::{prelude::*, function_component, html, Html}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Html` [INFO] [stderr] --> src/router/app_reducer.rs:1:49 [INFO] [stderr] | [INFO] [stderr] 1 | use yew::{prelude::*, function_component, html, Html}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::router` [INFO] [stderr] --> src/router/app_reducer.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::router; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Html` [INFO] [stderr] --> src/use_form/use_forms.rs:2:49 [INFO] [stderr] | [INFO] [stderr] 2 | use yew::{prelude::*, function_component, html, Html}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/app.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | fn create(ctx: &Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/app.rs:25:26 [INFO] [stderr] | [INFO] [stderr] 25 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/app.rs:25:47 [INFO] [stderr] | [INFO] [stderr] 25 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/app.rs:28:27 [INFO] [stderr] | [INFO] [stderr] 28 | fn changed(&mut self, ctx: &Context) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/app.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | fn view(&self, ctx: &Context) -> Html { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/footer.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | fn create(ctx: &Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/footer.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/components/footer.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/footer.rs:15:27 [INFO] [stderr] | [INFO] [stderr] 15 | fn changed(&mut self, ctx: &Context) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/footer.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | fn view(&self, ctx: &Context) -> Html { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/header.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | fn create(ctx: &Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/header.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/components/header.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/header.rs:15:27 [INFO] [stderr] | [INFO] [stderr] 15 | fn changed(&mut self, ctx: &Context) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/header.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | fn view(&self, ctx: &Context) -> Html { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/lifecycleA.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | fn create(ctx: &Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/lifecycleA.rs:22:26 [INFO] [stderr] | [INFO] [stderr] 22 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/components/lifecycleA.rs:22:47 [INFO] [stderr] | [INFO] [stderr] 22 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/lifecycleA.rs:25:27 [INFO] [stderr] | [INFO] [stderr] 25 | fn changed(&mut self, ctx: &Context) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/lifecycleA.rs:28:20 [INFO] [stderr] | [INFO] [stderr] 28 | fn view(&self, ctx: &Context) -> Html { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/regcomp.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | fn create(ctx: &Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/regcomp.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/components/regcomp.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/regcomp.rs:15:27 [INFO] [stderr] | [INFO] [stderr] 15 | fn changed(&mut self, ctx: &Context) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/regcomp.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | fn view(&self, ctx: &Context) -> Html { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `standalone_handle` [INFO] [stderr] --> src/components/parentcomp.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | let standalone_handle = Interval::new( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_standalone_handle` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message_handle` [INFO] [stderr] --> src/components/parentcomp.rs:25:13 [INFO] [stderr] | [INFO] [stderr] 25 | let message_handle = { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_handle` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `link` [INFO] [stderr] --> src/components/parentcomp.rs:26:17 [INFO] [stderr] | [INFO] [stderr] 26 | let link = ctx.link().clone(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_link` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/parentcomp.rs:35:26 [INFO] [stderr] | [INFO] [stderr] 35 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/components/parentcomp.rs:35:47 [INFO] [stderr] | [INFO] [stderr] 35 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/parentcomp.rs:44:27 [INFO] [stderr] | [INFO] [stderr] 44 | fn changed(&mut self, ctx: &Context) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/parentcomp.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | fn view(&self, ctx: &Context) -> Html { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/errorboundary.rs:21:15 [INFO] [stderr] | [INFO] [stderr] 21 | fn create(ctx: &Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/errorboundary.rs:29:26 [INFO] [stderr] | [INFO] [stderr] 29 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/components/errorboundary.rs:29:47 [INFO] [stderr] | [INFO] [stderr] 29 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/errorboundary.rs:32:27 [INFO] [stderr] | [INFO] [stderr] 32 | fn changed(&mut self, ctx: &Context) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/errorboundary.rs:35:28 [INFO] [stderr] | [INFO] [stderr] 35 | fn rendered(&mut self, ctx: &Context, first_render: bool) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `first_render` [INFO] [stderr] --> src/components/errorboundary.rs:35:49 [INFO] [stderr] | [INFO] [stderr] 35 | fn rendered(&mut self, ctx: &Context, first_render: bool) { [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_render` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/mousemovement.rs:23:15 [INFO] [stderr] | [INFO] [stderr] 23 | fn create(ctx: &Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/mousemovement.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/components/mousemovement.rs:58:20 [INFO] [stderr] | [INFO] [stderr] 58 | fn view(&self, ctx: &Context) -> Html { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/router/newapp.rs:17:9 [INFO] [stderr] | [INFO] [stderr] 17 | let ctx = use_state(|| UserContext { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx_channel` [INFO] [stderr] --> src/router/newapp.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let ctx_channel = use_state(|| ChannelContext { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_channel` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/router/home.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | fn create(ctx: &Context) -> Self { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/router/home.rs:12:26 [INFO] [stderr] | [INFO] [stderr] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/router/home.rs:12:47 [INFO] [stderr] | [INFO] [stderr] 12 | fn update(&mut self, ctx: &Context, msg: Self::Message) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/router/home.rs:15:27 [INFO] [stderr] | [INFO] [stderr] 15 | fn changed(&mut self, ctx: &Context) -> bool { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/router/home.rs:18:20 [INFO] [stderr] | [INFO] [stderr] 18 | fn view(&self, ctx: &Context) -> Html { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/router/app_reducer.rs:74:30 [INFO] [stderr] | [INFO] [stderr] 74 | Callback::from(move |e: MouseEvent| subtotal.dispatch(Action::AddToCart(10))); [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addtocart` [INFO] [stderr] --> src/router/app_reducer.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | let addtocart = { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_addtocart` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `window` [INFO] [stderr] --> src/use_form/userform.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | let window = gloo_utils::window(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_window` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `message_count` [INFO] [stderr] --> src/use_form/userform.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let message_count = use_mut_ref(|| 0); [INFO] [stderr] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message_count` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `info` is never read [INFO] [stderr] --> src/use_form/use_forms.rs:13:21 [INFO] [stderr] | [INFO] [stderr] 13 | let mut info = (*firstname).clone(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: value assigned to `info` is never read [INFO] [stderr] --> src/use_form/use_forms.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | let mut info = (*lastname).clone(); [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: field is never read: `props` [INFO] [stderr] --> src/components/lifecycleA.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | props: Props [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/components/parentcomp.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | name: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `interval` [INFO] [stderr] --> src/components/parentcomp.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | interval: Option [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `Yew_Template_019` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `yew_template_019` [INFO] [stderr] [INFO] [stderr] warning: module `lifecycleA` should have a snake case name [INFO] [stderr] --> src/components/mod.rs:21:9 [INFO] [stderr] | [INFO] [stderr] 21 | pub mod lifecycleA; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `lifecycle_a` [INFO] [stderr] [INFO] [stderr] warning: unused `Map` that must be used [INFO] [stderr] --> src/components/columns.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | / items.iter().map(|x| { [INFO] [stderr] 7 | | return html! { [INFO] [stderr] 8 | | <> [INFO] [stderr] 9 | |
{x}
[INFO] [stderr] 10 | | [INFO] [stderr] 11 | | } [INFO] [stderr] 12 | | }); [INFO] [stderr] | |_______^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: iterators are lazy and do nothing unless consumed [INFO] [stderr] [INFO] [stderr] warning: unused arithmetic operation that must be used [INFO] [stderr] --> src/router/app_reducer.rs:55:16 [INFO] [stderr] | [INFO] [stderr] 55 | self.value + x; [INFO] [stderr] | ^^^^^^^^^^^^^^ the arithmetic operation produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 55 | let _ = self.value + x; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `from` that must be used [INFO] [stderr] --> src/router/app_reducer.rs:74:9 [INFO] [stderr] | [INFO] [stderr] 74 | Callback::from(move |e: MouseEvent| subtotal.dispatch(Action::AddToCart(10))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `Yew-Template-019` (bin "Yew-Template-019" test) generated 74 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.49s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/Yew_Template_019-0ecf9b251d090d49) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "09b74585569039a5df244f6b909fa09dcc108caa3e2ec4cb844898a83be54217", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09b74585569039a5df244f6b909fa09dcc108caa3e2ec4cb844898a83be54217", kill_on_drop: false }` [INFO] [stdout] 09b74585569039a5df244f6b909fa09dcc108caa3e2ec4cb844898a83be54217