[INFO] fetching crate ratatui-template 0.1.1... [INFO] testing ratatui-template-0.1.1 against beta-2025-10-28 for beta-1.92-2 [INFO] extracting crate ratatui-template 0.1.1 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate ratatui-template 0.1.1 [INFO] finished tweaking crates.io crate ratatui-template 0.1.1 [INFO] tweaked toml for crates.io crate ratatui-template 0.1.1 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ratatui-template 0.1.1 on toolchain beta-2025-10-28 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 102 packages to latest compatible versions [INFO] [stderr] Adding crossterm v0.27.0 (available: v0.29.0) [INFO] [stderr] Adding ratatui v0.24.0 (available: v0.29.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+beta-2025-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f406f6300cdc81ce47a17cb8dac41959e15d8dac977653f60cd4b29d8fb84084 [INFO] running `Command { std: "docker" "start" "-a" "f406f6300cdc81ce47a17cb8dac41959e15d8dac977653f60cd4b29d8fb84084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f406f6300cdc81ce47a17cb8dac41959e15d8dac977653f60cd4b29d8fb84084", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f406f6300cdc81ce47a17cb8dac41959e15d8dac977653f60cd4b29d8fb84084", kill_on_drop: false }` [INFO] [stdout] f406f6300cdc81ce47a17cb8dac41959e15d8dac977653f60cd4b29d8fb84084 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] affc4c87df4cd09d790a6c68ef7af85ba169b72df8c331f32f4f0055faa44b1e [INFO] running `Command { std: "docker" "start" "-a" "affc4c87df4cd09d790a6c68ef7af85ba169b72df8c331f32f4f0055faa44b1e", kill_on_drop: false }` [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling mio v1.1.0 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling indenter v0.3.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.24.0 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling ratatui-template v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.45s [INFO] running `Command { std: "docker" "inspect" "affc4c87df4cd09d790a6c68ef7af85ba169b72df8c331f32f4f0055faa44b1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "affc4c87df4cd09d790a6c68ef7af85ba169b72df8c331f32f4f0055faa44b1e", kill_on_drop: false }` [INFO] [stdout] affc4c87df4cd09d790a6c68ef7af85ba169b72df8c331f32f4f0055faa44b1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 715d0c666e5022d68e995cf9192a05586a58188275dce8bf70d0a05e763b1f5a [INFO] running `Command { std: "docker" "start" "-a" "715d0c666e5022d68e995cf9192a05586a58188275dce8bf70d0a05e763b1f5a", kill_on_drop: false }` [INFO] [stderr] Compiling ratatui-template v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "715d0c666e5022d68e995cf9192a05586a58188275dce8bf70d0a05e763b1f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "715d0c666e5022d68e995cf9192a05586a58188275dce8bf70d0a05e763b1f5a", kill_on_drop: false }` [INFO] [stdout] 715d0c666e5022d68e995cf9192a05586a58188275dce8bf70d0a05e763b1f5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+beta-2025-10-28" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 10ef8194819928824a38b334a743268b854fbe775c4ec76f76c9fcc3a6c4f3a4 [INFO] running `Command { std: "docker" "start" "-a" "10ef8194819928824a38b334a743268b854fbe775c4ec76f76c9fcc3a6c4f3a4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ratatui_template-a2dda73544206eeb) [INFO] [stdout] [INFO] [stderr] Doc-tests ratatui_template [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 9 tests [INFO] [stdout] test src/lib.rs - Tui::tick_rate (line 107) ... FAILED [INFO] [stdout] test src/lib.rs - Tui::frame_rate (line 123) ... FAILED [INFO] [stdout] test src/lib.rs - Tui::next (line 236) ... FAILED [INFO] [stdout] test src/lib.rs - Tui::enter (line 187) ... FAILED [INFO] [stdout] test src/lib.rs - Tui::paste (line 163) ... FAILED [INFO] [stdout] test src/lib.rs - Tui::mouse (line 146) ... FAILED [INFO] [stdout] test src/lib.rs - Tui::paste (line 170) ... FAILED [INFO] [stdout] test src/lib.rs - Tui::mouse (line 139) ... FAILED [INFO] [stdout] test src/lib.rs - Tui::new (line 87) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Tui::tick_rate (line 107) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:112:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_107_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let mut interface = Tui::new()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_107_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::Tui; [INFO] [stdout] ... [INFO] [stdout] 9 | .tick_rate(tps); [INFO] [stdout] 10+ Ok(()) [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 E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tui::frame_rate (line 123) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_123_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | let mut interface = Tui::new()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_123_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::Tui; [INFO] [stdout] ... [INFO] [stdout] 9 | .frame_rate(fps); [INFO] [stdout] 10+ Ok(()) [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 E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tui::next (line 236) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:240:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_236_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let mut interface = Tui::new()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_236_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::{Event, Tui}; [INFO] [stdout] ... [INFO] [stdout] 16| interface.exit()?; [INFO] [stdout] 17+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:241:18 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_236_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 8 | interface.enter()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_236_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::{Event, Tui}; [INFO] [stdout] ... [INFO] [stdout] 16| interface.exit()?; [INFO] [stdout] 17+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 11 | if let Some(event) = interface.next() { [INFO] [stdout] | ^^^^^^^^^^^ ---------------- this expression has type `impl Future>` [INFO] [stdout] | | [INFO] [stdout] | expected future, found `Option<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected opaque type `impl Future>` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:249:17 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_236_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 16 | interface.exit()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_236_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::{Event, Tui}; [INFO] [stdout] ... [INFO] [stdout] 16 | interface.exit()?; [INFO] [stdout] 17 + Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tui::enter (line 187) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:191:31 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_187_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let mut interface = Tui::new()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_187_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::Tui; [INFO] [stdout] ... [INFO] [stdout] 14| interface.exit()?; [INFO] [stdout] 15+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:193:18 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_187_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 9 | interface.enter()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_187_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::Tui; [INFO] [stdout] ... [INFO] [stdout] 14| interface.exit()?; [INFO] [stdout] 15+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_187_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 14 | interface.exit()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_187_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::Tui; [INFO] [stdout] ... [INFO] [stdout] 14 | interface.exit()?; [INFO] [stdout] 15 + Ok(()) [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 E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tui::paste (line 163) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:167:40 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_163_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let mut with_paste_support = Tui::new()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_163_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::Tui; [INFO] [stdout] ... [INFO] [stdout] 8 | .paste(true); [INFO] [stdout] 9 + Ok(()) [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 E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tui::mouse (line 146) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:150:38 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_146_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let mut no_mouse_support = Tui::new()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_146_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::Tui; [INFO] [stdout] ... [INFO] [stdout] 10| let mut also_no_mouse_support = Tui::new()?; [INFO] [stdout] 11+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:153:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_146_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | let mut also_no_mouse_support = Tui::new()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_146_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::Tui; [INFO] [stdout] ... [INFO] [stdout] 10 | let mut also_no_mouse_support = Tui::new()?; [INFO] [stdout] 11 + Ok(()) [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 E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tui::paste (line 170) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:174:38 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_170_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let mut no_paste_support = Tui::new()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_170_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::Tui; [INFO] [stdout] ... [INFO] [stdout] 10| let mut also_no_paste_support = Tui::new()?; [INFO] [stdout] 11+ Ok(()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:177:43 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_170_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 10 | let mut also_no_paste_support = Tui::new()?; [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_170_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::Tui; [INFO] [stdout] ... [INFO] [stdout] 10 | let mut also_no_paste_support = Tui::new()?; [INFO] [stdout] 11 + Ok(()) [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 E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tui::mouse (line 139) stdout ---- [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:143:40 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_139_0() { [INFO] [stdout] | ----------------------------------- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] ... [INFO] [stdout] 7 | let mut with_mouse_support = Tui::new()? [INFO] [stdout] | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] | [INFO] [stdout] help: consider adding return type [INFO] [stdout] | [INFO] [stdout] 4 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_139_0() -> Result<(), Box> { [INFO] [stdout] 5 | use ratatui_template::Tui; [INFO] [stdout] ... [INFO] [stdout] 8 | .mouse(true); [INFO] [stdout] 9 + Ok(()) [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 E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Tui::new (line 87) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (95) panicked at src/lib.rs:6:32: [INFO] [stdout] failed to initialize TUI: Resource temporarily unavailable (os error 11) [INFO] [stdout] [INFO] [stdout] Location: [INFO] [stdout] src/lib.rs:94:24 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5e93b2e86c22 - std::backtrace_rs::backtrace::libunwind::trace::h16acf28769fcd909 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5e93b2e86c22 - std::backtrace_rs::backtrace::trace_unsynchronized::hb5541aa5d4f92513 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5e93b2e86c22 - std::sys::backtrace::_print_fmt::h8ac8268cb667a306 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5e93b2e86c22 - ::fmt::h47627beda0767f4c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5e93b2e9657f - core::fmt::rt::Argument::fmt::h686a01ad57c1c92a [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5e93b2e9657f - core::fmt::write::h8a63064c67176fd8 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x5e93b2e5b073 - std::io::default_write_fmt::hc257f38f86d39af6 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5e93b2e5b073 - std::io::Write::write_fmt::h5e9b646cef91150b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5e93b2e65072 - std::sys::backtrace::BacktraceLock::print::h4634d27c0afbaebb [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5e93b2e6748f - std::panicking::default_hook::{{closure}}::h23e0299d4738b766 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5e93b2e672e9 - std::panicking::default_hook::hfeec6294e8751b62 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5e93b2e67a65 - std::panicking::panic_with_hook::hd57cd463d793ed79 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5e93b2e678fa - std::panicking::panic_handler::{{closure}}::hddd6216c3fddee3b [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5e93b2e651a9 - std::sys::backtrace::__rust_end_short_backtrace::h5e7a56f283378525 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5e93b2e4f99d - __rustc[256c90bb7e548b45]::rust_begin_unwind [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5e93b2e9a110 - core::panicking::panic_fmt::hf19c198748ef6a95 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/panicking.rs:80:14 [INFO] [stdout] 16: 0x5e93b2e99626 - core::result::unwrap_failed::he81173b5792ad6b0 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/result.rs:1862:5 [INFO] [stdout] 17: 0x5e93b2dae832 - core::result::Result::expect::hb0b238b085028b14 [INFO] [stdout] 18: 0x5e93b2dae8ea - rust_out::main::_doctest_main_src_lib_rs_87_0::h42eda5c74e01c10e [INFO] [stdout] 19: 0x5e93b2dae8a6 - rust_out::main::he986860d8b7bc94f [INFO] [stdout] 20: 0x5e93b2dae643 - core::ops::function::FnOnce::call_once::hd0f888ea33950d2d [INFO] [stdout] 21: 0x5e93b2dae626 - std::sys::backtrace::__rust_begin_short_backtrace::h70a8cfcb1f800bff [INFO] [stdout] 22: 0x5e93b2dae609 - std::rt::lang_start::{{closure}}::h03ca8d00642774ee [INFO] [stdout] 23: 0x5e93b2e5c9d0 - core::ops::function::impls:: for &F>::call_once::hdf957eac011d0136 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 24: 0x5e93b2e5c9d0 - std::panicking::catch_unwind::do_call::h9ff550f7799115e1 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 25: 0x5e93b2e5c9d0 - std::panicking::catch_unwind::ha7ce46787bb12905 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 26: 0x5e93b2e5c9d0 - std::panic::catch_unwind::h625b36596def7d39 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 27: 0x5e93b2e5c9d0 - std::rt::lang_start_internal::{{closure}}::h4cbc9430de699e2c [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/rt.rs:175:24 [INFO] [stdout] 28: 0x5e93b2e5c9d0 - std::panicking::catch_unwind::do_call::h5af2f11409a22e3e [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x5e93b2e5c9d0 - std::panicking::catch_unwind::hf64cf7b0d8070f52 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x5e93b2e5c9d0 - std::panic::catch_unwind::h480b74763390cdcf [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x5e93b2e5c9d0 - std::rt::lang_start_internal::h4b3d04f698aef094 [INFO] [stdout] at /rustc/3b4dd9bf1410f8da6329baa36ce5e37673cbbd1f/library/std/src/rt.rs:171:5 [INFO] [stdout] 32: 0x5e93b2dae5f1 - std::rt::lang_start::h457230af78cce7e7 [INFO] [stdout] 33: 0x5e93b2dae915 - main [INFO] [stdout] 34: 0x7be2fb6971ca - [INFO] [stdout] 35: 0x7be2fb69728b - __libc_start_main [INFO] [stdout] 36: 0x5e93b2dae505 - _start [INFO] [stdout] 37: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - Tui::enter (line 187) [INFO] [stdout] src/lib.rs - Tui::frame_rate (line 123) [INFO] [stdout] src/lib.rs - Tui::mouse (line 139) [INFO] [stdout] src/lib.rs - Tui::mouse (line 146) [INFO] [stdout] src/lib.rs - Tui::new (line 87) [INFO] [stdout] src/lib.rs - Tui::next (line 236) [INFO] [stdout] src/lib.rs - Tui::paste (line 163) [INFO] [stdout] src/lib.rs - Tui::paste (line 170) [INFO] [stdout] src/lib.rs - Tui::tick_rate (line 107) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.83s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "10ef8194819928824a38b334a743268b854fbe775c4ec76f76c9fcc3a6c4f3a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10ef8194819928824a38b334a743268b854fbe775c4ec76f76c9fcc3a6c4f3a4", kill_on_drop: false }` [INFO] [stdout] 10ef8194819928824a38b334a743268b854fbe775c4ec76f76c9fcc3a6c4f3a4