[INFO] fetching crate dioxus-hooks 0.7.0-rc.0... [INFO] checking dioxus-hooks-0.7.0-rc.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate dioxus-hooks 0.7.0-rc.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate dioxus-hooks 0.7.0-rc.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dioxus-hooks 0.7.0-rc.0 [INFO] tweaked toml for crates.io crate dioxus-hooks 0.7.0-rc.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dioxus-hooks 0.7.0-rc.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dioxus-hooks 0.7.0-rc.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded warnings-macro v0.2.0 [INFO] [stderr] Downloaded warnings v0.2.1 [INFO] [stderr] Downloaded dioxus-core-types v0.7.0-rc.0 [INFO] [stderr] Downloaded dioxus-signals v0.7.0-rc.0 [INFO] [stderr] Downloaded subsecond v0.7.0-rc.0 [INFO] [stderr] Downloaded subsecond-types v0.7.0-rc.0 [INFO] [stderr] Downloaded longest-increasing-subsequence v0.1.0 [INFO] [stderr] Downloaded generational-box v0.7.0-rc.0 [INFO] [stderr] Downloaded dioxus-core v0.7.0-rc.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a1c48bbf7f343576be5b16fb7a9a51c015293991015b813c759b02f5cedcacf [INFO] running `Command { std: "docker" "start" "-a" "7a1c48bbf7f343576be5b16fb7a9a51c015293991015b813c759b02f5cedcacf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a1c48bbf7f343576be5b16fb7a9a51c015293991015b813c759b02f5cedcacf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a1c48bbf7f343576be5b16fb7a9a51c015293991015b813c759b02f5cedcacf", kill_on_drop: false }` [INFO] [stdout] 7a1c48bbf7f343576be5b16fb7a9a51c015293991015b813c759b02f5cedcacf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 55c8cd73d1a1aef6095812da647da5331317a8e576e39f8a47ef67f22a55dbe6 [INFO] running `Command { std: "docker" "start" "-a" "55c8cd73d1a1aef6095812da647da5331317a8e576e39f8a47ef67f22a55dbe6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking libloading v0.8.8 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking longest-increasing-subsequence v0.1.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking dioxus-core-types v0.7.0-rc.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Checking const_format v0.2.34 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking generational-box v0.7.0-rc.0 [INFO] [stderr] Checking warnings v0.2.1 [INFO] [stderr] Checking subsecond-types v0.7.0-rc.0 [INFO] [stderr] Checking subsecond v0.7.0-rc.0 [INFO] [stderr] Checking dioxus-core v0.7.0-rc.0 [INFO] [stderr] Checking dioxus-signals v0.7.0-rc.0 [INFO] [stderr] Checking dioxus-hooks v0.7.0-rc.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/memo.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/memo.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/memo.rs:81:3 [INFO] [stdout] | [INFO] [stdout] 81 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/memo.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | tokio::select! { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/memo.rs:3:3 [INFO] [stdout] | [INFO] [stdout] 3 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/memo.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | tokio::select! { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/effect.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use dioxus::prelude::*; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/effect.rs:58:3 [INFO] [stdout] | [INFO] [stdout] 58 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/effect.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | tokio::select! { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/effect.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | #[tokio::test] [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/effect.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | tokio::select! { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `to_owned` in this scope [INFO] [stdout] --> tests/effect.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | to_owned![counter]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_hooks::to_owned; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/effect.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `to_owned` in this scope [INFO] [stdout] --> tests/effect.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | to_owned![counter]; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_hooks::to_owned; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/memo.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | rsx! {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/memo.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/memo.rs:45:7 [INFO] [stdout] | [INFO] [stdout] 45 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/memo.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/effect.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> tests/effect.rs:83:21 [INFO] [stdout] | [INFO] [stdout] 83 | tokio::time::sleep(std::time::Duration::from_millis(10)).await; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `tokio` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/effect.rs:20:19 [INFO] [stdout] | [INFO] [stdout] 20 | let mut dom = VirtualDom::new_with_props( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/effect.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | let mut signal = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_hooks::use_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_effect` in this scope [INFO] [stdout] --> tests/effect.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | use_effect({ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_hooks::use_effect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/effect.rs:67:19 [INFO] [stdout] | [INFO] [stdout] 67 | let mut dom = VirtualDom::new_with_props( [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `VirtualDom` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::VirtualDom; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_signal` in this scope [INFO] [stdout] --> tests/effect.rs:72:30 [INFO] [stdout] | [INFO] [stdout] 72 | let mut signal = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_hooks::use_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_effect` in this scope [INFO] [stdout] --> tests/effect.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | use_effect({ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_hooks::use_effect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_future` in this scope [INFO] [stdout] --> tests/effect.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | use_future(move || async move { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_hooks::use_future; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/memo.rs:63:39 [INFO] [stdout] | [INFO] [stdout] 63 | dom.render_immediate(&mut dioxus::dioxus_core::NoOpMutations); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/memo.rs:70:39 [INFO] [stdout] | [INFO] [stdout] 70 | dom.render_immediate(&mut dioxus::dioxus_core::NoOpMutations); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/memo.rs:121:31 [INFO] [stdout] | [INFO] [stdout] 121 | dom.render_immediate(&mut dioxus::dioxus_core::NoOpMutations); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `dioxus`, use `cargo add dioxus` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dioxus-hooks` (test "effect") due to 17 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Signal` in this scope [INFO] [stdout] --> tests/memo.rs:10:43 [INFO] [stdout] | [INFO] [stdout] 10 | static VEC_SIGNAL: RefCell, SyncStorage>>> = const { RefCell::new(None) }; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_signals::Signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SyncStorage` in this scope [INFO] [stdout] --> tests/memo.rs:10:62 [INFO] [stdout] | [INFO] [stdout] 10 | static VEC_SIGNAL: RefCell, SyncStorage>>> = const { RefCell::new(None) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_signals::SyncStorage; [INFO] [stdout] | [INFO] [stdout] 1 + use generational_box::SyncStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/memo.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 13 | 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_signal_sync` in this scope [INFO] [stdout] --> tests/memo.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let mut vec = use_signal_sync(|| vec![0, 1, 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_hooks::use_signal_sync; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/memo.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | 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 `use_memo` in this scope [INFO] [stdout] --> tests/memo.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | let len_memo = use_memo(move || vec.len()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_hooks::use_memo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Signal` in this scope [INFO] [stdout] --> tests/memo.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | fn Child(index: usize, vec: Signal, SyncStorage>) -> Element { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_signals::Signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SyncStorage` in this scope [INFO] [stdout] --> tests/memo.rs:46:52 [INFO] [stdout] | [INFO] [stdout] 46 | fn Child(index: usize, vec: Signal, SyncStorage>) -> Element { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_signals::SyncStorage; [INFO] [stdout] | [INFO] [stdout] 1 + use generational_box::SyncStorage; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Element` in this scope [INFO] [stdout] --> tests/memo.rs:46:69 [INFO] [stdout] | [INFO] [stdout] 46 | fn Child(index: usize, vec: Signal, SyncStorage>) -> 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_memo` in this scope [INFO] [stdout] --> tests/memo.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let item = use_memo(move || vec.read()[index]); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_hooks::use_memo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VirtualDom` [INFO] [stdout] --> tests/memo.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | 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/memo.rs:90:17 [INFO] [stdout] | [INFO] [stdout] 90 | 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_signal` in this scope [INFO] [stdout] --> tests/memo.rs:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | let mut count = use_signal(|| 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_hooks::use_signal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_memo` in this scope [INFO] [stdout] --> tests/memo.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | let memorized = use_memo(move || dbg!(count() * 2)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_hooks::use_memo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_memo` in this scope [INFO] [stdout] --> tests/memo.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | use_memo(move || { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use dioxus_hooks::use_memo; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `use_hook` in this scope [INFO] [stdout] --> tests/memo.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use_hook(move || { [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/memo.rs:113:19 [INFO] [stdout] | [INFO] [stdout] 113 | 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, 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-hooks` (test "memo") due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "55c8cd73d1a1aef6095812da647da5331317a8e576e39f8a47ef67f22a55dbe6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55c8cd73d1a1aef6095812da647da5331317a8e576e39f8a47ef67f22a55dbe6", kill_on_drop: false }` [INFO] [stdout] 55c8cd73d1a1aef6095812da647da5331317a8e576e39f8a47ef67f22a55dbe6