[INFO] fetching crate for_ch 0.1.3... [INFO] testing for_ch-0.1.3 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate for_ch 0.1.3 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate for_ch 0.1.3 [INFO] finished tweaking crates.io crate for_ch 0.1.3 [INFO] tweaked toml for crates.io crate for_ch 0.1.3 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate for_ch 0.1.3 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 4 packages to latest compatible versions [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.106) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a986a02afd10bacf59e0ddc0ac728ca77ca30bdd125ceceba9886c575418e1b [INFO] running `Command { std: "docker" "start" "-a" "2a986a02afd10bacf59e0ddc0ac728ca77ca30bdd125ceceba9886c575418e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a986a02afd10bacf59e0ddc0ac728ca77ca30bdd125ceceba9886c575418e1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a986a02afd10bacf59e0ddc0ac728ca77ca30bdd125ceceba9886c575418e1b", kill_on_drop: false }` [INFO] [stdout] 2a986a02afd10bacf59e0ddc0ac728ca77ca30bdd125ceceba9886c575418e1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fb023c7d460eeeb48f821ae19caefe4426f06ecbefeae9ee46cd75a26b98b189 [INFO] running `Command { std: "docker" "start" "-a" "fb023c7d460eeeb48f821ae19caefe4426f06ecbefeae9ee46cd75a26b98b189", kill_on_drop: false }` [INFO] [stderr] Compiling for_ch v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.56s [INFO] running `Command { std: "docker" "inspect" "fb023c7d460eeeb48f821ae19caefe4426f06ecbefeae9ee46cd75a26b98b189", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb023c7d460eeeb48f821ae19caefe4426f06ecbefeae9ee46cd75a26b98b189", kill_on_drop: false }` [INFO] [stdout] fb023c7d460eeeb48f821ae19caefe4426f06ecbefeae9ee46cd75a26b98b189 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6ea1fb614fbe70e7e37bbbdc6bef84fdc8fb4db51ad243ef8a94df01fa31892 [INFO] running `Command { std: "docker" "start" "-a" "f6ea1fb614fbe70e7e37bbbdc6bef84fdc8fb4db51ad243ef8a94df01fa31892", kill_on_drop: false }` [INFO] [stderr] Compiling for_ch v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "f6ea1fb614fbe70e7e37bbbdc6bef84fdc8fb4db51ad243ef8a94df01fa31892", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6ea1fb614fbe70e7e37bbbdc6bef84fdc8fb4db51ad243ef8a94df01fa31892", kill_on_drop: false }` [INFO] [stdout] f6ea1fb614fbe70e7e37bbbdc6bef84fdc8fb4db51ad243ef8a94df01fa31892 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fb9c308a21647b5ceed491faf2a7695efff49c360b56c6ad67d886fd315fc6c4 [INFO] running `Command { std: "docker" "start" "-a" "fb9c308a21647b5ceed491faf2a7695efff49c360b56c6ad67d886fd315fc6c4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/for_ch-9fa54478531bf641) [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 for_ch [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - for_ch (line 29) ... FAILED [INFO] [stdout] test src/lib.rs - for_ch (line 66) ... FAILED [INFO] [stdout] test src/lib.rs - for_ch (line 44) ... FAILED [INFO] [stdout] test src/lib.rs - for_ch (line 14) ... FAILED [INFO] [stdout] test src/lib.rs - for_ch (line 36) ... FAILED [INFO] [stdout] test src/lib.rs - for_ch (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - for_ch (line 59) ... FAILED [INFO] [stdout] test src/lib.rs - for_ch (line 76) ... FAILED [INFO] [stdout] test src/lib.rs - for_ch (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - for_ch (line 51) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - for_ch (line 29) stdout ---- [INFO] [stdout] error: expected item, found keyword `for` [INFO] [stdout] --> src/lib.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 1 | for x in iter1, for y in iter2; [INFO] [stdout] | ^^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - for_ch (line 66) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [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] 4 - ... [INFO] [stdout] 4 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `expr` in this scope [INFO] [stdout] --> src/lib.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 3 | if expr { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - for_ch (line 44) stdout ---- [INFO] [stdout] error: expected item, found keyword `if` [INFO] [stdout] --> src/lib.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 1 | if let Some(x) = foo(); [INFO] [stdout] | ^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - for_ch (line 14) stdout ---- [INFO] [stdout] error: expected item, found `'label` [INFO] [stdout] --> src/lib.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 1 | 'label: for x in iter; [INFO] [stdout] | ^^^^^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - for_ch (line 36) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [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] 4 - ... [INFO] [stdout] 4 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `iter1` in this scope [INFO] [stdout] --> src/lib.rs:37:15 [INFO] [stdout] | [INFO] [stdout] 3 | for (x, y) in iter1.into_iter().zip(iter2) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `iter2` in this scope [INFO] [stdout] --> src/lib.rs:37:37 [INFO] [stdout] | [INFO] [stdout] 3 | for (x, y) in iter1.into_iter().zip(iter2) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - for_ch (line 92) stdout ---- [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:95:36 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_92_0() { [INFO] [stdout] | ---------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | if let Some(z) = foo(x, y).await? { [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `foo` in this scope [INFO] [stdout] --> src/lib.rs:95:26 [INFO] [stdout] | [INFO] [stdout] 5 | if let Some(z) = foo(x, y).await? { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `({integer}, {integer})` from `{integer}` [INFO] [stdout] --> src/lib.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 6 | if x - y < z { [INFO] [stdout] | ^ no implementation for `{integer} - ({integer}, {integer})` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub<({integer}, {integer})>` is not implemented for `{integer}` [INFO] [stdout] = help: the following other types implement trait `Sub`: [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f128` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f16` implements `Sub` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f32` implements `Sub` [INFO] [stdout] `&f64` implements `Sub` [INFO] [stdout] `&f64` implements `Sub` [INFO] [stdout] and 56 others [INFO] [stdout] [INFO] [stdout] error[E0277]: `({integer}, {integer})` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:97:55 [INFO] [stdout] | [INFO] [stdout] 7 | println!("x = {}, y = {}, z = {}", x, y, z); [INFO] [stdout] | -- ^ `({integer}, {integer})` cannot be formatted with the default formatter [INFO] [stdout] | | [INFO] [stdout] | required by this formatting parameter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `({integer}, {integer})` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - for_ch (line 59) stdout ---- [INFO] [stdout] error: expected item, found keyword `if` [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 1 | if expr; [INFO] [stdout] | ^^ expected item [INFO] [stdout] | [INFO] [stdout] = note: for a full list of items that can appear in modules, see [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - for_ch (line 76) stdout ---- [INFO] [stdout] error: cannot find macro `for_ch` in this scope [INFO] [stdout] --> src/lib.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 5 | for_ch! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `for_ch` is imported here, but it is a crate, not a macro [INFO] [stdout] --> src/lib.rs:76:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate r#for_ch; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use for_ch::for_ch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - for_ch (line 21) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [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] 4 - ... [INFO] [stdout] 4 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `iter` in this scope [INFO] [stdout] --> src/lib.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 3 | 'label: for x in iter { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - for_ch (line 51) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 4 - ... [INFO] [stdout] 4 + ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 4 | ... [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] 4 - ... [INFO] [stdout] 4 + .. [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `foo` in this scope [INFO] [stdout] --> src/lib.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 3 | if let Some(x) = foo() { [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - for_ch (line 14) [INFO] [stdout] src/lib.rs - for_ch (line 21) [INFO] [stdout] src/lib.rs - for_ch (line 29) [INFO] [stdout] src/lib.rs - for_ch (line 36) [INFO] [stdout] src/lib.rs - for_ch (line 44) [INFO] [stdout] src/lib.rs - for_ch (line 51) [INFO] [stdout] src/lib.rs - for_ch (line 59) [INFO] [stdout] src/lib.rs - for_ch (line 66) [INFO] [stdout] src/lib.rs - for_ch (line 76) [INFO] [stdout] src/lib.rs - for_ch (line 92) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.38s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fb9c308a21647b5ceed491faf2a7695efff49c360b56c6ad67d886fd315fc6c4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb9c308a21647b5ceed491faf2a7695efff49c360b56c6ad67d886fd315fc6c4", kill_on_drop: false }` [INFO] [stdout] fb9c308a21647b5ceed491faf2a7695efff49c360b56c6ad67d886fd315fc6c4