[INFO] fetching crate interm 0.1.1...
[INFO] testing interm-0.1.1 against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] extracting crate interm 0.1.1 into /workspace/builds/worker-0-tc2/source
[INFO] started tweaking crates.io crate interm 0.1.1
[INFO] removed 1 missing examples
[INFO] finished tweaking crates.io crate interm 0.1.1
[INFO] tweaked toml for crates.io crate interm 0.1.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate interm 0.1.1 on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate interm 0.1.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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b34e908e9de47d8b5025f1af2ee2ab3375ab4a67bcb20c66580cd234d8bb7c09
[INFO] running `Command { std: "docker" "start" "-a" "b34e908e9de47d8b5025f1af2ee2ab3375ab4a67bcb20c66580cd234d8bb7c09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b34e908e9de47d8b5025f1af2ee2ab3375ab4a67bcb20c66580cd234d8bb7c09", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b34e908e9de47d8b5025f1af2ee2ab3375ab4a67bcb20c66580cd234d8bb7c09", kill_on_drop: false }`
[INFO] [stdout] b34e908e9de47d8b5025f1af2ee2ab3375ab4a67bcb20c66580cd234d8bb7c09
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 5784474d675dabb3264cc4c0565044205a4e6f2a9952ba8cccce57a2b13c838d
[INFO] running `Command { std: "docker" "start" "-a" "5784474d675dabb3264cc4c0565044205a4e6f2a9952ba8cccce57a2b13c838d", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling interm v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.27s
[INFO] running `Command { std: "docker" "inspect" "5784474d675dabb3264cc4c0565044205a4e6f2a9952ba8cccce57a2b13c838d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5784474d675dabb3264cc4c0565044205a4e6f2a9952ba8cccce57a2b13c838d", kill_on_drop: false }`
[INFO] [stdout] 5784474d675dabb3264cc4c0565044205a4e6f2a9952ba8cccce57a2b13c838d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] c87872f764177e74249900341161558cf15eccf142fb19dfb55a7353c834ba8c
[INFO] running `Command { std: "docker" "start" "-a" "c87872f764177e74249900341161558cf15eccf142fb19dfb55a7353c834ba8c", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]    Compiling interm v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] running `Command { std: "docker" "inspect" "c87872f764177e74249900341161558cf15eccf142fb19dfb55a7353c834ba8c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c87872f764177e74249900341161558cf15eccf142fb19dfb55a7353c834ba8c", kill_on_drop: false }`
[INFO] [stdout] c87872f764177e74249900341161558cf15eccf142fb19dfb55a7353c834ba8c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] b4431d9c9f13dd2f1960c4967bde119867bc74356be7f9f705a6f93e5055736c
[INFO] running `Command { std: "docker" "start" "-a" "b4431d9c9f13dd2f1960c4967bde119867bc74356be7f9f705a6f93e5055736c", kill_on_drop: false }`
[INFO] [stderr] warning: only one of `license` or `license-file` is necessary
[INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression.
[INFO] [stderr] `license-file` should be used if the package uses a non-standard license.
[INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information.
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/interm/b3c6e362f58ad16c/deps/interm-b3c6e362f58ad16c)
[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 interm
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test src/block.rs - block::Block::clear_lines (line 231) ... FAILED
[INFO] [stdout] test src/block.rs - block::Block::show_cursor (line 282) ... FAILED
[INFO] [stdout] test src/block.rs - block::Block::hide_cursor (line 259) ... FAILED
[INFO] [stdout] test src/block.rs - block::Block::goto_idx (line 129) ... FAILED
[INFO] [stdout] test src/block.rs - block::Block::update_element (line 79) ... FAILED
[INFO] [stdout] test src/block.rs - block::Block::clear_line (line 208) ... FAILED
[INFO] [stdout] test src/interactive/lines.rs - interactive::lines::InteractiveLine::update_content (line 44) ... ok
[INFO] [stdout] test src/block.rs - block::Block::new (line 22) ... ok
[INFO] [stdout] test src/block.rs - block::Block::goto_element (line 167) ... FAILED
[INFO] [stdout] test src/interactive/lines.rs - interactive::lines::InteractiveLine::new (line 19) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/block.rs - block::Block::clear_lines (line 231) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/block.rs:235:42
[INFO] [stdout]     |
[INFO] [stdout] 235 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 235 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 235 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 235 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 235 + let mut elements: Vec<InteractiveLine> = ..=;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/block.rs:235:42
[INFO] [stdout]     |
[INFO] [stdout] 235 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 235 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 235 + let mut elements: Vec<InteractiveLine> = ..;
[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/block.rs:238:20
[INFO] [stdout]     |
[INFO] [stdout] 232 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_231_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 238 | block.clear_lines()?;
[INFO] [stdout]     |                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 232 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_231_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 233 | use interm::{interactive::Line as InteractiveLine, Block};
[INFO] [stdout] ...
[INFO] [stdout] 238 | block.clear_lines()?;
[INFO] [stdout] 239 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/block.rs - block::Block::show_cursor (line 282) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/block.rs:286:42
[INFO] [stdout]     |
[INFO] [stdout] 286 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 286 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 286 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 286 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 286 + let mut elements: Vec<InteractiveLine> = ..=;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/block.rs:286:42
[INFO] [stdout]     |
[INFO] [stdout] 286 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 286 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 286 + let mut elements: Vec<InteractiveLine> = ..;
[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/block.rs:289:20
[INFO] [stdout]     |
[INFO] [stdout] 283 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_282_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 289 | block.show_cursor()?;
[INFO] [stdout]     |                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 283 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_282_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 284 | use interm::{interactive::Line as InteractiveLine, Block};
[INFO] [stdout] ...
[INFO] [stdout] 289 | block.show_cursor()?;
[INFO] [stdout] 290 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/block.rs - block::Block::hide_cursor (line 259) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/block.rs:263:42
[INFO] [stdout]     |
[INFO] [stdout] 263 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 263 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 263 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 263 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 263 + let mut elements: Vec<InteractiveLine> = ..=;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/block.rs:263:42
[INFO] [stdout]     |
[INFO] [stdout] 263 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 263 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 263 + let mut elements: Vec<InteractiveLine> = ..;
[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/block.rs:266:20
[INFO] [stdout]     |
[INFO] [stdout] 260 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_259_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 266 | block.hide_cursor()?;
[INFO] [stdout]     |                    ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 260 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_259_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 261 | use interm::{interactive::Line as InteractiveLine, Block};
[INFO] [stdout] ...
[INFO] [stdout] 266 | block.hide_cursor()?;
[INFO] [stdout] 267 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/block.rs - block::Block::goto_idx (line 129) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/block.rs:133:42
[INFO] [stdout]     |
[INFO] [stdout] 133 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 133 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 133 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 133 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 133 + let mut elements: Vec<InteractiveLine> = ..=;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/block.rs:133:42
[INFO] [stdout]     |
[INFO] [stdout] 133 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 133 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 133 + let mut elements: Vec<InteractiveLine> = ..;
[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/block.rs:136:18
[INFO] [stdout]     |
[INFO] [stdout] 130 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_129_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 136 | block.goto_idx(0)?;
[INFO] [stdout]     |                  ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 130 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_129_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 131 | use interm::{interactive::Line as InteractiveLine, Block};
[INFO] [stdout] ...
[INFO] [stdout] 136 | block.goto_idx(0)?;
[INFO] [stdout] 137 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/block.rs - block::Block::update_element (line 79) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/block.rs:83:42
[INFO] [stdout]    |
[INFO] [stdout] 83 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]    |                                          ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 83 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 83 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]    |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 83 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 83 + let mut elements: Vec<InteractiveLine> = ..=;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/block.rs:83:42
[INFO] [stdout]    |
[INFO] [stdout] 83 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]    |                                          ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout] 83 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 83 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0586`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/block.rs - block::Block::clear_line (line 208) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/block.rs:212:42
[INFO] [stdout]     |
[INFO] [stdout] 212 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 212 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 212 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 212 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 212 + let mut elements: Vec<InteractiveLine> = ..=;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/block.rs:212:42
[INFO] [stdout]     |
[INFO] [stdout] 212 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 212 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 212 + let mut elements: Vec<InteractiveLine> = ..;
[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/block.rs:215:19
[INFO] [stdout]     |
[INFO] [stdout] 209 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_208_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 215 | block.clear_line()?;
[INFO] [stdout]     |                   ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 209 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_208_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 210 | use interm::{interactive::Line as InteractiveLine, Block};
[INFO] [stdout] ...
[INFO] [stdout] 215 | block.clear_line()?;
[INFO] [stdout] 216 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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/block.rs - block::Block::goto_element (line 167) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]    --> src/block.rs:171:42
[INFO] [stdout]     |
[INFO] [stdout] 171 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]     |
[INFO] [stdout] 171 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 171 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]     |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]     |
[INFO] [stdout] 171 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 171 + let mut elements: Vec<InteractiveLine> = ..=;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]    --> src/block.rs:171:42
[INFO] [stdout]     |
[INFO] [stdout] 171 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]     |                                          ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] help: use `..` instead
[INFO] [stdout]     |
[INFO] [stdout] 171 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 171 + let mut elements: Vec<InteractiveLine> = ..;
[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/block.rs:175:25
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_167_0() {
[INFO] [stdout]     |                                      ------------------------------------- this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 175 | block.goto_element(elem)?;
[INFO] [stdout]     |                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout]     |
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 168 ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_167_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 169 | use interm::{interactive::Line as InteractiveLine, Block};
[INFO] [stdout] ...
[INFO] [stdout] 175 | block.goto_element(elem)?;
[INFO] [stdout] 176 +     Ok(())
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 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] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/block.rs - block::Block::clear_line (line 208)
[INFO] [stdout]     src/block.rs - block::Block::clear_lines (line 231)
[INFO] [stdout]     src/block.rs - block::Block::goto_element (line 167)
[INFO] [stdout]     src/block.rs - block::Block::goto_idx (line 129)
[INFO] [stdout]     src/block.rs - block::Block::hide_cursor (line 259)
[INFO] [stdout]     src/block.rs - block::Block::show_cursor (line 282)
[INFO] [stdout]     src/block.rs - block::Block::update_element (line 79)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.41s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "b4431d9c9f13dd2f1960c4967bde119867bc74356be7f9f705a6f93e5055736c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4431d9c9f13dd2f1960c4967bde119867bc74356be7f9f705a6f93e5055736c", kill_on_drop: false }`
[INFO] [stdout] b4431d9c9f13dd2f1960c4967bde119867bc74356be7f9f705a6f93e5055736c
