[INFO] fetching crate ratatui-template 0.1.1...
[INFO] testing ratatui-template-0.1.1 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[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 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 112 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6a7a8bedd5717166c3f861b4eed08d9fd39d409014b451358e62db6e50a003f4
[INFO] running `Command { std: "docker" "start" "-a" "6a7a8bedd5717166c3f861b4eed08d9fd39d409014b451358e62db6e50a003f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6a7a8bedd5717166c3f861b4eed08d9fd39d409014b451358e62db6e50a003f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a7a8bedd5717166c3f861b4eed08d9fd39d409014b451358e62db6e50a003f4", kill_on_drop: false }`
[INFO] [stdout] 6a7a8bedd5717166c3f861b4eed08d9fd39d409014b451358e62db6e50a003f4
[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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b573111faba57f2acaa6db98eb9668d8e986f1a0bc9ea11e81e870fe85a46ce3
[INFO] running `Command { std: "docker" "start" "-a" "b573111faba57f2acaa6db98eb9668d8e986f1a0bc9ea11e81e870fe85a46ce3", kill_on_drop: false }`
[INFO] [stderr]    Compiling owo-colors v4.2.3
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]    Compiling gimli v0.32.3
[INFO] [stderr]    Compiling signal-hook v0.3.18
[INFO] [stderr]    Compiling color-spantrace v0.3.0
[INFO] [stderr]    Compiling eyre v0.6.12
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling miniz_oxide v0.8.9
[INFO] [stderr]    Compiling rustc-demangle v0.1.26
[INFO] [stderr]    Compiling indenter v0.3.4
[INFO] [stderr]    Compiling lru v0.12.5
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling tracing-error v0.2.1
[INFO] [stderr]    Compiling addr2line v0.25.1
[INFO] [stderr]    Compiling backtrace v0.3.76
[INFO] [stderr]    Compiling color-eyre v0.6.5
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling strum_macros v0.25.3
[INFO] [stderr]    Compiling tokio v1.48.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 futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling ratatui-template v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s
[INFO] running `Command { std: "docker" "inspect" "b573111faba57f2acaa6db98eb9668d8e986f1a0bc9ea11e81e870fe85a46ce3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b573111faba57f2acaa6db98eb9668d8e986f1a0bc9ea11e81e870fe85a46ce3", kill_on_drop: false }`
[INFO] [stdout] b573111faba57f2acaa6db98eb9668d8e986f1a0bc9ea11e81e870fe85a46ce3
[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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3039c06a8bec9c9b6b98f94a683fbd4e06b8a370cd3311a4e333f311e4493fa9
[INFO] running `Command { std: "docker" "start" "-a" "3039c06a8bec9c9b6b98f94a683fbd4e06b8a370cd3311a4e333f311e4493fa9", 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.72s
[INFO] running `Command { std: "docker" "inspect" "3039c06a8bec9c9b6b98f94a683fbd4e06b8a370cd3311a4e333f311e4493fa9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3039c06a8bec9c9b6b98f94a683fbd4e06b8a370cd3311a4e333f311e4493fa9", kill_on_drop: false }`
[INFO] [stdout] 3039c06a8bec9c9b6b98f94a683fbd4e06b8a370cd3311a4e333f311e4493fa9
[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=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 8085f82b9761613d0af5278f517fce029e120c451d1462a290a71e11ef473e71
[INFO] running `Command { std: "docker" "start" "-a" "8085f82b9761613d0af5278f517fce029e120c451d1462a290a71e11ef473e71", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ratatui_template-d32f7fa78d2c1821)
[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_template
[INFO] [stdout] 
[INFO] [stdout] running 9 tests
[INFO] [stdout] test src/lib.rs - Tui::frame_rate (line 123) ... FAILED
[INFO] [stdout] test src/lib.rs - Tui::tick_rate (line 107) ... FAILED
[INFO] [stdout] test src/lib.rs - Tui::next (line 236) ... FAILED
[INFO] [stdout] test src/lib.rs - Tui::mouse (line 146) ... FAILED
[INFO] [stdout] test src/lib.rs - Tui::paste (line 163) ... FAILED
[INFO] [stdout] test src/lib.rs - Tui::mouse (line 139) ... FAILED
[INFO] [stdout] test src/lib.rs - Tui::enter (line 187) ... FAILED
[INFO] [stdout] test src/lib.rs - Tui::paste (line 170) ... 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::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<dyn std::error::Error>> {
[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::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<dyn std::error::Error>> {
[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::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<dyn std::error::Error>> {
[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<dyn std::error::Error>> {
[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] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]    |
[INFO] [stdout] 11 |     if let Some(event) = interface.next() {
[INFO] [stdout]    |            ^^^^^^^^^^^   ---------------- this expression has type `impl Future<Output = Option<Event>>`
[INFO] [stdout]    |            |
[INFO] [stdout]    |            expected future, found `Option<_>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected opaque type `impl Future<Output = Option<Event>>`
[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<dyn std::error::Error>> {
[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::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<dyn std::error::Error>> {
[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<dyn std::error::Error>> {
[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 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<dyn std::error::Error>> {
[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 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<dyn std::error::Error>> {
[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::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<dyn std::error::Error>> {
[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<dyn std::error::Error>> {
[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<dyn std::error::Error>> {
[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 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<dyn std::error::Error>> {
[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<dyn std::error::Error>> {
[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::new (line 87) stdout ----
[INFO] [stdout] Test executable failed (exit status: 101).
[INFO] [stdout] 
[INFO] [stdout] stderr:
[INFO] [stdout] 
[INFO] [stdout] thread 'main' 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:     0x58ff5bef2e12 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x58ff5bef2e12 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x58ff5bef2e12 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x58ff5bef2e12 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha2e7e3a01df69042
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x58ff5bf132a3 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x58ff5bf132a3 - core::fmt::write::h7cb8f63788cd01d2
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x58ff5beeff23 - std::io::default_write_fmt::h92ac9345fd53cc14
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x58ff5beeff23 - std::io::Write::write_fmt::h5ebaf381f8338068
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x58ff5bef2c62 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x58ff5bef3cd6 - std::panicking::default_hook::{{closure}}::h29548987efd832cb
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x58ff5bef3ad9 - std::panicking::default_hook::ha25170a15c643514
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:327:9
[INFO] [stdout]   11:     0x58ff5bef45e2 - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:833:13
[INFO] [stdout]   12:     0x58ff5bef447a - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:706:13
[INFO] [stdout]   13:     0x58ff5bef3309 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   14:     0x58ff5bef410d - __rustc[beb0385846a06d21]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5
[INFO] [stdout]   15:     0x58ff5bf12470 - core::panicking::panic_fmt::ha33fa2ae772efba9
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14
[INFO] [stdout]   16:     0x58ff5bf12816 - core::result::unwrap_failed::hfbbd3c78a73fea3d
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/result.rs:1761:5
[INFO] [stdout]   17:     0x58ff5bea65b2 - core::result::Result<T,E>::expect::hf3ba134eb7223c97
[INFO] [stdout]   18:     0x58ff5bea7bea - rust_out::main::_doctest_main_src_lib_rs_87_0::h3744409c239a2fab
[INFO] [stdout]   19:     0x58ff5bea7ba6 - rust_out::main::h4293891446a396e5
[INFO] [stdout]   20:     0x58ff5bea5563 - core::ops::function::FnOnce::call_once::h1b7f0f4a0fa90646
[INFO] [stdout]   21:     0x58ff5bea5546 - std::sys::backtrace::__rust_begin_short_backtrace::h93ddb45b5142a0f2
[INFO] [stdout]   22:     0x58ff5bea5529 - std::rt::lang_start::{{closure}}::hc7952c01b1103b9a
[INFO] [stdout]   23:     0x58ff5beebbd0 - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hc3929e8466919df6
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:284:21
[INFO] [stdout]   24:     0x58ff5beebbd0 - std::panicking::catch_unwind::do_call::hed30a66745299fca
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40
[INFO] [stdout]   25:     0x58ff5beebbd0 - std::panicking::catch_unwind::hdfb0bc9563518507
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19
[INFO] [stdout]   26:     0x58ff5beebbd0 - std::panic::catch_unwind::hd0a1d748acfba573
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14
[INFO] [stdout]   27:     0x58ff5beebbd0 - std::rt::lang_start_internal::{{closure}}::h0c1845f1b3064b93
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/rt.rs:175:24
[INFO] [stdout]   28:     0x58ff5beebbd0 - std::panicking::catch_unwind::do_call::h1114c52e864472d2
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40
[INFO] [stdout]   29:     0x58ff5beebbd0 - std::panicking::catch_unwind::h91938c6665615bc7
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19
[INFO] [stdout]   30:     0x58ff5beebbd0 - std::panic::catch_unwind::h0c65d4211626564a
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x58ff5beebbd0 - std::rt::lang_start_internal::hc41e58da8618ff02
[INFO] [stdout]                                at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/rt.rs:171:5
[INFO] [stdout]   32:     0x58ff5bea5511 - std::rt::lang_start::hcc2a7507424cf42d
[INFO] [stdout]   33:     0x58ff5bea7c15 - main
[INFO] [stdout]   34:     0x700f946771ca - <unknown>
[INFO] [stdout]   35:     0x700f9467728b - __libc_start_main
[INFO] [stdout]   36:     0x58ff5bea4f35 - _start
[INFO] [stdout]   37:                0x0 - <unknown>
[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.81s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "8085f82b9761613d0af5278f517fce029e120c451d1462a290a71e11ef473e71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8085f82b9761613d0af5278f517fce029e120c451d1462a290a71e11ef473e71", kill_on_drop: false }`
[INFO] [stdout] 8085f82b9761613d0af5278f517fce029e120c451d1462a290a71e11ef473e71
