[INFO] fetching crate natrix 0.2.0... [INFO] testing natrix-0.2.0 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate natrix 0.2.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate natrix 0.2.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate natrix 0.2.0 [INFO] tweaked toml for crates.io crate natrix 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate natrix 0.2.0 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate natrix 0.2.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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 59e0c1c4a560226ca6ffed2de10448a43efb6e7bc58e81f8be4723ff4d5a8472 [INFO] running `Command { std: "docker" "start" "-a" "59e0c1c4a560226ca6ffed2de10448a43efb6e7bc58e81f8be4723ff4d5a8472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "59e0c1c4a560226ca6ffed2de10448a43efb6e7bc58e81f8be4723ff4d5a8472", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "59e0c1c4a560226ca6ffed2de10448a43efb6e7bc58e81f8be4723ff4d5a8472", kill_on_drop: false }` [INFO] [stdout] 59e0c1c4a560226ca6ffed2de10448a43efb6e7bc58e81f8be4723ff4d5a8472 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6beaed86a2899c8ce39b5160f55eefda37e6aa9d9bb74e6724035eb3fbdced7e [INFO] running `Command { std: "docker" "start" "-a" "6beaed86a2899c8ce39b5160f55eefda37e6aa9d9bb74e6724035eb3fbdced7e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.100 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling natrix_shared v0.2.0 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling natrix_macros v0.2.0 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling data-encoding v2.8.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling natrix v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling parcel_selectors v0.28.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling const-str-proc-macro v0.3.2 [INFO] [stderr] Compiling lightningcss-derive v1.0.0-alpha.43 [INFO] [stderr] Compiling template-quote-impl v0.4.2 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.100 [INFO] [stderr] Compiling const-str v0.3.2 [INFO] [stderr] Compiling template-quote v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling gloo-worker-macros v0.1.0 [INFO] [stderr] Compiling ouroboros_macro v0.18.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.33.0 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.100 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling ouroboros v0.18.5 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.100 [INFO] [stderr] Compiling cssparser-color v0.1.0 [INFO] [stderr] Compiling js-sys v0.3.77 [INFO] [stderr] Compiling lightningcss v1.0.0-alpha.65 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling pinned v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling web-sys v0.3.77 [INFO] [stderr] Compiling wasm-bindgen-futures v0.4.50 [INFO] [stderr] Compiling gloo-timers v0.3.0 [INFO] [stderr] Compiling gloo-utils v0.2.0 [INFO] [stderr] Compiling gloo-events v0.2.0 [INFO] [stderr] Compiling gloo-worker v0.5.0 [INFO] [stderr] Compiling gloo-file v0.3.0 [INFO] [stderr] Compiling gloo v0.11.0 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "6beaed86a2899c8ce39b5160f55eefda37e6aa9d9bb74e6724035eb3fbdced7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6beaed86a2899c8ce39b5160f55eefda37e6aa9d9bb74e6724035eb3fbdced7e", kill_on_drop: false }` [INFO] [stdout] 6beaed86a2899c8ce39b5160f55eefda37e6aa9d9bb74e6724035eb3fbdced7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e0d5f83cdea995d2e7af38b0f05c42c0192608fe90ac0f2293f85cdd25fe77e1 [INFO] running `Command { std: "docker" "start" "-a" "e0d5f83cdea995d2e7af38b0f05c42c0192608fe90ac0f2293f85cdd25fe77e1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.50 [INFO] [stderr] Compiling parcel_selectors v0.28.1 [INFO] [stderr] Compiling wasm-bindgen-test v0.3.50 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lightningcss v1.0.0-alpha.65 [INFO] [stderr] Compiling proptest v1.6.0 [INFO] [stderr] Compiling natrix_macros v0.2.0 [INFO] [stderr] Compiling natrix v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 34.90s [INFO] running `Command { std: "docker" "inspect" "e0d5f83cdea995d2e7af38b0f05c42c0192608fe90ac0f2293f85cdd25fe77e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0d5f83cdea995d2e7af38b0f05c42c0192608fe90ac0f2293f85cdd25fe77e1", kill_on_drop: false }` [INFO] [stdout] e0d5f83cdea995d2e7af38b0f05c42c0192608fe90ac0f2293f85cdd25fe77e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 590a84b8cc50e149a2c63482442fdeaf47e740cfb481d131e02f329c3ba83bbc [INFO] running `Command { std: "docker" "start" "-a" "590a84b8cc50e149a2c63482442fdeaf47e740cfb481d131e02f329c3ba83bbc", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/natrix-4b50478adf76592c) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test signal::tests::debug ... ok [INFO] [stdout] test signal::tests::modify ... ok [INFO] [stdout] test signal::tests::reading ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/root.rs (/opt/rustwide/target/debug/deps/root-661cb09871fbff67) [INFO] [stderr] Doc-tests natrix [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 14 tests [INFO] [stdout] test src/state.rs - state::RenderCtx<'_,C>::watch (line 220) ... FAILED [INFO] [stdout] test src/component.rs - component::Component (line 39) ... FAILED [INFO] [stdout] test src/state.rs - state::async_impl::AsyncCtx::borrow_mut (line 413) ... FAILED [INFO] [stdout] test src/element.rs - element::Element (line 28) ... FAILED [INFO] [stdout] test src/html_elements.rs - html_elements::HtmlElement::on (line 180) ... FAILED [INFO] [stdout] test src/state.rs - state::guard_option (line 302) ... FAILED [INFO] [stdout] test src/element.rs - element::Element (line 20) ... FAILED [INFO] [stdout] test src/../README.md - (line 9) ... FAILED [INFO] [stdout] test src/state.rs - state::guard_option (line 312) ... FAILED [INFO] [stdout] test src/component.rs - component::Component::render (line 63) ... FAILED [INFO] [stdout] test src/html_elements.rs - html_elements::HtmlElement::child (line 203) ... FAILED [INFO] [stdout] test src/state.rs - state::guard_option (line 325) ... FAILED [INFO] [stdout] test src/callbacks.rs - callbacks::EventHandler (line 58) ... FAILED [INFO] [stdout] test src/html_elements.rs - html_elements (line 8) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/state.rs - state::RenderCtx<'_,C>::watch (line 220) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/state.rs:221:4 [INFO] [stdout] | [INFO] [stdout] 3 | if ctx.watch(|ctx| *ctx.value > 2) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/state.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 4 | e::div().text(|ctx: &S| *ctx.value) [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `S` in this scope [INFO] [stdout] --> src/state.rs:222:26 [INFO] [stdout] | [INFO] [stdout] 4 | e::div().text(|ctx: &S| *ctx.value) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/state.rs:222:28 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_state_rs_220_0() { [INFO] [stdout] | -------------------------------- `Self` not allowed in a function [INFO] [stdout] 3 | if ctx.watch(|ctx| *ctx.value > 2) { [INFO] [stdout] 4 | e::div().text(|ctx: &S| *ctx.value) [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0411, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/component.rs - component::Component (line 39) stdout ---- [INFO] [stdout] error: cannot find derive macro `Component` in this scope [INFO] [stdout] --> src/component.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::Component; [INFO] [stdout] | [INFO] [stdout] 2 + use natrix_macros::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/component.rs:43:6 [INFO] [stdout] | [INFO] [stdout] 6 | impl Component for HelloWorld { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Element` in this scope [INFO] [stdout] --> src/component.rs:44:25 [INFO] [stdout] | [INFO] [stdout] 7 | fn render() -> impl Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/component.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 8 | e::h1().text("Hello World") [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/state.rs - state::async_impl::AsyncCtx::borrow_mut (line 413) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/state.rs:414:20 [INFO] [stdout] | [INFO] [stdout] 3 | let Some(borrow) = ctx.borrow_mut() else {return;}; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/state.rs:418:20 [INFO] [stdout] | [INFO] [stdout] 7 | let Some(borrow) = ctx.borrow_mut() else {return;}; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/state.rs:417:7 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_state_rs_413_0() { [INFO] [stdout] | ------------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 6 | foo().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `foo` in this scope [INFO] [stdout] --> src/state.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 6 | foo().await; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/element.rs - element::Element (line 28) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Element` in this scope [INFO] [stdout] --> src/element.rs:29:51 [INFO] [stdout] | [INFO] [stdout] 3 | fn my_fancy_button(name: &'static str) -> impl Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/element.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 4 | e::button() /* ... */ [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - e::button() /* ... */ [INFO] [stdout] 4 + C::button() /* ... */ [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/html_elements.rs - html_elements::HtmlElement::on (line 180) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/html_elements.rs:181:1 [INFO] [stdout] | [INFO] [stdout] 3 | e::button().on("click", |ctx: &mut S| { [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `S` in this scope [INFO] [stdout] --> src/html_elements.rs:181:36 [INFO] [stdout] | [INFO] [stdout] 3 | e::button().on("click", |ctx: &mut S| { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/html_elements.rs:181:38 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_html_elements_rs_180_0() { [INFO] [stdout] | ---------------------------------------- `Self` not allowed in a function [INFO] [stdout] 3 | e::button().on("click", |ctx: &mut S| { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0411, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/state.rs - state::guard_option (line 302) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/state.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some(value) = *ctx.value { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/state.rs:304:5 [INFO] [stdout] | [INFO] [stdout] 4 | e::div().text(value) [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/state.rs:306:5 [INFO] [stdout] | [INFO] [stdout] 6 | e::div().text("Is none") [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/element.rs - element::Element (line 20) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Element` in this scope [INFO] [stdout] --> src/element.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 4 | impl Element for MyFancyButton {/* ... */} [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 9) stdout ---- [INFO] [stdout] error: cannot find derive macro `Component` in this scope [INFO] [stdout] --> src/../README.md:10:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(Component)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these derive macros [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::Component; [INFO] [stdout] | [INFO] [stdout] 2 + use natrix_macros::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/../README.md:13:6 [INFO] [stdout] | [INFO] [stdout] 6 | impl Component for Counter { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::Component; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Element` in this scope [INFO] [stdout] --> src/../README.md:14:25 [INFO] [stdout] | [INFO] [stdout] 7 | fn render() -> impl Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/../README.md:15:9 [INFO] [stdout] | [INFO] [stdout] 8 | e::button() [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `R` in this scope [INFO] [stdout] --> src/../README.md:16:25 [INFO] [stdout] | [INFO] [stdout] 9 | .text(|ctx: R| *ctx.0) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::R; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `S` in this scope [INFO] [stdout] --> src/../README.md:17:45 [INFO] [stdout] | [INFO] [stdout] 10 | .on::(|ctx: &mut S, _| { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `events` [INFO] [stdout] --> src/../README.md:17:19 [INFO] [stdout] | [INFO] [stdout] 10 | .on::(|ctx: &mut S, _| { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `events` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `events`, use `cargo add events` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::events; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/state.rs - state::guard_option (line 312) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `ctx` in this scope [INFO] [stdout] --> src/state.rs:313:4 [INFO] [stdout] | [INFO] [stdout] 3 | if ctx.watch(|ctx| ctx.value.is_some()) { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/state.rs:314:5 [INFO] [stdout] | [INFO] [stdout] 4 | e::div().text(|ctx: R| ctx.value.unwrap()) [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `R` in this scope [INFO] [stdout] --> src/state.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 4 | e::div().text(|ctx: R| ctx.value.unwrap()) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::R; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/state.rs:314:27 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_state_rs_312_0() { [INFO] [stdout] | -------------------------------- `Self` not allowed in a function [INFO] [stdout] 3 | if ctx.watch(|ctx| ctx.value.is_some()) { [INFO] [stdout] 4 | e::div().text(|ctx: R| ctx.value.unwrap()) [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/state.rs:316:5 [INFO] [stdout] | [INFO] [stdout] 6 | e::div().text("Is none") [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0411, E0412, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/component.rs - component::Component::render (line 63) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `Element` in this scope [INFO] [stdout] --> src/component.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 3 | fn render() -> impl Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/component.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 4 | e::h1().text(|ctx: &S| *ctx.welcome_message) [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `S` in this scope [INFO] [stdout] --> src/component.rs:65:25 [INFO] [stdout] | [INFO] [stdout] 4 | e::h1().text(|ctx: &S| *ctx.welcome_message) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/component.rs:65:27 [INFO] [stdout] | [INFO] [stdout] 3 | fn render() -> impl Element { [INFO] [stdout] | ------ `Self` not allowed in a function [INFO] [stdout] 4 | e::h1().text(|ctx: &S| *ctx.welcome_message) [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: `Self` is only available in impls, traits, and type definitions [INFO] [stdout] --> src/component.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 3 | fn render() -> impl Element { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0411, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/html_elements.rs - html_elements::HtmlElement::child (line 203) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/html_elements.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 3 | e::div() [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/html_elements.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 4 | .child(e::h1().text("Wow!")) [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `S` in this scope [INFO] [stdout] --> src/html_elements.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 5 | .child(|ctx: &S| { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/html_elements.rs:206:21 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_html_elements_rs_203_0() { [INFO] [stdout] | ---------------------------------------- `Self` not allowed in a function [INFO] [stdout] ... [INFO] [stdout] 5 | .child(|ctx: &S| { [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0411, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/state.rs - state::guard_option (line 325) stdout ---- [INFO] [stdout] error: cannot find macro `guard_option` in this scope [INFO] [stdout] --> src/state.rs:326:28 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some(value_guard) = guard_option!(ctx.value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::guard_option; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/state.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 4 | e::div().text(move |ctx: R| ctx.get(&value_guard)) [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `R` in this scope [INFO] [stdout] --> src/state.rs:327:30 [INFO] [stdout] | [INFO] [stdout] 4 | e::div().text(move |ctx: R| ctx.get(&value_guard)) [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::R; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0411]: cannot find type `Self` in this scope [INFO] [stdout] --> src/state.rs:327:32 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_state_rs_325_0() { [INFO] [stdout] | -------------------------------- `Self` not allowed in a function [INFO] [stdout] 3 | if let Some(value_guard) = guard_option!(ctx.value) { [INFO] [stdout] 4 | e::div().text(move |ctx: R| ctx.get(&value_guard)) [INFO] [stdout] | ^^^^ `Self` is only available in impls, traits, and type definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/state.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 6 | e::div().text("Is none") [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0411, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0411`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/callbacks.rs - callbacks::EventHandler (line 58) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `EventHandler` in this scope [INFO] [stdout] --> src/callbacks.rs:59:29 [INFO] [stdout] | [INFO] [stdout] 3 | fn my_button(click: impl EventHandler) -> impl Element { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::callbacks::EventHandler; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Element` in this scope [INFO] [stdout] --> src/callbacks.rs:59:54 [INFO] [stdout] | [INFO] [stdout] 3 | fn my_button(click: impl EventHandler) -> impl Element { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::Element; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/callbacks.rs:60:5 [INFO] [stdout] | [INFO] [stdout] 4 | e::button().on("click", click) [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: a type parameter with a similar name exists [INFO] [stdout] | [INFO] [stdout] 4 - e::button().on("click", click) [INFO] [stdout] 4 + C::button().on("click", click) [INFO] [stdout] | [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/html_elements.rs - html_elements (line 8) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/html_elements.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 3 | e::div() [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/html_elements.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 4 | .child(e::button().text("Click me")) [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `e` [INFO] [stdout] --> src/html_elements.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 5 | .child(e::h1().text("Wow!")) [INFO] [stdout] | ^ use of unresolved module or unlinked crate `e` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `e`, use `cargo add e` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 2 + use natrix::prelude::e; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 9) [INFO] [stdout] src/callbacks.rs - callbacks::EventHandler (line 58) [INFO] [stdout] src/component.rs - component::Component (line 39) [INFO] [stdout] src/component.rs - component::Component::render (line 63) [INFO] [stdout] src/element.rs - element::Element (line 20) [INFO] [stdout] src/element.rs - element::Element (line 28) [INFO] [stdout] src/html_elements.rs - html_elements (line 8) [INFO] [stdout] src/html_elements.rs - html_elements::HtmlElement::child (line 203) [INFO] [stdout] src/html_elements.rs - html_elements::HtmlElement::on (line 180) [INFO] [stdout] src/state.rs - state::RenderCtx<'_,C>::watch (line 220) [INFO] [stdout] src/state.rs - state::async_impl::AsyncCtx::borrow_mut (line 413) [INFO] [stdout] src/state.rs - state::guard_option (line 302) [INFO] [stdout] src/state.rs - state::guard_option (line 312) [INFO] [stdout] src/state.rs - state::guard_option (line 325) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 14 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.75s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.13s; merged doctests compilation took 0.38s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "590a84b8cc50e149a2c63482442fdeaf47e740cfb481d131e02f329c3ba83bbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590a84b8cc50e149a2c63482442fdeaf47e740cfb481d131e02f329c3ba83bbc", kill_on_drop: false }` [INFO] [stdout] 590a84b8cc50e149a2c63482442fdeaf47e740cfb481d131e02f329c3ba83bbc