[INFO] fetching crate dioxus-core-macro 0.7.0-rc.0... [INFO] checking dioxus-core-macro-0.7.0-rc.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate dioxus-core-macro 0.7.0-rc.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate dioxus-core-macro 0.7.0-rc.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dioxus-core-macro 0.7.0-rc.0 [INFO] tweaked toml for crates.io crate dioxus-core-macro 0.7.0-rc.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dioxus-core-macro 0.7.0-rc.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dioxus-core-macro 0.7.0-rc.0 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dioxus-rsx v0.7.0-rc.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 772769eaa1421d51339d23d2bd4f0e6cefd6463bcbb43ded886a7a6020a2a4bd [INFO] running `Command { std: "docker" "start" "-a" "772769eaa1421d51339d23d2bd4f0e6cefd6463bcbb43ded886a7a6020a2a4bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "772769eaa1421d51339d23d2bd4f0e6cefd6463bcbb43ded886a7a6020a2a4bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "772769eaa1421d51339d23d2bd4f0e6cefd6463bcbb43ded886a7a6020a2a4bd", kill_on_drop: false }` [INFO] [stdout] 772769eaa1421d51339d23d2bd4f0e6cefd6463bcbb43ded886a7a6020a2a4bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e3106250f13c29704af395fb2f66da608a627130be8fe8aec9f9b9c2456541a [INFO] running `Command { std: "docker" "start" "-a" "9e3106250f13c29704af395fb2f66da608a627130be8fe8aec9f9b9c2456541a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Checking dioxus-rsx v0.7.0-rc.0 [INFO] [stderr] Checking dioxus-core-macro v0.7.0-rc.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component.rs:404:24 [INFO] [stdout] | [INFO] [stdout] 404 | fn build_doc_fields(f: &FnArg) -> Option { [INFO] [stdout] | ^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 404 | fn build_doc_fields(f: &FnArg) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/props/mod.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | field: &syn::Field, [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 199 | field_defaults: FieldBuilderAttr, [INFO] [stdout] 200 | ) -> Result { [INFO] [stdout] | --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component.rs:404:24 [INFO] [stdout] | [INFO] [stdout] 404 | fn build_doc_fields(f: &FnArg) -> Option { [INFO] [stdout] | ^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 404 | fn build_doc_fields(f: &FnArg) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/props/mod.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | field: &syn::Field, [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 199 | field_defaults: FieldBuilderAttr, [INFO] [stdout] 200 | ) -> Result { [INFO] [stdout] | --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/component.rs:404:24 [INFO] [stdout] | [INFO] [stdout] 404 | fn build_doc_fields(f: &FnArg) -> Option { [INFO] [stdout] | ^^^^^^ -------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 404 | fn build_doc_fields(f: &FnArg) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/props/mod.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | field: &syn::Field, [INFO] [stdout] | ^^^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 199 | field_defaults: FieldBuilderAttr, [INFO] [stdout] 200 | ) -> Result { [INFO] [stdout] | --------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 200 | ) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/event_handler.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/values_memoize_in_place.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dioxus_core` [INFO] [stdout] --> tests/values_memoize_in_place.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use dioxus_core::ElementId; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus_core`, use `cargo add dioxus_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dioxus_core` [INFO] [stdout] --> tests/values_memoize_in_place.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use dioxus_core::Properties; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus_core`, use `cargo add dioxus_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/values_memoize_in_place.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 8 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/values_memoize_in_place.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | tokio::select! { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/event_handler.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/event_handler.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/event_handler.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/event_handler.rs:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/event_handler.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/generics.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/rsx.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/rsx.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/generics.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/generics.rs:28:7 [INFO] [stdout] | [INFO] [stdout] 28 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/generics.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | rsx! {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/generics.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-core-macro` (test "event_handler") due to 14 previous errors [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/generics.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | rsx! {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/generics.rs:52:7 [INFO] [stdout] | [INFO] [stdout] 52 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/generics.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | rsx! {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Props` in this scope [INFO] [stdout] --> tests/generics.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Props, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::Props; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/generics.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | rsx! {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Props` in this scope [INFO] [stdout] --> tests/generics.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 70 | #[derive(Props, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::Props; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/event_handler.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventHandler` in this scope [INFO] [stdout] --> tests/event_handler.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | fn TakesEventHandler(onclick: EventHandler) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MouseEvent` in this scope [INFO] [stdout] --> tests/event_handler.rs:34:48 [INFO] [stdout] | [INFO] [stdout] 34 | fn TakesEventHandler(onclick: EventHandler) -> Element { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 34 | fn TakesEventHandler(onclick: EventHandler) -> Element { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/event_handler.rs:34:64 [INFO] [stdout] | [INFO] [stdout] 34 | fn TakesEventHandler(onclick: EventHandler) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Callback` in this scope [INFO] [stdout] --> tests/event_handler.rs:55:41 [INFO] [stdout] | [INFO] [stdout] 55 | fn TakesEventHandlerWithArg(double: Callback) -> Element { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/generics.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | rsx! {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/event_handler.rs:55:64 [INFO] [stdout] | [INFO] [stdout] 55 | fn TakesEventHandlerWithArg(double: Callback) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Props` in this scope [INFO] [stdout] --> tests/generics.rs:84:14 [INFO] [stdout] | [INFO] [stdout] 84 | #[derive(Props, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::Props; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/generics.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | rsx! {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/generics.rs:98:7 [INFO] [stdout] | [INFO] [stdout] 98 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/generics.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:76:48 [INFO] [stdout] | [INFO] [stdout] 76 | let rsx_with_event_handler_component = rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/event_handler.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | let mut todos = use_signal(String::new); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/event_handler.rs:56:25 [INFO] [stdout] | [INFO] [stdout] 56 | let mut count = use_signal(|| 2); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/generics.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/generics.rs:29:64 [INFO] [stdout] | [INFO] [stdout] 29 | fn TakesClone(value: T) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/generics.rs:34:75 [INFO] [stdout] | [INFO] [stdout] 34 | fn TakesCloneArc(value: std::sync::Arc) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/generics.rs:54:56 [INFO] [stdout] | [INFO] [stdout] 54 | fn TakesCloneMyBox(value: MyBox) -> Element [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/generics.rs:66:83 [INFO] [stdout] | [INFO] [stdout] 66 | fn TakesCloneManual(props: TakesCloneManualProps) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/generics.rs:80:10 [INFO] [stdout] | [INFO] [stdout] 80 | ) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventHandler` in this scope [INFO] [stdout] --> tests/generics.rs:89:16 [INFO] [stdout] | [INFO] [stdout] 89 | value: EventHandler, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/generics.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | ) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/generics.rs:99:45 [INFO] [stdout] | [INFO] [stdout] 99 | fn GenericFnWhereClause(value: T) -> Element [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-core-macro` (test "generics") due to 25 previous errors [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 134 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Props` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:144:14 [INFO] [stdout] | [INFO] [stdout] 144 | #[derive(Props, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::Props; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Props` in this scope [INFO] [stdout] --> tests/rsx.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | #[derive(Props, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 13 + use dioxus_core_macro::Props; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | #[props(extends = GlobalAttributes)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | #[props(into, default = true)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:179:36 [INFO] [stdout] | [INFO] [stdout] 179 | let read_only_signal_rsx = rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:192:7 [INFO] [stdout] | [INFO] [stdout] 192 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | rsx! {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:197:7 [INFO] [stdout] | [INFO] [stdout] 197 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:199:9 [INFO] [stdout] | [INFO] [stdout] 199 | rsx! {} [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/values_memoize_in_place.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | tokio::time::sleep(std::time::Duration::from_millis(1)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/values_memoize_in_place.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | set_event_converter(Box::new(dioxus::html::SerializedHtmlEventConverter)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | #[props(into, default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | #[props(default = true.into())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | #[props(into, default = "abc")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | #[props(into, default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | #[props(default = "abc".into())] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:38:11 [INFO] [stdout] | [INFO] [stdout] 38 | #[props(into, default = Some("abc"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | #[props(into, default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | #[props(default = Some("abc"))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | #[props(into)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | #[props(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | #[props(default = true)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | #[props(default = ReadSignal::new(Signal::new(true)))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | #[props(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:67:11 [INFO] [stdout] | [INFO] [stdout] 67 | #[props(default = move |_| {})] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:70:11 [INFO] [stdout] | [INFO] [stdout] 70 | #[props(default = { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:76:11 [INFO] [stdout] | [INFO] [stdout] 76 | #[props(default = Callback::new(move |_: ()| {}))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:79:11 [INFO] [stdout] | [INFO] [stdout] 79 | #[props(default)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | #[props(default = move |_| {})] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:85:11 [INFO] [stdout] | [INFO] [stdout] 85 | #[props(default = { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/values_memoize_in_place.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | set_event_converter(Box::new(dioxus::html::SerializedHtmlEventConverter)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `props` in this scope [INFO] [stdout] --> tests/rsx.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | #[props(default = EventHandler::new(move |_: KeyboardEvent| {}))] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/rsx.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/rsx.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Props` in this scope [INFO] [stdout] --> tests/rsx.rs:127:14 [INFO] [stdout] | [INFO] [stdout] 127 | #[derive(Props, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this derive macro [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_core_macro::Props; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/rsx.rs:133:7 [INFO] [stdout] | [INFO] [stdout] 133 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/rsx.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | rsx! { "hi" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/rsx.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/rsx.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | rsx! { "hi!" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/rsx.rs:144:7 [INFO] [stdout] | [INFO] [stdout] 144 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this attribute macro [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_core_macro::component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/rsx.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | rsx! { "hi!" } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_core_macro::rsx; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `trybuild` [INFO] [stdout] --> tests/rsx.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | let t = trybuild::TestCases::new(); [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `trybuild` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `trybuild`, use `cargo add trybuild` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/values_memoize_in_place.rs:202:34 [INFO] [stdout] | [INFO] [stdout] 202 | set_event_converter(Box::new(dioxus::html::SerializedHtmlEventConverter)); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadSignal` in this scope [INFO] [stdout] --> tests/rsx.rs:55:30 [INFO] [stdout] | [INFO] [stdout] 55 | read_only_w_default: ReadSignal, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadSignal` in this scope [INFO] [stdout] --> tests/rsx.rs:58:34 [INFO] [stdout] | [INFO] [stdout] 58 | read_only_w_default_val: ReadSignal, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadSignal` in this scope [INFO] [stdout] --> tests/rsx.rs:61:43 [INFO] [stdout] | [INFO] [stdout] 61 | read_only_w_default_val_explicit: ReadSignal, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Callback` in this scope [INFO] [stdout] --> tests/rsx.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | callback_w_default: Callback, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Callback` in this scope [INFO] [stdout] --> tests/rsx.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | callback_w_default_val_closure: Callback, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Callback` in this scope [INFO] [stdout] --> tests/rsx.rs:74:41 [INFO] [stdout] | [INFO] [stdout] 74 | callback_w_default_val_expr_fn: Callback, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Callback` in this scope [INFO] [stdout] --> tests/rsx.rs:77:42 [INFO] [stdout] | [INFO] [stdout] 77 | callback_w_default_val_explicit: Callback, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventHandler` in this scope [INFO] [stdout] --> tests/rsx.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 80 | event_handler_w_default: EventHandler, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyboardEvent` in this scope [INFO] [stdout] --> tests/rsx.rs:80:47 [INFO] [stdout] | [INFO] [stdout] 80 | event_handler_w_default: EventHandler, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 16 | struct MyCoolProps { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventHandler` in this scope [INFO] [stdout] --> tests/rsx.rs:83:46 [INFO] [stdout] | [INFO] [stdout] 83 | event_handler_w_default_val_closure: EventHandler, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyboardEvent` in this scope [INFO] [stdout] --> tests/rsx.rs:83:59 [INFO] [stdout] | [INFO] [stdout] 83 | event_handler_w_default_val_closure: EventHandler, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 16 | struct MyCoolProps { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventHandler` in this scope [INFO] [stdout] --> tests/rsx.rs:89:46 [INFO] [stdout] | [INFO] [stdout] 89 | event_handler_w_default_val_expr_fn: EventHandler, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyboardEvent` in this scope [INFO] [stdout] --> tests/rsx.rs:89:59 [INFO] [stdout] | [INFO] [stdout] 89 | event_handler_w_default_val_expr_fn: EventHandler, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 16 | struct MyCoolProps { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventHandler` in this scope [INFO] [stdout] --> tests/rsx.rs:92:47 [INFO] [stdout] | [INFO] [stdout] 92 | event_handler_w_default_val_explicit: EventHandler, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KeyboardEvent` in this scope [INFO] [stdout] --> tests/rsx.rs:92:60 [INFO] [stdout] | [INFO] [stdout] 92 | event_handler_w_default_val_explicit: EventHandler, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 16 | struct MyCoolProps { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/rsx.rs:108:28 [INFO] [stdout] | [INFO] [stdout] 108 | fn UsesComponents() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadSignal` in this scope [INFO] [stdout] --> tests/rsx.rs:129:35 [INFO] [stdout] | [INFO] [stdout] 129 | pub optional_read_signal: ReadSignal>, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadSignal` in this scope [INFO] [stdout] --> tests/rsx.rs:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | pub regular_read_signal: ReadSignal, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/rsx.rs:134:43 [INFO] [stdout] | [INFO] [stdout] 134 | fn PropsStruct(props: MyTestProps) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadSignal` in this scope [INFO] [stdout] --> tests/rsx.rs:140:33 [INFO] [stdout] | [INFO] [stdout] 140 | fn PropParams(opt_read_sig: ReadSignal>) -> Element { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/rsx.rs:140:61 [INFO] [stdout] | [INFO] [stdout] 140 | fn PropParams(opt_read_sig: ReadSignal>) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/rsx.rs:145:55 [INFO] [stdout] | [INFO] [stdout] 145 | fn DoubleOption(optional: Option>) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 104 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | spawn(async move { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SerializedMouseData` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:56:50 [INFO] [stdout] | [INFO] [stdout] 56 | Rc::new(PlatformEventData::new(Box::::default())) as Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 9 | async fn values_memoize_in_place() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SerializedMouseData` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:101:50 [INFO] [stdout] | [INFO] [stdout] 101 | Rc::new(PlatformEventData::new(Box::::default())) as Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 74 | fn cloning_event_handler_components_work() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EventHandler` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:111:29 [INFO] [stdout] | [INFO] [stdout] 111 | fn TakesEventHandler(click: EventHandler, number: usize) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:111:68 [INFO] [stdout] | [INFO] [stdout] 111 | fn TakesEventHandler(click: EventHandler, number: usize) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadSignal` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | fn TakesSignal(sig: ReadSignal, number: usize) -> Element { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:127:58 [INFO] [stdout] | [INFO] [stdout] 127 | fn TakesSignal(sig: ReadSignal, number: usize) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-core-macro` (test "rsx") due to 56 previous errors [INFO] [stdout] error[E0412]: cannot find type `Attribute` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:147:25 [INFO] [stdout] | [INFO] [stdout] 147 | attributes: Vec, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Attribute; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Attribute` [INFO] [stdout] --> tests/values_memoize_in_place.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | vec![Attribute::new("all", "123", Some("style"), false)] [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Attribute` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Attribute; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Attribute` [INFO] [stdout] --> tests/values_memoize_in_place.rs:160:14 [INFO] [stdout] | [INFO] [stdout] 160 | vec![Attribute::new("width", "123", Some("style"), false)] [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Attribute` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Attribute; [INFO] [stdout] | [INFO] [stdout] 1 + use syn::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadSignal` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:193:36 [INFO] [stdout] | [INFO] [stdout] 193 | fn TakesReadOnlySignalNum(sig: ReadSignal) -> Element { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:193:56 [INFO] [stdout] | [INFO] [stdout] 193 | fn TakesReadOnlySignalNum(sig: ReadSignal) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadSignal` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:198:41 [INFO] [stdout] | [INFO] [stdout] 198 | fn TakesReadOnlySignalNonClone(sig: ReadSignal>) -> Element { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:198:75 [INFO] [stdout] | [INFO] [stdout] 198 | fn TakesReadOnlySignalNonClone(sig: ReadSignal>) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_rsx::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SerializedMouseData` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:210:50 [INFO] [stdout] | [INFO] [stdout] 210 | Rc::new(PlatformEventData::new(Box::::default())) as Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 172 | fn cloning_read_only_signal_components_work() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_event_converter` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | set_event_converter(Box::new(dioxus::html::SerializedHtmlEventConverter)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/values_memoize_in_place.rs:49:19 [INFO] [stdout] | [INFO] [stdout] 49 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/values_memoize_in_place.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | dom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> tests/values_memoize_in_place.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | let event = Event::new( [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlatformEventData` [INFO] [stdout] --> tests/values_memoize_in_place.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | Rc::new(PlatformEventData::new(Box::::default())) as Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `PlatformEventData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] --> tests/values_memoize_in_place.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | dom.render_immediate(&mut dioxus_core::NoOpMutations); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus_core`, use `cargo add dioxus_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] --> tests/values_memoize_in_place.rs:66:31 [INFO] [stdout] | [INFO] [stdout] 66 | dom.render_immediate(&mut dioxus_core::NoOpMutations); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus_core`, use `cargo add dioxus_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | let mut count = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | use_hook(|| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_event_converter` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | set_event_converter(Box::new(dioxus::html::SerializedHtmlEventConverter)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/values_memoize_in_place.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/values_memoize_in_place.rs:98:20 [INFO] [stdout] | [INFO] [stdout] 98 | dom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> tests/values_memoize_in_place.rs:100:21 [INFO] [stdout] | [INFO] [stdout] 100 | let event = Event::new( [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlatformEventData` [INFO] [stdout] --> tests/values_memoize_in_place.rs:101:21 [INFO] [stdout] | [INFO] [stdout] 101 | Rc::new(PlatformEventData::new(Box::::default())) as Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `PlatformEventData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] --> tests/values_memoize_in_place.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | dom.render_immediate(&mut dioxus_core::NoOpMutations); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus_core`, use `cargo add dioxus_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] --> tests/values_memoize_in_place.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | dom.render_immediate(&mut dioxus_core::NoOpMutations); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus_core`, use `cargo add dioxus_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | let first_render_click = use_hook(move || click); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:128:28 [INFO] [stdout] | [INFO] [stdout] 128 | let first_render_sig = use_hook(move || sig); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder` found for struct `CompProps` in the current scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:150:32 [INFO] [stdout] | [INFO] [stdout] 145 | struct CompProps { [INFO] [stdout] | ---------------- function or associated item `builder` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 150 | let mut props = CompProps::builder().build(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `CompProps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder` found for struct `CompProps` in the current scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:151:40 [INFO] [stdout] | [INFO] [stdout] 145 | struct CompProps { [INFO] [stdout] | ---------------- function or associated item `builder` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 151 | assert!(!props.memoize(&CompProps::builder().all("123").build())); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `CompProps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder` found for struct `CompProps` in the current scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:157:40 [INFO] [stdout] | [INFO] [stdout] 145 | struct CompProps { [INFO] [stdout] | ---------------- function or associated item `builder` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 157 | assert!(!props.memoize(&CompProps::builder().width("123").build())); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `CompProps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder` found for struct `CompProps` in the current scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:163:40 [INFO] [stdout] | [INFO] [stdout] 145 | struct CompProps { [INFO] [stdout] | ---------------- function or associated item `builder` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 163 | assert!(!props.memoize(&CompProps::builder().build())); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `CompProps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `builder` found for struct `CompProps` in the current scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:166:39 [INFO] [stdout] | [INFO] [stdout] 145 | struct CompProps { [INFO] [stdout] | ---------------- function or associated item `builder` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 166 | assert!(props.memoize(&CompProps::builder().build())); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `CompProps` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_event_converter` in this scope [INFO] [stdout] --> tests/values_memoize_in_place.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | set_event_converter(Box::new(dioxus::html::SerializedHtmlEventConverter)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/values_memoize_in_place.rs:203:19 [INFO] [stdout] | [INFO] [stdout] 203 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/values_memoize_in_place.rs:207:20 [INFO] [stdout] | [INFO] [stdout] 207 | dom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> tests/values_memoize_in_place.rs:209:21 [INFO] [stdout] | [INFO] [stdout] 209 | let event = Event::new( [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlatformEventData` [INFO] [stdout] --> tests/values_memoize_in_place.rs:210:21 [INFO] [stdout] | [INFO] [stdout] 210 | Rc::new(PlatformEventData::new(Box::::default())) as Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `PlatformEventData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] --> tests/values_memoize_in_place.rs:214:35 [INFO] [stdout] | [INFO] [stdout] 214 | dom.render_immediate(&mut dioxus_core::NoOpMutations); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus_core`, use `cargo add dioxus_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] --> tests/values_memoize_in_place.rs:216:31 [INFO] [stdout] | [INFO] [stdout] 216 | dom.render_immediate(&mut dioxus_core::NoOpMutations); [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `dioxus_core` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus_core`, use `cargo add dioxus_core` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-core-macro` (test "values_memoize_in_place") due to 72 previous errors [INFO] running `Command { std: "docker" "inspect" "9e3106250f13c29704af395fb2f66da608a627130be8fe8aec9f9b9c2456541a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e3106250f13c29704af395fb2f66da608a627130be8fe8aec9f9b9c2456541a", kill_on_drop: false }` [INFO] [stdout] 9e3106250f13c29704af395fb2f66da608a627130be8fe8aec9f9b9c2456541a