[INFO] cloning repository https://github.com/jedi116/eco_friend_ui [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jedi116/eco_friend_ui" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjedi116%2Feco_friend_ui", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjedi116%2Feco_friend_ui'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 614b11835774614c8511568bde1d8e10f57f8dd5 [INFO] checking jedi116/eco_friend_ui against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjedi116%2Feco_friend_ui" "/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/jedi116/eco_friend_ui on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jedi116/eco_friend_ui [INFO] finished tweaking git repo https://github.com/jedi116/eco_friend_ui [INFO] tweaked toml for git repo https://github.com/jedi116/eco_friend_ui written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/jedi116/eco_friend_ui 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.serde.verison [INFO] [stderr] warning: dependency (serde) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/AlephAlpha/muicss-yew` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yewtil v0.3.2 [INFO] [stderr] Downloaded implicit-clone v0.4.4 [INFO] [stderr] Downloaded winnow v0.5.18 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 889cd0ee544ae54d7e3fdb714d25866d8c63add36bf453bfe0ebf4a1606023c4 [INFO] running `Command { std: "docker" "start" "-a" "889cd0ee544ae54d7e3fdb714d25866d8c63add36bf453bfe0ebf4a1606023c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "889cd0ee544ae54d7e3fdb714d25866d8c63add36bf453bfe0ebf4a1606023c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "889cd0ee544ae54d7e3fdb714d25866d8c63add36bf453bfe0ebf4a1606023c4", kill_on_drop: false }` [INFO] [stdout] 889cd0ee544ae54d7e3fdb714d25866d8c63add36bf453bfe0ebf4a1606023c4 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb5bfea4afa3e740bb0ad9f7a419e51ab4935bb0663e8082e9ea4f548e09f7b7 [INFO] running `Command { std: "docker" "start" "-a" "fb5bfea4afa3e740bb0ad9f7a419e51ab4935bb0663e8082e9ea4f548e09f7b7", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: dependencies.serde.verison [INFO] [stderr] warning: dependency (serde) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling winnow v0.5.18 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling yew v0.17.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking route-recognizer v0.3.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking implicit-clone v0.4.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling yew-macro v0.17.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling yew-router-macro v0.18.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Checking futures-util v0.3.29 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking js-sys v0.3.64 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.64 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.37 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.1 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-utils v0.1.7 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-net v0.4.0 [INFO] [stderr] Checking gloo-worker v0.4.0 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo-history v0.2.1 [INFO] [stderr] Checking gloo-net v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Checking reqwasm v0.5.0 [INFO] [stderr] Checking gloo v0.10.0 [INFO] [stderr] Checking yew v0.21.0 [INFO] [stderr] Checking yewtil v0.3.2 [INFO] [stderr] Checking muicss-yew v0.1.0 (https://github.com/AlephAlpha/muicss-yew#975646ff) [INFO] [stderr] Checking yew-router v0.18.0 [INFO] [stderr] Checking eco_friend_ui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Method`, `Request` [INFO] [stdout] --> src/components/place_form.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwasm::http::{Request, Method}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/components/place_form.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `web_sys` is imported redundantly [INFO] [stdout] --> src/components/place_form.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use web_sys; [INFO] [stdout] | ^^^^^^^ the item `web_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::*` [INFO] [stdout] --> src/components/button.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::*` [INFO] [stdout] --> src/components/nav_bar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::*` [INFO] [stdout] --> src/components/nav_bar.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `web_sys` is imported redundantly [INFO] [stdout] --> src/pages/home.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys; [INFO] [stdout] | ^^^^^^^ the item `web_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnyHistory`, `History`, `MemoryHistory` [INFO] [stdout] --> src/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use yew_router::history::{AnyHistory, History, MemoryHistory}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `Request` [INFO] [stdout] --> src/components/place_form.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwasm::http::{Request, Method}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/components/place_form.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `web_sys` is imported redundantly [INFO] [stdout] --> src/components/place_form.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use web_sys; [INFO] [stdout] | ^^^^^^^ the item `web_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::*` [INFO] [stdout] --> src/components/button.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::*` [INFO] [stdout] --> src/components/nav_bar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::*` [INFO] [stdout] --> src/components/nav_bar.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `web_sys` is imported redundantly [INFO] [stdout] --> src/pages/home.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys; [INFO] [stdout] | ^^^^^^^ the item `web_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnyHistory`, `History`, `MemoryHistory` [INFO] [stdout] --> src/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use yew_router::history::{AnyHistory, History, MemoryHistory}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/components/place_form.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | log!(JsValue::from_serde(&test).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/components/place_form.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | log!(JsValue::from_serde(&test).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/components/place_form.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | log!(JsValue::from_serde(&test).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/components/place_form.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | log!(JsValue::from_serde(&test).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/place_form.rs:80:60 [INFO] [stdout] | [INFO] [stdout] 80 | let handle_click_origin_search = Callback::from( move |value: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/place_form.rs:111:64 [INFO] [stdout] | [INFO] [stdout] 111 | let handle_click_destination_search = Callback::from(move |value: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/place_form.rs:147:56 [INFO] [stdout] | [INFO] [stdout] 147 | let handle_calculate_click = Callback::from(move |value: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/components/button.rs:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | let handle_click = Callback::from(move |event: MouseEvent| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/place_form.rs:80:60 [INFO] [stdout] | [INFO] [stdout] 80 | let handle_click_origin_search = Callback::from( move |value: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/place_form.rs:111:64 [INFO] [stdout] | [INFO] [stdout] 111 | let handle_click_destination_search = Callback::from(move |value: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/place_form.rs:147:56 [INFO] [stdout] | [INFO] [stdout] 147 | let handle_calculate_click = Callback::from(move |value: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/pages/report.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | let borrowed_props = props.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ReportPageProps` does not implement `Clone`, so calling `clone` on `&ReportPageProps` 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] 45 - let borrowed_props = props.clone(); [INFO] [stdout] 45 + let borrowed_props = props; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ReportPageProps`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Clone)] [INFO] [stdout] 9 | pub struct ReportPageProps { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pages/report.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | &report_state_clone.set(Some(sorted_repsponse)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = &report_state_clone.set(Some(sorted_repsponse)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/components/button.rs:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | let handle_click = Callback::from(move |event: MouseEvent| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/pages/report.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | let borrowed_props = props.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ReportPageProps` does not implement `Clone`, so calling `clone` on `&ReportPageProps` 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] 45 - let borrowed_props = props.clone(); [INFO] [stdout] 45 + let borrowed_props = props; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ReportPageProps`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Clone)] [INFO] [stdout] 9 | pub struct ReportPageProps { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pages/report.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | &report_state_clone.set(Some(sorted_repsponse)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = &report_state_clone.set(Some(sorted_repsponse)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.86s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "fb5bfea4afa3e740bb0ad9f7a419e51ab4935bb0663e8082e9ea4f548e09f7b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb5bfea4afa3e740bb0ad9f7a419e51ab4935bb0663e8082e9ea4f548e09f7b7", kill_on_drop: false }` [INFO] [stdout] fb5bfea4afa3e740bb0ad9f7a419e51ab4935bb0663e8082e9ea4f548e09f7b7 [INFO] checking jedi116/eco_friend_ui against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjedi116%2Feco_friend_ui" "/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/jedi116/eco_friend_ui on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/jedi116/eco_friend_ui [INFO] finished tweaking git repo https://github.com/jedi116/eco_friend_ui [INFO] tweaked toml for git repo https://github.com/jedi116/eco_friend_ui written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/jedi116/eco_friend_ui 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (serde) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.serde.verison [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee34014ccc57c0dcc266e4d545c1291cd610841918d77d2e2faa334a4c339504 [INFO] running `Command { std: "docker" "start" "-a" "ee34014ccc57c0dcc266e4d545c1291cd610841918d77d2e2faa334a4c339504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee34014ccc57c0dcc266e4d545c1291cd610841918d77d2e2faa334a4c339504", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee34014ccc57c0dcc266e4d545c1291cd610841918d77d2e2faa334a4c339504", kill_on_drop: false }` [INFO] [stdout] ee34014ccc57c0dcc266e4d545c1291cd610841918d77d2e2faa334a4c339504 [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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a2c389ef114b9f3c08d678c333543ab79283605465c168d2bf6e6ab243e5d12d [INFO] running `Command { std: "docker" "start" "-a" "a2c389ef114b9f3c08d678c333543ab79283605465c168d2bf6e6ab243e5d12d", kill_on_drop: false }` [INFO] [stderr] warning: dependency (serde) specified without providing a local path, Git repository, version, or workspace dependency to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.serde.verison [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.87 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Compiling wasm-bindgen v0.2.87 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling winnow v0.5.18 [INFO] [stderr] Compiling boolinator v2.4.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tokio v1.33.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling yew v0.17.4 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking cfg-match v0.2.1 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking anymap v0.12.1 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking route-recognizer v0.3.1 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking implicit-clone v0.4.4 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling yew-macro v0.17.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.87 [INFO] [stderr] Compiling prettyplease v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling futures-macro v0.3.29 [INFO] [stderr] Compiling pin-project-internal v1.1.3 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling yew-macro v0.21.0 [INFO] [stderr] Compiling yew-router-macro v0.18.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.87 [INFO] [stderr] Checking futures-util v0.3.29 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.87 [INFO] [stderr] Checking pin-project v1.1.3 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking futures-executor v0.3.29 [INFO] [stderr] Checking futures v0.3.29 [INFO] [stderr] Checking pinned v0.1.0 [INFO] [stderr] Checking prokio v0.1.0 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking js-sys v0.3.64 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking web-sys v0.3.64 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.37 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.1 [INFO] [stderr] Checking gloo-timers v0.2.6 [INFO] [stderr] Checking gloo-timers v0.3.0 [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking gloo-events v0.2.0 [INFO] [stderr] Checking gloo-events v0.1.2 [INFO] [stderr] Checking gloo-console-timer v0.1.0 [INFO] [stderr] Checking gloo-dialogs v0.2.0 [INFO] [stderr] Checking gloo-render v0.2.0 [INFO] [stderr] Checking gloo-utils v0.1.7 [INFO] [stderr] Checking gloo-storage v0.3.0 [INFO] [stderr] Checking gloo-console v0.3.0 [INFO] [stderr] Checking gloo-worker v0.4.0 [INFO] [stderr] Checking gloo-net v0.4.0 [INFO] [stderr] Checking gloo-file v0.3.0 [INFO] [stderr] Checking gloo-history v0.2.1 [INFO] [stderr] Checking gloo-file v0.1.0 [INFO] [stderr] Checking gloo-net v0.1.0 [INFO] [stderr] Checking gloo v0.2.1 [INFO] [stderr] Checking reqwasm v0.5.0 [INFO] [stderr] Checking gloo v0.10.0 [INFO] [stderr] Checking yew v0.21.0 [INFO] [stderr] Checking yewtil v0.3.2 [INFO] [stderr] Checking muicss-yew v0.1.0 (https://github.com/AlephAlpha/muicss-yew#975646ff) [INFO] [stderr] Checking yew-router v0.18.0 [INFO] [stderr] Checking eco_friend_ui v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Method`, `Request` [INFO] [stdout] --> src/components/place_form.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwasm::http::{Request, Method}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/components/place_form.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `web_sys` is imported redundantly [INFO] [stdout] --> src/components/place_form.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use web_sys; [INFO] [stdout] | ^^^^^^^ the item `web_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::*` [INFO] [stdout] --> src/components/button.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::*` [INFO] [stdout] --> src/components/nav_bar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::*` [INFO] [stdout] --> src/components/nav_bar.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `web_sys` is imported redundantly [INFO] [stdout] --> src/pages/home.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys; [INFO] [stdout] | ^^^^^^^ the item `web_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnyHistory`, `History`, `MemoryHistory` [INFO] [stdout] --> src/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use yew_router::history::{AnyHistory, History, MemoryHistory}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Method`, `Request` [INFO] [stdout] --> src/components/place_form.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use reqwasm::http::{Request, Method}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Value` [INFO] [stdout] --> src/components/place_form.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::Value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `web_sys` is imported redundantly [INFO] [stdout] --> src/components/place_form.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use web_sys; [INFO] [stdout] | ^^^^^^^ the item `web_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::*` [INFO] [stdout] --> src/components/button.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `web_sys::*` [INFO] [stdout] --> src/components/nav_bar.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use web_sys::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wasm_bindgen::*` [INFO] [stdout] --> src/components/nav_bar.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use wasm_bindgen::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `web_sys` is imported redundantly [INFO] [stdout] --> src/pages/home.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use web_sys; [INFO] [stdout] | ^^^^^^^ the item `web_sys` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AnyHistory`, `History`, `MemoryHistory` [INFO] [stdout] --> src/main.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | use yew_router::history::{AnyHistory, History, MemoryHistory}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/components/place_form.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | log!(JsValue::from_serde(&test).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/components/place_form.rs:101:27 [INFO] [stdout] | [INFO] [stdout] 101 | log!(JsValue::from_serde(&test).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/components/place_form.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | log!(JsValue::from_serde(&test).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/components/place_form.rs:132:27 [INFO] [stdout] | [INFO] [stdout] 132 | log!(JsValue::from_serde(&test).unwrap()); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/place_form.rs:80:60 [INFO] [stdout] | [INFO] [stdout] 80 | let handle_click_origin_search = Callback::from( move |value: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/place_form.rs:111:64 [INFO] [stdout] | [INFO] [stdout] 111 | let handle_click_destination_search = Callback::from(move |value: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/place_form.rs:147:56 [INFO] [stdout] | [INFO] [stdout] 147 | let handle_calculate_click = Callback::from(move |value: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/place_form.rs:80:60 [INFO] [stdout] | [INFO] [stdout] 80 | let handle_click_origin_search = Callback::from( move |value: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/place_form.rs:111:64 [INFO] [stdout] | [INFO] [stdout] 111 | let handle_click_destination_search = Callback::from(move |value: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/components/place_form.rs:147:56 [INFO] [stdout] | [INFO] [stdout] 147 | let handle_calculate_click = Callback::from(move |value: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/components/button.rs:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | let handle_click = Callback::from(move |event: MouseEvent| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `event` [INFO] [stdout] --> src/components/button.rs:16:45 [INFO] [stdout] | [INFO] [stdout] 16 | let handle_click = Callback::from(move |event: MouseEvent| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/pages/report.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | let borrowed_props = props.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ReportPageProps` does not implement `Clone`, so calling `clone` on `&ReportPageProps` 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] 45 - let borrowed_props = props.clone(); [INFO] [stdout] 45 + let borrowed_props = props; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ReportPageProps`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Clone)] [INFO] [stdout] 9 | pub struct ReportPageProps { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pages/report.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | &report_state_clone.set(Some(sorted_repsponse)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = &report_state_clone.set(Some(sorted_repsponse)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/pages/report.rs:45:31 [INFO] [stdout] | [INFO] [stdout] 45 | let borrowed_props = props.clone(); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `ReportPageProps` does not implement `Clone`, so calling `clone` on `&ReportPageProps` 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] 45 - let borrowed_props = props.clone(); [INFO] [stdout] 45 + let borrowed_props = props; [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `ReportPageProps`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 8 + #[derive(Clone)] [INFO] [stdout] 9 | pub struct ReportPageProps { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/pages/report.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | &report_state_clone.set(Some(sorted_repsponse)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 71 | let _ = &report_state_clone.set(Some(sorted_repsponse)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 38.27s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: wasm-bindgen v0.2.87 [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" "a2c389ef114b9f3c08d678c333543ab79283605465c168d2bf6e6ab243e5d12d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2c389ef114b9f3c08d678c333543ab79283605465c168d2bf6e6ab243e5d12d", kill_on_drop: false }` [INFO] [stdout] a2c389ef114b9f3c08d678c333543ab79283605465c168d2bf6e6ab243e5d12d