[INFO] fetching crate dioxus-hooks 0.7.1... [INFO] testing dioxus-hooks-0.7.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate dioxus-hooks 0.7.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate dioxus-hooks 0.7.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dioxus-hooks 0.7.1 [INFO] tweaked toml for crates.io crate dioxus-hooks 0.7.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dioxus-hooks 0.7.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dioxus-hooks 0.7.1 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v1.0.221 [INFO] [stderr] Downloaded serde_core v1.0.221 [INFO] [stderr] Downloaded serde_derive v1.0.221 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb2514ef39c5daf914fef8566edc9ff194e1d8bba6ee147f7e95924b63ee7ff9 [INFO] running `Command { std: "docker" "start" "-a" "cb2514ef39c5daf914fef8566edc9ff194e1d8bba6ee147f7e95924b63ee7ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb2514ef39c5daf914fef8566edc9ff194e1d8bba6ee147f7e95924b63ee7ff9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb2514ef39c5daf914fef8566edc9ff194e1d8bba6ee147f7e95924b63ee7ff9", kill_on_drop: false }` [INFO] [stdout] cb2514ef39c5daf914fef8566edc9ff194e1d8bba6ee147f7e95924b63ee7ff9 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ff0f6a321bddd1101bd6d376dce4e6ff8a56faa96f81b39f3b69a1894096611 [INFO] running `Command { std: "docker" "start" "-a" "4ff0f6a321bddd1101bd6d376dce4e6ff8a56faa96f81b39f3b69a1894096611", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.221 [INFO] [stderr] Compiling serde v1.0.221 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Compiling dioxus-core-types v0.7.1 [INFO] [stderr] Compiling longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling memmap2 v0.9.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling const_format v0.2.35 [INFO] [stderr] Compiling serde_derive v1.0.221 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling warnings-macro v0.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling generational-box v0.7.1 [INFO] [stderr] Compiling warnings v0.2.1 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling subsecond-types v0.7.1 [INFO] [stderr] Compiling subsecond v0.7.1 [INFO] [stderr] Compiling dioxus-core v0.7.1 [INFO] [stderr] Compiling dioxus-signals v0.7.1 [INFO] [stderr] Compiling dioxus-hooks v0.7.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.49s [INFO] running `Command { std: "docker" "inspect" "4ff0f6a321bddd1101bd6d376dce4e6ff8a56faa96f81b39f3b69a1894096611", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ff0f6a321bddd1101bd6d376dce4e6ff8a56faa96f81b39f3b69a1894096611", kill_on_drop: false }` [INFO] [stdout] 4ff0f6a321bddd1101bd6d376dce4e6ff8a56faa96f81b39f3b69a1894096611 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82fa4e8d455172e6a9abdc22b84539a168debbb6ca3b6d5ed36adb25813d3e8a [INFO] running `Command { std: "docker" "start" "-a" "82fa4e8d455172e6a9abdc22b84539a168debbb6ca3b6d5ed36adb25813d3e8a", kill_on_drop: false }` [INFO] [stderr] Compiling dioxus-hooks v0.7.1 (/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: 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[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] 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] [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] 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[E0282]: type annotations needed [INFO] [stdout] --> tests/memo.rs:59:43 [INFO] [stdout] | [INFO] [stdout] 59 | let mut signal = VEC_SIGNAL.with(|cell| (*cell.borrow()).unwrap()); [INFO] [stdout] | ^^^^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 59 | let mut signal = VEC_SIGNAL.with(|cell: /* Type */| (*cell.borrow()).unwrap()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/memo.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | VEC_SIGNAL.with(|cell| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | *cell.borrow_mut() = Some(vec); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 18 | VEC_SIGNAL.with(|cell: /* Type */| { [INFO] [stdout] | ++++++++++++ [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/effect.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0433. [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] For more information about an error, try `rustc --explain E0282`. [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] [stderr] error: could not compile `dioxus-hooks` (test "memo") due to 32 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `dioxus-hooks` (test "effect") due to 17 previous errors [INFO] running `Command { std: "docker" "inspect" "82fa4e8d455172e6a9abdc22b84539a168debbb6ca3b6d5ed36adb25813d3e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82fa4e8d455172e6a9abdc22b84539a168debbb6ca3b6d5ed36adb25813d3e8a", kill_on_drop: false }` [INFO] [stdout] 82fa4e8d455172e6a9abdc22b84539a168debbb6ca3b6d5ed36adb25813d3e8a