[INFO] fetching crate dioxus-hooks 0.7.0-alpha.1... [INFO] testing dioxus-hooks-0.7.0-alpha.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate dioxus-hooks 0.7.0-alpha.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate dioxus-hooks 0.7.0-alpha.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate dioxus-hooks 0.7.0-alpha.1 [INFO] tweaked toml for crates.io crate dioxus-hooks 0.7.0-alpha.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dioxus-hooks 0.7.0-alpha.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dioxus-hooks 0.7.0-alpha.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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded generational-box v0.7.0-alpha.1 [INFO] [stderr] Downloaded subsecond-types v0.7.0-alpha.1 [INFO] [stderr] Downloaded dioxus-signals v0.7.0-alpha.1 [INFO] [stderr] Downloaded dioxus-core-types v0.7.0-alpha.1 [INFO] [stderr] Downloaded subsecond v0.7.0-alpha.1 [INFO] [stderr] Downloaded dioxus-core v0.7.0-alpha.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 72aa8534c7eb5040f81187ed9db7e7a4b8705b609842c682b8032e76a37c3bc8 [INFO] running `Command { std: "docker" "start" "-a" "72aa8534c7eb5040f81187ed9db7e7a4b8705b609842c682b8032e76a37c3bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "72aa8534c7eb5040f81187ed9db7e7a4b8705b609842c682b8032e76a37c3bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72aa8534c7eb5040f81187ed9db7e7a4b8705b609842c682b8032e76a37c3bc8", kill_on_drop: false }` [INFO] [stdout] 72aa8534c7eb5040f81187ed9db7e7a4b8705b609842c682b8032e76a37c3bc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] edc55ada4d45cd614fba1bbf5cde74f900cbb2ec2ee91018ff42bb8743077df7 [INFO] running `Command { std: "docker" "start" "-a" "edc55ada4d45cd614fba1bbf5cde74f900cbb2ec2ee91018ff42bb8743077df7", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling libloading v0.8.7 [INFO] [stderr] Compiling const_format_proc_macros v0.2.34 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling longest-increasing-subsequence v0.1.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling dioxus-core-types v0.7.0-alpha.1 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling const_format v0.2.34 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [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 generational-box v0.7.0-alpha.1 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling warnings v0.2.1 [INFO] [stderr] Compiling subsecond-types v0.7.0-alpha.1 [INFO] [stderr] Compiling subsecond v0.7.0-alpha.1 [INFO] [stderr] Compiling dioxus-core v0.7.0-alpha.1 [INFO] [stderr] Compiling dioxus-signals v0.7.0-alpha.1 [INFO] [stderr] Compiling dioxus-hooks v0.7.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.91s [INFO] running `Command { std: "docker" "inspect" "edc55ada4d45cd614fba1bbf5cde74f900cbb2ec2ee91018ff42bb8743077df7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edc55ada4d45cd614fba1bbf5cde74f900cbb2ec2ee91018ff42bb8743077df7", kill_on_drop: false }` [INFO] [stdout] edc55ada4d45cd614fba1bbf5cde74f900cbb2ec2ee91018ff42bb8743077df7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 031fe8f24e163236e651795b234ee20dfc2c07de1a03e0fedd264c356df5cf31 [INFO] running `Command { std: "docker" "start" "-a" "031fe8f24e163236e651795b234ee20dfc2c07de1a03e0fedd264c356df5cf31", kill_on_drop: false }` [INFO] [stderr] Compiling dioxus-hooks v0.7.0-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/memo.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | 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:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | 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:79:3 [INFO] [stdout] | [INFO] [stdout] 79 | #[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:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | 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:1:3 [INFO] [stdout] | [INFO] [stdout] 1 | #[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:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | 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:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | rsx! {} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/memo.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 36 | rsx! { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `component` in this scope [INFO] [stdout] --> tests/memo.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | #[component] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `rsx` in this scope [INFO] [stdout] --> tests/memo.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | 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/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[E0433]: failed to resolve: use of unresolved module or unlinked crate `dioxus` [INFO] [stdout] --> tests/memo.rs:61:39 [INFO] [stdout] | [INFO] [stdout] 61 | 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:68:39 [INFO] [stdout] | [INFO] [stdout] 68 | 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:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | 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:8:43 [INFO] [stdout] | [INFO] [stdout] 8 | 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:8:62 [INFO] [stdout] | [INFO] [stdout] 8 | 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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | fn app() -> Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this 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:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | 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:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | 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:26:24 [INFO] [stdout] | [INFO] [stdout] 26 | 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[E0425]: cannot find function `generation` in this scope [INFO] [stdout] --> tests/memo.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | if 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[E0412]: cannot find type `Signal` in this scope [INFO] [stdout] --> tests/memo.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | 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:44:52 [INFO] [stdout] | [INFO] [stdout] 44 | 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:44:69 [INFO] [stdout] | [INFO] [stdout] 44 | 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:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | 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:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | 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: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 `use_signal` in this scope [INFO] [stdout] --> tests/memo.rs:89:25 [INFO] [stdout] | [INFO] [stdout] 89 | 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:91:25 [INFO] [stdout] | [INFO] [stdout] 91 | 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:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | 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:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | 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:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | 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: 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] 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[E0425]: cannot find function `needs_update` in this scope [INFO] [stdout] --> tests/effect.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | needs_update(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use dioxus_core::prelude::needs_update; [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] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] 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 "memo") due to 31 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `dioxus-hooks` (test "effect") due to 18 previous errors [INFO] running `Command { std: "docker" "inspect" "031fe8f24e163236e651795b234ee20dfc2c07de1a03e0fedd264c356df5cf31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "031fe8f24e163236e651795b234ee20dfc2c07de1a03e0fedd264c356df5cf31", kill_on_drop: false }` [INFO] [stdout] 031fe8f24e163236e651795b234ee20dfc2c07de1a03e0fedd264c356df5cf31