[INFO] fetching crate interm 0.1.1... [INFO] testing interm-0.1.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate interm 0.1.1 into /workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate interm 0.1.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6322bece583841227c7fb3d8ef5b9df76666794ed6411f87039d9c6fd0c5d738 [INFO] running `Command { std: "docker" "start" "-a" "6322bece583841227c7fb3d8ef5b9df76666794ed6411f87039d9c6fd0c5d738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6322bece583841227c7fb3d8ef5b9df76666794ed6411f87039d9c6fd0c5d738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6322bece583841227c7fb3d8ef5b9df76666794ed6411f87039d9c6fd0c5d738", kill_on_drop: false }` [INFO] [stdout] 6322bece583841227c7fb3d8ef5b9df76666794ed6411f87039d9c6fd0c5d738 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26a82153782268b40048ccc8c296eb48fa7a4ddcf30ee2d94d7dc61349422ce9 [INFO] running `Command { std: "docker" "start" "-a" "26a82153782268b40048ccc8c296eb48fa7a4ddcf30ee2d94d7dc61349422ce9", 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 pin-project-lite v0.2.13 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling syn v2.0.37 [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 8.50s [INFO] running `Command { std: "docker" "inspect" "26a82153782268b40048ccc8c296eb48fa7a4ddcf30ee2d94d7dc61349422ce9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26a82153782268b40048ccc8c296eb48fa7a4ddcf30ee2d94d7dc61349422ce9", kill_on_drop: false }` [INFO] [stdout] 26a82153782268b40048ccc8c296eb48fa7a4ddcf30ee2d94d7dc61349422ce9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 955fe69711e8bc9f4dd98551005a481f98e85b625addf31e07002e9e2542db34 [INFO] running `Command { std: "docker" "start" "-a" "955fe69711e8bc9f4dd98551005a481f98e85b625addf31e07002e9e2542db34", 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.42s [INFO] running `Command { std: "docker" "inspect" "955fe69711e8bc9f4dd98551005a481f98e85b625addf31e07002e9e2542db34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "955fe69711e8bc9f4dd98551005a481f98e85b625addf31e07002e9e2542db34", kill_on_drop: false }` [INFO] [stdout] 955fe69711e8bc9f4dd98551005a481f98e85b625addf31e07002e9e2542db34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 47440ca6be6c32c8bda430f0ac8493523debab01cbe3624f2bff4b7d77f56f56 [INFO] running `Command { std: "docker" "start" "-a" "47440ca6be6c32c8bda430f0ac8493523debab01cbe3624f2bff4b7d77f56f56", 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.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/interm-d098a986c388be7b) [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::update_element (line 79) ... FAILED [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::hide_cursor (line 259) ... FAILED [INFO] [stdout] test src/block.rs - block::Block::goto_element (line 167) ... FAILED [INFO] [stdout] test src/interactive/lines.rs - interactive::lines::InteractiveLine::update_content (line 44) ... ok [INFO] [stdout] test src/interactive/lines.rs - interactive::lines::InteractiveLine::new (line 19) ... ok [INFO] [stdout] test src/block.rs - block::Block::new (line 22) ... 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] 7 | let mut elements: Vec = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..=; [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 = ...; [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 = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [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> { [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::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 = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..=; [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 = ...; [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 = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [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> { [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::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 = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..=; [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 = ...; [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 = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [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::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 = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..=; [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 = ...; [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 = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [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> { [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 = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..=; [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 = ...; [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 = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [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> { [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::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 = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..=; [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 = ...; [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 = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [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> { [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 = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 7 - let mut elements: Vec = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..=; [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 = ...; [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 = ...; [INFO] [stdout] 7 + let mut elements: Vec = ..; [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> { [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.48s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "47440ca6be6c32c8bda430f0ac8493523debab01cbe3624f2bff4b7d77f56f56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47440ca6be6c32c8bda430f0ac8493523debab01cbe3624f2bff4b7d77f56f56", kill_on_drop: false }` [INFO] [stdout] 47440ca6be6c32c8bda430f0ac8493523debab01cbe3624f2bff4b7d77f56f56