[INFO] fetching crate recluse 0.1.1... [INFO] testing recluse-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate recluse 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate recluse 0.1.1 [INFO] finished tweaking crates.io crate recluse 0.1.1 [INFO] tweaked toml for crates.io crate recluse 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate recluse 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate recluse 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded leaky-bucket v1.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d8c74f2c0a8cc6604f74a519cd3e627f7b65d8b81090f151ca231beb83859bd [INFO] running `Command { std: "docker" "start" "-a" "7d8c74f2c0a8cc6604f74a519cd3e627f7b65d8b81090f151ca231beb83859bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d8c74f2c0a8cc6604f74a519cd3e627f7b65d8b81090f151ca231beb83859bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d8c74f2c0a8cc6604f74a519cd3e627f7b65d8b81090f151ca231beb83859bd", kill_on_drop: false }` [INFO] [stdout] 7d8c74f2c0a8cc6604f74a519cd3e627f7b65d8b81090f151ca231beb83859bd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d76f2ae49dd2a25edb3aa8fa10aeb69ada313cca5c26678504917627aa7eeb1e [INFO] running `Command { std: "docker" "start" "-a" "d76f2ae49dd2a25edb3aa8fa10aeb69ada313cca5c26678504917627aa7eeb1e", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling recluse v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.32s [INFO] running `Command { std: "docker" "inspect" "d76f2ae49dd2a25edb3aa8fa10aeb69ada313cca5c26678504917627aa7eeb1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d76f2ae49dd2a25edb3aa8fa10aeb69ada313cca5c26678504917627aa7eeb1e", kill_on_drop: false }` [INFO] [stdout] d76f2ae49dd2a25edb3aa8fa10aeb69ada313cca5c26678504917627aa7eeb1e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae283ed09af5b328f10d74192d1074ae1c0e6a5f6d6f7435fe0de0b5352540b7 [INFO] running `Command { std: "docker" "start" "-a" "ae283ed09af5b328f10d74192d1074ae1c0e6a5f6d6f7435fe0de0b5352540b7", kill_on_drop: false }` [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling dtoa-short v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling cssparser-macros v0.6.1 [INFO] [stderr] Compiling match_token v0.1.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Compiling getopts v0.2.23 [INFO] [stderr] Compiling clap_builder v4.5.41 [INFO] [stderr] Compiling futf v0.1.5 [INFO] [stderr] Compiling colored v2.2.0 [INFO] [stderr] Compiling servo_arc v0.4.1 [INFO] [stderr] Compiling tendril v0.4.3 [INFO] [stderr] Compiling ego-tree v0.10.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Compiling phf_codegen v0.11.3 [INFO] [stderr] Compiling string_cache_codegen v0.5.4 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling selectors v0.26.0 [INFO] [stderr] Compiling markup5ever v0.14.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling cssparser v0.34.0 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling clap v4.5.41 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling colog v1.3.0 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling recluse v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling html5ever v0.29.1 [INFO] [stderr] Compiling scraper v0.23.1 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.57s [INFO] running `Command { std: "docker" "inspect" "ae283ed09af5b328f10d74192d1074ae1c0e6a5f6d6f7435fe0de0b5352540b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae283ed09af5b328f10d74192d1074ae1c0e6a5f6d6f7435fe0de0b5352540b7", kill_on_drop: false }` [INFO] [stdout] ae283ed09af5b328f10d74192d1074ae1c0e6a5f6d6f7435fe0de0b5352540b7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 962faa3f9210bca444c0c3efde2e7c02839775a407d841ff5f2e586533df7b5f [INFO] running `Command { std: "docker" "start" "-a" "962faa3f9210bca444c0c3efde2e7c02839775a407d841ff5f2e586533df7b5f", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/recluse-059541fd4947c762) [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 recluse [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/../README.md - (line 51) ... FAILED [INFO] [stdout] test src/../README.md - (line 57) ... FAILED [INFO] [stdout] test src/../README.md - (line 165) ... FAILED [INFO] [stdout] test src/../README.md - (line 63) ... FAILED [INFO] [stdout] test src/../README.md - (line 173) ... FAILED [INFO] [stdout] test src/../README.md - (line 91) ... FAILED [INFO] [stdout] test src/../README.md - (line 139) ... FAILED [INFO] [stdout] test src/select.rs - select::Select (line 7) ... FAILED [INFO] [stdout] test src/../README.md - (line 182) ... FAILED [INFO] [stdout] test src/../README.md - (line 78) ... FAILED [INFO] [stdout] test src/../README.md - (line 228) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/../README.md - (line 51) stdout ---- [INFO] [stdout] error: expected item, found `$` [INFO] [stdout] --> src/../README.md:52:1 [INFO] [stdout] | [INFO] [stdout] 1 | $ cargo add recluse [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/../README.md - (line 57) stdout ---- [INFO] [stdout] error: expected item, found `$` [INFO] [stdout] --> src/../README.md:58:1 [INFO] [stdout] | [INFO] [stdout] 1 | $ cargo add recluse -F full [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/../README.md - (line 165) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `page_worker` in this scope [INFO] [stdout] --> src/../README.md:167:5 [INFO] [stdout] | [INFO] [stdout] 4 | page_worker.work(quotes_page_parser_service).await [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `quotes_page_parser_service` in this scope [INFO] [stdout] --> src/../README.md:167:22 [INFO] [stdout] | [INFO] [stdout] 4 | page_worker.work(quotes_page_parser_service).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 63) stdout ---- [INFO] [stdout] error[E0423]: expected value, found crate `recluse` [INFO] [stdout] --> src/../README.md:65:1 [INFO] [stdout] | [INFO] [stdout] 5 | recluse = "0.1.1" [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 5 | let recluse = "0.1.1" [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 173) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `page_pipe` in this scope [INFO] [stdout] --> src/../README.md:174:1 [INFO] [stdout] | [INFO] [stdout] 3 | page_pipe.submit_work("https://quotes.toscrape.com/".to_string()).await [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:174:67 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_173_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | page_pipe.submit_work("https://quotes.toscrape.com/".to_string()).await [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 91) stdout ---- [INFO] [stdout] error: cannot find macro `debug` in this scope [INFO] [stdout] --> src/../README.md:102:13 [INFO] [stdout] | [INFO] [stdout] 13 | debug!("{:?}", quotes); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use log::debug; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `page_pipe` in this scope [INFO] [stdout] --> src/../README.md:93:21 [INFO] [stdout] | [INFO] [stdout] 4 | let page_pipe = page_pipe.clone(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_quotes_page` in this scope [INFO] [stdout] --> src/../README.md:99:47 [INFO] [stdout] | [INFO] [stdout] 10 | let (quotes, next_page_request) = parse_quotes_page(page_body) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 139) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/../README.md:143:24 [INFO] [stdout] | [INFO] [stdout] 6 | .rate_limit(1, Duration::from_secs(1)) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `BodyDownloaderLayer` in this scope [INFO] [stdout] --> src/../README.md:144:16 [INFO] [stdout] | [INFO] [stdout] 7 | .layer(BodyDownloaderLayer) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `page_processor` in this scope [INFO] [stdout] --> src/../README.md:145:21 [INFO] [stdout] | [INFO] [stdout] 8 | .service_fn(page_processor); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `map_string_to_reqwest_get` found for struct `ServiceBuilder` in the current scope [INFO] [stdout] --> src/../README.md:141:10 [INFO] [stdout] | [INFO] [stdout] 3 | let quotes_page_parser_service = tower::ServiceBuilder::new() [INFO] [stdout] | __________________________________- [INFO] [stdout] 4 | | .map_string_to_reqwest_get() [INFO] [stdout] | | -^^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `ServiceBuilder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/select.rs - select::Select (line 7) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Select` [INFO] [stdout] --> src/select.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 3 | let either_fut = Select::new(fut1, fut2).await; [INFO] [stdout] | ^^^^^^ use of undeclared type `Select` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 2 + use recluse::select::Select; [INFO] [stdout] | [INFO] [stdout] 2 + use scraper::element_ref::Select; [INFO] [stdout] | [INFO] [stdout] 2 + use scraper::html::Select; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fut1` in this scope [INFO] [stdout] --> src/select.rs:8:30 [INFO] [stdout] | [INFO] [stdout] 3 | let either_fut = Select::new(fut1, fut2).await; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `fut2` in this scope [INFO] [stdout] --> src/select.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 3 | let either_fut = Select::new(fut1, fut2).await; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/select.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 6 | Either::Left(value) => { /**/ }, [INFO] [stdout] | ^^^^^^ use of undeclared type `Either` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use recluse::select::Either; [INFO] [stdout] | [INFO] [stdout] 2 + use tower::util::Either; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Either` [INFO] [stdout] --> src/select.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 7 | Either::Right(value) => { /**/ }, [INFO] [stdout] | ^^^^^^ use of undeclared type `Either` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 2 + use recluse::select::Either; [INFO] [stdout] | [INFO] [stdout] 2 + use tower::util::Either; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/select.rs:8:42 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_select_rs_7_0() { [INFO] [stdout] | ------------------------------------ this is not `async` [INFO] [stdout] 3 | let either_fut = Select::new(fut1, fut2).await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 182) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `worker` in this scope [INFO] [stdout] --> src/../README.md:183:14 [INFO] [stdout] | [INFO] [stdout] 3 | tokio::join!(worker).0??; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/../README.md:183:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src____README_md_182_0() { [INFO] [stdout] | ----------------------------------------- this is not `async` [INFO] [stdout] 3 | tokio::join!(worker).0??; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/../README.md:183:1 [INFO] [stdout] | [INFO] [stdout] 3 | tokio::join!(worker).0??; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/../README.md:183:1 [INFO] [stdout] | [INFO] [stdout] 3 | tokio::join!(worker).0??; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::join` which comes from the expansion of the macro `tokio::join` (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: E0282, E0425, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 78) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorkPipeBuilder` [INFO] [stdout] --> src/../README.md:79:32 [INFO] [stdout] | [INFO] [stdout] 3 | let (page_pipe, page_worker) = WorkPipeBuilder::new().build(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `WorkPipeBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use recluse::WorkPipeBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/../README.md - (line 228) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorkPipeBuilder` [INFO] [stdout] --> src/../README.md:229:40 [INFO] [stdout] | [INFO] [stdout] 3 | let (download_pipe, download_worker) = WorkPipeBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `WorkPipeBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use recluse::WorkPipeBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WorkPipeBuilder` [INFO] [stdout] --> src/../README.md:232:34 [INFO] [stdout] | [INFO] [stdout] 6 | let (parse_pipe, parse_worker) = WorkPipeBuilder::default() [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `WorkPipeBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use recluse::WorkPipeBuilder; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/../README.md - (line 139) [INFO] [stdout] src/../README.md - (line 165) [INFO] [stdout] src/../README.md - (line 173) [INFO] [stdout] src/../README.md - (line 182) [INFO] [stdout] src/../README.md - (line 228) [INFO] [stdout] src/../README.md - (line 51) [INFO] [stdout] src/../README.md - (line 57) [INFO] [stdout] src/../README.md - (line 63) [INFO] [stdout] src/../README.md - (line 78) [INFO] [stdout] src/../README.md - (line 91) [INFO] [stdout] src/select.rs - select::Select (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 11 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.73s; merged doctests compilation took 0.24s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "962faa3f9210bca444c0c3efde2e7c02839775a407d841ff5f2e586533df7b5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "962faa3f9210bca444c0c3efde2e7c02839775a407d841ff5f2e586533df7b5f", kill_on_drop: false }` [INFO] [stdout] 962faa3f9210bca444c0c3efde2e7c02839775a407d841ff5f2e586533df7b5f