[INFO] fetching crate interm 0.1.1...
[INFO] testing interm-0.1.1 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759
[INFO] extracting crate interm 0.1.1 into /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate interm 0.1.1 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bbdbc0e003f6c14ef822bc992fdf02625a600c3acc981828f5a718c9b69bc6a0
[INFO] running `Command { std: "docker" "start" "-a" "bbdbc0e003f6c14ef822bc992fdf02625a600c3acc981828f5a718c9b69bc6a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bbdbc0e003f6c14ef822bc992fdf02625a600c3acc981828f5a718c9b69bc6a0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bbdbc0e003f6c14ef822bc992fdf02625a600c3acc981828f5a718c9b69bc6a0", kill_on_drop: false }`
[INFO] [stdout] bbdbc0e003f6c14ef822bc992fdf02625a600c3acc981828f5a718c9b69bc6a0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ab9eaf8a5fab185650f7cfeef5dddf3cbc604876edbba6309426026219d11984
[INFO] running `Command { std: "docker" "start" "-a" "ab9eaf8a5fab185650f7cfeef5dddf3cbc604876edbba6309426026219d11984", 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 proc-macro2 v1.0.67
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling syn v2.0.37
[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 rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling tokio v1.32.0
[INFO] [stderr]    Compiling interm v0.1.1 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 37.42s
[INFO] running `Command { std: "docker" "inspect" "ab9eaf8a5fab185650f7cfeef5dddf3cbc604876edbba6309426026219d11984", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ab9eaf8a5fab185650f7cfeef5dddf3cbc604876edbba6309426026219d11984", kill_on_drop: false }`
[INFO] [stdout] ab9eaf8a5fab185650f7cfeef5dddf3cbc604876edbba6309426026219d11984
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8c64d990594f41e374f0496b2ad560d28adbca2e39104ab233f99e8b4a4836a4
[INFO] running `Command { std: "docker" "start" "-a" "8c64d990594f41e374f0496b2ad560d28adbca2e39104ab233f99e8b4a4836a4", 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.34s
[INFO] running `Command { std: "docker" "inspect" "8c64d990594f41e374f0496b2ad560d28adbca2e39104ab233f99e8b4a4836a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8c64d990594f41e374f0496b2ad560d28adbca2e39104ab233f99e8b4a4836a4", kill_on_drop: false }`
[INFO] [stdout] 8c64d990594f41e374f0496b2ad560d28adbca2e39104ab233f99e8b4a4836a4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 87224a21d8e287bfd24a1bc1500f805c1d20e404614386fde0e79080827cb610
[INFO] running `Command { std: "docker" "start" "-a" "87224a21d8e287bfd24a1bc1500f805c1d20e404614386fde0e79080827cb610", 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] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/interm-ffdf8b176fd4b5ed)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests interm
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 10 tests
[INFO] [stdout] test src/block.rs - block::Block::goto_idx (line 129) ... FAILED
[INFO] [stdout] test src/block.rs - block::Block::clear_line (line 208) ... FAILED
[INFO] [stdout] test src/block.rs - block::Block::clear_lines (line 231) ... FAILED
[INFO] [stdout] test src/block.rs - block::Block::update_element (line 79) ... 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_element (line 167) ... FAILED
[INFO] [stdout] test src/block.rs - block::Block::new (line 22) ... ok
[INFO] [stdout] test src/interactive/lines.rs - interactive::lines::InteractiveLine::new (line 19) ... ok
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout] test src/interactive/lines.rs - interactive::lines::InteractiveLine::update_content (line 44) ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[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] 7 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]   |                                          ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 7 | 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] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 4  | 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] 10 | 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] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_129_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use interm::{interactive::Line as InteractiveLine, Block};
[INFO] [stdout] ...
[INFO] [stdout] 10 | block.goto_idx(0)?;
[INFO] [stdout] 11 +     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::clear_line (line 208) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/block.rs:212:42
[INFO] [stdout]   |
[INFO] [stdout] 7 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]   |                                          ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 7 | 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] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 4  | 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] 10 | 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] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_208_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use interm::{interactive::Line as InteractiveLine, Block};
[INFO] [stdout] ...
[INFO] [stdout] 10 | block.clear_line()?;
[INFO] [stdout] 11 +     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::clear_lines (line 231) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/block.rs:235:42
[INFO] [stdout]   |
[INFO] [stdout] 7 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]   |                                          ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 7 | 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] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 4  | 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] 10 | 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] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_231_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use interm::{interactive::Line as InteractiveLine, Block};
[INFO] [stdout] ...
[INFO] [stdout] 10 | block.clear_lines()?;
[INFO] [stdout] 11 +     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] 7 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]   |                                          ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 7 | 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] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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::show_cursor (line 282) stdout ----
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]  --> src/block.rs:286:42
[INFO] [stdout]   |
[INFO] [stdout] 7 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]   |                                          ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 7 | 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] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 4  | 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] 10 | 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] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_282_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use interm::{interactive::Line as InteractiveLine, Block};
[INFO] [stdout] ...
[INFO] [stdout] 10 | block.show_cursor()?;
[INFO] [stdout] 11 +     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] 7 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]   |                                          ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 7 | 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] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 4  | 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] 10 | 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] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_259_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use interm::{interactive::Line as InteractiveLine, Block};
[INFO] [stdout] ...
[INFO] [stdout] 10 | block.hide_cursor()?;
[INFO] [stdout] 11 +     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] 7 | let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout]   |                                          ^^^
[INFO] [stdout]   |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + let mut elements: Vec<InteractiveLine> = ..;
[INFO] [stdout]   |
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]   |
[INFO] [stdout] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 7 | 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] 7 - let mut elements: Vec<InteractiveLine> = ...;
[INFO] [stdout] 7 + 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] 4  | 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] 11 | 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] 4  ~ fn main() { #[allow(non_snake_case)] fn _doctest_main_src_block_rs_167_0() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 5  | use interm::{interactive::Line as InteractiveLine, Block};
[INFO] [stdout] ...
[INFO] [stdout] 11 | block.goto_element(elem)?;
[INFO] [stdout] 12 +     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.59s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "87224a21d8e287bfd24a1bc1500f805c1d20e404614386fde0e79080827cb610", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87224a21d8e287bfd24a1bc1500f805c1d20e404614386fde0e79080827cb610", kill_on_drop: false }`
[INFO] [stdout] 87224a21d8e287bfd24a1bc1500f805c1d20e404614386fde0e79080827cb610
