(
[INFO] [stdout] | ----------------------- required by a bound in this function
[INFO] [stdout] 342 | _f: &impl Component,
[INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `component_props_builder`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/p2p_chat_frontend-ccada3183fe6271e.long-type-15212641494165155860.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] = note: this error originates in the macro `view` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RtcIceCandidateInit`
[INFO] [stdout] --> frontend/src/lib.rs:340:34
[INFO] [stdout] |
[INFO] [stdout] 340 | let candidate_init = RtcIceCandidateInit::new(candidate);
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RtcIceCandidateInit`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout] --> frontend/src/lib.rs:341:21
[INFO] [stdout] |
[INFO] [stdout] 341 | let _ = pc.add_ice_candidate_with_rtc_ice_candidate_init(&candidate_init);
[INFO] [stdout] | ^^ cannot infer type
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout] --> frontend/src/lib.rs:349:17
[INFO] [stdout] |
[INFO] [stdout] 349 | if !jwt_val.is_empty() {
[INFO] [stdout] | ^^^^^^^ cannot infer type
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout] --> frontend/src/lib.rs:362:21
[INFO] [stdout] |
[INFO] [stdout] 362 | if !jwt_val.is_empty() {
[INFO] [stdout] | ^^^^^^^ cannot infer type
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0425]: cannot find function `use_effect` in this scope
[INFO] [stdout] --> frontend/src/lib.rs:356:5
[INFO] [stdout] |
[INFO] [stdout] 356 | use_effect(move || {
[INFO] [stdout] | ^^^^^^^^^^ not found in this scope
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout] --> frontend/src/lib.rs:378:27
[INFO] [stdout] |
[INFO] [stdout] 378 | match dc.ready_state() {
[INFO] [stdout] | ^^ cannot infer type
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> frontend/src/lib.rs:392:36
[INFO] [stdout] |
[INFO] [stdout] 392 | timestamp: js_sys::Date::new_0().to_string(),
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `String`, found `JsString`
[INFO] [stdout] |
[INFO] [stdout] help: call `Into::into` on this expression to convert `JsString` into `std::string::String`
[INFO] [stdout] |
[INFO] [stdout] 392 | timestamp: js_sys::Date::new_0().to_string().into(),
[INFO] [stdout] | +++++++
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0599]: the method `key` exists for struct `ForPropsBuilder>, _, _, _, _, _, _, ...>`, but its trait bounds were not satisfied
[INFO] [stdout] --> frontend/src/lib.rs:407:21
[INFO] [stdout] |
[INFO] [stdout] 400 | / view! {
[INFO] [stdout] 401 | |
[INFO] [stdout] 402 | |
"Chat Room: " {room}
[INFO] [stdout] 403 | |
"Connection: " {connection_status}
[INFO] [stdout] ... |
[INFO] [stdout] 406 | | each=messages
[INFO] [stdout] 407 | | key=|msg| msg.timestamp.clone()
[INFO] [stdout] | | -^^^ method cannot be called due to unsatisfied trait bounds
[INFO] [stdout] | |____________________|
[INFO] [stdout] |
[INFO] [stdout] |
[INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_reactive-0.6.15/src/signal.rs:434:1
[INFO] [stdout] |
[INFO] [stdout] 434 | pub struct ReadSignal
[INFO] [stdout] | ------------------------ doesn't satisfy `<_ as FnOnce<()>>::Output = _`, `ReadSignal>: FnOnce<()>` or `ReadSignal>: std::ops::Fn<()>`
[INFO] [stdout] |
[INFO] [stdout] = note: the following trait bounds were not satisfied:
[INFO] [stdout] `ReadSignal>: std::ops::Fn<()>`
[INFO] [stdout] `ReadSignal>: FnOnce<()>`
[INFO] [stdout] which is required by `> as FnOnce<()>>::Output = _`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/p2p_chat_frontend-ccada3183fe6271e.long-type-3695973513900970542.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `ReadSignal>`
[INFO] [stdout] --> frontend/src/lib.rs:406:21
[INFO] [stdout] |
[INFO] [stdout] 406 | each=messages
[INFO] [stdout] | ^^^^ expected an `FnOnce()` closure, found `ReadSignal>`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `ReadSignal>`
[INFO] [stdout] = note: wrap the `ReadSignal>` in a closure with no arguments: `|| { /* code */ }`
[INFO] [stdout] note: required by a bound in `ForPropsBuilder::::each`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos-0.6.15/src/for_loop.rs:92:17
[INFO] [stdout] |
[INFO] [stdout] 48 | each: IF,
[INFO] [stdout] | ---- required by a bound in this associated function
[INFO] [stdout] ...
[INFO] [stdout] 92 | IF: Fn() -> I + 'static,
[INFO] [stdout] | ^ required by this bound in `ForPropsBuilder::::each`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: expected a `FnOnce()` closure, found `ReadSignal>`
[INFO] [stdout] --> frontend/src/lib.rs:405:18
[INFO] [stdout] |
[INFO] [stdout] 405 | >`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `FnOnce()` is not implemented for `ReadSignal>`
[INFO] [stdout] = note: wrap the `ReadSignal>` in a closure with no arguments: `|| { /* code */ }`
[INFO] [stdout] note: required by a bound in `leptos::For`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos-0.6.15/src/for_loop.rs:92:17
[INFO] [stdout] |
[INFO] [stdout] 46 | pub fn For(
[INFO] [stdout] | --- required by a bound in this function
[INFO] [stdout] ...
[INFO] [stdout] 92 | IF: Fn() -> I + 'static,
[INFO] [stdout] | ^ required by this bound in `For`
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0277]: expected a `Fn()` closure, found `ReadSignal>`
[INFO] [stdout] --> frontend/src/lib.rs:400:5
[INFO] [stdout] |
[INFO] [stdout] 400 | / view! {
[INFO] [stdout] 401 | |
[INFO] [stdout] 402 | |
"Chat Room: " {room}
[INFO] [stdout] 403 | |
"Connection: " {connection_status}
[INFO] [stdout] ... |
[INFO] [stdout] 426 | |
[INFO] [stdout] 427 | | }
[INFO] [stdout] | |_____^ expected an `Fn()` closure, found `ReadSignal>`
[INFO] [stdout] |
[INFO] [stdout] = help: the trait `Fn()` is not implemented for `ReadSignal>`
[INFO] [stdout] = note: wrap the `ReadSignal>` in a closure with no arguments: `|| { /* code */ }`
[INFO] [stdout] = note: required for `ForProps>, _, _, _, _, _, _>` to implement `leptos::Props`
[INFO] [stdout] = note: required for `fn(...) -> ... {For::<..., _, _, _, _, _, _>}` to implement `leptos::Component>, _, _, _, _, _, _>>`
[INFO] [stdout] note: required by a bound in `component_props_builder`
[INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos-0.6.15/src/lib.rs:342:15
[INFO] [stdout] |
[INFO] [stdout] 341 | pub fn component_props_builder(
[INFO] [stdout] | ----------------------- required by a bound in this function
[INFO] [stdout] 342 | _f: &impl Component,
[INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `component_props_builder`
[INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/p2p_chat_frontend-26cd60f6bd3ebe53.long-type-2301823012760727246.txt'
[INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] = note: this error originates in the macro `view` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout] --> frontend/src/lib.rs:416:51
[INFO] [stdout] |
[INFO] [stdout] 416 |