[INFO] fetching crate ratatui-kit 0.5.9... [INFO] testing ratatui-kit-0.5.9 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate ratatui-kit 0.5.9 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ratatui-kit 0.5.9 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3a60f7d2195bf2926bbe8aef8477009189d43ef49b336d4d25f7583a86cdaaa6 [INFO] running `Command { std: "docker" "start" "-a" "3a60f7d2195bf2926bbe8aef8477009189d43ef49b336d4d25f7583a86cdaaa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3a60f7d2195bf2926bbe8aef8477009189d43ef49b336d4d25f7583a86cdaaa6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a60f7d2195bf2926bbe8aef8477009189d43ef49b336d4d25f7583a86cdaaa6", kill_on_drop: false }` [INFO] [stdout] 3a60f7d2195bf2926bbe8aef8477009189d43ef49b336d4d25f7583a86cdaaa6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd7baf099fcd030ae061f8c071820e70a01b64ab17f5a9844b39a9c2ae91f834 [INFO] running `Command { std: "docker" "start" "-a" "dd7baf099fcd030ae061f8c071820e70a01b64ab17f5a9844b39a9c2ae91f834", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [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 signal-hook v0.3.18 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling debugit v0.1.2 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling any_key v0.1.1 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling unicode-truncate v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling castaway v0.2.3 [INFO] [stderr] Compiling compact_str v0.8.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling uuid v1.17.0 [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 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 21.24s [INFO] running `Command { std: "docker" "inspect" "dd7baf099fcd030ae061f8c071820e70a01b64ab17f5a9844b39a9c2ae91f834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd7baf099fcd030ae061f8c071820e70a01b64ab17f5a9844b39a9c2ae91f834", kill_on_drop: false }` [INFO] [stdout] dd7baf099fcd030ae061f8c071820e70a01b64ab17f5a9844b39a9c2ae91f834 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e7b15b71e1d015286a2cd5ad0551102f82c74d4ca083013459cc33364ae0475 [INFO] running `Command { std: "docker" "start" "-a" "1e7b15b71e1d015286a2cd5ad0551102f82c74d4ca083013459cc33364ae0475", 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.99s [INFO] running `Command { std: "docker" "inspect" "1e7b15b71e1d015286a2cd5ad0551102f82c74d4ca083013459cc33364ae0475", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e7b15b71e1d015286a2cd5ad0551102f82c74d4ca083013459cc33364ae0475", kill_on_drop: false }` [INFO] [stdout] 1e7b15b71e1d015286a2cd5ad0551102f82c74d4ca083013459cc33364ae0475 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a32d86cb39dc904b155162ad3f4da93cfed91e18e7bfda75e4d45d2cc0921e9b [INFO] running `Command { std: "docker" "start" "-a" "a32d86cb39dc904b155162ad3f4da93cfed91e18e7bfda75e4d45d2cc0921e9b", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ratatui_kit-ae17cbca96cf0043) [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/element/element_ext.rs - element::element_ext::ElementExt (line 28) ... FAILED [INFO] [stdout] test src/components/scroll_view/state.rs - components::scroll_view::state (line 6) ... FAILED [INFO] [stdout] test src/component/mod.rs - component::Component (line 29) ... FAILED [INFO] [stdout] test src/hooks/mod.rs - hooks::Hooks (line 149) ... FAILED [INFO] [stdout] test src/components/scroll_view/scrollbars.rs - components::scroll_view::scrollbars (line 4) ... FAILED [INFO] [stdout] test src/handler.rs - handler (line 10) ... FAILED [INFO] [stdout] test src/components/scroll_view/mod.rs - components::scroll_view (line 6) ... FAILED [INFO] [stdout] test src/hooks/use_state.rs - hooks::use_state (line 13) ... FAILED [INFO] [stdout] test src/components/context_provider.rs - components::context_provider (line 6) ... 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 15) ... FAILED [INFO] [stdout] test src/components/border.rs - components::border (line 6) ... 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/modal.rs - components::modal (line 4) ... 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/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/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]: cannot find type `ScrollViewState` in this scope [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/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/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::(); [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::(); [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() { [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/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/handler.rs - handler (line 10) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Handler` in this scope [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/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/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/handler.rs - handler::Deref (line 10) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `Handler` in this scope [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]: cannot find type `ScrollViewState` in this scope [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/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/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]: cannot find type `Handler` in this scope [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/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/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 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-03-22; 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 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-03-22; 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 [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 [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]: cannot find module or crate `private` in this scope [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/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.77s; merged doctests compilation took 0.18s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "a32d86cb39dc904b155162ad3f4da93cfed91e18e7bfda75e4d45d2cc0921e9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a32d86cb39dc904b155162ad3f4da93cfed91e18e7bfda75e4d45d2cc0921e9b", kill_on_drop: false }` [INFO] [stdout] a32d86cb39dc904b155162ad3f4da93cfed91e18e7bfda75e4d45d2cc0921e9b