[INFO] fetching crate dioxus-core 0.6.0-alpha.4... [INFO] checking dioxus-core-0.6.0-alpha.4 against try#da25749bf5e6ba5ed862ff361c19afff2a986b2d for pr-132712 [INFO] extracting crate dioxus-core 0.6.0-alpha.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate dioxus-core 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-core 0.6.0-alpha.4 [INFO] finished tweaking crates.io crate dioxus-core 0.6.0-alpha.4 [INFO] tweaked toml for crates.io crate dioxus-core 0.6.0-alpha.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da25749bf5e6ba5ed862ff361c19afff2a986b2d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding rustc-hash v1.1.0 (available: v2.0.0) [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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] c614abb27bc11b7acf572d83e903457e2ea18856aeed03567f721e40ea3e6515 [INFO] running `Command { std: "docker" "start" "-a" "c614abb27bc11b7acf572d83e903457e2ea18856aeed03567f721e40ea3e6515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c614abb27bc11b7acf572d83e903457e2ea18856aeed03567f721e40ea3e6515", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c614abb27bc11b7acf572d83e903457e2ea18856aeed03567f721e40ea3e6515", kill_on_drop: false }` [INFO] [stdout] c614abb27bc11b7acf572d83e903457e2ea18856aeed03567f721e40ea3e6515 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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] 8338dca6105a3fd007cae26259bd4765d63704747e0b437c6c5af1d9354217c8 [INFO] running `Command { std: "docker" "start" "-a" "8338dca6105a3fd007cae26259bd4765d63704747e0b437c6c5af1d9354217c8", 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 libc v0.2.162 [INFO] [stderr] Compiling serde v1.0.214 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking dioxus-core-types v0.6.0-alpha.4 [INFO] [stderr] Checking longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling const_format_proc_macros v0.2.33 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking const_format v0.2.33 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.214 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [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 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/reactive_context.rs (2 fixes) [INFO] [stderr] Fixed src/error_boundary.rs (1 fix) [INFO] [stderr] Fixed src/events.rs (3 fixes) [INFO] [stderr] Fixed src/global_context.rs (1 fix) [INFO] [stderr] Fixed src/tasks.rs (4 fixes) [INFO] [stderr] Fixed src/suspense/mod.rs (1 fix) [INFO] [stderr] Fixed src/scopes.rs (1 fix) [INFO] [stderr] Fixed src/nodes.rs (1 fix) [INFO] [stderr] Fixed src/scope_context.rs (1 fix) [INFO] [stderr] Fixed src/runtime.rs (3 fixes) [INFO] [stderr] Fixed src/suspense/component.rs (1 fix) [INFO] [stderr] Migrating tests/safety.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/safety.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/diff_unkeyed_list.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/safety.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | let dom = VirtualDom::new(|| rsx!("Hello world!")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/safety.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | let dom = VirtualDom::new(|| rsx!("Hello world!")); [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[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/safety.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(ScopeId::ROOT.height(), 0); [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] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-core` (test "safety") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] Migrating tests/task.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/diff_unkeyed_list.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | let gen = generation(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/diff_unkeyed_list.rs:15:29 [INFO] [stdout] | [INFO] [stdout] 15 | for i in 0..gen { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/diff_unkeyed_list.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | let gen = 3 - generation() % 4; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/diff_unkeyed_list.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | for i in 0..gen { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/diff_unkeyed_list.rs:234:13 [INFO] [stdout] | [INFO] [stdout] 234 | let gen = 3 - generation() % 4; [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/diff_unkeyed_list.rs:238:22 [INFO] [stdout] | [INFO] [stdout] 238 | {(0..gen).map(|i| rsx! { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/diff_unkeyed_list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dioxus::dioxus_core::{ElementId, Mutation::*}; [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/diff_unkeyed_list.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] [stdout] error[E0432]: unresolved import `pretty_assertions` [INFO] [stdout] --> tests/diff_unkeyed_list.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pretty_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:168:9 [INFO] [stdout] | [INFO] [stdout] 168 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:301:9 [INFO] [stdout] | [INFO] [stdout] 301 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:315:9 [INFO] [stdout] | [INFO] [stdout] 315 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:438:17 [INFO] [stdout] | [INFO] [stdout] 438 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:446:9 [INFO] [stdout] | [INFO] [stdout] 446 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/diff_unkeyed_list.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] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | let gen = generation(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + 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/diff_unkeyed_list.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | 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] 1 + 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/diff_unkeyed_list.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | 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] 1 + 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/diff_unkeyed_list.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | 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] 1 + 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/diff_unkeyed_list.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | 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] 1 + 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/diff_unkeyed_list.rs:84:19 [INFO] [stdout] | [INFO] [stdout] 84 | 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] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | let gen = 3 - generation() % 4; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + 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/diff_unkeyed_list.rs:121:20 [INFO] [stdout] | [INFO] [stdout] 121 | 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] 1 + 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/diff_unkeyed_list.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] 1 + 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/diff_unkeyed_list.rs:136:20 [INFO] [stdout] | [INFO] [stdout] 136 | 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] 1 + 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/diff_unkeyed_list.rs:147:20 [INFO] [stdout] | [INFO] [stdout] 147 | 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] 1 + 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/diff_unkeyed_list.rs:167:19 [INFO] [stdout] | [INFO] [stdout] 167 | 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] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_unkeyed_list.rs:188:20 [INFO] [stdout] | [INFO] [stdout] 188 | 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] 1 + 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/diff_unkeyed_list.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 202 | 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] 1 + 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/diff_unkeyed_list.rs:216:20 [INFO] [stdout] | [INFO] [stdout] 216 | 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] 1 + 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/diff_unkeyed_list.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 233 | 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] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:234:23 [INFO] [stdout] | [INFO] [stdout] 234 | let gen = 3 - generation() % 4; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + 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/diff_unkeyed_list.rs:275:20 [INFO] [stdout] | [INFO] [stdout] 275 | 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] 1 + 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/diff_unkeyed_list.rs:281:20 [INFO] [stdout] | [INFO] [stdout] 281 | 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] 1 + 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/diff_unkeyed_list.rs:287:20 [INFO] [stdout] | [INFO] [stdout] 287 | 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] 1 + 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/diff_unkeyed_list.rs:300:19 [INFO] [stdout] | [INFO] [stdout] 300 | 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] 1 + 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/diff_unkeyed_list.rs:314:19 [INFO] [stdout] | [INFO] [stdout] 314 | 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] 1 + 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/diff_unkeyed_list.rs:328:19 [INFO] [stdout] | [INFO] [stdout] 328 | 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] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:329:25 [INFO] [stdout] | [INFO] [stdout] 329 | let num = match generation() % 3 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + 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/diff_unkeyed_list.rs:357:24 [INFO] [stdout] | [INFO] [stdout] 357 | 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] 1 + 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/diff_unkeyed_list.rs:372:24 [INFO] [stdout] | [INFO] [stdout] 372 | 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] 1 + 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/diff_unkeyed_list.rs:396:24 [INFO] [stdout] | [INFO] [stdout] 396 | 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] 1 + 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/diff_unkeyed_list.rs:417:24 [INFO] [stdout] | [INFO] [stdout] 417 | 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] 1 + 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/diff_unkeyed_list.rs:433:19 [INFO] [stdout] | [INFO] [stdout] 433 | 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] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:434:25 [INFO] [stdout] | [INFO] [stdout] 434 | let items = (0..generation()).map(|_| { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/diff_unkeyed_list.rs:435:16 [INFO] [stdout] | [INFO] [stdout] 435 | if generation() % 2 == 0 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VNode` [INFO] [stdout] --> tests/diff_unkeyed_list.rs:436:17 [INFO] [stdout] | [INFO] [stdout] 436 | VNode::empty() [INFO] [stdout] | ^^^^^ use of undeclared type `VNode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VNode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_unkeyed_list.rs:469:24 [INFO] [stdout] | [INFO] [stdout] 469 | 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] 1 + 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/diff_unkeyed_list.rs:482:24 [INFO] [stdout] | [INFO] [stdout] 482 | 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] 1 + 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/diff_unkeyed_list.rs:497:24 [INFO] [stdout] | [INFO] [stdout] 497 | 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] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `ElementId` cannot be dereferenced [INFO] [stdout] --> tests/diff_unkeyed_list.rs:402:44 [INFO] [stdout] | [INFO] [stdout] 402 | Mutation::Remove { id } => *id, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-core` (test "diff_unkeyed_list") due to 49 previous errors; 6 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/task.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/diff_element.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/task.rs:96:3 [INFO] [stdout] | [INFO] [stdout] 96 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/task.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/task.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | tokio::select! { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/task.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/task.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | tokio::select! { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/task.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/task.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | rsx!(div {}) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/task.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | rsx!(Child {}) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/task.rs:66:7 [INFO] [stdout] | [INFO] [stdout] 66 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/task.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | rsx!(div {}) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/task.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | rsx!({}) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/task.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | tokio::time::sleep(Duration::from_micros(50)).await; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/task.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | tokio::time::sleep(Duration::from_micros(25)).await; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/task.rs:71:17 [INFO] [stdout] | [INFO] [stdout] 71 | tokio::time::sleep(Duration::from_millis(50)).await; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/task.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | tokio::task::yield_now().await; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/task.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | tokio::task::yield_now().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] --> tests/task.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | async fn run_vdom(app: fn() -> 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 `VirtualDom` [INFO] [stdout] --> tests/task.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | let mut dom = VirtualDom::new(app); [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/task.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 type alias [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/task.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | use_hook(|| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::use_hook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> tests/task.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | spawn(async { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::prelude::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> tests/task.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | spawn(async { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::prelude::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/task.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | 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[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/task.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | if generation() > 0 { [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[E0425]: cannot find function `needs_update` in this scope [INFO] [stdout] --> tests/task.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | needs_update(); [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::needs_update; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/task.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | 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[E0425]: cannot find function `spawn_forever` in this scope [INFO] [stdout] --> tests/task.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | spawn_forever(async move { [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::spawn_forever; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/task.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let mut dom = VirtualDom::new(app); [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/task.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | 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[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/task.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | use_hook(|| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::use_hook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> tests/task.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | spawn(async move { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::prelude::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/task.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | use_hook(|| { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::use_hook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> tests/task.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | spawn(async move { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 3 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::prelude::spawn; [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] [stderr] error: could not compile `dioxus-core` (test "task") due to 34 previous errors [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/diff_element.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | let gen = generation(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] = note: `--force-warn keyword-idents-2024` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/miri_full_app.rs from 2021 edition to 2024 [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/diff_element.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let gen = generation(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/diff_element.rs:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | match gen % 2 { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/diff_element.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let gen = generation(); [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `gen` is a keyword in the 2024 edition [INFO] [stdout] --> tests/diff_element.rs:92:27 [INFO] [stdout] | [INFO] [stdout] 92 | let attrs = match gen % 5 { [INFO] [stdout] | ^^^ help: you can use a raw identifier to stay compatible: `r#gen` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2021) but is a hard error in Rust 2024! [INFO] [stdout] = note: for more information, see issue #49716 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/diff_element.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::dioxus_core::Mutation::*; [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/diff_element.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dioxus::dioxus_core::{AttributeValue, ElementId, NoOpMutations}; [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/diff_element.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[E0432]: unresolved imports `dioxus::dioxus_core::Mutation::*`, `dioxus::dioxus_core::AttributeValue`, `dioxus::dioxus_core::ElementId`, `dioxus::dioxus_core::NoOpMutations`, `dioxus::prelude::*` [INFO] [stdout] --> tests/diff_element.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::dioxus_core::Mutation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use dioxus::dioxus_core::{AttributeValue, ElementId, NoOpMutations}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 3 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_element.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | rsx!( h1 { "hello {gen}" } ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_element.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | 0 => rsx!( h1 { "hello 1" } ), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_element.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | 1 => rsx!( h2 { "hello 2" } ), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_element.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | rsx!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_element.rs:189:18 [INFO] [stdout] | [INFO] [stdout] 189 | 0 => rsx! { div { "hello" } }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_element.rs:190:18 [INFO] [stdout] | [INFO] [stdout] 190 | 1 => rsx! {}, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/diff_element.rs:7:17 [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 `generation` in this scope [INFO] [stdout] --> tests/diff_element.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | let gen = generation(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/diff_element.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | let mut vdom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_element.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | vdom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetText` in this scope [INFO] [stdout] --> tests/diff_element.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | [SetText { value: "hello 1".to_string(), id: ElementId(2) }] [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::SetText; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_element.rs:21:21 [INFO] [stdout] | [INFO] [stdout] 21 | vdom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetText` in this scope [INFO] [stdout] --> tests/diff_element.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | [SetText { value: "hello 2".to_string(), id: ElementId(2) }] [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::SetText; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_element.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | vdom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetText` in this scope [INFO] [stdout] --> tests/diff_element.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | [SetText { value: "hello 3".to_string(), id: ElementId(2) }] [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::SetText; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/diff_element.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | 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 `generation` in this scope [INFO] [stdout] --> tests/diff_element.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let gen = generation(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/diff_element.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | let mut vdom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_element.rs:49:21 [INFO] [stdout] | [INFO] [stdout] 49 | vdom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/diff_element.rs:53:13 [INFO] [stdout] | [INFO] [stdout] 53 | LoadTemplate { index: 0, id: ElementId(2,) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ReplaceWith` in this scope [INFO] [stdout] --> tests/diff_element.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | ReplaceWith { id: ElementId(1,), m: 1 }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::ReplaceWith; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_element.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | vdom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/diff_element.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | LoadTemplate { index: 0, id: ElementId(1,) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ReplaceWith` in this scope [INFO] [stdout] --> tests/diff_element.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | ReplaceWith { id: ElementId(2,), m: 1 }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::ReplaceWith; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_element.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | vdom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/diff_element.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | LoadTemplate { index: 0, id: ElementId(2,) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ReplaceWith` in this scope [INFO] [stdout] --> tests/diff_element.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | ReplaceWith { id: ElementId(1,), m: 1 }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::ReplaceWith; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_element.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | vdom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/diff_element.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | LoadTemplate { index: 0, id: ElementId(1,) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ReplaceWith` in this scope [INFO] [stdout] --> tests/diff_element.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | ReplaceWith { id: ElementId(2,), m: 1 }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::ReplaceWith; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/diff_element.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | 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 `generation` in this scope [INFO] [stdout] --> tests/diff_element.rs:89:19 [INFO] [stdout] | [INFO] [stdout] 89 | let gen = generation(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Attribute` [INFO] [stdout] --> tests/diff_element.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | 0 => vec![Attribute::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Attribute` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Attribute` [INFO] [stdout] --> tests/diff_element.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | Attribute::new("a", AttributeValue::Text("hello".into()), None, false), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Attribute` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Attribute` [INFO] [stdout] --> tests/diff_element.rs:101:17 [INFO] [stdout] | [INFO] [stdout] 101 | Attribute::new("b", AttributeValue::Text("hello".into()), None, false), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Attribute` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Attribute` [INFO] [stdout] --> tests/diff_element.rs:102:17 [INFO] [stdout] | [INFO] [stdout] 102 | Attribute::new("c", AttributeValue::Text("hello".into()), None, false), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Attribute` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Attribute` [INFO] [stdout] --> tests/diff_element.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | Attribute::new("c", AttributeValue::Text("hello".into()), None, false), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Attribute` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Attribute` [INFO] [stdout] --> tests/diff_element.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | Attribute::new("d", AttributeValue::Text("hello".into()), None, false), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Attribute` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Attribute` [INFO] [stdout] --> tests/diff_element.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | Attribute::new("e", AttributeValue::Text("hello".into()), None, false), [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Attribute` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Attribute` [INFO] [stdout] --> tests/diff_element.rs:109:23 [INFO] [stdout] | [INFO] [stdout] 109 | 3 => vec![Attribute::new( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Attribute` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Attribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/diff_element.rs:126:20 [INFO] [stdout] | [INFO] [stdout] 126 | let mut vdom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_element.rs:129:21 [INFO] [stdout] | [INFO] [stdout] 129 | vdom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/diff_element.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | SetAttribute { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/diff_element.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | SetAttribute { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_element.rs:148:21 [INFO] [stdout] | [INFO] [stdout] 148 | vdom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/diff_element.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | SetAttribute { name: "a", value: AttributeValue::None, id: ElementId(1,), ns: None }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/diff_element.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | SetAttribute { name: "b", value: AttributeValue::None, id: ElementId(1,), ns: None }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/diff_element.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | SetAttribute { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/diff_element.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | SetAttribute { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_element.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | vdom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/diff_element.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | SetAttribute { name: "c", value: AttributeValue::None, id: ElementId(1,), ns: None }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/diff_element.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | SetAttribute { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/diff_element.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 180 | SetAttribute { name: "e", value: AttributeValue::None, id: ElementId(1,), ns: None }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/diff_element.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | 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 `generation` in this scope [INFO] [stdout] --> tests/diff_element.rs:188:15 [INFO] [stdout] | [INFO] [stdout] 188 | match generation() % 2 { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/diff_element.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | let mut vdom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_element.rs:198:21 [INFO] [stdout] | [INFO] [stdout] 198 | vdom.mark_dirty(ScopeId::APP); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreatePlaceholder` in this scope [INFO] [stdout] --> tests/diff_element.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | CreatePlaceholder { id: ElementId(2,) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::CreatePlaceholder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ReplaceWith` in this scope [INFO] [stdout] --> tests/diff_element.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | ReplaceWith { id: ElementId(1,), m: 1 }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::ReplaceWith; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, 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-core` (test "diff_element") due to 63 previous errors; 5 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/miri_full_app.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/conditional_formatted_attributes.rs from 2021 edition to 2024 [INFO] [stdout] error[E0432]: unresolved import `dioxus_elements` [INFO] [stdout] --> tests/miri_full_app.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dioxus_elements::SerializedHtmlEventConverter; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `dioxus_elements` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/miri_full_app.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/miri_full_app.rs:47:3 [INFO] [stdout] | [INFO] [stdout] 47 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/miri_full_app.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | rsx! { li { onmouseover: move |e| onhover.call(e), "{i}" } } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/miri_full_app.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> tests/miri_full_app.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | let event = Event::new( [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Event; [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SerializedMouseData` in this scope [INFO] [stdout] --> tests/miri_full_app.rs:15:50 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 7 | fn miri_rollover() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/miri_full_app.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 24 | fn app() -> ElementId { [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 `EventHandler` in this scope [INFO] [stdout] --> tests/miri_full_app.rs:48:34 [INFO] [stdout] | [INFO] [stdout] 48 | fn ChildExample(i: i32, onhover: EventHandler) -> 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::prelude::EventHandler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MouseEvent` in this scope [INFO] [stdout] --> tests/miri_full_app.rs:48:47 [INFO] [stdout] | [INFO] [stdout] 48 | fn ChildExample(i: i32, onhover: 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] 48 | fn ChildExample(i: i32, onhover: EventHandler) -> Element { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/miri_full_app.rs:48:63 [INFO] [stdout] | [INFO] [stdout] 48 | fn ChildExample(i: i32, onhover: EventHandler) -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 48 | fn ChildExample(i: i32, onhover: EventHandler) -> ElementId { [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 `set_event_converter` in this scope [INFO] [stdout] --> tests/miri_full_app.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | set_event_converter(Box::new(SerializedHtmlEventConverter)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlatformEventData` [INFO] [stdout] --> tests/miri_full_app.rs:15:21 [INFO] [stdout] | [INFO] [stdout] 15 | Rc::new(PlatformEventData::new(Box::::default())) as Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `PlatformEventData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/miri_full_app.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | let mut idx = use_signal(|| 0); [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-core` (test "miri_full_app") due to 15 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/conditional_formatted_attributes.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] --> tests/conditional_formatted_attributes.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | _ = rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/attr_cleanup.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/conditional_formatted_attributes.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 18 | _ = rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-core` (test "conditional_formatted_attributes") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/attr_cleanup.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use dioxus::dioxus_core::{ElementId, Mutation::*}; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating tests/hotreloading.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/attr_cleanup.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `dioxus::dioxus_core::ElementId`, `dioxus::dioxus_core::Mutation::*`, `dioxus::prelude::*` [INFO] [stdout] --> tests/attr_cleanup.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use dioxus::dioxus_core::{ElementId, Mutation::*}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 6 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | 0 => rsx! { div {} }, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:16:18 [INFO] [stdout] | [INFO] [stdout] 16 | 1 => rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] --> tests/attr_cleanup.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | tracing_subscriber::fmt::init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/attr_cleanup.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 5 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:13:18 [INFO] [stdout] | [INFO] [stdout] 13 | let id = generation(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::generation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | LoadTemplate { index: 0, id: ElementId(1,) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AppendChildren` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | AppendChildren { m: 1, id: ElementId(0) }, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::AppendChildren; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/attr_cleanup.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | 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] 5 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | LoadTemplate { index: 0, id: ElementId(2,) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssignId` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | AssignId { path: &[0,], id: ElementId(3,) }, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::AssignId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | SetAttribute { name: "class", value: "1".into_value(), id: ElementId(3,), ns: None }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | SetAttribute { name: "id", value: "1".into_value(), id: ElementId(3,), ns: None }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ReplaceWith` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | ReplaceWith { id: ElementId(1,), m: 1 }, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::ReplaceWith; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/attr_cleanup.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | 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] 5 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | LoadTemplate { index: 0, id: ElementId(1) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ReplaceWith` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:48:13 [INFO] [stdout] | [INFO] [stdout] 48 | ReplaceWith { id: ElementId(2), m: 1 } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::ReplaceWith; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/attr_cleanup.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | 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] 5 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | LoadTemplate { index: 0, id: ElementId(2) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssignId` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | AssignId { path: &[0], id: ElementId(3) }, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::AssignId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | SetAttribute { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SetAttribute` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | SetAttribute { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::SetAttribute; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ReplaceWith` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | ReplaceWith { id: ElementId(1), m: 1 } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::ReplaceWith; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/attr_cleanup.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | 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] 5 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | LoadTemplate { index: 0, id: ElementId(1) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ReplaceWith` in this scope [INFO] [stdout] --> tests/attr_cleanup.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | ReplaceWith { id: ElementId(2), m: 1 } [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::Mutation::ReplaceWith; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_value` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/attr_cleanup.rs:37:54 [INFO] [stdout] | [INFO] [stdout] 37 | SetAttribute { name: "class", value: "1".into_value(), id: ElementId(3,), ns: None }, [INFO] [stdout] | ^^^^^^^^^^ method not found in `&str` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoAttributeValue` which provides `into_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::prelude::IntoAttributeValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_value` found for reference `&'static str` in the current scope [INFO] [stdout] --> tests/attr_cleanup.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | SetAttribute { name: "id", value: "1".into_value(), id: ElementId(3,), ns: None }, [INFO] [stdout] | ^^^^^^^^^^ method not found in `&str` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `IntoAttributeValue` which provides `into_value` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 5 + use dioxus_core::prelude::IntoAttributeValue; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-core` (test "attr_cleanup") due to 30 previous errors [INFO] [stderr] Migrating tests/fuzzing.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/diff_component.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/fuzzing.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: cannot find derive macro `Props` in this scope [INFO] [stdout] --> tests/fuzzing.rs:230:21 [INFO] [stdout] | [INFO] [stdout] 230 | #[derive(PartialEq, Props, Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `needs_update` in this scope [INFO] [stdout] --> tests/fuzzing.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | needs_update(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 3 + use crate::prelude::needs_update; [INFO] [stdout] | [INFO] [stdout] 3 + use dioxus_core::prelude::needs_update; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | let namespace = rand::random::() % 2; [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | format!("ns{}", rand::random::()).into_boxed_str(), [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | match rand::random::() % 2 { [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:21:47 [INFO] [stdout] | [INFO] [stdout] 21 | name: Box::leak(format!("attr{}", rand::random::()).into_boxed_str()), [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:22:49 [INFO] [stdout] | [INFO] [stdout] 22 | value: Box::leak(format!("value{}", rand::random::()).into_boxed_str()), [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | match rand::random::() % 4 { [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:45:42 [INFO] [stdout] | [INFO] [stdout] 45 | let attrs: Vec<_> = (0..(rand::random::() % 10)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:51:49 [INFO] [stdout] | [INFO] [stdout] 51 | tag: Box::leak(format!("tag{}", rand::random::()).into_boxed_str()), [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:58:53 [INFO] [stdout] | [INFO] [stdout] 58 | let children: Vec<_> = (0..(rand::random::() % 3)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:74:43 [INFO] [stdout] | [INFO] [stdout] 74 | text: Box::leak(format!("{}", rand::random::()).into_boxed_str()), [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:134:26 [INFO] [stdout] | [INFO] [stdout] 134 | let roots = (0..(1 + rand::random::() % 5)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:169:60 [INFO] [stdout] | [INFO] [stdout] 169 | DynamicNode::Text(VText::new(format!("{}", rand::random::()))) [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:179:11 [INFO] [stdout] | [INFO] [stdout] 179 | match rand::random::() % range { [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | 1 => (0..(rand::random::() % 5)) [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Props` is not implemented for `DepthProps` [INFO] [stdout] --> tests/fuzzing.rs:192:25 [INFO] [stdout] | [INFO] [stdout] 190 | Box::new([DynamicNode::Component(VComponent::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 191 | create_random_element, [INFO] [stdout] 192 | DepthProps { depth, root: false }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Props [INFO] [stdout] | [INFO] [stdout] = help: the trait `Properties` is not implemented for `DepthProps` [INFO] [stdout] = note: Props is a trait that is automatically implemented for all structs that can be used as props for a component [INFO] [stdout] = note: If you manually created a new properties struct, you may have forgotten to add `#[derive(Props, PartialEq, Clone)]` to your struct [INFO] [stdout] = help: the following other types implement trait `Properties`: [INFO] [stdout] () [INFO] [stdout] SuspenseBoundaryProps [INFO] [stdout] dioxus_core::error_boundary::ErrorBoundaryProps [INFO] [stdout] dioxus_core::fragment::FragmentProps [INFO] [stdout] dioxus_core::suspense::component::SuspenseBoundaryPropsWithOwner [INFO] [stdout] note: required by a bound in `VComponent::new` [INFO] [stdout] --> /tmp/fixit/src/nodes.rs:568:12 [INFO] [stdout] | [INFO] [stdout] 562 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 568 | P: Properties + 'static, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `VComponent::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Props` is not implemented for `DepthProps` [INFO] [stdout] --> tests/fuzzing.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 199 | 2 => DynamicNode::Component(VComponent::new( [INFO] [stdout] | --------------- required by a bound introduced by this call [INFO] [stdout] 200 | create_random_element, [INFO] [stdout] 201 | DepthProps { depth, root: false }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Props [INFO] [stdout] | [INFO] [stdout] = help: the trait `Properties` is not implemented for `DepthProps` [INFO] [stdout] = note: Props is a trait that is automatically implemented for all structs that can be used as props for a component [INFO] [stdout] = note: If you manually created a new properties struct, you may have forgotten to add `#[derive(Props, PartialEq, Clone)]` to your struct [INFO] [stdout] = help: the following other types implement trait `Properties`: [INFO] [stdout] () [INFO] [stdout] SuspenseBoundaryProps [INFO] [stdout] dioxus_core::error_boundary::ErrorBoundaryProps [INFO] [stdout] dioxus_core::fragment::FragmentProps [INFO] [stdout] dioxus_core::suspense::component::SuspenseBoundaryPropsWithOwner [INFO] [stdout] note: required by a bound in `VComponent::new` [INFO] [stdout] --> /tmp/fixit/src/nodes.rs:568:12 [INFO] [stdout] | [INFO] [stdout] 562 | pub fn new( [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 568 | P: Properties + 'static, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `VComponent::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:209:23 [INFO] [stdout] | [INFO] [stdout] 209 | let value = match rand::random::() % 7 { [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:210:49 [INFO] [stdout] | [INFO] [stdout] 210 | 0 => AttributeValue::Text(format!("{}", rand::random::())), [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:211:36 [INFO] [stdout] | [INFO] [stdout] 211 | 1 => AttributeValue::Float(rand::random()), [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:212:34 [INFO] [stdout] | [INFO] [stdout] 212 | 2 => AttributeValue::Int(rand::random()), [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:213:35 [INFO] [stdout] | [INFO] [stdout] 213 | 3 => AttributeValue::Bool(rand::random()), [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:214:40 [INFO] [stdout] | [INFO] [stdout] 214 | 4 => AttributeValue::any_value(rand::random::()), [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:223:37 [INFO] [stdout] | [INFO] [stdout] 223 | Box::leak(format!("attr{}", rand::random::()).into_boxed_str()), [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | rand::random(), [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:238:8 [INFO] [stdout] | [INFO] [stdout] 238 | if rand::random::() % 10 == 0 { [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `rand` [INFO] [stdout] --> tests/fuzzing.rs:242:22 [INFO] [stdout] | [INFO] [stdout] 242 | let node = match rand::random::() % range { [INFO] [stdout] | ^^^^ use of undeclared crate or module `rand` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-core` (test "fuzzing") due to 29 previous errors [INFO] [stderr] Migrating tests/suspense.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/diff_component.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::dioxus_core::{ElementId, Mutation::*}; [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/diff_component.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pretty_assertions` [INFO] [stdout] --> tests/diff_component.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pretty_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_component.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let template_1 = rsx! { "{dynamic}" }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_component.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | let template_2 = rsx! { "{dynamic}" }; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_component.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | 0 => rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_component.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | 1 => rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_component.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | 2 => rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_component.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | 3 => rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_component.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | 4 => rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_component.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | _ => rsx!("blah"), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_component.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_component.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | rsx!( h1 { "nav_link" } ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_component.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | rsx!( div { "dashboard" } ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/diff_component.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | rsx!( div { "results" } ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/diff_component.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | 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] --> tests/diff_component.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | fn nav_bar() -> 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] --> tests/diff_component.rs:61:22 [INFO] [stdout] | [INFO] [stdout] 61 | fn nav_link() -> 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] --> tests/diff_component.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | fn dash_board() -> 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] --> tests/diff_component.rs:69:26 [INFO] [stdout] | [INFO] [stdout] 69 | fn dash_results() -> 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 type `VirtualDom` [INFO] [stdout] --> tests/diff_component.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/diff_component.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | 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] 1 + 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/diff_component.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 1 + 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/diff_component.rs:108:20 [INFO] [stdout] | [INFO] [stdout] 108 | 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] 1 + 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/diff_component.rs:21:32 [INFO] [stdout] | [INFO] [stdout] 21 | let mut render_phase = use_signal(|| 0); [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-core` (test "diff_component") due to 25 previous errors [INFO] [stderr] Migrating tests/create_dom.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/suspense.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[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/suspense.rs:378:9 [INFO] [stdout] | [INFO] [stdout] 378 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pretty_assertions` [INFO] [stdout] --> tests/suspense.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pretty_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:205:13 [INFO] [stdout] | [INFO] [stdout] 205 | tokio::select! { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | rsx!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | rsx!("child") [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/suspense.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/suspense.rs:161:7 [INFO] [stdout] | [INFO] [stdout] 161 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/suspense.rs:220:7 [INFO] [stdout] | [INFO] [stdout] 220 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/suspense.rs:236:7 [INFO] [stdout] | [INFO] [stdout] 236 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:252:9 [INFO] [stdout] | [INFO] [stdout] 252 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:289:9 [INFO] [stdout] | [INFO] [stdout] 289 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/suspense.rs:297:7 [INFO] [stdout] | [INFO] [stdout] 297 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/suspense.rs:351:7 [INFO] [stdout] | [INFO] [stdout] 351 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:369:9 [INFO] [stdout] | [INFO] [stdout] 369 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:381:9 [INFO] [stdout] | [INFO] [stdout] 381 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/suspense.rs:393:7 [INFO] [stdout] | [INFO] [stdout] 393 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/suspense.rs:405:7 [INFO] [stdout] | [INFO] [stdout] 405 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 407 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:494:9 [INFO] [stdout] | [INFO] [stdout] 494 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/suspense.rs:503:7 [INFO] [stdout] | [INFO] [stdout] 503 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:505:9 [INFO] [stdout] | [INFO] [stdout] 505 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/suspense.rs:515:7 [INFO] [stdout] | [INFO] [stdout] 515 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:519:9 [INFO] [stdout] | [INFO] [stdout] 519 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/suspense.rs:524:7 [INFO] [stdout] | [INFO] [stdout] 524 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/suspense.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | tokio::time::sleep(std::time::Duration::from_millis(100)).await; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | tokio::time::sleep(std::time::Duration::from_millis(100)).await; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:226:17 [INFO] [stdout] | [INFO] [stdout] 226 | tokio::time::sleep(std::time::Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | tokio::time::sleep(std::time::Duration::from_millis(500)).await; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:309:21 [INFO] [stdout] | [INFO] [stdout] 309 | tokio::time::sleep(std::time::Duration::from_millis(100)).await; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | tokio::time::sleep(std::time::Duration::from_millis(100)).await; [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | 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[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 26 - tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 26 + Builder::new_current_thread() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/suspense.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/suspense.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 40 | fn app() -> ElementId { [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] --> tests/suspense.rs:52:25 [INFO] [stdout] | [INFO] [stdout] 52 | fn suspended_child() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 52 | fn suspended_child() -> ElementId { [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 `spawn` in this scope [INFO] [stdout] --> tests/suspense.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | spawn(async move { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> tests/suspense.rs:65:20 [INFO] [stdout] | [INFO] [stdout] 65 | let task = spawn(async move { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `suspend` in this scope [INFO] [stdout] --> tests/suspense.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | suspend(task)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::suspend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 79 - tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 79 + Builder::new_current_thread() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/suspense.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/suspense.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 98 | fn app() -> ElementId { [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] --> tests/suspense.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | fn Child() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 108 | fn Child() -> ElementId { [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] --> tests/suspense.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | let task = 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[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> tests/suspense.rs:112:13 [INFO] [stdout] | [INFO] [stdout] 112 | spawn(async move { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `suspend` in this scope [INFO] [stdout] --> tests/suspense.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | suspend(task)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::suspend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 138 - tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 138 + Builder::new_current_thread() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/suspense.rs:143:27 [INFO] [stdout] | [INFO] [stdout] 143 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/suspense.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 152 | fn app() -> ElementId { [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] --> tests/suspense.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | fn Child() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 162 | fn Child() -> ElementId { [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] --> tests/suspense.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | 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[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> tests/suspense.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | spawn(async move { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/suspense.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | let task = 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[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> tests/suspense.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | spawn(async move { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `suspend` in this scope [INFO] [stdout] --> tests/suspense.rs:179:13 [INFO] [stdout] | [INFO] [stdout] 179 | suspend(task)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::suspend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 191 - tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 191 + Builder::new_current_thread() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/suspense.rs:196:27 [INFO] [stdout] | [INFO] [stdout] 196 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/suspense.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 211 | fn app() -> ElementId { [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] --> tests/suspense.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | fn RerendersFrequently() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 221 | fn RerendersFrequently() -> ElementId { [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] --> tests/suspense.rs:237:19 [INFO] [stdout] | [INFO] [stdout] 237 | fn Child() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 237 | fn Child() -> ElementId { [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] --> tests/suspense.rs:242:20 [INFO] [stdout] | [INFO] [stdout] 242 | let task = 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[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> tests/suspense.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | spawn(async move { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `suspend` in this scope [INFO] [stdout] --> tests/suspense.rs:249:13 [INFO] [stdout] | [INFO] [stdout] 249 | suspend(task)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::suspend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GlobalSignal` in this scope [INFO] [stdout] --> tests/suspense.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 261 | static SUSPENDED: GlobalSignal = Signal::global(|| false); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 263 - tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 263 + Builder::new_current_thread() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/suspense.rs:268:27 [INFO] [stdout] | [INFO] [stdout] 268 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/suspense.rs:275:31 [INFO] [stdout] | [INFO] [stdout] 275 | dom.in_runtime(|| ScopeId::APP.in_runtime(|| *SUSPENDED.write() = true)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `ScopeId` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/suspense.rs:288:17 [INFO] [stdout] | [INFO] [stdout] 288 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 288 | fn app() -> ElementId { [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] --> tests/suspense.rs:298:19 [INFO] [stdout] | [INFO] [stdout] 298 | fn Child() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 298 | fn Child() -> ElementId { [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] --> tests/suspense.rs:302:24 [INFO] [stdout] | [INFO] [stdout] 302 | let mut task = use_hook(|| CopyValue::new(None)); [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[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> tests/suspense.rs:308:31 [INFO] [stdout] | [INFO] [stdout] 308 | task.set(Some(spawn(async move { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `suspend` in this scope [INFO] [stdout] --> tests/suspense.rs:314:13 [INFO] [stdout] | [INFO] [stdout] 314 | suspend(task().unwrap())?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::suspend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tokio` [INFO] [stdout] --> tests/suspense.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 326 - tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 326 + Builder::new_current_thread() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/suspense.rs:331:27 [INFO] [stdout] | [INFO] [stdout] 331 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/suspense.rs:342:17 [INFO] [stdout] | [INFO] [stdout] 342 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 342 | fn app() -> ElementId { [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] --> tests/suspense.rs:352:19 [INFO] [stdout] | [INFO] [stdout] 352 | fn Child() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 352 | fn Child() -> ElementId { [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] --> tests/suspense.rs:354:20 [INFO] [stdout] | [INFO] [stdout] 354 | let task = 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[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> tests/suspense.rs:355:13 [INFO] [stdout] | [INFO] [stdout] 355 | spawn(async move { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `suspend` in this scope [INFO] [stdout] --> tests/suspense.rs:366:13 [INFO] [stdout] | [INFO] [stdout] 366 | suspend(task)?; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::suspend; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/suspense.rs:380:17 [INFO] [stdout] | [INFO] [stdout] 380 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 380 | fn app() -> ElementId { [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] --> tests/suspense.rs:394:22 [INFO] [stdout] | [INFO] [stdout] 394 | pub fn Home() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 394 | pub fn Home() -> ElementId { [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] --> tests/suspense.rs:406:22 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn Page() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 406 | pub fn Page() -> ElementId { [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 `tokio` [INFO] [stdout] --> tests/suspense.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 412 - tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 412 + Builder::new_current_thread() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/suspense.rs:417:27 [INFO] [stdout] | [INFO] [stdout] 417 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/suspense.rs:430:28 [INFO] [stdout] | [INFO] [stdout] 430 | 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] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/suspense.rs:493:17 [INFO] [stdout] | [INFO] [stdout] 493 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 493 | fn app() -> ElementId { [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] --> tests/suspense.rs:504:40 [INFO] [stdout] | [INFO] [stdout] 504 | fn MessageWithLoader(id: usize) -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 504 | fn MessageWithLoader(id: usize) -> ElementId { [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] --> tests/suspense.rs:516:23 [INFO] [stdout] | [INFO] [stdout] 516 | fn LoadTitle() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 516 | fn LoadTitle() -> ElementId { [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] --> tests/suspense.rs:525:30 [INFO] [stdout] | [INFO] [stdout] 525 | fn Message(id: usize) -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 525 | fn Message(id: usize) -> ElementId { [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 `tokio` [INFO] [stdout] --> tests/suspense.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 583 | tokio::runtime::Builder::new_current_thread() [INFO] [stdout] | ^^^^^ use of undeclared crate or module `tokio` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::Builder; [INFO] [stdout] | [INFO] [stdout] help: if you import `Builder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 583 - tokio::runtime::Builder::new_current_thread() [INFO] [stdout] 583 + Builder::new_current_thread() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/suspense.rs:587:27 [INFO] [stdout] | [INFO] [stdout] 587 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Signal` [INFO] [stdout] --> tests/suspense.rs:261:44 [INFO] [stdout] | [INFO] [stdout] 261 | static SUSPENDED: GlobalSignal = Signal::global(|| false); [INFO] [stdout] | ^^^^^^ use of undeclared type `Signal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] --> tests/suspense.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | let out = dioxus_ssr::render(&dom); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 34 | let out = dioxus_core::render(&dom); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/suspense.rs:53:19 [INFO] [stdout] | [INFO] [stdout] 53 | let mut val = 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/suspense.rs:61:16 [INFO] [stdout] | [INFO] [stdout] 61 | let memo = use_memo(move || val * 2); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] --> tests/suspense.rs:88:23 [INFO] [stdout] | [INFO] [stdout] 88 | let out = dioxus_ssr::render(&dom); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 88 | let out = dioxus_core::render(&dom); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] --> tests/suspense.rs:93:23 [INFO] [stdout] | [INFO] [stdout] 93 | let out = dioxus_ssr::render(&dom); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 93 | let out = dioxus_core::render(&dom); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/suspense.rs:109:35 [INFO] [stdout] | [INFO] [stdout] 109 | let mut future_resolved = use_signal(|| false); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] --> tests/suspense.rs:147:23 [INFO] [stdout] | [INFO] [stdout] 147 | let out = dioxus_ssr::render(&dom); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 147 | let out = dioxus_core::render(&dom); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/suspense.rs:163:35 [INFO] [stdout] | [INFO] [stdout] 163 | let mut future_resolved = use_signal(|| false); [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/suspense.rs:222:25 [INFO] [stdout] | [INFO] [stdout] 222 | 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_future` in this scope [INFO] [stdout] --> tests/suspense.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | 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] --> tests/suspense.rs:238:35 [INFO] [stdout] | [INFO] [stdout] 238 | let mut future_resolved = use_signal(|| false); [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] --> tests/suspense.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | use_effect(|| panic!("effects should not run during suspense")); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] --> tests/suspense.rs:271:23 [INFO] [stdout] | [INFO] [stdout] 271 | let out = dioxus_ssr::render(&dom); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 271 | let out = dioxus_core::render(&dom); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] --> tests/suspense.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | let out = dioxus_ssr::render(&dom); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 278 | let out = dioxus_core::render(&dom); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] --> tests/suspense.rs:283:23 [INFO] [stdout] | [INFO] [stdout] 283 | let out = dioxus_ssr::render(&dom); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `dioxus_ssr` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 283 | let out = dioxus_core::render(&dom); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/suspense.rs:299:32 [INFO] [stdout] | [INFO] [stdout] 299 | let mut render_count = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CopyValue` [INFO] [stdout] --> tests/suspense.rs:302:36 [INFO] [stdout] | [INFO] [stdout] 302 | let mut task = use_hook(|| CopyValue::new(None)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `CopyValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/suspense.rs:353:28 [INFO] [stdout] | [INFO] [stdout] 353 | let mut resolved = use_signal(|| false); [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] --> tests/suspense.rs:395:28 [INFO] [stdout] | [INFO] [stdout] 395 | let _calculation = use_resource(|| async move { [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] --> tests/suspense.rs:517:21 [INFO] [stdout] | [INFO] [stdout] 517 | let title = use_resource(move || async_content(0)).suspend()?(); [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] --> tests/suspense.rs:526:23 [INFO] [stdout] | [INFO] [stdout] 526 | let message = use_resource(move || async_content(id)).suspend()?(); [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-core` (test "suspense") due to 124 previous errors [INFO] [stderr] Migrating tests/create_passthru.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/create_dom.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dioxus::dioxus_core::Mutation::*; [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/create_dom.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `dioxus::dioxus_core::Mutation::*`, `dioxus::prelude::*` [INFO] [stdout] --> tests/create_dom.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use dioxus::dioxus_core::Mutation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_dom.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_dom.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_dom.rs:78:38 [INFO] [stdout] | [INFO] [stdout] 78 | let mut dom = VirtualDom::new(|| rsx! {{(0..3).map(|f| rsx!( div { "hello" } ))}}); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_dom.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_dom.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Props` in this scope [INFO] [stdout] --> tests/create_dom.rs:132:14 [INFO] [stdout] | [INFO] [stdout] 132 | #[derive(Props, Clone, PartialEq)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_dom.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_dom.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/create_dom.rs:14:19 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 8 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/create_dom.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | LoadTemplate { index: 0, id: ElementId(1) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 8 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AppendChildren` in this scope [INFO] [stdout] --> tests/create_dom.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | AppendChildren { m: 1, id: ElementId(0) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 8 + use dioxus_core::Mutation::AppendChildren; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/create_dom.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | 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] 8 + 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/create_dom.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 78 | let mut dom = VirtualDom::new(|| rsx! {{(0..3).map(|f| rsx!( div { "hello" } ))}}); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 + 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/create_dom.rs:97:19 [INFO] [stdout] | [INFO] [stdout] 97 | 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] 8 + 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/create_dom.rs:124:19 [INFO] [stdout] | [INFO] [stdout] 124 | 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] 8 + 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_dom.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | children: Element, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 134 | children: ElementId, [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 + use dioxus_core::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/create_dom.rs:137:33 [INFO] [stdout] | [INFO] [stdout] 137 | fn Child(cx: ChildProps) -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 137 | fn Child(cx: ChildProps) -> ElementId { [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 + 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_dom.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] 8 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/create_dom.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | LoadTemplate { index: 0, id: ElementId(1) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 8 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreatePlaceholder` in this scope [INFO] [stdout] --> tests/create_dom.rs:182:13 [INFO] [stdout] | [INFO] [stdout] 182 | CreatePlaceholder { id: ElementId(2) }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 8 + use dioxus_core::Mutation::CreatePlaceholder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-core` (test "create_dom") due to 24 previous errors [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AppendChildren` in this scope [INFO] [stdout] --> tests/create_dom.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | AppendChildren { m: 2, id: ElementId(0) } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 8 + use dioxus_core::Mutation::AppendChildren; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] Migrating tests/miri_simple.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/create_passthru.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::dioxus_core::Mutation::*; [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/create_passthru.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `dioxus::dioxus_core::Mutation::*`, `dioxus::prelude::*` [INFO] [stdout] --> tests/create_passthru.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::dioxus_core::Mutation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 2 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_passthru.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/create_passthru.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_passthru.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | rsx!({ children }) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_passthru.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/create_passthru.rs:55:7 [INFO] [stdout] | [INFO] [stdout] 55 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_passthru.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | rsx! {{children}} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_passthru.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | rsx! { "{a}" "{b}" } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/create_passthru.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 8 | fn app() -> ElementId { [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] --> tests/create_passthru.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | fn PassThru(children: Element) -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 19 | fn PassThru(children: ElementId) -> Element { [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] --> tests/create_passthru.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | fn PassThru(children: Element) -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 19 | fn PassThru(children: Element) -> ElementId { [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 type `VirtualDom` [INFO] [stdout] --> tests/create_passthru.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 23 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/create_passthru.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | LoadTemplate { index: 0, id: ElementId(1) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AppendChildren` in this scope [INFO] [stdout] --> tests/create_passthru.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | AppendChildren { m: 1, id: ElementId(0) }, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::AppendChildren; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/create_passthru.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 40 | fn app() -> ElementId { [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] --> tests/create_passthru.rs:56:28 [INFO] [stdout] | [INFO] [stdout] 56 | fn ChildComp(children: Element) -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 56 | fn ChildComp(children: ElementId) -> Element { [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] --> tests/create_passthru.rs:56:40 [INFO] [stdout] | [INFO] [stdout] 56 | fn ChildComp(children: Element) -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 56 | fn ChildComp(children: Element) -> ElementId { [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 type `VirtualDom` [INFO] [stdout] --> tests/create_passthru.rs:60:19 [INFO] [stdout] | [INFO] [stdout] 60 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/create_passthru.rs:66:13 [INFO] [stdout] | [INFO] [stdout] 66 | LoadTemplate { index: 0, id: ElementId(1) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/create_passthru.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | LoadTemplate { index: 0, id: ElementId(2) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/create_passthru.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | LoadTemplate { index: 0, id: ElementId(3) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `LoadTemplate` in this scope [INFO] [stdout] --> tests/create_passthru.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | LoadTemplate { index: 1, id: ElementId(4) }, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::LoadTemplate; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AppendChildren` in this scope [INFO] [stdout] --> tests/create_passthru.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | AppendChildren { id: ElementId(0), m: 4 }, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::AppendChildren; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/create_passthru.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 81 | fn app() -> ElementId { [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 type `VirtualDom` [INFO] [stdout] --> tests/create_passthru.rs:87:19 [INFO] [stdout] | [INFO] [stdout] 87 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateTextNode` in this scope [INFO] [stdout] --> tests/create_passthru.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | CreateTextNode { value: "123".to_string(), id: ElementId(1) }, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::CreateTextNode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `CreateTextNode` in this scope [INFO] [stdout] --> tests/create_passthru.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | CreateTextNode { value: "456".to_string(), id: ElementId(2) }, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::CreateTextNode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AppendChildren` in this scope [INFO] [stdout] --> tests/create_passthru.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | AppendChildren { id: ElementId(0), m: 2 } [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this variant [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Mutation::AppendChildren; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, 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-core` (test "create_passthru") due to 30 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/miri_simple.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/create_lists.rs from 2021 edition to 2024 [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/miri_simple.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | rsx! { div {} } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/miri_simple.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | rsx! { div {} } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/miri_simple.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/miri_simple.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | rsx! { div { "hello {el}" } } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/miri_simple.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | rsx! { div {} } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/miri_simple.rs:81:25 [INFO] [stdout] | [INFO] [stdout] 81 | |cx: RootProps| rsx!( div { "{cx.0}" } ), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/miri_simple.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/miri_simple.rs:104:7 [INFO] [stdout] | [INFO] [stdout] 104 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/miri_simple.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | rsx! {"Hello {name}"} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/miri_simple.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/miri_simple.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | rsx! {"Goodbye {name}"} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/miri_simple.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | rsx! { div {} } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/miri_simple.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | 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[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/miri_simple.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/miri_simple.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/miri_simple.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | 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] --> tests/miri_simple.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | use_hook(|| String::from("asd")); [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[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/miri_simple.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | use_hook(|| String::from("asd")); [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[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/miri_simple.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | use_hook(|| String::from("asd")); [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[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/miri_simple.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | use_hook(|| String::from("asd")); [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 type `VirtualDom` [INFO] [stdout] --> tests/miri_simple.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/miri_simple.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 30 | 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] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/miri_simple.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | 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 `provide_context` in this scope [INFO] [stdout] --> tests/miri_simple.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | provide_context(String::from("asd")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::provide_context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/miri_simple.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | fn ChildComp() -> 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 `consume_context` in this scope [INFO] [stdout] --> tests/miri_simple.rs:46:18 [INFO] [stdout] | [INFO] [stdout] 46 | let el = consume_context::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::consume_context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/miri_simple.rs:51:19 [INFO] [stdout] | [INFO] [stdout] 51 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/miri_simple.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | 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] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/miri_simple.rs:60:17 [INFO] [stdout] | [INFO] [stdout] 60 | 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 `spawn` in this scope [INFO] [stdout] --> tests/miri_simple.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | spawn(async { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 1 + use std::thread::spawn; [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/miri_simple.rs:68:19 [INFO] [stdout] | [INFO] [stdout] 68 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/miri_simple.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | 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] 1 + 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/miri_simple.rs:80:19 [INFO] [stdout] | [INFO] [stdout] 80 | 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] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/miri_simple.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | 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] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/miri_simple.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | 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] --> tests/miri_simple.rs:105:36 [INFO] [stdout] | [INFO] [stdout] 105 | fn ChildComp1(name: String) -> 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] --> tests/miri_simple.rs:110:36 [INFO] [stdout] | [INFO] [stdout] 110 | fn ChildComp2(name: String) -> 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 type `VirtualDom` [INFO] [stdout] --> tests/miri_simple.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/miri_simple.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | 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] 1 + use dioxus_core::ScopeId; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/miri_simple.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | 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 `provide_context` in this scope [INFO] [stdout] --> tests/miri_simple.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | provide_context(123i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::provide_context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/miri_simple.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | 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[E0425]: cannot find function `consume_context` in this scope [INFO] [stdout] --> tests/miri_simple.rs:131:37 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(123, consume_context::()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::prelude::consume_context; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/miri_simple.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScopeId` [INFO] [stdout] --> tests/miri_simple.rs:144:20 [INFO] [stdout] | [INFO] [stdout] 144 | 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] 1 + use dioxus_core::ScopeId; [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] [stderr] error: could not compile `dioxus-core` (test "miri_simple") due to 46 previous errors [INFO] [stderr] Migrating tests/tracing.rs from 2021 edition to 2024 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/create_lists.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::dioxus_core::Mutation::*; [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/create_lists.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `dioxus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pretty_assertions` [INFO] [stdout] --> tests/create_lists.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pretty_assertions::assert_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared crate or module `pretty_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/create_lists.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] --> tests/create_lists.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 12 | fn app() -> ElementId { [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 type `VirtualDom` [INFO] [stdout] --> tests/create_lists.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, 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-core` (test "create_lists") due to 6 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `dioxus` [INFO] [stdout] --> tests/tracing.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | 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/tracing.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use dioxus::html::SerializedHtmlEventConverter; [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 `tracing_subscriber` [INFO] [stdout] --> tests/tracing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_subscriber::{layer::SubscriberExt, Registry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_fluent_assertions` [INFO] [stdout] --> tests/tracing.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tracing_fluent_assertions::{AssertionRegistry, AssertionsLayer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_fluent_assertions` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber` [INFO] [stdout] --> tests/tracing.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing_subscriber::{layer::SubscriberExt, Registry}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/tracing.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/tracing.rs:78:3 [INFO] [stdout] | [INFO] [stdout] 78 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/tracing.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | rsx! { li { onmouseover: move |e| onhover.call(e), "{i}" } } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] --> tests/tracing.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let std_out_log = tracing_subscriber::fmt::layer().pretty(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `tracing_subscriber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/tracing.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let mut dom = VirtualDom::new(app); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Event` [INFO] [stdout] --> tests/tracing.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | let event = Event::new( [INFO] [stdout] | ^^^^^ use of undeclared type `Event` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_core::Event; [INFO] [stdout] | [INFO] [stdout] 1 + use tracing::Event; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SerializedMouseData` in this scope [INFO] [stdout] --> tests/tracing.rs:46:50 [INFO] [stdout] | [INFO] [stdout] 46 | 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 | fn basic_tracing() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/tracing.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 55 | fn app() -> ElementId { [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 `EventHandler` in this scope [INFO] [stdout] --> tests/tracing.rs:79:34 [INFO] [stdout] | [INFO] [stdout] 79 | fn ChildExample(i: i32, onhover: EventHandler) -> 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::prelude::EventHandler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MouseEvent` in this scope [INFO] [stdout] --> tests/tracing.rs:79:47 [INFO] [stdout] | [INFO] [stdout] 79 | fn ChildExample(i: i32, onhover: 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] 79 | fn ChildExample(i: i32, onhover: EventHandler) -> Element { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/tracing.rs:79:63 [INFO] [stdout] | [INFO] [stdout] 79 | fn ChildExample(i: i32, onhover: EventHandler) -> Element { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /tmp/fixit/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] 79 | fn ChildExample(i: i32, onhover: EventHandler) -> ElementId { [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 `set_event_converter` in this scope [INFO] [stdout] --> tests/tracing.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | set_event_converter(Box::new(SerializedHtmlEventConverter)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PlatformEventData` [INFO] [stdout] --> tests/tracing.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | Rc::new(PlatformEventData::new(Box::::default())) as Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `PlatformEventData` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/tracing.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | let mut idx = use_signal(|| 0); [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-core` (test "tracing") due to 19 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" "8338dca6105a3fd007cae26259bd4765d63704747e0b437c6c5af1d9354217c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8338dca6105a3fd007cae26259bd4765d63704747e0b437c6c5af1d9354217c8", kill_on_drop: false }` [INFO] [stdout] 8338dca6105a3fd007cae26259bd4765d63704747e0b437c6c5af1d9354217c8