[INFO] fetching crate rat-input 0.13.1...
[INFO] testing rat-input-0.13.1 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151
[INFO] extracting crate rat-input 0.13.1 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate rat-input 0.13.1 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rat-input 0.13.1
[INFO] finished tweaking crates.io crate rat-input 0.13.1
[INFO] tweaked toml for crates.io crate rat-input 0.13.1 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] crate crates.io crate rat-input 0.13.1 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" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust_decimal_macros v1.34.2
[INFO] [stderr]   Downloaded stability v0.2.0
[INFO] [stderr]   Downloaded ratatui v0.26.2
[INFO] [stderr]   Downloaded rat-event v0.12.0
[INFO] [stderr]   Downloaded format_num_pattern v0.9.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2971b43bdaade0b06d1e034e34ef6ec0de18c694ec92c94cc387bf0609b18660
[INFO] running `Command { std: "docker" "start" "-a" "2971b43bdaade0b06d1e034e34ef6ec0de18c694ec92c94cc387bf0609b18660", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2971b43bdaade0b06d1e034e34ef6ec0de18c694ec92c94cc387bf0609b18660", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2971b43bdaade0b06d1e034e34ef6ec0de18c694ec92c94cc387bf0609b18660", kill_on_drop: false }`
[INFO] [stdout] 2971b43bdaade0b06d1e034e34ef6ec0de18c694ec92c94cc387bf0609b18660
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e893dc8917faa66ffe8e4d37c9fd57381b11b30cb179317b9481005afbe9e4c4
[INFO] running `Command { std: "docker" "start" "-a" "e893dc8917faa66ffe8e4d37c9fd57381b11b30cb179317b9481005afbe9e4c4", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling proc-macro2 v1.0.82
[INFO] [stderr]    Compiling rustversion v1.0.16
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling serde v1.0.201
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling rust_decimal v1.35.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling pure-rust-locales v0.8.1
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling castaway v0.2.2
[INFO] [stderr]    Compiling compact_str v0.7.1
[INFO] [stderr]    Compiling syn v2.0.63
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling lru v0.12.3
[INFO] [stderr]    Compiling parking_lot v0.12.2
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling rust_decimal_macros v1.34.2
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling format_num_pattern v0.9.2
[INFO] [stderr]    Compiling strum_macros v0.26.2
[INFO] [stderr]    Compiling stability v0.2.0
[INFO] [stderr]    Compiling strum v0.26.2
[INFO] [stderr]    Compiling ratatui v0.26.2
[INFO] [stderr]    Compiling rat-event v0.12.0
[INFO] [stderr]    Compiling rat-input v0.13.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.19s
[INFO] running `Command { std: "docker" "inspect" "e893dc8917faa66ffe8e4d37c9fd57381b11b30cb179317b9481005afbe9e4c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e893dc8917faa66ffe8e4d37c9fd57381b11b30cb179317b9481005afbe9e4c4", kill_on_drop: false }`
[INFO] [stdout] e893dc8917faa66ffe8e4d37c9fd57381b11b30cb179317b9481005afbe9e4c4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0c354b997bfd0dbe0448c540f7424b195fa8d56a2094422399fa8d620e697ee
[INFO] running `Command { std: "docker" "start" "-a" "c0c354b997bfd0dbe0448c540f7424b195fa8d56a2094422399fa8d620e697ee", kill_on_drop: false }`
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling anyhow v1.0.83
[INFO] [stderr]    Compiling fern v0.6.2
[INFO] [stderr]    Compiling format_num_pattern v0.9.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling ratatui v0.26.2
[INFO] [stderr]    Compiling rat-event v0.12.0
[INFO] [stderr]    Compiling rat-input v0.13.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 6.17s
[INFO] running `Command { std: "docker" "inspect" "c0c354b997bfd0dbe0448c540f7424b195fa8d56a2094422399fa8d620e697ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0c354b997bfd0dbe0448c540f7424b195fa8d56a2094422399fa8d620e697ee", kill_on_drop: false }`
[INFO] [stdout] c0c354b997bfd0dbe0448c540f7424b195fa8d56a2094422399fa8d620e697ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 1a7d2f7132d971cdc261195ad4f582a10e1651d58f41a14a6e7a308e34e05585
[INFO] running `Command { std: "docker" "start" "-a" "1a7d2f7132d971cdc261195ad4f582a10e1651d58f41a14a6e7a308e34e05585", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rat_input-9019785b6d4d5f55)
[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 rat_input
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/masked_input.rs - masked_input (line 37) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/masked_input.rs - masked_input (line 37) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect`
[INFO] [stdout]   --> src/masked_input.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | let area = Rect::default();
[INFO] [stdout]    |            ^^^^ use of undeclared type `Rect`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use ratatui::prelude::Rect;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Buffer`
[INFO] [stdout]   --> src/masked_input.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | let buf = Buffer::default();
[INFO] [stdout]    |           ^^^^^^ use of undeclared type `Buffer`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use ratatui::prelude::Buffer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `frame` in this scope
[INFO] [stdout]   --> src/masked_input.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     frame.set_cursor(date_state.cursor.x, date_state.cursor.y);
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `frame` in this scope
[INFO] [stdout]   --> src/masked_input.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     frame.set_cursor(creditcard_state.cursor.x, creditcard_state.cursor.y);
[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/masked_input.rs:48:34
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_masked_input_rs_37_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 14 | date_state.set_mask("99/99/9999")?;
[INFO] [stdout]    |                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::fmt::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `x` on type `Option<ratatui::layout::Position>`
[INFO] [stdout]   --> src/masked_input.rs:54:40
[INFO] [stdout]    |
[INFO] [stdout] 20 |     frame.set_cursor(date_state.cursor.x, date_state.cursor.y);
[INFO] [stdout]    |                                        ^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 20 |     frame.set_cursor(date_state.cursor.unwrap().x, date_state.cursor.y);
[INFO] [stdout]    |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `y` on type `Option<ratatui::layout::Position>`
[INFO] [stdout]   --> src/masked_input.rs:54:61
[INFO] [stdout]    |
[INFO] [stdout] 20 |     frame.set_cursor(date_state.cursor.x, date_state.cursor.y);
[INFO] [stdout]    |                                                             ^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 20 |     frame.set_cursor(date_state.cursor.x, date_state.cursor.unwrap().y);
[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/masked_input.rs:58:49
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_masked_input_rs_37_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 24 | creditcard_state.set_mask("dddd dddd dddd dddd")?;
[INFO] [stdout]    |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::fmt::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `x` on type `Option<ratatui::layout::Position>`
[INFO] [stdout]   --> src/masked_input.rs:63:46
[INFO] [stdout]    |
[INFO] [stdout] 29 |     frame.set_cursor(creditcard_state.cursor.x, creditcard_state.cursor.y);
[INFO] [stdout]    |                                              ^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 29 |     frame.set_cursor(creditcard_state.cursor.unwrap().x, creditcard_state.cursor.y);
[INFO] [stdout]    |                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `y` on type `Option<ratatui::layout::Position>`
[INFO] [stdout]   --> src/masked_input.rs:63:73
[INFO] [stdout]    |
[INFO] [stdout] 29 |     frame.set_cursor(creditcard_state.cursor.x, creditcard_state.cursor.y);
[INFO] [stdout]    |                                                                         ^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 29 |     frame.set_cursor(creditcard_state.cursor.x, creditcard_state.cursor.unwrap().y);
[INFO] [stdout]    |                                                                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0609.
[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/masked_input.rs - masked_input (line 37)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "1a7d2f7132d971cdc261195ad4f582a10e1651d58f41a14a6e7a308e34e05585", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1a7d2f7132d971cdc261195ad4f582a10e1651d58f41a14a6e7a308e34e05585", kill_on_drop: false }`
[INFO] [stdout] 1a7d2f7132d971cdc261195ad4f582a10e1651d58f41a14a6e7a308e34e05585
[INFO] testing rat-input-0.13.1 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151
[INFO] extracting crate rat-input 0.13.1 into /workspace/builds/worker-7-tc2/source
[INFO] validating manifest of crates.io crate rat-input 0.13.1 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rat-input 0.13.1
[INFO] finished tweaking crates.io crate rat-input 0.13.1
[INFO] tweaked toml for crates.io crate rat-input 0.13.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate crates.io crate rat-input 0.13.1 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" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8c37d901026fafc2dfc0dddee37eeb372bbcfd159b4bd58e7a43c273734983c6
[INFO] running `Command { std: "docker" "start" "-a" "8c37d901026fafc2dfc0dddee37eeb372bbcfd159b4bd58e7a43c273734983c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8c37d901026fafc2dfc0dddee37eeb372bbcfd159b4bd58e7a43c273734983c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c37d901026fafc2dfc0dddee37eeb372bbcfd159b4bd58e7a43c273734983c6", kill_on_drop: false }`
[INFO] [stdout] 8c37d901026fafc2dfc0dddee37eeb372bbcfd159b4bd58e7a43c273734983c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9d33cc41513dbf6573e5c23a409d77ccc19561922b379ee2e93f482e9d29633
[INFO] running `Command { std: "docker" "start" "-a" "e9d33cc41513dbf6573e5c23a409d77ccc19561922b379ee2e93f482e9d29633", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.154
[INFO] [stderr]    Compiling proc-macro2 v1.0.82
[INFO] [stderr]    Compiling rustversion v1.0.16
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zerocopy v0.7.34
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling serde v1.0.201
[INFO] [stderr]    Compiling allocator-api2 v0.2.18
[INFO] [stderr]    Compiling rust_decimal v1.35.0
[INFO] [stderr]    Compiling either v1.11.0
[INFO] [stderr]    Compiling arrayvec v0.7.4
[INFO] [stderr]    Compiling bitflags v2.5.0
[INFO] [stderr]    Compiling indoc v2.0.5
[INFO] [stderr]    Compiling unicode-segmentation v1.11.0
[INFO] [stderr]    Compiling cassowary v0.3.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling pure-rust-locales v0.8.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]    Compiling syn v2.0.63
[INFO] [stderr]    Compiling castaway v0.2.2
[INFO] [stderr]    Compiling signal-hook-registry v1.4.2
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling compact_str v0.7.1
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling parking_lot v0.12.2
[INFO] [stderr]    Compiling lru v0.12.3
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling rust_decimal_macros v1.34.2
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling format_num_pattern v0.9.2
[INFO] [stderr]    Compiling strum_macros v0.26.2
[INFO] [stderr]    Compiling stability v0.2.0
[INFO] [stderr]    Compiling strum v0.26.2
[INFO] [stderr]    Compiling ratatui v0.26.2
[INFO] [stderr]    Compiling rat-event v0.12.0
[INFO] [stderr]    Compiling rat-input v0.13.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.66s
[INFO] running `Command { std: "docker" "inspect" "e9d33cc41513dbf6573e5c23a409d77ccc19561922b379ee2e93f482e9d29633", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9d33cc41513dbf6573e5c23a409d77ccc19561922b379ee2e93f482e9d29633", kill_on_drop: false }`
[INFO] [stdout] e9d33cc41513dbf6573e5c23a409d77ccc19561922b379ee2e93f482e9d29633
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 29fd51bf87931d4af42f8d721c41fa43d0c523b654cb2172edd3eb759e5f45cf
[INFO] running `Command { std: "docker" "start" "-a" "29fd51bf87931d4af42f8d721c41fa43d0c523b654cb2172edd3eb759e5f45cf", kill_on_drop: false }`
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling anyhow v1.0.83
[INFO] [stderr]    Compiling fern v0.6.2
[INFO] [stderr]    Compiling format_num_pattern v0.9.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling signal-hook-mio v0.2.3
[INFO] [stderr]    Compiling crossterm v0.27.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling ratatui v0.26.2
[INFO] [stderr]    Compiling rat-event v0.12.0
[INFO] [stderr]    Compiling rat-input v0.13.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.14s
[INFO] running `Command { std: "docker" "inspect" "29fd51bf87931d4af42f8d721c41fa43d0c523b654cb2172edd3eb759e5f45cf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "29fd51bf87931d4af42f8d721c41fa43d0c523b654cb2172edd3eb759e5f45cf", kill_on_drop: false }`
[INFO] [stdout] 29fd51bf87931d4af42f8d721c41fa43d0c523b654cb2172edd3eb759e5f45cf
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] ba411fcf2f94e825226e78361bc2726193742990ae753a018752a48f1c8a9b10
[INFO] running `Command { std: "docker" "start" "-a" "ba411fcf2f94e825226e78361bc2726193742990ae753a018752a48f1c8a9b10", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rat_input-9019785b6d4d5f55)
[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 rat_input
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/masked_input.rs - masked_input (line 37) - compile ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/masked_input.rs - masked_input (line 37) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Rect`
[INFO] [stdout]   --> src/masked_input.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | let area = Rect::default();
[INFO] [stdout]    |            ^^^^ use of undeclared type `Rect`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use ratatui::prelude::Rect;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Buffer`
[INFO] [stdout]   --> src/masked_input.rs:45:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | let buf = Buffer::default();
[INFO] [stdout]    |           ^^^^^^ use of undeclared type `Buffer`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]    |
[INFO] [stdout] 2  + use ratatui::prelude::Buffer;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `frame` in this scope
[INFO] [stdout]   --> src/masked_input.rs:54:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     frame.set_cursor(date_state.cursor.x, date_state.cursor.y);
[INFO] [stdout]    |     ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `frame` in this scope
[INFO] [stdout]   --> src/masked_input.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     frame.set_cursor(creditcard_state.cursor.x, creditcard_state.cursor.y);
[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/masked_input.rs:48:34
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_masked_input_rs_37_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 14 | date_state.set_mask("99/99/9999")?;
[INFO] [stdout]    |                                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::fmt::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `x` on type `Option<ratatui::layout::Position>`
[INFO] [stdout]   --> src/masked_input.rs:54:40
[INFO] [stdout]    |
[INFO] [stdout] 20 |     frame.set_cursor(date_state.cursor.x, date_state.cursor.y);
[INFO] [stdout]    |                                        ^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 20 |     frame.set_cursor(date_state.cursor.unwrap().x, date_state.cursor.y);
[INFO] [stdout]    |                                        +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `y` on type `Option<ratatui::layout::Position>`
[INFO] [stdout]   --> src/masked_input.rs:54:61
[INFO] [stdout]    |
[INFO] [stdout] 20 |     frame.set_cursor(date_state.cursor.x, date_state.cursor.y);
[INFO] [stdout]    |                                                             ^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 20 |     frame.set_cursor(date_state.cursor.x, date_state.cursor.unwrap().y);
[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/masked_input.rs:58:49
[INFO] [stdout]    |
[INFO] [stdout] 4  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_masked_input_rs_37_0() {
[INFO] [stdout]    |                                      ------------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 24 | creditcard_state.set_mask("dddd dddd dddd dddd")?;
[INFO] [stdout]    |                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, std::fmt::Error>>` is not implemented for `()`
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `x` on type `Option<ratatui::layout::Position>`
[INFO] [stdout]   --> src/masked_input.rs:63:46
[INFO] [stdout]    |
[INFO] [stdout] 29 |     frame.set_cursor(creditcard_state.cursor.x, creditcard_state.cursor.y);
[INFO] [stdout]    |                                              ^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 29 |     frame.set_cursor(creditcard_state.cursor.unwrap().x, creditcard_state.cursor.y);
[INFO] [stdout]    |                                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `y` on type `Option<ratatui::layout::Position>`
[INFO] [stdout]   --> src/masked_input.rs:63:73
[INFO] [stdout]    |
[INFO] [stdout] 29 |     frame.set_cursor(creditcard_state.cursor.x, creditcard_state.cursor.y);
[INFO] [stdout]    |                                                                         ^ unknown field
[INFO] [stdout]    |
[INFO] [stdout] help: one of the expressions' fields has a field of the same name
[INFO] [stdout]    |
[INFO] [stdout] 29 |     frame.set_cursor(creditcard_state.cursor.x, creditcard_state.cursor.unwrap().y);
[INFO] [stdout]    |                                                                         +++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433, E0609.
[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/masked_input.rs - masked_input (line 37)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "ba411fcf2f94e825226e78361bc2726193742990ae753a018752a48f1c8a9b10", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba411fcf2f94e825226e78361bc2726193742990ae753a018752a48f1c8a9b10", kill_on_drop: false }`
[INFO] [stdout] ba411fcf2f94e825226e78361bc2726193742990ae753a018752a48f1c8a9b10
