[INFO] fetching crate tui-textarea 0.2.2...
[INFO] testing tui-textarea-0.2.2 against 1.73.0 for beta-1.74-1
[INFO] extracting crate tui-textarea 0.2.2 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate tui-textarea 0.2.2 on toolchain 1.73.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.73.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate tui-textarea 0.2.2
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate tui-textarea 0.2.2
[INFO] tweaked toml for crates.io crate tui-textarea 0.2.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate crates.io crate tui-textarea 0.2.2 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" "+1.73.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ratatui v0.23.0
[INFO] [stderr]   Downloaded crossterm v0.27.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 70bf134e62c3c77e88e8706635465919704ba807ae3fce960bf01b7a5db08a29
[INFO] running `Command { std: "docker" "start" "-a" "70bf134e62c3c77e88e8706635465919704ba807ae3fce960bf01b7a5db08a29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "70bf134e62c3c77e88e8706635465919704ba807ae3fce960bf01b7a5db08a29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70bf134e62c3c77e88e8706635465919704ba807ae3fce960bf01b7a5db08a29", kill_on_drop: false }`
[INFO] [stdout] 70bf134e62c3c77e88e8706635465919704ba807ae3fce960bf01b7a5db08a29
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34d4969f6628bb61318d551e678d176796e79dec475e103d176941dc3026d86a
[INFO] running `Command { std: "docker" "start" "-a" "34d4969f6628bb61318d551e678d176796e79dec475e103d176941dc3026d86a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling parking_lot_core v0.9.8
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling lock_api v0.4.10
[INFO] [stderr]    Compiling smallvec v1.11.1
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling unicode-segmentation v1.10.1
[INFO] [stderr]    Compiling unicode-width v0.1.11
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossterm v0.25.0
[INFO] [stderr]    Compiling tui v0.19.0
[INFO] [stderr]    Compiling tui-textarea v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.40s
[INFO] running `Command { std: "docker" "inspect" "34d4969f6628bb61318d551e678d176796e79dec475e103d176941dc3026d86a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34d4969f6628bb61318d551e678d176796e79dec475e103d176941dc3026d86a", kill_on_drop: false }`
[INFO] [stdout] 34d4969f6628bb61318d551e678d176796e79dec475e103d176941dc3026d86a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 77bb4238b45cb25ce5c92be4478f53b0bff08b8d4e39fa3614a3889567d754d8
[INFO] running `Command { std: "docker" "start" "-a" "77bb4238b45cb25ce5c92be4478f53b0bff08b8d4e39fa3614a3889567d754d8", kill_on_drop: false }`
[INFO] [stderr]    Compiling tui-textarea v0.2.2 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.67s
[INFO] running `Command { std: "docker" "inspect" "77bb4238b45cb25ce5c92be4478f53b0bff08b8d4e39fa3614a3889567d754d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "77bb4238b45cb25ce5c92be4478f53b0bff08b8d4e39fa3614a3889567d754d8", kill_on_drop: false }`
[INFO] [stdout] 77bb4238b45cb25ce5c92be4478f53b0bff08b8d4e39fa3614a3889567d754d8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+1.73.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ed4820484200b4af36f039c97af6b9ef9aded950fea7181317c4030b0081d588
[INFO] running `Command { std: "docker" "start" "-a" "ed4820484200b4af36f039c97af6b9ef9aded950fea7181317c4030b0081d588", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.02s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/tui_textarea-c45d5712b341dab2)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test scroll::tests::delta ... ok
[INFO] [stdout] test cursor::tests::in_viewport ... ok
[INFO] [stdout] test textarea::tests::scroll ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests tui-textarea
[INFO] [stdout] 
[INFO] [stdout] running 90 tests
[INFO] [stdout] test src/input.rs - input::Input (line 46) - compile ... ok
[INFO] [stdout] test src/lib.rs - (line 179) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 262) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 268) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 276) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 292) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 301) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 308) ... FAILED
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::Bottom (line 98) ... ok
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::WordBack (line 124) ... ok
[INFO] [stdout] test src/lib.rs - (line 315) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 326) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 339) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 348) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 359) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 368) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 374) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 390) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 422) ... FAILED
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::Back (line 28) ... ok
[INFO] [stdout] test src/lib.rs - (line 538) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 493) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 586) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 567) ... FAILED
[INFO] [stdout] test src/input.rs - input::Input (line 64) ... ok
[INFO] [stdout] test src/lib.rs - (line 607) ... FAILED
[INFO] [stdout] test src/lib.rs - (line 628) ... FAILED
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::Up (line 40) ... ok
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::WordForward (line 110) ... ok
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::Top (line 86) ... ok
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::End (line 76) ... ok
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::Forward (line 15) ... ok
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::Jump (line 182) ... ok
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::Head (line 64) ... ok
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::InViewport (line 201) ... ok
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::ParagraphForward (line 139) ... ok
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::ParagraphBack (line 157) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a> (line 101) - compile ... ok
[INFO] [stdout] test src/cursor.rs - cursor::CursorMove::Down (line 52) ... ok
[INFO] [stdout] test src/scroll.rs - scroll::Scrolling::Delta (line 15) ... ok
[INFO] [stdout] test src/scroll.rs - scroll::Scrolling::HalfPageUp (line 123) ... ok
[INFO] [stdout] test src/scroll.rs - scroll::Scrolling::HalfPageDown (line 97) ... ok
[INFO] [stdout] test src/scroll.rs - scroll::Scrolling::PageDown (line 41) ... ok
[INFO] [stdout] test src/scroll.rs - scroll::Scrolling::PageUp (line 67) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::input (line 173) ... ignored
[INFO] [stdout] test src/textarea.rs - textarea::TextArea (line 32) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a> (line 71) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::alignment (line 1402) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a> (line 119) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::delete_next_word (line 887) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::delete_newline (line 737) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::delete_next_char (line 792) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::delete_line_by_head (line 833) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::delete_line_by_end (line 812) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::delete_char (line 764) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::cursor (line 1367) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::delete_str (line 651) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::delete_word (line 858) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::hard_tab_indent (line 1135) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::indent (line 1149) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::insert_char (line 592) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::insert_newline (line 710) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::insert_str (line 615) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::into_lines (line 1351) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::paste (line 918) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::move_cursor (line 934) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::lines (line 1331) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::placeholder_style (line 1290) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::is_empty (line 1415) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::new (line 135) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::insert_tab (line 688) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::placeholder_text (line 1278) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::redo (line 971) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::remove_block (line 1075) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::widget (line 1013) - compile ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::remove_line_number (line 1222) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::set_alignment (line 1385) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::scroll (line 1642) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::set_block (line 1061) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::set_cursor_style (line 1309) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::set_line_number_style (line 1205) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::set_placeholder_style (line 1260) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::set_cursor_line_style (line 1180) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::undo (line 951) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::set_hard_tab_indent (line 1121) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::set_placeholder_text (line 1244) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::set_style (line 1042) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::set_tab_length (line 1096) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::set_yank_text (line 1444) ... ok
[INFO] [stdout] test src/textarea.rs - textarea::TextArea<'a>::yank_text (line 1430) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 179) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/lib.rs:184:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut term = tui::Terminal::new(...);
[INFO] [stdout]   |                                   ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut term = tui::Terminal::new(..);
[INFO] [stdout]   |                                   ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut term = tui::Terminal::new(..=);
[INFO] [stdout]   |                                   ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/lib.rs:184:35
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut term = tui::Terminal::new(...);
[INFO] [stdout]   |                                   ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:193:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let rect = ...;
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let rect = ..;
[INFO] [stdout]    |                    ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let rect = ..=;
[INFO] [stdout]    |                    ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:193:20
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let rect = ...;
[INFO] [stdout]    |                    ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `KeyCode`
[INFO] [stdout]   --> src/lib.rs:202:24
[INFO] [stdout]    |
[INFO] [stdout] 26 |         if key.code == KeyCode::Esc {
[INFO] [stdout]    |                        ^^^^^^^ use of undeclared type `KeyCode`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this enum
[INFO] [stdout]    |
[INFO] [stdout] 2  + use crossterm::event::KeyCode;
[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:200:36
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_179_0() {
[INFO] [stdout]    |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 24 |     if let Event::Key(key) = read()? {
[INFO] [stdout]    |                                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0433, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 262) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextArea`
[INFO] [stdout]  --> src/lib.rs:263:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut textarea = TextArea::default();
[INFO] [stdout]   |                    ^^^^^^^^ use of undeclared type `TextArea`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tui_textarea::TextArea;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/lib.rs - (line 268) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/lib.rs:269:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut lines: Vec<String> = ...;
[INFO] [stdout]   |                              ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut lines: Vec<String> = ..;
[INFO] [stdout]   |                              ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut lines: Vec<String> = ..=;
[INFO] [stdout]   |                              ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/lib.rs:269:30
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut lines: Vec<String> = ...;
[INFO] [stdout]   |                              ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextArea`
[INFO] [stdout]  --> src/lib.rs:270:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut textarea = TextArea::new(lines);
[INFO] [stdout]   |                    ^^^^^^^^ use of undeclared type `TextArea`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tui_textarea::TextArea;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 276) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:285:24
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut text: String = ...;
[INFO] [stdout]    |                        ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut text: String = ..;
[INFO] [stdout]    |                        ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut text: String = ..=;
[INFO] [stdout]    |                        ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:285:24
[INFO] [stdout]    |
[INFO] [stdout] 11 | let mut text: String = ...;
[INFO] [stdout]    |                        ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextArea`
[INFO] [stdout]  --> src/lib.rs:278:20
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut textarea = TextArea::from([
[INFO] [stdout]   |                    ^^^^^^^^ use of undeclared type `TextArea`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 3 + use tui_textarea::TextArea;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextARea`
[INFO] [stdout]   --> src/lib.rs:286:20
[INFO] [stdout]    |
[INFO] [stdout] 12 | let mut textarea = TextARea::from(text.lines());
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `TextARea`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 292) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `fs`
[INFO] [stdout]  --> src/lib.rs:293:12
[INFO] [stdout]   |
[INFO] [stdout] 3 | let file = fs::File::open(path)?;
[INFO] [stdout]   |            ^^ use of undeclared crate or module `fs`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::fs::File;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `File`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 3 - let file = fs::File::open(path)?;
[INFO] [stdout] 3 + let file = File::open(path)?;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected value, found built-in attribute `path`
[INFO] [stdout]  --> src/lib.rs:293:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | let file = fs::File::open(path)?;
[INFO] [stdout]   |                           ^^^^ not a value
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `TextArea` in this scope
[INFO] [stdout]  --> src/lib.rs:294:19
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut textarea: TextArea = io::BufReader::new(file).lines().collect::<io::Result<_>>()?;
[INFO] [stdout]   |                   ^^^^^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tui_textarea::TextArea;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]  --> src/lib.rs:294:30
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut textarea: TextArea = io::BufReader::new(file).lines().collect::<io::Result<_>>()?;
[INFO] [stdout]   |                              ^^ use of undeclared crate or module `io`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::io::BufReader;
[INFO] [stdout]   |
[INFO] [stdout] help: if you import `BufReader`, refer to it directly
[INFO] [stdout]   |
[INFO] [stdout] 4 - let mut textarea: TextArea = io::BufReader::new(file).lines().collect::<io::Result<_>>()?;
[INFO] [stdout] 4 + let mut textarea: TextArea = BufReader::new(file).lines().collect::<io::Result<_>>()?;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io`
[INFO] [stdout]  --> src/lib.rs:294:73
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut textarea: TextArea = io::BufReader::new(file).lines().collect::<io::Result<_>>()?;
[INFO] [stdout]   |                                                                         ^^ use of undeclared crate or module `io`
[INFO] [stdout]   |
[INFO] [stdout] help: a builtin type with a similar name exists
[INFO] [stdout]   |
[INFO] [stdout] 4 | let mut textarea: TextArea = io::BufReader::new(file).lines().collect::<i8::Result<_>>()?;
[INFO] [stdout]   |                                                                         ~~
[INFO] [stdout] help: consider importing this module
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::io;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 301) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]  --> src/lib.rs:302:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | let text: String = textarea.lines().join("\n");
[INFO] [stdout]   |                    ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 308) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]  --> src/lib.rs:309:26
[INFO] [stdout]   |
[INFO] [stdout] 3 | let lines: Vec<String> = textarea.into_lines();
[INFO] [stdout]   |                          ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 315) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextArea`
[INFO] [stdout]  --> src/lib.rs:316:16
[INFO] [stdout]   |
[INFO] [stdout] 3 | let textarea = TextArea::default();
[INFO] [stdout]   |                ^^^^^^^^ use of undeclared type `TextArea`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 2 + use tui_textarea::TextArea;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 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/lib.rs - (line 326) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]  --> src/lib.rs:330:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | textarea.set_line_number_style(style);
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 339) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]  --> src/lib.rs:343:1
[INFO] [stdout]   |
[INFO] [stdout] 6 | textarea.set_line_number_style(style);
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 348) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]  --> src/lib.rs:351:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | textarea.set_line_number_style(Style::default());
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 359) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]  --> src/lib.rs:360:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | textarea.set_tab_length(2);
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 368) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]  --> src/lib.rs:369:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | textarea.set_max_histories(1000);
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 374) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]  --> src/lib.rs:375:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | textarea.set_max_histories(0);
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 390) stdout ----
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]  --> src/lib.rs:393:1
[INFO] [stdout]   |
[INFO] [stdout] 5 | textarea.set_search_pattern("(hello|hi)").unwrap();
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]  --> src/lib.rs:395:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | textarea.search_forward(false); // Move cursor to the next match
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]  --> src/lib.rs:396:1
[INFO] [stdout]   |
[INFO] [stdout] 8 | textarea.search_back(false);    // Move cursor to the previous match
[INFO] [stdout]   | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]   --> src/lib.rs:399:1
[INFO] [stdout]    |
[INFO] [stdout] 11 | textarea.set_search_pattern("").unwrap();
[INFO] [stdout]    | ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 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/lib.rs - (line 422) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/lib.rs:427:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | let default_text: &str = ...;
[INFO] [stdout]   |                          ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 | let default_text: &str = ..;
[INFO] [stdout]   |                          ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 | let default_text: &str = ..=;
[INFO] [stdout]   |                          ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/lib.rs:427:26
[INFO] [stdout]   |
[INFO] [stdout] 8 | let default_text: &str = ...;
[INFO] [stdout]   |                          ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TextArea`
[INFO] [stdout]   --> src/lib.rs:429:20
[INFO] [stdout]    |
[INFO] [stdout] 10 | let mut textarea = TextArea::new(vec![default_text]);
[INFO] [stdout]    |                    ^^^^^^^^ use of undeclared type `TextArea`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tui_textarea::TextArea;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `key` in this scope
[INFO] [stdout]   --> src/lib.rs:441:28
[INFO] [stdout]    |
[INFO] [stdout] 22 |             textarea.input(key);
[INFO] [stdout]    |                            ^^^ not found in this scope
[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:437:17
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_422_0() {
[INFO] [stdout]    |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 18 |     match read()?.into() {
[INFO] [stdout]    |                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 538) stdout ----
[INFO] [stdout] error[E0425]: cannot find function `read` in this scope
[INFO] [stdout]  --> src/lib.rs:539:7
[INFO] [stdout]   |
[INFO] [stdout] 3 | match read()?.into() {
[INFO] [stdout]   |       ^^^^ not found in this scope
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]   |
[INFO] [stdout] 2 + use core::ptr::read;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use crossterm::event::read;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::fs::read;
[INFO] [stdout]   |
[INFO] [stdout] 2 + use std::ptr::read;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `textarea` in this scope
[INFO] [stdout]  --> src/lib.rs:542:14
[INFO] [stdout]   |
[INFO] [stdout] 6 |     input => textarea.input_without_shortcuts(input),
[INFO] [stdout]   |              ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 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/lib.rs - (line 493) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/lib.rs:498:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut textarea = ...;
[INFO] [stdout]   |                    ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut textarea = ..;
[INFO] [stdout]   |                    ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut textarea = ..=;
[INFO] [stdout]   |                    ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/lib.rs:498:20
[INFO] [stdout]   |
[INFO] [stdout] 8 | let mut textarea = ...;
[INFO] [stdout]   |                    ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[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:512:37
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_493_0() {
[INFO] [stdout]    |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 22 |         Mode::Normal => match read()?.into() {
[INFO] [stdout]    |                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[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:521:37
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_493_0() {
[INFO] [stdout]    |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 31 |         Mode::Insert => match read()?.into() {
[INFO] [stdout]    |                                     ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 586) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `your_backend`
[INFO] [stdout]  --> src/lib.rs:589:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use your_backend::KeyDown;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of undeclared crate or module `your_backend`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 567) stdout ----
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:579:27
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub fn read_next_key() -> (KeyDown, bool, bool) {
[INFO] [stdout]    |        -------------      ^^^^^^^^^^^^^^^^^^^^^ expected `(KeyDown, bool, bool)`, found `()`
[INFO] [stdout]    |        |
[INFO] [stdout]    |        implicitly returns `()` as its body has no tail or `return` expression
[INFO] [stdout]    |
[INFO] [stdout]    = note:  expected tuple `(KeyDown, bool, bool)`
[INFO] [stdout]            found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 607) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/lib.rs:608:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut textarea = ...;
[INFO] [stdout]   |                    ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut textarea = ..;
[INFO] [stdout]   |                    ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut textarea = ..=;
[INFO] [stdout]   |                    ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]  --> src/lib.rs:608:20
[INFO] [stdout]   |
[INFO] [stdout] 3 | let mut textarea = ...;
[INFO] [stdout]   |                    ^^^ help: use `..` instead
[INFO] [stdout]   |
[INFO] [stdout]   = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `your_backend`
[INFO] [stdout]   --> src/lib.rs:615:15
[INFO] [stdout]    |
[INFO] [stdout] 10 |     if key == your_backend::KeyDown::Esc {
[INFO] [stdout]    |               ^^^^^^^^^^^^ use of undeclared crate or module `your_backend`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `your_backend`
[INFO] [stdout]  --> src/lib.rs:614:28
[INFO] [stdout]   |
[INFO] [stdout] 9 |     let (key, ctrl, alt) = your_backend::read_next_key();
[INFO] [stdout]   |                            ^^^^^^^^^^^^ use of undeclared crate or module `your_backend`
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `keydown_to_input` in this scope
[INFO] [stdout]   --> src/lib.rs:618:20
[INFO] [stdout]    |
[INFO] [stdout] 13 |     textarea.input(keydown_to_input(key, ctrl, alt));
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/lib.rs - (line 628) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/lib.rs:642:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let rects = ...;
[INFO] [stdout]    |                     ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let rects = ..;
[INFO] [stdout]    |                     ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let rects = ..=;
[INFO] [stdout]    |                     ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/lib.rs:642:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |         let rects = ...;
[INFO] [stdout]    |                     ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: `match` arm body without braces
[INFO] [stdout]   --> src/lib.rs:652:58
[INFO] [stdout]    |
[INFO] [stdout] 27 |         Input { key: Key::Char('s'), ctrl: true, .. } => focused = (focused + 1) % 2;
[INFO] [stdout]    |                                                       -- ^^^^^^^^^^^^^^^^^^^^^^^^^^^ this statement is not surrounded by a body
[INFO] [stdout]    |                                                       |
[INFO] [stdout]    |                                                       while parsing the `match` arm starting here
[INFO] [stdout]    |
[INFO] [stdout] help: replace `;` with `,` to end a `match` arm expression
[INFO] [stdout]    |
[INFO] [stdout] 27 |         Input { key: Key::Char('s'), ctrl: true, .. } => focused = (focused + 1) % 2,
[INFO] [stdout]    |                                                                                     ~
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `term` in this scope
[INFO] [stdout]   --> src/lib.rs:641:5
[INFO] [stdout]    |
[INFO] [stdout] 16 |     term.draw(|f| {
[INFO] [stdout]    |     ^^^^ not found in this scope
[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:650:17
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_628_0() {
[INFO] [stdout]    |                                      ----------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 25 |     match read()?.into() {
[INFO] [stdout]    |                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::io::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0586.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 179)
[INFO] [stdout]     src/lib.rs - (line 262)
[INFO] [stdout]     src/lib.rs - (line 268)
[INFO] [stdout]     src/lib.rs - (line 276)
[INFO] [stdout]     src/lib.rs - (line 292)
[INFO] [stdout]     src/lib.rs - (line 301)
[INFO] [stdout]     src/lib.rs - (line 308)
[INFO] [stdout]     src/lib.rs - (line 315)
[INFO] [stdout]     src/lib.rs - (line 326)
[INFO] [stdout]     src/lib.rs - (line 339)
[INFO] [stdout]     src/lib.rs - (line 348)
[INFO] [stdout]     src/lib.rs - (line 359)
[INFO] [stdout]     src/lib.rs - (line 368)
[INFO] [stdout]     src/lib.rs - (line 374)
[INFO] [stdout]     src/lib.rs - (line 390)
[INFO] [stdout]     src/lib.rs - (line 422)
[INFO] [stdout]     src/lib.rs - (line 493)
[INFO] [stdout]     src/lib.rs - (line 538)
[INFO] [stdout]     src/lib.rs - (line 567)
[INFO] [stdout]     src/lib.rs - (line 586)
[INFO] [stdout]     src/lib.rs - (line 607)
[INFO] [stdout]     src/lib.rs - (line 628)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 67 passed; 22 failed; 1 ignored; 0 measured; 0 filtered out; finished in 2.60s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ed4820484200b4af36f039c97af6b9ef9aded950fea7181317c4030b0081d588", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed4820484200b4af36f039c97af6b9ef9aded950fea7181317c4030b0081d588", kill_on_drop: false }`
[INFO] [stdout] ed4820484200b4af36f039c97af6b9ef9aded950fea7181317c4030b0081d588
