[INFO] fetching crate rt-pods-client 0.1.12... [INFO] testing rt-pods-client-0.1.12 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate rt-pods-client 0.1.12 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate rt-pods-client 0.1.12 [INFO] finished tweaking crates.io crate rt-pods-client 0.1.12 [INFO] tweaked toml for crates.io crate rt-pods-client 0.1.12 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rt-pods-client 0.1.12 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 171 packages to latest compatible versions [INFO] [stderr] Adding reqwest v0.12.28 (available: v0.13.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cd5b50a35a94ddc921b898793ac64efb196caf849d16e770c25fa16a830431cf [INFO] running `Command { std: "docker" "start" "-a" "cd5b50a35a94ddc921b898793ac64efb196caf849d16e770c25fa16a830431cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cd5b50a35a94ddc921b898793ac64efb196caf849d16e770c25fa16a830431cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd5b50a35a94ddc921b898793ac64efb196caf849d16e770c25fa16a830431cf", kill_on_drop: false }` [INFO] [stdout] cd5b50a35a94ddc921b898793ac64efb196caf849d16e770c25fa16a830431cf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8829e5472976a242cec377de68176b4c4df6e89eee8a2840e099b1b47fa1025a [INFO] running `Command { std: "docker" "start" "-a" "8829e5472976a242cec377de68176b4c4df6e89eee8a2840e099b1b47fa1025a", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v2.11.1 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling tokio v1.52.1 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling iri-string v0.7.12 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling openssl v0.10.78 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [INFO] [stderr] Compiling zerofrom v0.1.7 [INFO] [stderr] Compiling yoke v0.8.2 [INFO] [stderr] Compiling zerovec v0.11.6 [INFO] [stderr] Compiling zerotrie v0.2.4 [INFO] [stderr] Compiling tinystr v0.8.3 [INFO] [stderr] Compiling potential_utf v0.1.5 [INFO] [stderr] Compiling icu_locale_core v2.2.0 [INFO] [stderr] Compiling icu_collections v2.2.0 [INFO] [stderr] Compiling icu_provider v2.2.0 [INFO] [stderr] Compiling icu_normalizer v2.2.0 [INFO] [stderr] Compiling icu_properties v2.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.9.0 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.28 [INFO] [stderr] Compiling rt-pods-client v0.1.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.92s [INFO] running `Command { std: "docker" "inspect" "8829e5472976a242cec377de68176b4c4df6e89eee8a2840e099b1b47fa1025a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8829e5472976a242cec377de68176b4c4df6e89eee8a2840e099b1b47fa1025a", kill_on_drop: false }` [INFO] [stdout] 8829e5472976a242cec377de68176b4c4df6e89eee8a2840e099b1b47fa1025a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00647222f552d51da55cf7cb55494f2a9d1e219a93d34860b9037af221cdf788 [INFO] running `Command { std: "docker" "start" "-a" "00647222f552d51da55cf7cb55494f2a9d1e219a93d34860b9037af221cdf788", kill_on_drop: false }` [INFO] [stderr] Compiling rt-pods-client v0.1.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.08s [INFO] running `Command { std: "docker" "inspect" "00647222f552d51da55cf7cb55494f2a9d1e219a93d34860b9037af221cdf788", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00647222f552d51da55cf7cb55494f2a9d1e219a93d34860b9037af221cdf788", kill_on_drop: false }` [INFO] [stdout] 00647222f552d51da55cf7cb55494f2a9d1e219a93d34860b9037af221cdf788 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2e0dae56b80ff64a35ed91ef2d88cb28ec4fa885aab02349d75ae2fec7edf912 [INFO] running `Command { std: "docker" "start" "-a" "2e0dae56b80ff64a35ed91ef2d88cb28ec4fa885aab02349d75ae2fec7edf912", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rt_pods_client-911a37540371e1e0) [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 rt_pods_client [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/lib.rs - SearchOptionsBuilder::prepend_prefix (line 207) ... FAILED [INFO] [stdout] test src/lib.rs - SearchOptionsBuilder::prepend_prefix (line 215) ... FAILED [INFO] [stdout] test src/lib.rs - SearchSort (line 76) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::insert (line 637) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::sync (line 517) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::delete_radix_tree (line 811) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::create_radix_tree (line 844) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::radix_tree_exists (line 888) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::contains (line 708) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods (line 287) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::remove (line 678) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::search (line 574) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::new (line 380) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods (line 239) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::batch_operation (line 759) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - SearchOptionsBuilder::prepend_prefix (line 207) stdout ---- [INFO] [stdout] error: expected item, found `/` [INFO] [stdout] --> src/lib.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 208 | /images [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 - SearchOptionsBuilder::prepend_prefix (line 215) stdout ---- [INFO] [stdout] error: expected item, found `/` [INFO] [stdout] --> src/lib.rs:216:1 [INFO] [stdout] | [INFO] [stdout] 216 | /root/images [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 - SearchSort (line 76) stdout ---- [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/lib.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | vec![ [INFO] [stdout] | _____^ [INFO] [stdout] 78 | | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 79 | | ] [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 77 ~ vec!{ [INFO] [stdout] 78 | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 79 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 79 | ]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/lib.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | vec![ [INFO] [stdout] | _____^ [INFO] [stdout] 81 | | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 82 | | ] [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 80 ~ vec!{ [INFO] [stdout] 81 | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 82 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 82 | ]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/lib.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | vec![ [INFO] [stdout] | _____^ [INFO] [stdout] 84 | | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 85 | | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 86 | | ] [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 83 ~ vec!{ [INFO] [stdout] 84 | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 85 | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 86 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 86 | ]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: macros that expand to items must be delimited with braces or followed by a semicolon [INFO] [stdout] --> src/lib.rs:87:5 [INFO] [stdout] | [INFO] [stdout] 87 | vec![ [INFO] [stdout] | _____^ [INFO] [stdout] 88 | | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 89 | | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 90 | | ] [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 87 ~ vec!{ [INFO] [stdout] 88 | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 89 | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 90 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 90 | ]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 78 | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 77 | / vec![ [INFO] [stdout] 78 | | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 79 | | ] [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_expected one of `!` or `::` [INFO] [stdout] | in this macro invocation [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 81 | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 80 | / vec![ [INFO] [stdout] 81 | | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 82 | | ] [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_expected one of `!` or `::` [INFO] [stdout] | in this macro invocation [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 84 | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:85:47 [INFO] [stdout] | [INFO] [stdout] 85 | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/lib.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 83 | / vec![ [INFO] [stdout] 84 | | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 85 | | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 86 | | ] [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_expected one of `!` or `::` [INFO] [stdout] | in this macro invocation [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 88 | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:89:41 [INFO] [stdout] | [INFO] [stdout] 89 | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found `(` [INFO] [stdout] --> src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | / vec![ [INFO] [stdout] 88 | | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 89 | | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 90 | | ] [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_expected one of `!` or `::` [INFO] [stdout] | in this macro invocation [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_out` [INFO] [stdout] --> src/lib.rs:90:2 [INFO] [stdout] | [INFO] [stdout] 90 | ] [INFO] [stdout] | ^ consider adding a `main` function to `src/lib.rs` [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods::insert (line 637) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:638:23 [INFO] [stdout] | [INFO] [stdout] 638 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 638 - let rt_pods: RtPods = ...; [INFO] [stdout] 638 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 638 - let rt_pods: RtPods = ...; [INFO] [stdout] 638 + let rt_pods: RtPods = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:638:23 [INFO] [stdout] | [INFO] [stdout] 638 | let rt_pods: RtPods = ...; [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] 638 - let rt_pods: RtPods = ...; [INFO] [stdout] 638 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:638:14 [INFO] [stdout] | [INFO] [stdout] 638 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 637 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `InsertResult` in this scope [INFO] [stdout] --> src/lib.rs:640:13 [INFO] [stdout] | [INFO] [stdout] 640 | let result: InsertResult = rt_pods.insert("my_tree", "my_string", Some("some data")).await?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 637 + use rt_pods_client::results::InsertResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:640:86 [INFO] [stdout] | [INFO] [stdout] 637 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_637_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 640 | let result: InsertResult = rt_pods.insert("my_tree", "my_string", Some("some data")).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods::sync (line 517) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:518:15 [INFO] [stdout] | [INFO] [stdout] 518 | let rt_pods = RtPods::new(vec![ [INFO] [stdout] | ^^^^^^ use of undeclared type `RtPods` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 517 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/lib.rs:530:9 [INFO] [stdout] | [INFO] [stdout] 530 | sleep(Duration::from_secs(60)).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 517 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 517 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/lib.rs:530:15 [INFO] [stdout] | [INFO] [stdout] 530 | sleep(Duration::from_secs(60)).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 517 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 517 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:524:16 [INFO] [stdout] | [INFO] [stdout] 517 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_517_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 524 | rt_pods.sync().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/lib.rs - RtPods::delete_radix_tree (line 811) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:812:23 [INFO] [stdout] | [INFO] [stdout] 812 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 812 - let rt_pods: RtPods = ...; [INFO] [stdout] 812 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 812 - let rt_pods: RtPods = ...; [INFO] [stdout] 812 + let rt_pods: RtPods = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:812:23 [INFO] [stdout] | [INFO] [stdout] 812 | let rt_pods: RtPods = ...; [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] 812 - let rt_pods: RtPods = ...; [INFO] [stdout] 812 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:812:14 [INFO] [stdout] | [INFO] [stdout] 812 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 811 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `DeleteRadixTreeResult` in this scope [INFO] [stdout] --> src/lib.rs:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | let result: DeleteRadixTreeResult = rt_pods.delete_radix_tree("my_tree").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 811 + use rt_pods_client::results::DeleteRadixTreeResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:814:74 [INFO] [stdout] | [INFO] [stdout] 811 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_811_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 814 | let result: DeleteRadixTreeResult = rt_pods.delete_radix_tree("my_tree").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods::create_radix_tree (line 844) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:845:23 [INFO] [stdout] | [INFO] [stdout] 845 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 845 - let rt_pods: RtPods = ...; [INFO] [stdout] 845 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 845 - let rt_pods: RtPods = ...; [INFO] [stdout] 845 + let rt_pods: RtPods = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:845:23 [INFO] [stdout] | [INFO] [stdout] 845 | let rt_pods: RtPods = ...; [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] 845 - let rt_pods: RtPods = ...; [INFO] [stdout] 845 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:845:14 [INFO] [stdout] | [INFO] [stdout] 845 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 844 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CreateRadixTreeResult` in this scope [INFO] [stdout] --> src/lib.rs:847:13 [INFO] [stdout] | [INFO] [stdout] 847 | let result: CreateRadixTreeResult = rt_pods.create_radix_tree("my_tree").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 844 + use rt_pods_client::results::CreateRadixTreeResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:847:74 [INFO] [stdout] | [INFO] [stdout] 844 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_844_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 847 | let result: CreateRadixTreeResult = rt_pods.create_radix_tree("my_tree").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods::radix_tree_exists (line 888) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:889:23 [INFO] [stdout] | [INFO] [stdout] 889 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 889 - let rt_pods: RtPods = ...; [INFO] [stdout] 889 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 889 - let rt_pods: RtPods = ...; [INFO] [stdout] 889 + let rt_pods: RtPods = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:889:23 [INFO] [stdout] | [INFO] [stdout] 889 | let rt_pods: RtPods = ...; [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] 889 - let rt_pods: RtPods = ...; [INFO] [stdout] 889 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:889:14 [INFO] [stdout] | [INFO] [stdout] 889 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 888 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RadixTreeExistsResult` in this scope [INFO] [stdout] --> src/lib.rs:891:13 [INFO] [stdout] | [INFO] [stdout] 891 | let result: RadixTreeExistsResult = rt_pods.radix_tree_exists("my_tree").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 888 + use rt_pods_client::results::RadixTreeExistsResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:891:74 [INFO] [stdout] | [INFO] [stdout] 888 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_888_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 891 | let result: RadixTreeExistsResult = rt_pods.radix_tree_exists("my_tree").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods::contains (line 708) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:709:23 [INFO] [stdout] | [INFO] [stdout] 709 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 709 - let rt_pods: RtPods = ...; [INFO] [stdout] 709 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 709 - let rt_pods: RtPods = ...; [INFO] [stdout] 709 + let rt_pods: RtPods = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:709:23 [INFO] [stdout] | [INFO] [stdout] 709 | let rt_pods: RtPods = ...; [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] 709 - let rt_pods: RtPods = ...; [INFO] [stdout] 709 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:709:14 [INFO] [stdout] | [INFO] [stdout] 709 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 708 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `ContainsResult` in this scope [INFO] [stdout] --> src/lib.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 711 | let result: ContainsResult = rt_pods.contains("my_tree", "my_string").await?; [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 708 + use rt_pods_client::results::ContainsResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:711:71 [INFO] [stdout] | [INFO] [stdout] 708 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_708_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 711 | let result: ContainsResult = rt_pods.contains("my_tree", "my_string").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods (line 287) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:289:15 [INFO] [stdout] | [INFO] [stdout] 289 | let rt_pods = RtPods::new(vec![ [INFO] [stdout] | ^^^^^^ use of undeclared type `RtPods` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 287 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/lib.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | sleep(Duration::from_secs(60)).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 287 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 287 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/lib.rs:305:15 [INFO] [stdout] | [INFO] [stdout] 305 | sleep(Duration::from_secs(60)).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 287 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 287 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:296:16 [INFO] [stdout] | [INFO] [stdout] 287 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_287_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 296 | rt_pods.sync().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 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/lib.rs - RtPods::remove (line 678) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:679:23 [INFO] [stdout] | [INFO] [stdout] 679 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 679 - let rt_pods: RtPods = ...; [INFO] [stdout] 679 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 679 - let rt_pods: RtPods = ...; [INFO] [stdout] 679 + let rt_pods: RtPods = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:679:23 [INFO] [stdout] | [INFO] [stdout] 679 | let rt_pods: RtPods = ...; [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] 679 - let rt_pods: RtPods = ...; [INFO] [stdout] 679 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:679:14 [INFO] [stdout] | [INFO] [stdout] 679 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 678 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RemoveResult` in this scope [INFO] [stdout] --> src/lib.rs:681:13 [INFO] [stdout] | [INFO] [stdout] 681 | let result: RemoveResult = rt_pods.remove("my_tree", "my_string").await?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 678 + use rt_pods_client::results::RemoveResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:681:67 [INFO] [stdout] | [INFO] [stdout] 678 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_678_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 681 | let result: RemoveResult = rt_pods.remove("my_tree", "my_string").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods::search (line 574) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:575:23 [INFO] [stdout] | [INFO] [stdout] 575 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 575 - let rt_pods: RtPods = ...; [INFO] [stdout] 575 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 575 - let rt_pods: RtPods = ...; [INFO] [stdout] 575 + let rt_pods: RtPods = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:575:23 [INFO] [stdout] | [INFO] [stdout] 575 | let rt_pods: RtPods = ...; [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] 575 - let rt_pods: RtPods = ...; [INFO] [stdout] 575 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:575:14 [INFO] [stdout] | [INFO] [stdout] 575 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 574 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `SearchResult` in this scope [INFO] [stdout] --> src/lib.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 577 | let result: SearchResult = rt_pods.search( [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 574 + use rt_pods_client::results::SearchResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SearchOptionsBuilder` in this scope [INFO] [stdout] --> src/lib.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 580 | SearchOptionsBuilder::new(12) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SearchOptionsBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 574 + use rt_pods_client::SearchOptionsBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SearchSort` in this scope [INFO] [stdout] --> src/lib.rs:581:19 [INFO] [stdout] | [INFO] [stdout] 581 | .sort(vec![SearchSort::Length(SearchSortOrder::Ascending)]) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SearchSort` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 574 + use rt_pods_client::SearchSort; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SearchSortOrder` in this scope [INFO] [stdout] --> src/lib.rs:581:38 [INFO] [stdout] | [INFO] [stdout] 581 | .sort(vec![SearchSort::Length(SearchSortOrder::Ascending)]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SearchSortOrder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 574 + use rt_pods_client::SearchSortOrder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:584:3 [INFO] [stdout] | [INFO] [stdout] 574 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_574_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 584 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods::new (line 380) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 382 | let rt_pods = RtPods::new(vec![ [INFO] [stdout] | ^^^^^^ use of undeclared type `RtPods` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 380 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:387:15 [INFO] [stdout] | [INFO] [stdout] 387 | let rt_pods = RtPods::new(vec![ [INFO] [stdout] | ^^^^^^ use of undeclared type `RtPods` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 380 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `sleep` in this scope [INFO] [stdout] --> src/lib.rs:403:9 [INFO] [stdout] | [INFO] [stdout] 403 | sleep(Duration::from_secs(60)).await; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 380 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 380 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Duration` in this scope [INFO] [stdout] --> src/lib.rs:403:15 [INFO] [stdout] | [INFO] [stdout] 403 | sleep(Duration::from_secs(60)).await; [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Duration` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 380 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 380 + use tokio::time::Duration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:394:16 [INFO] [stdout] | [INFO] [stdout] 380 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_380_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 394 | rt_pods.sync().await; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 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/lib.rs - RtPods (line 239) stdout ---- [INFO] [stdout] error[E0433]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 240 | let rt_pods = RtPods::new(vec!["127.0.0.1:1337"], None)?; [INFO] [stdout] | ^^^^^^ use of undeclared type `RtPods` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 239 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BatchOperation` in this scope [INFO] [stdout] --> src/lib.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | BatchOperation::Insert(("/root".to_string(), Some("data".to_string()))), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BatchOperation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 239 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BatchOperation` in this scope [INFO] [stdout] --> src/lib.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 249 | BatchOperation::Insert(("/root/images".to_string(), None)), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BatchOperation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 239 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BatchOperation` in this scope [INFO] [stdout] --> src/lib.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | BatchOperation::Insert(("/root/images/owls".to_string(), None)), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BatchOperation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 239 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BatchOperation` in this scope [INFO] [stdout] --> src/lib.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | BatchOperation::Insert(("/root/images/owls/snow.jpg".to_string(), None)), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BatchOperation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 239 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BatchOperation` in this scope [INFO] [stdout] --> src/lib.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 252 | BatchOperation::Insert(("/root/images/owls/grey.jpg".to_string(), None)), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BatchOperation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 239 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SearchOptionsBuilder` in this scope [INFO] [stdout] --> src/lib.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | SearchOptionsBuilder::new(12) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SearchOptionsBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 239 + use rt_pods_client::SearchOptionsBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SearchSort` in this scope [INFO] [stdout] --> src/lib.rs:262:24 [INFO] [stdout] | [INFO] [stdout] 262 | .sort(vec![SearchSort::Length(SearchSortOrder::Ascending)]) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `SearchSort` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 239 + use rt_pods_client::SearchSort; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SearchSortOrder` in this scope [INFO] [stdout] --> src/lib.rs:262:43 [INFO] [stdout] | [INFO] [stdout] 262 | .sort(vec![SearchSort::Length(SearchSortOrder::Ascending)]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SearchSortOrder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 239 + use rt_pods_client::SearchSortOrder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `SearchResult` in this scope [INFO] [stdout] --> src/lib.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 268 | if let SearchResult::Ok(results) = search_result { [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `SearchResult` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 239 + use rt_pods_client::results::SearchResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:242:35 [INFO] [stdout] | [INFO] [stdout] 239 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_239_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 242 | rt_pods.create_radix_tree("1337").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:255:5 [INFO] [stdout] | [INFO] [stdout] 239 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_239_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 255 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 239 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_239_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 266 | .await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:280:54 [INFO] [stdout] | [INFO] [stdout] 239 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_239_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 280 | rt_pods.remove("1337", "/root/images/owls/grey.jpg").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:282:35 [INFO] [stdout] | [INFO] [stdout] 239 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_239_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 282 | rt_pods.delete_radix_tree("1337").await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods::batch_operation (line 759) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:760:23 [INFO] [stdout] | [INFO] [stdout] 760 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 760 - let rt_pods: RtPods = ...; [INFO] [stdout] 760 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 760 - let rt_pods: RtPods = ...; [INFO] [stdout] 760 + let rt_pods: RtPods = ..=; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/lib.rs:760:23 [INFO] [stdout] | [INFO] [stdout] 760 | let rt_pods: RtPods = ...; [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] 760 - let rt_pods: RtPods = ...; [INFO] [stdout] 760 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:760:14 [INFO] [stdout] | [INFO] [stdout] 760 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 759 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `BatchOperationResult` in this scope [INFO] [stdout] --> src/lib.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 762 | let result: BatchOperationResult = rt_pods.batch_operation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 759 + use rt_pods_client::results::BatchOperationResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BatchOperation` in this scope [INFO] [stdout] --> src/lib.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 765 | BatchOperation::Insert(("1337".to_string(), Some("data".to_string()))), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BatchOperation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 759 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BatchOperation` in this scope [INFO] [stdout] --> src/lib.rs:766:9 [INFO] [stdout] | [INFO] [stdout] 766 | BatchOperation::Insert(("shark".to_string(), None)), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BatchOperation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 759 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `BatchOperation` in this scope [INFO] [stdout] --> src/lib.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 767 | BatchOperation::Remove("penguin".to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `BatchOperation` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 759 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks [INFO] [stdout] --> src/lib.rs:769:3 [INFO] [stdout] | [INFO] [stdout] 759 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_759_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 769 | ).await?; [INFO] [stdout] | ^^^^^ only allowed inside `async` functions and blocks [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0586, E0728. [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 - RtPods (line 239) [INFO] [stdout] src/lib.rs - RtPods (line 287) [INFO] [stdout] src/lib.rs - RtPods::batch_operation (line 759) [INFO] [stdout] src/lib.rs - RtPods::contains (line 708) [INFO] [stdout] src/lib.rs - RtPods::create_radix_tree (line 844) [INFO] [stdout] src/lib.rs - RtPods::delete_radix_tree (line 811) [INFO] [stdout] src/lib.rs - RtPods::insert (line 637) [INFO] [stdout] src/lib.rs - RtPods::new (line 380) [INFO] [stdout] src/lib.rs - RtPods::radix_tree_exists (line 888) [INFO] [stdout] src/lib.rs - RtPods::remove (line 678) [INFO] [stdout] src/lib.rs - RtPods::search (line 574) [INFO] [stdout] src/lib.rs - RtPods::sync (line 517) [INFO] [stdout] src/lib.rs - SearchOptionsBuilder::prepend_prefix (line 207) [INFO] [stdout] src/lib.rs - SearchOptionsBuilder::prepend_prefix (line 215) [INFO] [stdout] src/lib.rs - SearchSort (line 76) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 15 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2e0dae56b80ff64a35ed91ef2d88cb28ec4fa885aab02349d75ae2fec7edf912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e0dae56b80ff64a35ed91ef2d88cb28ec4fa885aab02349d75ae2fec7edf912", kill_on_drop: false }` [INFO] [stdout] 2e0dae56b80ff64a35ed91ef2d88cb28ec4fa885aab02349d75ae2fec7edf912