[INFO] fetching crate ratatui-kit 0.5.9...
[INFO] testing ratatui-kit-0.5.9 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate ratatui-kit 0.5.9 into /workspace/builds/worker-2-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-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate ratatui-kit 0.5.9 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 282ec18800d8ddac78d487d7802813ec30dc20bba3e7495682ea68d4d4d2be64
[INFO] running `Command { std: "docker" "start" "-a" "282ec18800d8ddac78d487d7802813ec30dc20bba3e7495682ea68d4d4d2be64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "282ec18800d8ddac78d487d7802813ec30dc20bba3e7495682ea68d4d4d2be64", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "282ec18800d8ddac78d487d7802813ec30dc20bba3e7495682ea68d4d4d2be64", kill_on_drop: false }`
[INFO] [stdout] 282ec18800d8ddac78d487d7802813ec30dc20bba3e7495682ea68d4d4d2be64
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 0d219adc42139e6b7523cd3da7003dea16009fe9595df40bdd500d92330e18a4
[INFO] running `Command { std: "docker" "start" "-a" "0d219adc42139e6b7523cd3da7003dea16009fe9595df40bdd500d92330e18a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling debugit v0.1.2
[INFO] [stderr]    Compiling foldhash v0.1.5
[INFO] [stderr]    Compiling syn v2.0.104
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling castaway v0.2.3
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling mopa v0.2.2
[INFO] [stderr]    Compiling compact_str v0.8.1
[INFO] [stderr]    Compiling hashbrown v0.15.4
[INFO] [stderr]    Compiling any_key v0.1.1
[INFO] [stderr]    Compiling uuid v1.17.0
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling crossterm v0.28.1
[INFO] [stderr]    Compiling darling_core v0.20.11
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling strum_macros v0.26.4
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling ratatui-kit-macros v0.5.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.41
[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 18.25s
[INFO] running `Command { std: "docker" "inspect" "0d219adc42139e6b7523cd3da7003dea16009fe9595df40bdd500d92330e18a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d219adc42139e6b7523cd3da7003dea16009fe9595df40bdd500d92330e18a4", kill_on_drop: false }`
[INFO] [stdout] 0d219adc42139e6b7523cd3da7003dea16009fe9595df40bdd500d92330e18a4
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 333b983a2a63dffc14b38fae626c25cc95336106344292e030b34f78d2067980
[INFO] running `Command { std: "docker" "start" "-a" "333b983a2a63dffc14b38fae626c25cc95336106344292e030b34f78d2067980", 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 0.95s
[INFO] running `Command { std: "docker" "inspect" "333b983a2a63dffc14b38fae626c25cc95336106344292e030b34f78d2067980", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "333b983a2a63dffc14b38fae626c25cc95336106344292e030b34f78d2067980", kill_on_drop: false }`
[INFO] [stdout] 333b983a2a63dffc14b38fae626c25cc95336106344292e030b34f78d2067980
[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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 29a338d49c9d646e485243c9dbaaa93c4add5d3fc3ec0acf3ee13fb1e75f5df6
[INFO] running `Command { std: "docker" "start" "-a" "29a338d49c9d646e485243c9dbaaa93c4add5d3fc3ec0acf3ee13fb1e75f5df6", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/ratatui-kit/ae17cbca96cf0043/deps/ratatui_kit-ae17cbca96cf0043)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests ratatui_kit
[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 17 tests
[INFO] [stdout] test src/components/fragment.rs - components::fragment (line 4) ... FAILED
[INFO] [stdout] test src/handler.rs - handler::Deref (line 10) ... 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/components/scroll_view/scrollbars.rs - components::scroll_view::scrollbars (line 4) ... FAILED
[INFO] [stdout] test src/hooks/use_state.rs - hooks::use_state (line 13) ... FAILED
[INFO] [stdout] test src/handler.rs - handler (line 10) ... FAILED
[INFO] [stdout] test src/handler.rs - handler::DerefMut (line 10) ... FAILED
[INFO] [stdout] test src/hooks/mod.rs - hooks (line 10) ... FAILED
[INFO] [stdout] test src/components/border.rs - components::border (line 6) ... FAILED
[INFO] [stdout] test src/components/context_provider.rs - components::context_provider (line 6) ... FAILED
[INFO] [stdout] test src/component/mod.rs - component::Component (line 29) ... FAILED
[INFO] [stdout] test src/components/scroll_view/mod.rs - components::scroll_view (line 15) ... FAILED
[INFO] [stdout] test src/element/element_ext.rs - element::element_ext::ElementExt (line 28) ... FAILED
[INFO] [stdout] test src/hooks/mod.rs - hooks::Hooks (line 149) ... FAILED
[INFO] [stdout] test src/components/modal.rs - components::modal (line 4) ... FAILED
[INFO] [stdout] test src/components/view.rs - components::view (line 6) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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::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] [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 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/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/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/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/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/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[E0425]: 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 2026-01-14; 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 2026-01-14; consider upgrading it if it is out of date
[INFO] [stdout] 
[INFO] [stdout] warning: missing pattern for `...` argument
[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]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #145544 <https://github.com/rust-lang/rust/issues/145544>
[INFO] [stdout]    = note: `#[warn(varargs_without_pattern)]` (part of `#[warn(future_incompatible)]`) on by default
[INFO] [stdout] help: name the argument, or use `_` to continue ignoring it
[INFO] [stdout]    |
[INFO] [stdout] 17 |     fn use_my_hook(&mut self, _: ...) -> ...;
[INFO] [stdout]    |                               ++
[INFO] [stdout] 
[INFO] [stdout] warning: missing pattern for `...` argument
[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]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #145544 <https://github.com/rust-lang/rust/issues/145544>
[INFO] [stdout] help: name the argument, or use `_` to continue ignoring it
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn use_my_hook(&mut self, _: ...) -> ... {
[INFO] [stdout]    |                               ++
[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; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0405, E0425, 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/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/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/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:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             fn $color(self) -> T {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 226 |     color!(red);
[INFO] [stdout]     |     ----------- in this macro invocation
[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/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/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/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[E0425]: 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] For more information about this error, try `rustc --explain E0425`.
[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/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.50s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.67s; merged doctests compilation took 0.17s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "29a338d49c9d646e485243c9dbaaa93c4add5d3fc3ec0acf3ee13fb1e75f5df6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29a338d49c9d646e485243c9dbaaa93c4add5d3fc3ec0acf3ee13fb1e75f5df6", kill_on_drop: false }`
[INFO] [stdout] 29a338d49c9d646e485243c9dbaaa93c4add5d3fc3ec0acf3ee13fb1e75f5df6
