[INFO] fetching crate dioxus-signals 0.6.0-alpha.4... [INFO] checking dioxus-signals-0.6.0-alpha.4 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate dioxus-signals 0.6.0-alpha.4 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate dioxus-signals 0.6.0-alpha.4 on toolchain da25749bf5e6ba5ed862ff361c19afff2a986b2d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate dioxus-signals 0.6.0-alpha.4 [INFO] finished tweaking crates.io crate dioxus-signals 0.6.0-alpha.4 [INFO] tweaked toml for crates.io crate dioxus-signals 0.6.0-alpha.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate dioxus-signals 0.6.0-alpha.4 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" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e82992ad2bb5c928f634f76141d87ec1357c12a725ba5c860a86348c8f86b4c3 [INFO] running `Command { std: "docker" "start" "-a" "e82992ad2bb5c928f634f76141d87ec1357c12a725ba5c860a86348c8f86b4c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e82992ad2bb5c928f634f76141d87ec1357c12a725ba5c860a86348c8f86b4c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e82992ad2bb5c928f634f76141d87ec1357c12a725ba5c860a86348c8f86b4c3", kill_on_drop: false }` [INFO] [stdout] e82992ad2bb5c928f634f76141d87ec1357c12a725ba5c860a86348c8f86b4c3 [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d664e7c3869cd3ec4968ca8e8d391ea507e81a530caf0be81d56963293f016d7 [INFO] running `Command { std: "docker" "start" "-a" "d664e7c3869cd3ec4968ca8e8d391ea507e81a530caf0be81d56963293f016d7", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking pin-project-lite v0.2.15 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking longest-increasing-subsequence v0.1.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking dioxus-core-types v0.6.0-alpha.4 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Compiling const_format_proc_macros v0.2.33 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking const_format v0.2.33 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Checking pin-project v1.1.7 [INFO] [stderr] Checking warnings v0.2.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking generational-box v0.6.0-alpha.4 [INFO] [stderr] Checking dioxus-core v0.6.0-alpha.4 [INFO] [stderr] Checking dioxus-signals v0.6.0-alpha.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/warnings.rs (2 fixes) [INFO] [stderr] Fixed src/global/mod.rs (1 fix) [INFO] [stderr] Fixed src/set_compare.rs (1 fix) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> src/warnings.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/map_signal.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> src/warnings.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/../docs/hoist/error.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> src/../docs/hoist/error.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/../docs/hoist/error.rs:19:3 [INFO] [stdout] | [INFO] [stdout] 19 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> src/../docs/hoist/error.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/../docs/hoist/fixed_list.rs:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> src/../docs/hoist/fixed_list.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> src/../docs/hoist/fixed_list.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> src/../docs/hoist/fixed_list.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/../docs/hoist/error.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn Counters() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] --> src/warnings.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48+ use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signal` in this scope [INFO] [stdout] --> src/../docs/hoist/error.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn Counter(mut counts: Signal>>) -> Element { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] --> src/warnings.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 + use crate::Signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signal` in this scope [INFO] [stdout] --> src/../docs/hoist/error.rs:20:35 [INFO] [stdout] | [INFO] [stdout] 20 | fn Counter(mut counts: Signal>>) -> Element { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] --> src/warnings.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 + use crate::Signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/../docs/hoist/error.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | fn Counter(mut counts: Signal>>) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] --> src/warnings.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> src/../docs/hoist/error.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use_hook(|| counts.push(signal_owned_by_child)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] --> src/warnings.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 + use dioxus_core::use_hook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/../docs/hoist/fixed_list.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | fn Counters() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] --> src/warnings.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52+ use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signal` in this scope [INFO] [stdout] --> src/../docs/hoist/fixed_list.rs:25:38 [INFO] [stdout] | [INFO] [stdout] 25 | fn Counter(index: usize, mut counts: Signal>) -> Element { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] --> src/warnings.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 + use crate::Signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> src/../docs/hoist/fixed_list.rs:25:59 [INFO] [stdout] | [INFO] [stdout] 25 | fn Counter(index: usize, mut counts: Signal>) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] --> src/warnings.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> src/../docs/hoist/error.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | let counts = use_signal(Vec::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] --> src/../docs/hoist/error.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | let mut children = use_signal(|| 0); [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] --> src/../docs/hoist/error.rs:21:37 [INFO] [stdout] | [INFO] [stdout] 21 | let mut signal_owned_by_child = use_signal(|| 0); [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] --> src/../docs/hoist/fixed_list.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | let mut counts = use_signal(Vec::new); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [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] [stderr] error: could not compile `dioxus-signals` (lib test) due to 22 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/map_signal.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/memo.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/map_signal.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> examples/map_signal.rs:35:3 [INFO] [stdout] | [INFO] [stdout] 35 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `to_owned` in this scope [INFO] [stdout] --> examples/map_signal.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | to_owned![count]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/map_signal.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/map_signal.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MappedSignal` in this scope [INFO] [stdout] --> examples/map_signal.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | fn Child(count: MappedSignal) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_signals::MappedSignal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/map_signal.rs:36:39 [INFO] [stdout] | [INFO] [stdout] 36 | fn Child(count: MappedSignal) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/map_signal.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | dioxus::launch(app); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> examples/map_signal.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let mut vec = use_signal(|| vec![0]); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_memo` in this scope [INFO] [stdout] --> examples/map_signal.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use_memo({ [INFO] [stdout] | ^^^^^^^^ not found in this scope [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] [stderr] error: could not compile `dioxus-signals` (example "map_signal") due to 11 previous errors [INFO] [stderr] Migrating examples/read_only_degrade.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/memo.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/memo.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dioxus::html::p; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `dioxus::html::p` [INFO] [stdout] --> tests/memo.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dioxus::html::p; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `to_owned` in this scope [INFO] [stdout] --> tests/memo.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | to_owned![counter]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/memo.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/memo.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Props` in this scope [INFO] [stdout] --> tests/memo.rs:87:23 [INFO] [stdout] | [INFO] [stdout] 87 | #[derive(Default, Props, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `to_owned` in this scope [INFO] [stdout] --> tests/memo.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | to_owned![counter]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/memo.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/memo.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `simple_logger` [INFO] [stdout] --> tests/memo.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let _ = simple_logger::SimpleLogger::new().init(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `simple_logger` [INFO] [stdout] --> tests/memo.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let _ = simple_logger::SimpleLogger::new().init(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/memo.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let mut dom = VirtualDom::new_with_props( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/memo.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let mut dom = VirtualDom::new_with_props( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/memo.rs:69:16 [INFO] [stdout] | [INFO] [stdout] 69 | if generation() == 1 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/memo.rs:72:16 [INFO] [stdout] | [INFO] [stdout] 72 | if generation() == 2 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/memo.rs:99:36 [INFO] [stdout] | [INFO] [stdout] 99 | fn Child(props: ChildProps) -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dioxus-core-0.6.0-alpha.4/src/arena.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ElementId(pub usize); [INFO] [stdout] | -------------------- similarly named struct `ElementId` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 99 | fn Child(props: ChildProps) -> ElementId { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/memo.rs:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | match generation() { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/memo.rs:128:20 [INFO] [stdout] | [INFO] [stdout] 128 | dom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/memo.rs:137:20 [INFO] [stdout] | [INFO] [stdout] 137 | dom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/memo.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | let mut dom = VirtualDom::new(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/memo.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | if generation() == 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/memo.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | dom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/memo.rs:27:30 [INFO] [stdout] | [INFO] [stdout] 27 | let mut signal = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_memo` in this scope [INFO] [stdout] --> tests/memo.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let memo = use_memo({ [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/memo.rs:67:30 [INFO] [stdout] | [INFO] [stdout] 67 | let mut signal = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_memo` in this scope [INFO] [stdout] --> tests/memo.rs:104:20 [INFO] [stdout] | [INFO] [stdout] 104 | let memo = use_memo({ [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/memo.rs:153:26 [INFO] [stdout] | [INFO] [stdout] 153 | let mut signal = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_memo` in this scope [INFO] [stdout] --> tests/memo.rs:154:20 [INFO] [stdout] | [INFO] [stdout] 154 | let memo = use_memo(move || dbg!(signal() < 2)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-signals` (test "memo") due to 29 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/read_only_degrade.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/create.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> examples/read_only_degrade.rs:24:3 [INFO] [stdout] | [INFO] [stdout] 24 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/read_only_degrade.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/read_only_degrade.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/read_only_degrade.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadOnlySignal` in this scope [INFO] [stdout] --> examples/read_only_degrade.rs:25:17 [INFO] [stdout] | [INFO] [stdout] 25 | fn Child(count: ReadOnlySignal, children: Element) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use dioxus_signals::ReadOnlySignal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/read_only_degrade.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | fn Child(count: ReadOnlySignal, children: Element) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/read_only_degrade.rs:25:60 [INFO] [stdout] | [INFO] [stdout] 25 | fn Child(count: ReadOnlySignal, children: Element) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/read_only_degrade.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | dioxus::launch(app); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-signals` (example "read_only_degrade") due to 10 previous errors [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> examples/read_only_degrade.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | let mut count = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [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[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/create.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/split_subscriptions.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/create.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | let mut dom = VirtualDom::new(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/create.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 18 | fn Child() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dioxus-core-0.6.0-alpha.4/src/arena.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ElementId(pub usize); [INFO] [stdout] | -------------------- similarly named struct `ElementId` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 18 | fn Child() -> ElementId { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/create.rs:35:19 [INFO] [stdout] | [INFO] [stdout] 35 | let mut dom = VirtualDom::new(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/create.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | fn Child() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dioxus-core-0.6.0-alpha.4/src/arena.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ElementId(pub usize); [INFO] [stdout] | -------------------- similarly named struct `ElementId` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 43 | fn Child() -> ElementId { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/create.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | let mut dom = VirtualDom::new(|| { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/create.rs:65:26 [INFO] [stdout] | [INFO] [stdout] 65 | let generation = generation(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/create.rs:75:19 [INFO] [stdout] | [INFO] [stdout] 75 | fn Child() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dioxus-core-0.6.0-alpha.4/src/arena.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ElementId(pub usize); [INFO] [stdout] | -------------------- similarly named struct `ElementId` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 75 | fn Child() -> ElementId { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/create.rs:92:20 [INFO] [stdout] | [INFO] [stdout] 92 | dom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/create.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | use_signal(|| TracksDrops); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [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] [stderr] error: could not compile `dioxus-signals` (test "create") due to 16 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/split_subscriptions.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/dependencies.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:27:3 [INFO] [stdout] | [INFO] [stdout] 27 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 55 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 60 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 68 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:28:20 [INFO] [stdout] | [INFO] [stdout] 28 | fn ReadsFirst() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | fn ReadsSecond() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn ReadsManySignals() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:97:37 [INFO] [stdout] | [INFO] [stdout] 97 | fn Child(mut count: Signal) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/split_subscriptions.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | dioxus::launch(app); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-signals` (example "split_subscriptions") due to 20 previous errors [INFO] [stdout] error[E0425]: cannot find function `use_context_provider` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use_context_provider(ApplicationData::default); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_context` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | let mut data = use_context::(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_context` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | let mut data = use_context::(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_context` in this scope [INFO] [stdout] --> examples/split_subscriptions.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | let mut data = use_context::(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [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[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/dependencies.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/subscribe.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> examples/dependencies.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 25 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `use_reactive` in this scope [INFO] [stdout] --> examples/dependencies.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let computed = use_memo(use_reactive!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `use_reactive` in this scope [INFO] [stdout] --> examples/dependencies.rs:33:16 [INFO] [stdout] | [INFO] [stdout] 33 | use_effect(use_reactive!(|(non_reactive_prop,)| println!( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `use_reactive` in this scope [INFO] [stdout] --> examples/dependencies.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | let fut = use_resource(use_reactive!(|(non_reactive_prop,)| async move { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/dependencies.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/dependencies.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> examples/dependencies.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | tokio::time::sleep(std::time::Duration::from_secs(1)).await; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/dependencies.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/dependencies.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | fn Child(non_reactive_prop: i32) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/dependencies.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | dioxus::launch(app); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> examples/dependencies.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let mut signal = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_future` in this scope [INFO] [stdout] --> examples/dependencies.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use_future(move || async move { [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] --> examples/dependencies.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 27 | let mut signal = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_memo` in this scope [INFO] [stdout] --> examples/dependencies.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | let computed = use_memo(use_reactive!( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_effect` in this scope [INFO] [stdout] --> examples/dependencies.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use_effect(use_reactive!(|(non_reactive_prop,)| println!( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_resource` in this scope [INFO] [stdout] --> examples/dependencies.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 37 | let fut = use_resource(use_reactive!(|(non_reactive_prop,)| async move { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [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] [stderr] error: could not compile `dioxus-signals` (example "dependencies") due to 17 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/subscribe.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/context.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/subscribe.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Props` in this scope [INFO] [stdout] --> tests/subscribe.rs:46:14 [INFO] [stdout] | [INFO] [stdout] 46 | #[derive(Props, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/subscribe.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `simple_logger` [INFO] [stdout] --> tests/subscribe.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | simple_logger::SimpleLogger::new().init().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared crate or module `simple_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ScopeId` in this scope [INFO] [stdout] --> tests/subscribe.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | children: HashMap, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/subscribe.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let mut dom = VirtualDom::new_with_props( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `current_scope_id` in this scope [INFO] [stdout] --> tests/subscribe.rs:27:38 [INFO] [stdout] | [INFO] [stdout] 27 | println!("Parent: {:?}", current_scope_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::prelude::current_scope_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/subscribe.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | if generation() == 1 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/subscribe.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 58 | fn Child(props: ChildProps) -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/dioxus-core-0.6.0-alpha.4/src/arena.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ElementId(pub usize); [INFO] [stdout] | -------------------- similarly named struct `ElementId` defined here [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 58 | fn Child(props: ChildProps) -> ElementId { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `current_scope_id` in this scope [INFO] [stdout] --> tests/subscribe.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | println!("Child: {:?}", current_scope_id()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::prelude::current_scope_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `current_scope_id` in this scope [INFO] [stdout] --> tests/subscribe.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | .entry(current_scope_id().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::prelude::current_scope_id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/subscribe.rs:83:20 [INFO] [stdout] | [INFO] [stdout] 83 | dom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/subscribe.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | let mut signal = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-signals` (test "subscribe") due to 14 previous errors [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[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/context.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/selector.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> examples/context.rs:16:3 [INFO] [stdout] | [INFO] [stdout] 16 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/context.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | rsx! { "{signal}" } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/context.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | rsx! { Child {} } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/context.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signal` [INFO] [stdout] --> examples/context.rs:11:29 [INFO] [stdout] | [INFO] [stdout] 11 | use_context_provider(|| Signal::new(0)); [INFO] [stdout] | ^^^^^^ use of undeclared type `Signal` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_signals::Signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/context.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | fn Child() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signal` in this scope [INFO] [stdout] --> examples/context.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | let signal: Signal = use_context(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_signals::Signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | dioxus::launch(app) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_context_provider` in this scope [INFO] [stdout] --> examples/context.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use_context_provider(|| Signal::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_context` in this scope [INFO] [stdout] --> examples/context.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | let signal: Signal = use_context(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [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] [stderr] error: could not compile `dioxus-signals` (example "context") due to 11 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/selector.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/send.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> examples/selector.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 20 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/selector.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | rsx! { "{signal}" } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/selector.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/selector.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ReadOnlySignal` in this scope [INFO] [stdout] --> examples/selector.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | fn Child(signal: ReadOnlySignal) -> Element { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_signals::ReadOnlySignal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/selector.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | fn Child(signal: ReadOnlySignal) -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/selector.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | dioxus::launch(app) [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> examples/selector.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let mut signal = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_memo` in this scope [INFO] [stdout] --> examples/selector.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let doubled = use_memo(move || signal * 2); [INFO] [stdout] | ^^^^^^^^ not found in this scope [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] [stderr] error: could not compile `dioxus-signals` (example "selector") due to 10 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/send.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> examples/send.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> examples/send.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> examples/send.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use_hook(|| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::use_hook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> examples/send.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | dioxus::launch(app); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal_sync` in this scope [INFO] [stdout] --> examples/send.rs:8:22 [INFO] [stdout] | [INFO] [stdout] 8 | let mut signal = use_signal_sync(|| 0); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [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] [stderr] error: could not compile `dioxus-signals` (example "send") due to 6 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "d664e7c3869cd3ec4968ca8e8d391ea507e81a530caf0be81d56963293f016d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d664e7c3869cd3ec4968ca8e8d391ea507e81a530caf0be81d56963293f016d7", kill_on_drop: false }` [INFO] [stdout] d664e7c3869cd3ec4968ca8e8d391ea507e81a530caf0be81d56963293f016d7