[INFO] fetching crate rt-pods-client 0.1.12... [INFO] testing rt-pods-client-0.1.12 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate rt-pods-client 0.1.12 into /workspace/builds/worker-6-tc1/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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rt-pods-client 0.1.12 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 163 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rustls-webpki v0.103.7 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6926a2815d76f7c6445c4751daacc655db3addd9c920e62b5fd25b68c1a5e127 [INFO] running `Command { std: "docker" "start" "-a" "6926a2815d76f7c6445c4751daacc655db3addd9c920e62b5fd25b68c1a5e127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6926a2815d76f7c6445c4751daacc655db3addd9c920e62b5fd25b68c1a5e127", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6926a2815d76f7c6445c4751daacc655db3addd9c920e62b5fd25b68c1a5e127", kill_on_drop: false }` [INFO] [stdout] 6926a2815d76f7c6445c4751daacc655db3addd9c920e62b5fd25b68c1a5e127 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c5afe5cd8d8b914ddaeb991ccfe4112ad177cc7713f1ff2f1898fd1a1a84f6c [INFO] running `Command { std: "docker" "start" "-a" "1c5afe5cd8d8b914ddaeb991ccfe4112ad177cc7713f1ff2f1898fd1a1a84f6c", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [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 tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.7.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling reqwest v0.12.23 [INFO] [stderr] Compiling rt-pods-client v0.1.12 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.82s [INFO] running `Command { std: "docker" "inspect" "1c5afe5cd8d8b914ddaeb991ccfe4112ad177cc7713f1ff2f1898fd1a1a84f6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c5afe5cd8d8b914ddaeb991ccfe4112ad177cc7713f1ff2f1898fd1a1a84f6c", kill_on_drop: false }` [INFO] [stdout] 1c5afe5cd8d8b914ddaeb991ccfe4112ad177cc7713f1ff2f1898fd1a1a84f6c [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ada52776b72bef547d7ff64122a9088bf87d5d7050fac6b8dc1db33e33910965 [INFO] running `Command { std: "docker" "start" "-a" "ada52776b72bef547d7ff64122a9088bf87d5d7050fac6b8dc1db33e33910965", 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 0.99s [INFO] running `Command { std: "docker" "inspect" "ada52776b72bef547d7ff64122a9088bf87d5d7050fac6b8dc1db33e33910965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada52776b72bef547d7ff64122a9088bf87d5d7050fac6b8dc1db33e33910965", kill_on_drop: false }` [INFO] [stdout] ada52776b72bef547d7ff64122a9088bf87d5d7050fac6b8dc1db33e33910965 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f61a673a1daeb674e1ca446550c4d3b486db2df7c1712ddabd82c972eacee3dc [INFO] running `Command { std: "docker" "start" "-a" "f61a673a1daeb674e1ca446550c4d3b486db2df7c1712ddabd82c972eacee3dc", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/rt_pods_client-774c2857b59d9944) [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 215) ... FAILED [INFO] [stdout] test src/lib.rs - SearchOptionsBuilder::prepend_prefix (line 207) ... FAILED [INFO] [stdout] test src/lib.rs - SearchSort (line 76) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::radix_tree_exists (line 888) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::create_radix_tree (line 844) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::batch_operation (line 759) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::insert (line 637) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods (line 239) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::contains (line 708) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::remove (line 678) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::new (line 380) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::search (line 574) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods (line 287) ... FAILED [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/lib.rs - RtPods::delete_radix_tree (line 811) ... FAILED [INFO] [stdout] test src/lib.rs - RtPods::sync (line 517) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 1 | /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 - SearchOptionsBuilder::prepend_prefix (line 207) stdout ---- [INFO] [stdout] error: expected item, found `/` [INFO] [stdout] --> src/lib.rs:208:1 [INFO] [stdout] | [INFO] [stdout] 1 | /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] 1 | vec![ [INFO] [stdout] | _____^ [INFO] [stdout] 2 | | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 3 | | ] [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 1 ~ vec!{ [INFO] [stdout] 2 | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 3 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 3 | ]; [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] 4 | vec![ [INFO] [stdout] | _____^ [INFO] [stdout] 5 | | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 6 | | ] [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 4 ~ vec!{ [INFO] [stdout] 5 | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 6 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 6 | ]; [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] 7 | vec![ [INFO] [stdout] | _____^ [INFO] [stdout] 8 | | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 9 | | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 10 | | ] [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 7 ~ vec!{ [INFO] [stdout] 8 | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 9 | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 10 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 10 | ]; [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] 11 | vec![ [INFO] [stdout] | _____^ [INFO] [stdout] 12 | | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 13 | | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 14 | | ] [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] help: change the delimiters to curly braces [INFO] [stdout] | [INFO] [stdout] 11 ~ vec!{ [INFO] [stdout] 12 | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 13 | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 14 + } [INFO] [stdout] | [INFO] [stdout] help: add a semicolon [INFO] [stdout] | [INFO] [stdout] 14 | ]; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 2 | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> src/lib.rs:77:1 [INFO] [stdout] | [INFO] [stdout] 1 | / vec![ [INFO] [stdout] 2 | | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 3 | | ] [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_expected identifier [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:81:47 [INFO] [stdout] | [INFO] [stdout] 5 | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> src/lib.rs:80:1 [INFO] [stdout] | [INFO] [stdout] 4 | / vec![ [INFO] [stdout] 5 | | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 6 | | ] [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_expected identifier [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:84:41 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 9 | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> src/lib.rs:83:1 [INFO] [stdout] | [INFO] [stdout] 7 | / vec![ [INFO] [stdout] 8 | | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 9 | | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 10 | | ] [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_expected identifier [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `...` [INFO] [stdout] --> src/lib.rs:88:47 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 13 | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] | ^^^ expected identifier [INFO] [stdout] [INFO] [stdout] error: expected identifier, found `<` [INFO] [stdout] --> src/lib.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 11 | / vec![ [INFO] [stdout] 12 | | SearchSort::Alphabetical(SearchSortOrder::...), [INFO] [stdout] 13 | | SearchSort::Length(SearchSortOrder::...), [INFO] [stdout] 14 | | ] [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_expected identifier [INFO] [stdout] | in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 14 | ] [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::radix_tree_exists (line 888) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:889:23 [INFO] [stdout] | [INFO] [stdout] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + 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] 3 | 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] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:889:14 [INFO] [stdout] | [INFO] [stdout] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RadixTreeExistsResult` in this scope [INFO] [stdout] --> src/lib.rs:891:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_888_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | 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: E0412, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + 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] 3 | 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] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:845:14 [INFO] [stdout] | [INFO] [stdout] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `CreateRadixTreeResult` in this scope [INFO] [stdout] --> src/lib.rs:847:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_844_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | 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: E0412, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + 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] 3 | 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] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:760:14 [INFO] [stdout] | [INFO] [stdout] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BatchOperationResult` in this scope [INFO] [stdout] --> src/lib.rs:762:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rt_pods_client::results::BatchOperationResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchOperation` [INFO] [stdout] --> src/lib.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 8 | 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] 2 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchOperation` [INFO] [stdout] --> src/lib.rs:766:9 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 2 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchOperation` [INFO] [stdout] --> src/lib.rs:767:9 [INFO] [stdout] | [INFO] [stdout] 10 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_759_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | ).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: E0412, E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + 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] 3 | 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] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:638:14 [INFO] [stdout] | [INFO] [stdout] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `InsertResult` in this scope [INFO] [stdout] --> src/lib.rs:640:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_637_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | 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: E0412, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods (line 239) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RtPods` [INFO] [stdout] --> src/lib.rs:240:15 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchOperation` [INFO] [stdout] --> src/lib.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 11 | 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] 2 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchOperation` [INFO] [stdout] --> src/lib.rs:249:12 [INFO] [stdout] | [INFO] [stdout] 12 | 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] 2 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchOperation` [INFO] [stdout] --> src/lib.rs:250:12 [INFO] [stdout] | [INFO] [stdout] 13 | 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] 2 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchOperation` [INFO] [stdout] --> src/lib.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 2 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BatchOperation` [INFO] [stdout] --> src/lib.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 2 + use rt_pods_client::BatchOperation; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchOptionsBuilder` [INFO] [stdout] --> src/lib.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 24 | SearchOptionsBuilder::new(12) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SearchOptionsBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rt_pods_client::SearchOptionsBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchSort` [INFO] [stdout] --> src/lib.rs:262:24 [INFO] [stdout] | [INFO] [stdout] 25 | .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] 2 + use rt_pods_client::SearchSort; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchSortOrder` [INFO] [stdout] --> src/lib.rs:262:43 [INFO] [stdout] | [INFO] [stdout] 25 | .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] 2 + use rt_pods_client::SearchSortOrder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchResult` [INFO] [stdout] --> src/lib.rs:268:8 [INFO] [stdout] | [INFO] [stdout] 31 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_239_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_239_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 18 | .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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_239_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 29 | .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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_239_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 43 | 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_239_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 45 | 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::contains (line 708) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:709:23 [INFO] [stdout] | [INFO] [stdout] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + 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] 3 | 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] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:709:14 [INFO] [stdout] | [INFO] [stdout] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContainsResult` in this scope [INFO] [stdout] --> src/lib.rs:711:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_708_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | 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: E0412, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [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] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + 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] 3 | 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] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:679:14 [INFO] [stdout] | [INFO] [stdout] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RemoveResult` in this scope [INFO] [stdout] --> src/lib.rs:681:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_678_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | 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: E0412, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods::new (line 380) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RtPods` [INFO] [stdout] --> src/lib.rs:382:15 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 2 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RtPods` [INFO] [stdout] --> src/lib.rs:387:15 [INFO] [stdout] | [INFO] [stdout] 9 | 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] 2 + 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] 25 | 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] 2 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/lib.rs:403:15 [INFO] [stdout] | [INFO] [stdout] 25 | 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] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_380_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 16 | 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::search (line 574) stdout ---- [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/lib.rs:575:23 [INFO] [stdout] | [INFO] [stdout] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + 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] 3 | 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] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:575:14 [INFO] [stdout] | [INFO] [stdout] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SearchResult` in this scope [INFO] [stdout] --> src/lib.rs:577:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + use rt_pods_client::results::SearchResult; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchOptionsBuilder` [INFO] [stdout] --> src/lib.rs:580:5 [INFO] [stdout] | [INFO] [stdout] 8 | SearchOptionsBuilder::new(12) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared type `SearchOptionsBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rt_pods_client::SearchOptionsBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchSort` [INFO] [stdout] --> src/lib.rs:581:19 [INFO] [stdout] | [INFO] [stdout] 9 | .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] 2 + use rt_pods_client::SearchSort; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SearchSortOrder` [INFO] [stdout] --> src/lib.rs:581:38 [INFO] [stdout] | [INFO] [stdout] 9 | .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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_574_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 12 | ).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: E0412, E0433, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods (line 287) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RtPods` [INFO] [stdout] --> src/lib.rs:289:15 [INFO] [stdout] | [INFO] [stdout] 4 | 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] 2 + 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] 20 | 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] 2 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/lib.rs:305:15 [INFO] [stdout] | [INFO] [stdout] 20 | 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] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_287_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 11 | 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] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + 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] 3 | 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] 3 - let rt_pods: RtPods = ...; [INFO] [stdout] 3 + let rt_pods: RtPods = ..; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RtPods` in this scope [INFO] [stdout] --> src/lib.rs:812:14 [INFO] [stdout] | [INFO] [stdout] 3 | let rt_pods: RtPods = ...; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use rt_pods_client::RtPods; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DeleteRadixTreeResult` in this scope [INFO] [stdout] --> src/lib.rs:814:13 [INFO] [stdout] | [INFO] [stdout] 5 | 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] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_811_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 5 | 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: E0412, E0586, E0728. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - RtPods::sync (line 517) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RtPods` [INFO] [stdout] --> src/lib.rs:518:15 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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] 15 | 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] 2 + use std::thread::sleep; [INFO] [stdout] | [INFO] [stdout] 2 + use tokio::time::sleep; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Duration` [INFO] [stdout] --> src/lib.rs:530:15 [INFO] [stdout] | [INFO] [stdout] 15 | 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] 2 + use std::time::Duration; [INFO] [stdout] | [INFO] [stdout] 2 + 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] 2 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_517_0() { [INFO] [stdout] | ----------------------------------- this is not `async` [INFO] [stdout] ... [INFO] [stdout] 9 | 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] [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.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f61a673a1daeb674e1ca446550c4d3b486db2df7c1712ddabd82c972eacee3dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f61a673a1daeb674e1ca446550c4d3b486db2df7c1712ddabd82c972eacee3dc", kill_on_drop: false }` [INFO] [stdout] f61a673a1daeb674e1ca446550c4d3b486db2df7c1712ddabd82c972eacee3dc