[INFO] cloning repository https://github.com/browser-vm/p2p-chat [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/browser-vm/p2p-chat" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrowser-vm%2Fp2p-chat", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrowser-vm%2Fp2p-chat'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c8efd73a29278a9d9a3eb725e0400c3a01eff5b [INFO] checking browser-vm/p2p-chat against try#e622d8d7bed4f2668d446e06c6c1436ecae15796 for pr-156776 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrowser-vm%2Fp2p-chat" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/browser-vm/p2p-chat [INFO] finished tweaking git repo https://github.com/browser-vm/p2p-chat [INFO] tweaked toml for git repo https://github.com/browser-vm/p2p-chat written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/browser-vm/p2p-chat on toolchain e622d8d7bed4f2668d446e06c6c1436ecae15796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/browser-vm/p2p-chat 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" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.3.43 [INFO] [stderr] Downloaded find-msvc-tools v0.1.1 [INFO] [stderr] Downloaded which v5.0.0 [INFO] [stderr] Downloaded cc v1.2.37 [INFO] [stderr] Downloaded resolv-conf v0.7.5 [INFO] [stderr] Downloaded remove_dir_all v0.8.4 [INFO] [stderr] Downloaded normpath v1.4.0 [INFO] [stderr] Downloaded libdeflater v1.24.0 [INFO] [stderr] Downloaded libdeflate-sys v1.24.0 [INFO] [stderr] Downloaded oxipng v9.1.5 [INFO] [stderr] Downloaded nipper v0.1.9 [INFO] [stderr] Downloaded minify-html-common v0.0.2 [INFO] [stderr] Downloaded minify-js v0.5.6 [INFO] [stderr] Downloaded vlq v0.5.1 [INFO] [stderr] Downloaded parse-js v0.17.0 [INFO] [stderr] Downloaded minify-html v0.15.0 [INFO] [stderr] Downloaded parcel_sourcemap v2.1.1 [INFO] [stderr] Downloaded data-url v0.1.1 [INFO] [stderr] Downloaded parcel_selectors v0.26.6 [INFO] [stderr] Downloaded cssparser-color v0.1.0 [INFO] [stderr] Downloaded cssparser v0.33.0 [INFO] [stderr] Downloaded const-str v0.3.2 [INFO] [stderr] Downloaded const-str-proc-macro v0.3.2 [INFO] [stderr] Downloaded local-ip-address v0.5.7 [INFO] [stderr] Downloaded css-minify v0.3.1 [INFO] [stderr] Downloaded camino v1.2.0 [INFO] [stderr] Downloaded cargo-lock v9.0.0 [INFO] [stderr] Downloaded axum-server v0.5.1 [INFO] [stderr] Downloaded leptos_router v0.6.15 [INFO] [stderr] Downloaded serde_test v1.0.177 [INFO] [stderr] Downloaded leptos v0.6.15 [INFO] [stderr] Downloaded typed-builder-macro v0.18.2 [INFO] [stderr] Downloaded typed-builder v0.18.2 [INFO] [stderr] Downloaded leptos_server v0.6.15 [INFO] [stderr] Downloaded leptos_reactive v0.6.15 [INFO] [stderr] Downloaded oco_ref v0.1.1 [INFO] [stderr] Downloaded leptos_macro v0.6.15 [INFO] [stderr] Downloaded rstml v0.11.2 [INFO] [stderr] Downloaded manyhow-macros v0.10.4 [INFO] [stderr] Downloaded leptos_hot_reload v0.6.15 [INFO] [stderr] Downloaded manyhow v0.10.4 [INFO] [stderr] Downloaded attribute-derive v0.9.2 [INFO] [stderr] Downloaded proc-macro-utils v0.8.0 [INFO] [stderr] Downloaded pad-adapter v0.1.1 [INFO] [stderr] Downloaded drain_filter_polyfill v0.1.3 [INFO] [stderr] Downloaded leptos_config v0.6.15 [INFO] [stderr] Downloaded leptos_meta v0.6.15 [INFO] [stderr] Downloaded attribute-derive-macro v0.9.2 [INFO] [stderr] Downloaded quote-use v0.8.4 [INFO] [stderr] Downloaded quote-use-macros v0.8.4 [INFO] [stderr] Downloaded proc-macro-utils v0.10.0 [INFO] [stderr] Downloaded interpolator v0.5.0 [INFO] [stderr] Downloaded collection_literals v1.0.2 [INFO] [stderr] Downloaded leptos_dom v0.6.15 [INFO] [stderr] Downloaded trunk v0.18.8 [INFO] [stderr] Downloaded lightningcss v1.0.0-alpha.51 [INFO] [stderr] Downloaded aws-lc-sys v0.31.0 [INFO] [stderr] Downloaded aws-lc-rs v1.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a726571f4d109e98252583ad6625bf24218d1a0571738730c440e1dedd71ffee [INFO] running `Command { std: "docker" "start" "-a" "a726571f4d109e98252583ad6625bf24218d1a0571738730c440e1dedd71ffee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a726571f4d109e98252583ad6625bf24218d1a0571738730c440e1dedd71ffee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a726571f4d109e98252583ad6625bf24218d1a0571738730c440e1dedd71ffee", kill_on_drop: false }` [INFO] [stdout] a726571f4d109e98252583ad6625bf24218d1a0571738730c440e1dedd71ffee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+e622d8d7bed4f2668d446e06c6c1436ecae15796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4416ad2e83323056ed31809c1226506bb7ebfa1f63b258b5140016f7d11ec9d5 [INFO] running `Command { std: "docker" "start" "-a" "4416ad2e83323056ed31809c1226506bb7ebfa1f63b258b5140016f7d11ec9d5", kill_on_drop: false }` [INFO] [stderr] warning: p2p-chat-frontend v0.1.0 (/opt/rustwide/workdir/frontend) ignoring invalid dependency `trunk` which is missing a lib target [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling serde_core v1.0.225 [INFO] [stderr] Compiling serde v1.0.225 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.103 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling bumpalo v3.19.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.103 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling find-msvc-tools v0.1.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling xxhash-rust v0.8.15 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling camino v1.2.0 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling interpolator v0.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking winnow v0.7.13 [INFO] [stderr] Compiling collection_literals v1.0.2 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking self_cell v1.2.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling cc v1.2.37 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling utf8-width v0.1.7 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling html-escape v0.2.13 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-utils v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling proc-macro-utils v0.8.0 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Compiling manyhow-macros v0.10.4 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling aws-lc-rs v1.14.0 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling aws-lc-sys v0.31.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking drain_filter_polyfill v0.1.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking pad-adapter v0.1.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking inventory v0.3.21 [INFO] [stderr] Checking deranged v0.5.3 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.1 [INFO] [stderr] Checking rustls-pemfile v2.2.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking time v0.3.43 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.103 [INFO] [stderr] Compiling server_fn_macro v0.6.15 [INFO] [stderr] Compiling manyhow v0.10.4 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.225 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling quote-use-macros v0.8.4 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling syn_derive v0.1.8 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.103 [INFO] [stderr] Compiling server_fn_macro_default v0.6.15 [INFO] [stderr] Compiling quote-use v0.8.4 [INFO] [stderr] Compiling attribute-derive-macro v0.9.2 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling typed-builder-macro v0.18.2 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling rstml v0.11.2 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking tungstenite v0.23.0 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.103 [INFO] [stderr] Checking tracing-subscriber v0.3.20 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking typed-builder v0.18.2 [INFO] [stderr] Compiling attribute-derive v0.9.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.3 [INFO] [stderr] Checking thiserror v2.0.16 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling validator_derive v0.18.2 [INFO] [stderr] Checking js-sys v0.3.80 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking oco_ref v0.1.1 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_qs v0.12.0 [INFO] [stderr] Compiling leptos_hot_reload v0.6.15 [INFO] [stderr] Checking serde_test v1.0.177 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking serde_qs v0.13.0 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking linear-map v1.2.0 [INFO] [stderr] Compiling leptos_macro v0.6.15 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking hyper v1.7.0 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-tungstenite v0.23.1 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking config v0.14.1 [INFO] [stderr] Checking validator v0.18.1 [INFO] [stderr] Checking hyper-util v0.1.17 [INFO] [stderr] Checking leptos_config v0.6.15 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking web-sys v0.3.80 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.53 [INFO] [stderr] Checking serde-wasm-bindgen v0.6.5 [INFO] [stderr] Checking rustls-webpki v0.103.6 [INFO] [stderr] Checking p2p-chat-backend v0.1.0 (/opt/rustwide/workdir/backend) [INFO] [stderr] Checking gloo-utils v0.2.0 [INFO] [stderr] Checking wasm-streams v0.4.2 [INFO] [stderr] Checking leptos_reactive v0.6.15 [INFO] [stderr] Checking console_log v1.0.0 [INFO] [stderr] Checking gloo-net v0.6.0 [INFO] [stderr] Checking server_fn v0.6.15 [INFO] [stderr] Checking leptos_dom v0.6.15 [INFO] [stderr] Checking leptos_server v0.6.15 [INFO] [stderr] Checking leptos v0.6.15 [INFO] [stderr] Checking leptos_meta v0.6.15 [INFO] [stderr] Checking leptos_router v0.6.15 [INFO] [stderr] Checking p2p-chat-frontend v0.1.0 (/opt/rustwide/workdir/frontend) [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> frontend/src/lib.rs:149:57 [INFO] [stdout] | [INFO] [stdout] 149 | let (data_channel, set_data_channel) = create_signal>(None); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 149 | let (data_channel, set_data_channel) = create_signal::>(None); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> frontend/src/lib.rs:150:63 [INFO] [stdout] | [INFO] [stdout] 150 | let (peer_connection, set_peer_connection) = create_signal>(None); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 150 | let (peer_connection, set_peer_connection) = create_signal::>(None); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> frontend/src/lib.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | let (ws, set_ws) = create_signal>(None); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 151 | let (ws, set_ws) = create_signal::>(None); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> frontend/src/lib.rs:149:57 [INFO] [stdout] | [INFO] [stdout] 149 | let (data_channel, set_data_channel) = create_signal>(None); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 149 | let (data_channel, set_data_channel) = create_signal::>(None); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> frontend/src/lib.rs:150:63 [INFO] [stdout] | [INFO] [stdout] 150 | let (peer_connection, set_peer_connection) = create_signal>(None); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 150 | let (peer_connection, set_peer_connection) = create_signal::>(None); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: comparison operators cannot be chained [INFO] [stdout] --> frontend/src/lib.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | let (ws, set_ws) = create_signal>(None); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: use `::<...>` instead of `<...>` to specify lifetime, type, or const arguments [INFO] [stdout] | [INFO] [stdout] 151 | let (ws, set_ws) = create_signal::>(None); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `cx,` is not used with the `view!` macro in 0.5. [INFO] [stdout] --> frontend/src/lib.rs:433:32 [INFO] [stdout] | [INFO] [stdout] 433 | mount_to_body(|cx| view! { cx, }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `cx,` is not used with the `view!` macro in 0.5. [INFO] [stdout] --> frontend/src/lib.rs:433:32 [INFO] [stdout] | [INFO] [stdout] 433 | mount_to_body(|cx| view! { cx, }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcConfiguration` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 164 | let config = web_sys::RtcConfiguration::new(&js_sys::Array::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `RtcConfiguration` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcConfiguration` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:164:31 [INFO] [stdout] | [INFO] [stdout] 164 | let config = web_sys::RtcConfiguration::new(&js_sys::Array::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ could not find `RtcConfiguration` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcIceServer` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | let ice_server = web_sys::RtcIceServer::new("stun:stun.l.google.com:19302"); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RtcIceServer` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcIceServer` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:165:35 [INFO] [stdout] | [INFO] [stdout] 165 | let ice_server = web_sys::RtcIceServer::new("stun:stun.l.google.com:19302"); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `RtcIceServer` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcPeerConnection` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | let pc = web_sys::RtcPeerConnection::new_with_configuration(&config).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `RtcPeerConnection` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcPeerConnection` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:167:27 [INFO] [stdout] | [INFO] [stdout] 167 | let pc = web_sys::RtcPeerConnection::new_with_configuration(&config).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `RtcPeerConnection` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcDataChannelInit` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:177:36 [INFO] [stdout] | [INFO] [stdout] 177 | let dc_init = web_sys::RtcDataChannelInit::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `RtcDataChannelInit` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcDataChannelInit` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:177:36 [INFO] [stdout] | [INFO] [stdout] 177 | let dc_init = web_sys::RtcDataChannelInit::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ could not find `RtcDataChannelInit` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcDataChannelBinaryType` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 181 | dc.set_binary_type(web_sys::RtcDataChannelBinaryType::Arraybuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `RtcDataChannelBinaryType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcDataChannelBinaryType` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:181:41 [INFO] [stdout] | [INFO] [stdout] 181 | dc.set_binary_type(web_sys::RtcDataChannelBinaryType::Arraybuffer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ could not find `RtcDataChannelBinaryType` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcSdpDescription` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:301:74 [INFO] [stdout] | [INFO] [stdout] 301 | ... let _ = pc.set_local_description_with_type(&web_sys::RtcSdpDescription::new(&sdp_str).unwrap(), RtcSdpType::Offer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `RtcSdpDescription` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcSdpDescription` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:301:74 [INFO] [stdout] | [INFO] [stdout] 301 | ... let _ = pc.set_local_description_with_type(&web_sys::RtcSdpDescription::new(&sdp_str).unwrap(), RtcSdpType::Offer); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `RtcSdpDescription` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcSdpDescription` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:313:33 [INFO] [stdout] | [INFO] [stdout] 313 | let desc = web_sys::RtcSdpDescription::new(&sdp).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `RtcSdpDescription` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcSdpDescription` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:313:33 [INFO] [stdout] | [INFO] [stdout] 313 | let desc = web_sys::RtcSdpDescription::new(&sdp).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `RtcSdpDescription` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcSdpDescription` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:321:64 [INFO] [stdout] | [INFO] [stdout] 321 | let _ = pc.set_local_description(&web_sys::RtcSdpDescription::new(&sdp_str).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `RtcSdpDescription` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcSdpDescription` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:321:64 [INFO] [stdout] | [INFO] [stdout] 321 | let _ = pc.set_local_description(&web_sys::RtcSdpDescription::new(&sdp_str).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `RtcSdpDescription` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcSdpDescription` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:333:33 [INFO] [stdout] | [INFO] [stdout] 333 | let desc = web_sys::RtcSdpDescription::new(&sdp).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `RtcSdpDescription` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find `RtcSdpDescription` in `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:333:33 [INFO] [stdout] | [INFO] [stdout] 333 | let desc = web_sys::RtcSdpDescription::new(&sdp).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ could not find `RtcSdpDescription` in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ChatPage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn ChatPage() -> impl IntoView { [INFO] [stdout] | ------------------------------ similarly named function `__ChatPage` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 29 | [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | console::log_1(&"Data channel open".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtcDataChannelEvent` in crate `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:191:42 [INFO] [stdout] | [INFO] [stdout] 191 | }) as Box).forget())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | console::log_1(&"Data channel closed".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtcDataChannelEvent` in crate `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:195:42 [INFO] [stdout] | [INFO] [stdout] 195 | }) as Box).forget())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | console::error_1(&"Data channel error".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtcDataChannelEvent` in crate `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:207:42 [INFO] [stdout] | [INFO] [stdout] 207 | }) as Box).forget())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ChatPage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:29:52 [INFO] [stdout] | [INFO] [stdout] 29 | [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn ChatPage() -> impl IntoView { [INFO] [stdout] | ------------------------------ similarly named function `__ChatPage` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 29 | [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtcPeerConnectionIceEvent` in crate `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:217:69 [INFO] [stdout] | [INFO] [stdout] 217 | let closure = Closure::wrap(Box::new(move |ev: web_sys::RtcPeerConnectionIceEvent| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `JSON` in this scope [INFO] [stdout] --> frontend/src/lib.rs:220:41 [INFO] [stdout] | [INFO] [stdout] 220 | let candidate_str = JSON::stringify(&candidate_init).unwrap().as_string().unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `JSON` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use js_sys::JSON; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | console::log_1(&"Data channel open".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtcPeerConnectionIceEvent` in crate `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:226:42 [INFO] [stdout] | [INFO] [stdout] 226 | }) as Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtcDataChannelEvent` in crate `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:191:42 [INFO] [stdout] | [INFO] [stdout] 191 | }) as Box).forget())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | console::log_1(&"Joined room".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | console::log_1(&"Data channel closed".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:256:57 [INFO] [stdout] | [INFO] [stdout] 256 | if let Ok(msg) = serde_json::from_str::(&json_str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn ChatPage() -> impl IntoView { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtcDataChannelEvent` in crate `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:195:42 [INFO] [stdout] | [INFO] [stdout] 195 | }) as Box).forget())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | console::error_1(&"Data channel error".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | ... console::error_1(&message.into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtcDataChannelEvent` in crate `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:207:42 [INFO] [stdout] | [INFO] [stdout] 207 | }) as Box).forget())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | console::log_1(&"Signaling disconnected".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtcPeerConnectionIceEvent` in crate `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:217:69 [INFO] [stdout] | [INFO] [stdout] 217 | let closure = Closure::wrap(Box::new(move |ev: web_sys::RtcPeerConnectionIceEvent| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | console::error_1(&"Signaling error".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `JSON` in this scope [INFO] [stdout] --> frontend/src/lib.rs:220:41 [INFO] [stdout] | [INFO] [stdout] 220 | let candidate_str = JSON::stringify(&candidate_init).unwrap().as_string().unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `JSON` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use js_sys::JSON; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtcPeerConnectionIceEvent` in crate `web_sys` [INFO] [stdout] --> frontend/src/lib.rs:226:42 [INFO] [stdout] | [INFO] [stdout] 226 | }) as Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `web_sys` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `JSON` in this scope [INFO] [stdout] --> frontend/src/lib.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | let sdp_str = JSON::stringify(&sdp_obj).unwrap().as_string().unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `JSON` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use js_sys::JSON; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `JSON` in this scope [INFO] [stdout] --> frontend/src/lib.rs:320:35 [INFO] [stdout] | [INFO] [stdout] 320 | let sdp_str = JSON::stringify(&sdp_obj).unwrap().as_string().unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `JSON` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use js_sys::JSON; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:252:13 [INFO] [stdout] | [INFO] [stdout] 252 | console::log_1(&"Joined room".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:256:57 [INFO] [stdout] | [INFO] [stdout] 256 | if let Ok(msg) = serde_json::from_str::(&json_str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 142 | fn ChatPage() -> impl IntoView { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | console::log_1(&"Network reconnected, attempting to rejoin".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:384:29 [INFO] [stdout] | [INFO] [stdout] 384 | ... console::log_1(&format!("Queued: {}", content).into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:276:29 [INFO] [stdout] | [INFO] [stdout] 276 | ... console::error_1(&message.into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | console::log_1(&"Signaling disconnected".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> frontend/src/lib.rs:432:34 [INFO] [stdout] | [INFO] [stdout] 432 | console_log::init_with_level(log::Level::Info).expect("error initializing log"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tracing::Level; [INFO] [stdout] | [INFO] [stdout] help: if you import `Level`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 432 - console_log::init_with_level(log::Level::Info).expect("error initializing log"); [INFO] [stdout] 432 + console_log::init_with_level(Level::Info).expect("error initializing log"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | console::error_1(&"Signaling error".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `JSON` in this scope [INFO] [stdout] --> frontend/src/lib.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | let sdp_str = JSON::stringify(&sdp_obj).unwrap().as_string().unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `JSON` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use js_sys::JSON; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `JSON` in this scope [INFO] [stdout] --> frontend/src/lib.rs:320:35 [INFO] [stdout] | [INFO] [stdout] 320 | let sdp_str = JSON::stringify(&sdp_obj).unwrap().as_string().unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `JSON` [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use js_sys::JSON; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:359:13 [INFO] [stdout] | [INFO] [stdout] 359 | console::log_1(&"Network reconnected, attempting to rejoin".into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `console` in this scope [INFO] [stdout] --> frontend/src/lib.rs:384:29 [INFO] [stdout] | [INFO] [stdout] 384 | ... console::log_1(&format!("Queued: {}", content).into()); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `console` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `console`, use `cargo add console` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use crate::web_sys::console; [INFO] [stdout] | [INFO] [stdout] 1 + use web_sys::console; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `log` in this scope [INFO] [stdout] --> frontend/src/lib.rs:432:34 [INFO] [stdout] | [INFO] [stdout] 432 | console_log::init_with_level(log::Level::Info).expect("error initializing log"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use crate::tracing::Level; [INFO] [stdout] | [INFO] [stdout] help: if you import `Level`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 432 - console_log::init_with_level(log::Level::Info).expect("error initializing log"); [INFO] [stdout] 432 + console_log::init_with_level(Level::Info).expect("error initializing log"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | "Not Found" }> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `View`, found `HtmlElement
` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `leptos::View` [INFO] [stdout] found struct `leptos::HtmlElement` [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:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | "Not Found"
}> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `View`, found `HtmlElement
` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `leptos::View` [INFO] [stdout] found struct `leptos::HtmlElement` [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:45:62 [INFO] [stdout] | [INFO] [stdout] 45 | [INFO] [stdout] | -------- ^^^^^ expected `NavigateOptions`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: opaque type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_router-0.6.15/src/hooks.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn use_navigate() -> impl Fn(&str, NavigateOptions) + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:45:62 [INFO] [stdout] | [INFO] [stdout] 45 | [INFO] [stdout] | -------- ^^^^^ expected `NavigateOptions`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: opaque type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_router-0.6.15/src/hooks.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn use_navigate() -> impl Fn(&str, NavigateOptions) + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> frontend/src/lib.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> frontend/src/lib.rs:45:69 [INFO] [stdout] | [INFO] [stdout] 45 | [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:46:65 [INFO] [stdout] | [INFO] [stdout] 46 | [INFO] [stdout] | -------- ^^^^^ expected `NavigateOptions`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: opaque type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_router-0.6.15/src/hooks.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn use_navigate() -> impl Fn(&str, NavigateOptions) + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:46:65 [INFO] [stdout] | [INFO] [stdout] 46 | [INFO] [stdout] | -------- ^^^^^ expected `NavigateOptions`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: opaque type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_router-0.6.15/src/hooks.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn use_navigate() -> impl Fn(&str, NavigateOptions) + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> frontend/src/lib.rs:46:72 [INFO] [stdout] | [INFO] [stdout] 46 | [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> frontend/src/lib.rs:46:72 [INFO] [stdout] | [INFO] [stdout] 46 | [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | navigate("/chat/testroom", false).unwrap(); [INFO] [stdout] | -------- ^^^^^ expected `NavigateOptions`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: opaque type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_router-0.6.15/src/hooks.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn use_navigate() -> impl Fn(&str, NavigateOptions) + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:67:44 [INFO] [stdout] | [INFO] [stdout] 67 | navigate("/chat/testroom", false).unwrap(); [INFO] [stdout] | -------- ^^^^^ expected `NavigateOptions`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: opaque type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_router-0.6.15/src/hooks.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn use_navigate() -> impl Fn(&str, NavigateOptions) + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> frontend/src/lib.rs:67:51 [INFO] [stdout] | [INFO] [stdout] 67 | navigate("/chat/testroom", false).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> frontend/src/lib.rs:67:51 [INFO] [stdout] | [INFO] [stdout] 67 | navigate("/chat/testroom", false).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 |
[INFO] [stdout] | -------- ^^ expected `()`, found `SubmitEvent` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_server-0.6.15/src/action.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn dispatch(&self, input: I) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:75:53 [INFO] [stdout] | [INFO] [stdout] 75 | [INFO] [stdout] | -------- ^^ expected `()`, found `SubmitEvent` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_server-0.6.15/src/action.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn dispatch(&self, input: I) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | navigate("/login", false).unwrap(); [INFO] [stdout] | -------- ^^^^^ expected `NavigateOptions`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: opaque type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_router-0.6.15/src/hooks.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn use_navigate() -> impl Fn(&str, NavigateOptions) + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | navigate("/login", false).unwrap(); [INFO] [stdout] | -------- ^^^^^ expected `NavigateOptions`, found `bool` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] note: opaque type defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_router-0.6.15/src/hooks.rs:203:26 [INFO] [stdout] | [INFO] [stdout] 203 | pub fn use_navigate() -> impl Fn(&str, NavigateOptions) + Clone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> frontend/src/lib.rs:111:43 [INFO] [stdout] | [INFO] [stdout] 111 | navigate("/login", false).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for unit type `()` in the current scope [INFO] [stdout] --> frontend/src/lib.rs:111:43 [INFO] [stdout] | [INFO] [stdout] 111 | navigate("/login", false).unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:119:53 [INFO] [stdout] | [INFO] [stdout] 119 | [INFO] [stdout] | -------- ^^ expected `()`, found `SubmitEvent` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_server-0.6.15/src/action.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn dispatch(&self, input: I) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:119:53 [INFO] [stdout] | [INFO] [stdout] 119 | [INFO] [stdout] | -------- ^^ expected `()`, found `SubmitEvent` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_server-0.6.15/src/action.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn dispatch(&self, input: I) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> frontend/src/lib.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | let (messages, set_messages) = create_signal::, _>(vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^ --- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_reactive-0.6.15/src/signal.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn create_signal(value: T) -> (ReadSignal, WriteSignal) { [INFO] [stdout] | ^^^^^^^^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> frontend/src/lib.rs:153:50 [INFO] [stdout] | [INFO] [stdout] 153 | let (queued_messages, set_queued_messages) = create_signal::, _>(vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^ --- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_reactive-0.6.15/src/signal.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn create_signal(value: T) -> (ReadSignal, WriteSignal) { [INFO] [stdout] | ^^^^^^^^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> frontend/src/lib.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | let (messages, set_messages) = create_signal::, _>(vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^ --- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_reactive-0.6.15/src/signal.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn create_signal(value: T) -> (ReadSignal, WriteSignal) { [INFO] [stdout] | ^^^^^^^^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: function takes 1 generic argument but 2 generic arguments were supplied [INFO] [stdout] --> frontend/src/lib.rs:153:50 [INFO] [stdout] | [INFO] [stdout] 153 | let (queued_messages, set_queued_messages) = create_signal::, _>(vec![]); [INFO] [stdout] | ^^^^^^^^^^^^^ --- help: remove the unnecessary generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 1 generic argument [INFO] [stdout] | [INFO] [stdout] note: function defined here, with 1 generic parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_reactive-0.6.15/src/signal.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | pub fn create_signal(value: T) -> (ReadSignal, WriteSignal) { [INFO] [stdout] | ^^^^^^^^^^^^^ - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `local_storage` found for struct `Window` in the current scope [INFO] [stdout] --> frontend/src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | let storage = window.local_storage().unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `onstorage` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 - let storage = window.local_storage().unwrap().unwrap(); [INFO] [stdout] 158 + let storage = window.onstorage().unwrap().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_memo` in this scope [INFO] [stdout] --> frontend/src/lib.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | let jwt = use_memo(move || { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `local_storage` found for struct `Window` in the current scope [INFO] [stdout] --> frontend/src/lib.rs:158:30 [INFO] [stdout] | [INFO] [stdout] 158 | let storage = window.local_storage().unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `onstorage` with a similar name [INFO] [stdout] | [INFO] [stdout] 158 - let storage = window.local_storage().unwrap().unwrap(); [INFO] [stdout] 158 + let storage = window.onstorage().unwrap().unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_memo` in this scope [INFO] [stdout] --> frontend/src/lib.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | let jwt = use_memo(move || { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | 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] 201 | timestamp: js_sys::Date::new_0().to_string().into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtcIceCandidateInit` in this scope [INFO] [stdout] --> frontend/src/lib.rs:219:42 [INFO] [stdout] | [INFO] [stdout] 219 | let candidate_init = RtcIceCandidateInit::new(&candidate.to_json().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RtcIceCandidateInit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:201:36 [INFO] [stdout] | [INFO] [stdout] 201 | 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] 201 | timestamp: js_sys::Date::new_0().to_string().into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtcIceCandidateInit` in this scope [INFO] [stdout] --> frontend/src/lib.rs:219:42 [INFO] [stdout] | [INFO] [stdout] 219 | let candidate_init = RtcIceCandidateInit::new(&candidate.to_json().unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RtcIceCandidateInit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_with_json` found for struct `WebSocket` in the current scope [INFO] [stdout] --> frontend/src/lib.rs:251:16 [INFO] [stdout] | [INFO] [stdout] 251 | ws.send_with_json(&join_msg).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `send_with_blob` with a similar name [INFO] [stdout] | [INFO] [stdout] 251 - ws.send_with_json(&join_msg).unwrap(); [INFO] [stdout] 251 + ws.send_with_blob(&join_msg).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send_with_json` found for struct `WebSocket` in the current scope [INFO] [stdout] --> frontend/src/lib.rs:251:16 [INFO] [stdout] | [INFO] [stdout] 251 | ws.send_with_json(&join_msg).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `send_with_blob` with a similar name [INFO] [stdout] | [INFO] [stdout] 251 - ws.send_with_json(&join_msg).unwrap(); [INFO] [stdout] 251 + ws.send_with_blob(&join_msg).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:249:28 [INFO] [stdout] | [INFO] [stdout] 249 | ws.set_onopen(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |_ev| { [INFO] [stdout] | _______________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 250 | | let join_msg = serde_wasm_bindgen::to_value(&SignalingMessage::JoinRoom { room: room_name.clone() }).unwrap(); [INFO] [stdout] 251 | | ws.send_with_json(&join_msg).unwrap(); [INFO] [stdout] 252 | | console::log_1(&"Joined room".into()); [INFO] [stdout] 253 | | }) as Box).forget())); [INFO] [stdout] | |______________________________________________________^ expected `&Function`, found `()` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `()` due to the type of the argument passed [INFO] [stdout] --> frontend/src/lib.rs:249:23 [INFO] [stdout] | [INFO] [stdout] 249 | ws.set_onopen(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |_ev| { [INFO] [stdout] | _______________________^ - [INFO] [stdout] | |____________________________| [INFO] [stdout] 250 | || let join_msg = serde_wasm_bindgen::to_value(&SignalingMessage::JoinRoom { room: room_name.clone() }).unwrap(); [INFO] [stdout] 251 | || ws.send_with_json(&join_msg).unwrap(); [INFO] [stdout] 252 | || console::log_1(&"Joined room".into()); [INFO] [stdout] 253 | || }) as Box).forget())); [INFO] [stdout] | ||______________________________________________________-^ [INFO] [stdout] | |_______________________________________________________| [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:605:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | if let Ok(json_str) = ev.data().as_string() { [INFO] [stdout] | ^^^^^^^^^^^^ --------------------- this expression has type `std::option::Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Option`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> frontend/src/lib.rs:256:34 [INFO] [stdout] | [INFO] [stdout] 256 | if let Ok(msg) = serde_json::from_str::(&json_str) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:249:28 [INFO] [stdout] | [INFO] [stdout] 249 | ws.set_onopen(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |_ev| { [INFO] [stdout] | _______________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 250 | | let join_msg = serde_wasm_bindgen::to_value(&SignalingMessage::JoinRoom { room: room_name.clone() }).unwrap(); [INFO] [stdout] 251 | | ws.send_with_json(&join_msg).unwrap(); [INFO] [stdout] 252 | | console::log_1(&"Joined room".into()); [INFO] [stdout] 253 | | }) as Box).forget())); [INFO] [stdout] | |______________________________________________________^ expected `&Function`, found `()` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `()` due to the type of the argument passed [INFO] [stdout] --> frontend/src/lib.rs:249:23 [INFO] [stdout] | [INFO] [stdout] 249 | ws.set_onopen(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |_ev| { [INFO] [stdout] | _______________________^ - [INFO] [stdout] | |____________________________| [INFO] [stdout] 250 | || let join_msg = serde_wasm_bindgen::to_value(&SignalingMessage::JoinRoom { room: room_name.clone() }).unwrap(); [INFO] [stdout] 251 | || ws.send_with_json(&join_msg).unwrap(); [INFO] [stdout] 252 | || console::log_1(&"Joined room".into()); [INFO] [stdout] 253 | || }) as Box).forget())); [INFO] [stdout] | ||______________________________________________________-^ [INFO] [stdout] | |_______________________________________________________| [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:605:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `ReadSignal` [INFO] [stdout] --> frontend/src/lib.rs:261:36 [INFO] [stdout] | [INFO] [stdout] 152 | let (is_initiator, set_is_initiator) = create_signal(false); [INFO] [stdout] | ------------ `is_initiator` has type `ReadSignal` [INFO] [stdout] ... [INFO] [stdout] 261 | if is_initiator() { [INFO] [stdout] | ^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:255:20 [INFO] [stdout] | [INFO] [stdout] 255 | if let Ok(json_str) = ev.data().as_string() { [INFO] [stdout] | ^^^^^^^^^^^^ --------------------- this expression has type `std::option::Option` [INFO] [stdout] | | [INFO] [stdout] | expected `Option`, found `Result<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::option::Option` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find module or crate `serde_json` in this scope [INFO] [stdout] --> frontend/src/lib.rs:256:34 [INFO] [stdout] | [INFO] [stdout] 256 | if let Ok(msg) = serde_json::from_str::(&json_str) { [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_offer` in this scope [INFO] [stdout] --> frontend/src/lib.rs:262:37 [INFO] [stdout] | [INFO] [stdout] 262 | ... create_offer(room_name.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_reactive-0.6.15/src/effect.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / pub fn create_effect(f: impl Fn(Option) -> T + 'static) -> Effect [INFO] [stdout] 68 | | where [INFO] [stdout] 69 | | T: 'static, [INFO] [stdout] | |_______________- similarly named function `create_effect` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 262 - create_offer(room_name.clone()); [INFO] [stdout] 262 + create_effect(room_name.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_offer` in this scope [INFO] [stdout] --> frontend/src/lib.rs:267:29 [INFO] [stdout] | [INFO] [stdout] 267 | ... handle_offer(sdp, room_name.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_answer` in this scope [INFO] [stdout] --> frontend/src/lib.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 270 | ... handle_answer(sdp); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_ice_candidate` in this scope [INFO] [stdout] --> frontend/src/lib.rs:273:29 [INFO] [stdout] | [INFO] [stdout] 273 | ... handle_ice_candidate(&candidate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0618]: expected function, found `ReadSignal` [INFO] [stdout] --> frontend/src/lib.rs:261:36 [INFO] [stdout] | [INFO] [stdout] 152 | let (is_initiator, set_is_initiator) = create_signal(false); [INFO] [stdout] | ------------ `is_initiator` has type `ReadSignal` [INFO] [stdout] ... [INFO] [stdout] 261 | if is_initiator() { [INFO] [stdout] | ^^^^^^^^^^^^-- [INFO] [stdout] | | [INFO] [stdout] | call expression requires function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `create_offer` in this scope [INFO] [stdout] --> frontend/src/lib.rs:262:37 [INFO] [stdout] | [INFO] [stdout] 262 | ... create_offer(room_name.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_reactive-0.6.15/src/effect.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | / pub fn create_effect(f: impl Fn(Option) -> T + 'static) -> Effect [INFO] [stdout] 68 | | where [INFO] [stdout] 69 | | T: 'static, [INFO] [stdout] | |_______________- similarly named function `create_effect` defined here [INFO] [stdout] | [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 262 - create_offer(room_name.clone()); [INFO] [stdout] 262 + create_effect(room_name.clone()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_offer` in this scope [INFO] [stdout] --> frontend/src/lib.rs:267:29 [INFO] [stdout] | [INFO] [stdout] 267 | ... handle_offer(sdp, room_name.clone()); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_answer` in this scope [INFO] [stdout] --> frontend/src/lib.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 270 | ... handle_answer(sdp); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `handle_ice_candidate` in this scope [INFO] [stdout] --> frontend/src/lib.rs:273:29 [INFO] [stdout] | [INFO] [stdout] 273 | ... handle_ice_candidate(&candidate); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:254:31 [INFO] [stdout] | [INFO] [stdout] 254 | ws.set_onmessage(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |ev: web_sys::MessageEvent| { [INFO] [stdout] | __________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 255 | | if let Ok(json_str) = ev.data().as_string() { [INFO] [stdout] 256 | | if let Ok(msg) = serde_json::from_str::(&json_str) { [INFO] [stdout] 257 | | match msg { [INFO] [stdout] ... | [INFO] [stdout] 282 | | }) as Box).forget())); [INFO] [stdout] | |_____________________________________________________________^ expected `&Function`, found `()` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `()` due to the type of the argument passed [INFO] [stdout] --> frontend/src/lib.rs:254:26 [INFO] [stdout] | [INFO] [stdout] 254 | ws.set_onmessage(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |ev: web_sys::MessageEvent| { [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 255 | || if let Ok(json_str) = ev.data().as_string() { [INFO] [stdout] 256 | || if let Ok(msg) = serde_json::from_str::(&json_str) { [INFO] [stdout] 257 | || match msg { [INFO] [stdout] ... || [INFO] [stdout] 282 | || }) as Box).forget())); [INFO] [stdout] | ||_____________________________________________________________-^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:605:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:254:31 [INFO] [stdout] | [INFO] [stdout] 254 | ws.set_onmessage(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |ev: web_sys::MessageEvent| { [INFO] [stdout] | __________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 255 | | if let Ok(json_str) = ev.data().as_string() { [INFO] [stdout] 256 | | if let Ok(msg) = serde_json::from_str::(&json_str) { [INFO] [stdout] 257 | | match msg { [INFO] [stdout] ... | [INFO] [stdout] 282 | | }) as Box).forget())); [INFO] [stdout] | |_____________________________________________________________^ expected `&Function`, found `()` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `()` due to the type of the argument passed [INFO] [stdout] --> frontend/src/lib.rs:254:26 [INFO] [stdout] | [INFO] [stdout] 254 | ws.set_onmessage(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |ev: web_sys::MessageEvent| { [INFO] [stdout] | __________________________^ - [INFO] [stdout] | |_______________________________| [INFO] [stdout] 255 | || if let Ok(json_str) = ev.data().as_string() { [INFO] [stdout] 256 | || if let Ok(msg) = serde_json::from_str::(&json_str) { [INFO] [stdout] 257 | || match msg { [INFO] [stdout] ... || [INFO] [stdout] 282 | || }) as Box).forget())); [INFO] [stdout] | ||_____________________________________________________________-^ [INFO] [stdout] | |______________________________________________________________| [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:605:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:283:29 [INFO] [stdout] | [INFO] [stdout] 283 | ws.set_onclose(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |_ev| { [INFO] [stdout] | ________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 284 | | set_connection_status.set("Disconnected".to_string()); [INFO] [stdout] 285 | | console::log_1(&"Signaling disconnected".into()); [INFO] [stdout] 286 | | }) as Box).forget())); [INFO] [stdout] | |___________________________________________________________^ expected `&Function`, found `()` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `()` due to the type of the argument passed [INFO] [stdout] --> frontend/src/lib.rs:283:24 [INFO] [stdout] | [INFO] [stdout] 283 | ws.set_onclose(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |_ev| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 284 | || set_connection_status.set("Disconnected".to_string()); [INFO] [stdout] 285 | || console::log_1(&"Signaling disconnected".into()); [INFO] [stdout] 286 | || }) as Box).forget())); [INFO] [stdout] | ||___________________________________________________________-^ [INFO] [stdout] | |____________________________________________________________| [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:605:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | ws.set_onerror(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |_ev| { [INFO] [stdout] | ________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 288 | | console::error_1(&"Signaling error".into()); [INFO] [stdout] 289 | | }) as Box).forget())); [INFO] [stdout] | |______________________________________________________^ expected `&Function`, found `()` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `()` due to the type of the argument passed [INFO] [stdout] --> frontend/src/lib.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | ws.set_onerror(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |_ev| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 288 | || console::error_1(&"Signaling error".into()); [INFO] [stdout] 289 | || }) as Box).forget())); [INFO] [stdout] | ||______________________________________________________-^ [INFO] [stdout] | |_______________________________________________________| [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:605:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:283:29 [INFO] [stdout] | [INFO] [stdout] 283 | ws.set_onclose(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |_ev| { [INFO] [stdout] | ________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 284 | | set_connection_status.set("Disconnected".to_string()); [INFO] [stdout] 285 | | console::log_1(&"Signaling disconnected".into()); [INFO] [stdout] 286 | | }) as Box).forget())); [INFO] [stdout] | |___________________________________________________________^ expected `&Function`, found `()` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `()` due to the type of the argument passed [INFO] [stdout] --> frontend/src/lib.rs:283:24 [INFO] [stdout] | [INFO] [stdout] 283 | ws.set_onclose(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |_ev| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 284 | || set_connection_status.set("Disconnected".to_string()); [INFO] [stdout] 285 | || console::log_1(&"Signaling disconnected".into()); [INFO] [stdout] 286 | || }) as Box).forget())); [INFO] [stdout] | ||___________________________________________________________-^ [INFO] [stdout] | |____________________________________________________________| [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:605:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtcOfferAnswerOptions` in this scope [INFO] [stdout] --> frontend/src/lib.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | let options = RtcOfferAnswerOptions::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RtcOfferAnswerOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `JsFuture` in this scope [INFO] [stdout] --> frontend/src/lib.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | let result = JsFuture::from(promise).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JsFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtcSdpType` in this scope [INFO] [stdout] --> frontend/src/lib.rs:301:117 [INFO] [stdout] | [INFO] [stdout] 301 | ...cSdpDescription::new(&sdp_str).unwrap(), RtcSdpType::Offer); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RtcSdpType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtcSdpType` in this scope [INFO] [stdout] --> frontend/src/lib.rs:314:64 [INFO] [stdout] | [INFO] [stdout] 314 | let _ = pc.set_remote_description_with_type(&desc, RtcSdpType::Offer); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RtcSdpType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtcOfferAnswerOptions` in this scope [INFO] [stdout] --> frontend/src/lib.rs:315:27 [INFO] [stdout] | [INFO] [stdout] 315 | let options = RtcOfferAnswerOptions::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RtcOfferAnswerOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:287:29 [INFO] [stdout] | [INFO] [stdout] 287 | ws.set_onerror(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |_ev| { [INFO] [stdout] | ________________________----_^ [INFO] [stdout] | | | [INFO] [stdout] | | arguments to this enum variant are incorrect [INFO] [stdout] 288 | | console::error_1(&"Signaling error".into()); [INFO] [stdout] 289 | | }) as Box).forget())); [INFO] [stdout] | |______________________________________________________^ expected `&Function`, found `()` [INFO] [stdout] | [INFO] [stdout] help: the type constructed contains `()` due to the type of the argument passed [INFO] [stdout] --> frontend/src/lib.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | ws.set_onerror(Some(wasm_bindgen::closure::Closure::wrap(Box::new(move |_ev| { [INFO] [stdout] | ________________________^ - [INFO] [stdout] | |_____________________________| [INFO] [stdout] 288 | || console::error_1(&"Signaling error".into()); [INFO] [stdout] 289 | || }) as Box).forget())); [INFO] [stdout] | ||______________________________________________________-^ [INFO] [stdout] | |_______________________________________________________| [INFO] [stdout] | this argument influences the type of `Some` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> /rustc/e622d8d7bed4f2668d446e06c6c1436ecae15796/library/core/src/option.rs:605:4 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `JsFuture` in this scope [INFO] [stdout] --> frontend/src/lib.rs:318:30 [INFO] [stdout] | [INFO] [stdout] 318 | let result = JsFuture::from(promise).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JsFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtcOfferAnswerOptions` in this scope [INFO] [stdout] --> frontend/src/lib.rs:295:27 [INFO] [stdout] | [INFO] [stdout] 295 | let options = RtcOfferAnswerOptions::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RtcOfferAnswerOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `JsFuture` in this scope [INFO] [stdout] --> frontend/src/lib.rs:298:30 [INFO] [stdout] | [INFO] [stdout] 298 | let result = JsFuture::from(promise).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JsFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtcIceCandidateInit` in this scope [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[E0433]: cannot find type `RtcSdpType` in this scope [INFO] [stdout] --> frontend/src/lib.rs:301:117 [INFO] [stdout] | [INFO] [stdout] 301 | ...cSdpDescription::new(&sdp_str).unwrap(), RtcSdpType::Offer); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RtcSdpType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtcSdpType` in this scope [INFO] [stdout] --> frontend/src/lib.rs:314:64 [INFO] [stdout] | [INFO] [stdout] 314 | let _ = pc.set_remote_description_with_type(&desc, RtcSdpType::Offer); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `RtcSdpType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtcOfferAnswerOptions` in this scope [INFO] [stdout] --> frontend/src/lib.rs:315:27 [INFO] [stdout] | [INFO] [stdout] 315 | let options = RtcOfferAnswerOptions::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `RtcOfferAnswerOptions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `JsFuture` in this scope [INFO] [stdout] --> frontend/src/lib.rs:318:30 [INFO] [stdout] | [INFO] [stdout] 318 | let result = JsFuture::from(promise).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JsFuture` [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[E0433]: cannot find type `RtcIceCandidateInit` in this scope [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[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[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[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[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 `leptos::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 `leptos::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-ccada3183fe6271e.long-type-16316920207146318568.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[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 `leptos::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 `leptos::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-440611585398403832.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[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-7430740273818106680.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [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-26cd60f6bd3ebe53.long-type-8546722103924651832.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:416:51 [INFO] [stdout] | [INFO] [stdout] 416 | [INFO] [stdout] | -------- ^^ expected `()`, found `SubmitEvent` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_server-0.6.15/src/action.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn dispatch(&self, input: I) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> frontend/src/lib.rs:416:51 [INFO] [stdout] | [INFO] [stdout] 416 | [INFO] [stdout] | -------- ^^ expected `()`, found `SubmitEvent` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/leptos_server-0.6.15/src/action.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn dispatch(&self, input: I) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 0 arguments, but it takes 1 argument [INFO] [stdout] --> frontend/src/lib.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | mount_to_body(|cx| view! { cx, }) [INFO] [stdout] | ^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | takes 1 argument [INFO] [stdout] | expected closure that takes 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: closure is expected to take 0 arguments, but it takes 1 argument [INFO] [stdout] --> frontend/src/lib.rs:433:5 [INFO] [stdout] | [INFO] [stdout] 433 | mount_to_body(|cx| view! { cx, }) [INFO] [stdout] | ^^^^^^^^^^^^^^----^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | takes 1 argument [INFO] [stdout] | expected closure that takes 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtcDataChannelState` in this scope [INFO] [stdout] --> frontend/src/lib.rs:379:25 [INFO] [stdout] | [INFO] [stdout] 379 | RtcDataChannelState::Open => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RtcDataChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:221:65 [INFO] [stdout] | [INFO] [stdout] 221 | ... let ice_msg = serde_wasm_bindgen::to_value(&SignalingMessage::IceCandidate { room: room.clone(), candidate: candidate_str }).... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:250:58 [INFO] [stdout] | [INFO] [stdout] 250 | let join_msg = serde_wasm_bindgen::to_value(&SignalingMessage::JoinRoom { room: room_name.clone() }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:302:67 [INFO] [stdout] | [INFO] [stdout] 302 | let offer_msg = serde_wasm_bindgen::to_value(&SignalingMessage::Offer { room: room_name, sdp: sdp_str }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | SignalingMessage::Peers { peers } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | SignalingMessage::Offer { room: _, sdp } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | SignalingMessage::Answer { room: _, sdp } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | SignalingMessage::IceCandidate { room: _, candidate } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | SignalingMessage::Error { message } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:322:68 [INFO] [stdout] | [INFO] [stdout] 322 | ... let answer_msg = serde_wasm_bindgen::to_value(&SignalingMessage::Answer { room: room_name, sdp: sdp_str }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0425, E0433, E0593, E0599, E0618. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtcDataChannelState` in this scope [INFO] [stdout] --> frontend/src/lib.rs:379:25 [INFO] [stdout] | [INFO] [stdout] 379 | RtcDataChannelState::Open => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `RtcDataChannelState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:221:65 [INFO] [stdout] | [INFO] [stdout] 221 | ... let ice_msg = serde_wasm_bindgen::to_value(&SignalingMessage::IceCandidate { room: room.clone(), candidate: candidate_str }).... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:250:58 [INFO] [stdout] | [INFO] [stdout] 250 | let join_msg = serde_wasm_bindgen::to_value(&SignalingMessage::JoinRoom { room: room_name.clone() }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:302:67 [INFO] [stdout] | [INFO] [stdout] 302 | let offer_msg = serde_wasm_bindgen::to_value(&SignalingMessage::Offer { room: room_name, sdp: sdp_str }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:258:25 [INFO] [stdout] | [INFO] [stdout] 258 | SignalingMessage::Peers { peers } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:266:25 [INFO] [stdout] | [INFO] [stdout] 266 | SignalingMessage::Offer { room: _, sdp } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:269:25 [INFO] [stdout] | [INFO] [stdout] 269 | SignalingMessage::Answer { room: _, sdp } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:272:25 [INFO] [stdout] | [INFO] [stdout] 272 | SignalingMessage::IceCandidate { room: _, candidate } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:275:25 [INFO] [stdout] | [INFO] [stdout] 275 | SignalingMessage::Error { message } => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SignalingMessage` in this scope [INFO] [stdout] --> frontend/src/lib.rs:322:68 [INFO] [stdout] | [INFO] [stdout] 322 | ... let answer_msg = serde_wasm_bindgen::to_value(&SignalingMessage::Answer { room: room_name, sdp: sdp_str }).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `SignalingMessage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0425, E0433, E0593, E0599, E0618. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `p2p-chat-frontend` (lib test) due to 87 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `p2p-chat-frontend` (lib) due to 87 previous errors [INFO] running `Command { std: "docker" "inspect" "4416ad2e83323056ed31809c1226506bb7ebfa1f63b258b5140016f7d11ec9d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4416ad2e83323056ed31809c1226506bb7ebfa1f63b258b5140016f7d11ec9d5", kill_on_drop: false }` [INFO] [stdout] 4416ad2e83323056ed31809c1226506bb7ebfa1f63b258b5140016f7d11ec9d5