[INFO] fetching crate ratatui-kit 0.5.9...
[INFO] testing ratatui-kit-0.5.9 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8
[INFO] extracting crate ratatui-kit 0.5.9 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate ratatui-kit 0.5.9
[INFO] finished tweaking crates.io crate ratatui-kit 0.5.9
[INFO] tweaked toml for crates.io crate ratatui-kit 0.5.9 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ratatui-kit 0.5.9 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate ratatui-kit 0.5.9 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e435913caf6660a91cf302393ea3945205408401d8064678bbefe265bbef27e1
[INFO] running `Command { std: "docker" "start" "-a" "e435913caf6660a91cf302393ea3945205408401d8064678bbefe265bbef27e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e435913caf6660a91cf302393ea3945205408401d8064678bbefe265bbef27e1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e435913caf6660a91cf302393ea3945205408401d8064678bbefe265bbef27e1", kill_on_drop: false }`
[INFO] [stdout] e435913caf6660a91cf302393ea3945205408401d8064678bbefe265bbef27e1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7713761ade0688889cb6a34762f6bb1bbf3d661c8739d3b5668c23e7cf65c3fb
[INFO] running `Command { std: "docker" "start" "-a" "7713761ade0688889cb6a34762f6bb1bbf3d661c8739d3b5668c23e7cf65c3fb", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling rustversion v1.0.21
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling version_check v0.1.5
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling slab v0.4.10
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling mopa v0.2.2
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling debugit v0.1.2
[INFO] [stderr]    Compiling any_key v0.1.1
[INFO] [stderr]    Compiling castaway v0.2.3
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling compact_str v0.8.1
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling unicode-truncate v1.1.0
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling ratatui-kit-macros v0.5.1
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling generational-box v0.6.2
[INFO] [stderr]    Compiling strum v0.26.3
[INFO] [stderr]    Compiling darling_macro v0.20.11
[INFO] [stderr]    Compiling darling v0.20.11
[INFO] [stderr]    Compiling instability v0.3.7
[INFO] [stderr]    Compiling ratatui v0.29.0
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling ratatui-kit v0.5.9 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.33s
[INFO] running `Command { std: "docker" "inspect" "7713761ade0688889cb6a34762f6bb1bbf3d661c8739d3b5668c23e7cf65c3fb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7713761ade0688889cb6a34762f6bb1bbf3d661c8739d3b5668c23e7cf65c3fb", kill_on_drop: false }`
[INFO] [stdout] 7713761ade0688889cb6a34762f6bb1bbf3d661c8739d3b5668c23e7cf65c3fb
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 72ca454b1fb29d8002bf3f7c550845edf7436195e7708a74031dba25f8e124ec
[INFO] running `Command { std: "docker" "start" "-a" "72ca454b1fb29d8002bf3f7c550845edf7436195e7708a74031dba25f8e124ec", kill_on_drop: false }`
[INFO] [stderr]    Compiling ratatui-kit v0.5.9 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.20s
[INFO] running `Command { std: "docker" "inspect" "72ca454b1fb29d8002bf3f7c550845edf7436195e7708a74031dba25f8e124ec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "72ca454b1fb29d8002bf3f7c550845edf7436195e7708a74031dba25f8e124ec", kill_on_drop: false }`
[INFO] [stdout] 72ca454b1fb29d8002bf3f7c550845edf7436195e7708a74031dba25f8e124ec
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 5ad6ef029e1107dd8d4778b9e06920a522a1dd54d152ba9b0dba854c844d6548
[INFO] running `Command { std: "docker" "start" "-a" "5ad6ef029e1107dd8d4778b9e06920a522a1dd54d152ba9b0dba854c844d6548", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ratatui_kit-6358b0dda5dc1cbe)
[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] [stderr]    Doc-tests ratatui_kit
[INFO] [stdout] 
[INFO] [stdout] running 17 tests
[INFO] [stdout] test src/components/border.rs - components::border (line 6) ... FAILED
[INFO] [stdout] test src/handler.rs - handler::Deref (line 10) ... FAILED
[INFO] [stdout] test src/components/context_provider.rs - components::context_provider (line 6) ... FAILED
[INFO] [stdout] test src/components/modal.rs - components::modal (line 4) ... FAILED
[INFO] [stdout] test src/components/fragment.rs - components::fragment (line 4) ... FAILED
[INFO] [stdout] test src/handler.rs - handler::DerefMut (line 10) ... FAILED
[INFO] [stdout] test src/components/scroll_view/mod.rs - components::scroll_view (line 15) ... FAILED
[INFO] [stdout] test src/hooks/mod.rs - hooks::Hooks (line 149) ... FAILED
[INFO] [stdout] test src/handler.rs - handler (line 10) ... FAILED
[INFO] [stdout] test src/components/scroll_view/scrollbars.rs - components::scroll_view::scrollbars (line 4) ... FAILED
[INFO] [stdout] test src/component/mod.rs - component::Component (line 29) ... FAILED
[INFO] [stdout] test src/hooks/use_state.rs - hooks::use_state (line 13) ... FAILED
[INFO] [stdout] test src/element/element_ext.rs - element::element_ext::ElementExt (line 28) ... FAILED
[INFO] [stdout] test src/components/scroll_view/mod.rs - components::scroll_view (line 6) ... FAILED
[INFO] [stdout] test src/components/scroll_view/state.rs - components::scroll_view::state (line 6) ... FAILED
[INFO] [stdout] test src/hooks/mod.rs - hooks (line 10) ... FAILED
[INFO] [stdout] test src/components/view.rs - components::view (line 6) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/components/border.rs - components::border (line 6) stdout ----
[INFO] [stdout] error: cannot find macro `element` in this scope
[INFO] [stdout]  --> src/components/border.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | element!(Border(
[INFO] [stdout]   | ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these macros
[INFO] [stdout]   |
[INFO] [stdout] 6 + use ratatui_kit::element;
[INFO] [stdout]   |
[INFO] [stdout] 6 + use ratatui_kit_macros::element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/handler.rs - handler::Deref (line 10) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Handler`
[INFO] [stdout]   --> src/handler.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut handler = Handler::from(|val| println!("changed: {}", val));
[INFO] [stdout]    |                   ^^^^^^^ use of undeclared type `Handler`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 10 + use ratatui_kit::Handler;
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/components/context_provider.rs - components::context_provider (line 6) stdout ----
[INFO] [stdout] error: cannot find macro `element` in this scope
[INFO] [stdout]  --> src/components/context_provider.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | element!(ContextProvider(value: Some(Context::owned(MyData { ... }))) {
[INFO] [stdout]   | ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these macros
[INFO] [stdout]   |
[INFO] [stdout] 6 + use ratatui_kit::element;
[INFO] [stdout]   |
[INFO] [stdout] 6 + use ratatui_kit_macros::element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/components/modal.rs - components::modal (line 4) stdout ----
[INFO] [stdout] error: cannot find macro `element` in this scope
[INFO] [stdout]  --> src/components/modal.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | element!(Modal(
[INFO] [stdout]   | ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these macros
[INFO] [stdout]   |
[INFO] [stdout] 4 + use ratatui_kit::element;
[INFO] [stdout]   |
[INFO] [stdout] 4 + use ratatui_kit_macros::element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/components/fragment.rs - components::fragment (line 4) stdout ----
[INFO] [stdout] error: cannot find macro `element` in this scope
[INFO] [stdout]  --> src/components/fragment.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | element!(Fragment {
[INFO] [stdout]   | ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these macros
[INFO] [stdout]   |
[INFO] [stdout] 4 + use ratatui_kit::element;
[INFO] [stdout]   |
[INFO] [stdout] 4 + use ratatui_kit_macros::element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/handler.rs - handler::DerefMut (line 10) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Handler`
[INFO] [stdout]   --> src/handler.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut handler = Handler::from(|val| println!("changed: {}", val));
[INFO] [stdout]    |                   ^^^^^^^ use of undeclared type `Handler`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 10 + use ratatui_kit::Handler;
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/components/scroll_view/mod.rs - components::scroll_view (line 15) stdout ----
[INFO] [stdout] error: cannot find macro `element` in this scope
[INFO] [stdout]   --> src/components/scroll_view/mod.rs:22:1
[INFO] [stdout]    |
[INFO] [stdout] 22 | element!(ScrollView(
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these macros
[INFO] [stdout]    |
[INFO] [stdout] 15 + use ratatui_kit::element;
[INFO] [stdout]    |
[INFO] [stdout] 15 + use ratatui_kit_macros::element;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hooks` in this scope
[INFO] [stdout]   --> src/components/scroll_view/mod.rs:16:20
[INFO] [stdout]    |
[INFO] [stdout] 16 | let scroll_state = hooks.use_state(ScrollViewState::default);
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScrollViewState`
[INFO] [stdout]   --> src/components/scroll_view/mod.rs:16:36
[INFO] [stdout]    |
[INFO] [stdout] 16 | let scroll_state = hooks.use_state(ScrollViewState::default);
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^ use of undeclared type `ScrollViewState`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 15 + use ratatui_kit::prelude::ScrollViewState;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hooks` in this scope
[INFO] [stdout]   --> src/components/scroll_view/mod.rs:18:1
[INFO] [stdout]    |
[INFO] [stdout] 18 | hooks.use_local_events(move |event| {
[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, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hooks/mod.rs - hooks::Hooks (line 149) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `hooks` in this scope
[INFO] [stdout]    --> src/hooks/mod.rs:150:17
[INFO] [stdout]     |
[INFO] [stdout] 150 | let mut state = hooks.use_state(|| 0);
[INFO] [stdout]     |                 ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hooks` in this scope
[INFO] [stdout]    --> src/hooks/mod.rs:151:11
[INFO] [stdout]     |
[INFO] [stdout] 151 | let ctx = hooks.use_context::<MyType>();
[INFO] [stdout]     |           ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `MyType` in this scope
[INFO] [stdout]    --> src/hooks/mod.rs:151:31
[INFO] [stdout]     |
[INFO] [stdout] 151 | let ctx = hooks.use_context::<MyType>();
[INFO] [stdout]     |                               ^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 149 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_hooks_mod_rs_149_0<MyType>() {
[INFO] [stdout]     |                                                                             ++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/handler.rs - handler (line 10) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Handler`
[INFO] [stdout]   --> src/handler.rs:11:19
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut handler = Handler::from(|val| println!("changed: {}", val));
[INFO] [stdout]    |                   ^^^^^^^ use of undeclared type `Handler`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 10 + use ratatui_kit::Handler;
[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 E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/components/scroll_view/scrollbars.rs - components::scroll_view::scrollbars (line 4) stdout ----
[INFO] [stdout] error: cannot find macro `element` in this scope
[INFO] [stdout]  --> src/components/scroll_view/scrollbars.rs:5:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | element!(ScrollView(
[INFO] [stdout]   | ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these macros
[INFO] [stdout]   |
[INFO] [stdout] 4 + use ratatui_kit::element;
[INFO] [stdout]   |
[INFO] [stdout] 4 + use ratatui_kit_macros::element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/component/mod.rs - component::Component (line 29) stdout ----
[INFO] [stdout] error[E0599]: no method named `render` found for struct `ratatui::prelude::Line<'a>` in the current scope
[INFO] [stdout]    --> src/component/mod.rs:56:68
[INFO] [stdout]     |
[INFO] [stdout]  56 |         Line::styled(format!("Counter: {}", 42), Style::default()).render(area, buf);
[INFO] [stdout]     |                                                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ratatui-0.29.0/src/widgets.rs:117:8
[INFO] [stdout]     |
[INFO] [stdout] 117 |     fn render(self, area: Rect, buf: &mut Buffer)
[INFO] [stdout]     |        ------ the method is available for `ratatui::prelude::Line<'_>` here
[INFO] [stdout]     |
[INFO] [stdout]     = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: there is a method `red` with a similar name, but with different arguments
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ratatui-0.29.0/src/style/stylize.rs:226:5
[INFO] [stdout]     |
[INFO] [stdout] 226 |     color!(red);
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `color` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: trait `Widget` which provides `render` is implemented but not in scope; perhaps you want to import it
[INFO] [stdout]     |
[INFO] [stdout]  28 + use ratatui::prelude::Widget;
[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 E0599`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/hooks/use_state.rs - hooks::use_state (line 13) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/hooks/use_state.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | let mut hooks = ...;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 14 - let mut hooks = ...;
[INFO] [stdout] 14 + let mut hooks = ..;
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 14 - let mut hooks = ...;
[INFO] [stdout] 14 + let mut hooks = ..=;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/hooks/use_state.rs:14:17
[INFO] [stdout]    |
[INFO] [stdout] 14 | let mut hooks = ...;
[INFO] [stdout]    |                 ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 14 - let mut hooks = ...;
[INFO] [stdout] 14 + let mut hooks = ..;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0586`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/element/element_ext.rs - element::element_ext::ElementExt (line 28) stdout ----
[INFO] [stdout] error: cannot find macro `element` in this scope
[INFO] [stdout]   --> src/element/element_ext.rs:29:1
[INFO] [stdout]    |
[INFO] [stdout] 29 | element!(MyComponent).fullscreen().await?;
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these macros
[INFO] [stdout]    |
[INFO] [stdout] 28 + use ratatui_kit::element;
[INFO] [stdout]    |
[INFO] [stdout] 28 + use ratatui_kit_macros::element;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/element/element_ext.rs:29:36
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_element_element_ext_rs_28_0() {
[INFO] [stdout]    |                                      -------------------------------------------------- this is not `async`
[INFO] [stdout] 29 | element!(MyComponent).fullscreen().await?;
[INFO] [stdout]    |                                    ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0728`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/components/scroll_view/mod.rs - components::scroll_view (line 6) stdout ----
[INFO] [stdout] error: cannot find macro `element` in this scope
[INFO] [stdout]  --> src/components/scroll_view/mod.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | element!(ScrollView(
[INFO] [stdout]   | ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these macros
[INFO] [stdout]   |
[INFO] [stdout] 6 + use ratatui_kit::element;
[INFO] [stdout]   |
[INFO] [stdout] 6 + use ratatui_kit_macros::element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/components/scroll_view/state.rs - components::scroll_view::state (line 6) stdout ----
[INFO] [stdout] error: cannot find macro `element` in this scope
[INFO] [stdout]  --> src/components/scroll_view/state.rs:8:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | element!(ScrollView(scroll_view_state: scroll_state.get()) { ... })
[INFO] [stdout]   | ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these macros
[INFO] [stdout]   |
[INFO] [stdout] 6 + use ratatui_kit::element;
[INFO] [stdout]   |
[INFO] [stdout] 6 + use ratatui_kit_macros::element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `hooks` in this scope
[INFO] [stdout]  --> src/components/scroll_view/state.rs:7:20
[INFO] [stdout]   |
[INFO] [stdout] 7 | let scroll_state = hooks.use_state(ScrollViewState::default);
[INFO] [stdout]   |                    ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ScrollViewState`
[INFO] [stdout]  --> src/components/scroll_view/state.rs:7:36
[INFO] [stdout]   |
[INFO] [stdout] 7 | let scroll_state = hooks.use_state(ScrollViewState::default);
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^ use of undeclared type `ScrollViewState`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 6 + use ratatui_kit::prelude::ScrollViewState;
[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/hooks/mod.rs - hooks (line 10) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/hooks/mod.rs:12:21
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct MyHook { ... }
[INFO] [stdout]    |            ------   ^^^ expected identifier
[INFO] [stdout]    |            |
[INFO] [stdout]    |            while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error: non-item in item list
[INFO] [stdout]   --> src/hooks/mod.rs:13:24
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Hook for MyHook { ... }
[INFO] [stdout]    |                      - ^^^ - item list ends here
[INFO] [stdout]    |                      | |
[INFO] [stdout]    |                      | non-item starts here
[INFO] [stdout]    |                      item list starts here
[INFO] [stdout] 
[INFO] [stdout] error[E0743]: C-variadic type `...` may not be nested inside another type
[INFO] [stdout]   --> src/hooks/mod.rs:17:39
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn use_my_hook(&mut self, ...) -> ...;
[INFO] [stdout]    |                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0743]: C-variadic type `...` may not be nested inside another type
[INFO] [stdout]   --> src/hooks/mod.rs:20:39
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn use_my_hook(&mut self, ...) -> ... {
[INFO] [stdout]    |                                       ^^^
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/hooks/mod.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 21 |         self.use_hook(|| MyHook { ... })
[INFO] [stdout]    |                          ------   ^^^ expected identifier
[INFO] [stdout]    |                          |
[INFO] [stdout]    |                          while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error: `...` is not supported for non-extern functions
[INFO] [stdout]   --> src/hooks/mod.rs:17:31
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn use_my_hook(&mut self, ...) -> ...;
[INFO] [stdout]    |                               ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: only `extern "C"` and `extern "C-unwind"` functions may have a C variable argument list
[INFO] [stdout] 
[INFO] [stdout] error: `...` is not supported for non-extern functions
[INFO] [stdout]   --> src/hooks/mod.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn use_my_hook(&mut self, ...) -> ... {
[INFO] [stdout]    |                               ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: only `extern "C"` and `extern "C-unwind"` functions may have a C variable argument list
[INFO] [stdout] 
[INFO] [stdout] error[E0405]: cannot find trait `Hook` in this scope
[INFO] [stdout]   --> src/hooks/mod.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | impl Hook for MyHook { ... }
[INFO] [stdout]    |      ^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this trait
[INFO] [stdout]    |
[INFO] [stdout] 10 + use ratatui_kit::Hook;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Hooks` in this scope
[INFO] [stdout]   --> src/hooks/mod.rs:19:20
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl UseMyHook for Hooks<'_, '_> {
[INFO] [stdout]    |                    ^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 10 + use ratatui_kit::Hooks;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: C-variadic functions are unstable
[INFO] [stdout]   --> src/hooks/mod.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn use_my_hook(&mut self, ...) -> ...;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #44930 <https://github.com/rust-lang/rust/issues/44930> for more information
[INFO] [stdout]    = help: add `#![feature(c_variadic)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error[E0658]: C-variadic functions are unstable
[INFO] [stdout]   --> src/hooks/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | /     fn use_my_hook(&mut self, ...) -> ... {
[INFO] [stdout] 21 | |         self.use_hook(|| MyHook { ... })
[INFO] [stdout] 22 | |     }
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: see issue #44930 <https://github.com/rust-lang/rust/issues/44930> for more information
[INFO] [stdout]    = help: add `#![feature(c_variadic)]` to the crate attributes to enable
[INFO] [stdout]    = note: this compiler was built on 2025-11-07; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `private`
[INFO] [stdout]   --> src/hooks/mod.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub trait UseMyHook: private::Sealed {
[INFO] [stdout]    |                      ^^^^^^^ use of unresolved module or unlinked crate `private`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `private`, use `cargo add private` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0658, E0743.
[INFO] [stdout] For more information about an error, try `rustc --explain E0405`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/components/view.rs - components::view (line 6) stdout ----
[INFO] [stdout] error: cannot find macro `element` in this scope
[INFO] [stdout]  --> src/components/view.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | element!(View(flex_direction: Direction::Vertical, gap: 1) {
[INFO] [stdout]   | ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these macros
[INFO] [stdout]   |
[INFO] [stdout] 6 + use ratatui_kit::element;
[INFO] [stdout]   |
[INFO] [stdout] 6 + use ratatui_kit_macros::element;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/component/mod.rs - component::Component (line 29)
[INFO] [stdout]     src/components/border.rs - components::border (line 6)
[INFO] [stdout]     src/components/context_provider.rs - components::context_provider (line 6)
[INFO] [stdout]     src/components/fragment.rs - components::fragment (line 4)
[INFO] [stdout]     src/components/modal.rs - components::modal (line 4)
[INFO] [stdout]     src/components/scroll_view/mod.rs - components::scroll_view (line 15)
[INFO] [stdout]     src/components/scroll_view/mod.rs - components::scroll_view (line 6)
[INFO] [stdout]     src/components/scroll_view/scrollbars.rs - components::scroll_view::scrollbars (line 4)
[INFO] [stdout]     src/components/scroll_view/state.rs - components::scroll_view::state (line 6)
[INFO] [stdout]     src/components/view.rs - components::view (line 6)
[INFO] [stdout]     src/element/element_ext.rs - element::element_ext::ElementExt (line 28)
[INFO] [stdout]     src/handler.rs - handler (line 10)
[INFO] [stdout]     src/handler.rs - handler::Deref (line 10)
[INFO] [stdout]     src/handler.rs - handler::DerefMut (line 10)
[INFO] [stdout]     src/hooks/mod.rs - hooks (line 10)
[INFO] [stdout]     src/hooks/mod.rs - hooks::Hooks (line 149)
[INFO] [stdout]     src/hooks/use_state.rs - hooks::use_state (line 13)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 17 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.59s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.78s; merged doctests compilation took 0.19s
[INFO] running `Command { std: "docker" "inspect" "5ad6ef029e1107dd8d4778b9e06920a522a1dd54d152ba9b0dba854c844d6548", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5ad6ef029e1107dd8d4778b9e06920a522a1dd54d152ba9b0dba854c844d6548", kill_on_drop: false }`
[INFO] [stdout] 5ad6ef029e1107dd8d4778b9e06920a522a1dd54d152ba9b0dba854c844d6548
