[INFO] fetching crate mungos 0.3.18...
[INFO] testing mungos-0.3.18 against beta-2023-04-20 for beta-1.70-1
[INFO] extracting crate mungos 0.3.18 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate mungos 0.3.18 on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mungos 0.3.18
[INFO] finished tweaking crates.io crate mungos 0.3.18
[INFO] tweaked toml for crates.io crate mungos 0.3.18 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" __CARGO_TEST_CHANNEL_OVERRIDE_DO_NOT_USE_THIS="nightly" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded bson v2.6.1
[INFO] [stderr]   Downloaded mongodb v2.5.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2939e201bc4b074e9299fdfc9f4fe2ace61106517c9b516a86b1a351aa8b43e9
[INFO] running `Command { std: "docker" "start" "-a" "2939e201bc4b074e9299fdfc9f4fe2ace61106517c9b516a86b1a351aa8b43e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2939e201bc4b074e9299fdfc9f4fe2ace61106517c9b516a86b1a351aa8b43e9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2939e201bc4b074e9299fdfc9f4fe2ace61106517c9b516a86b1a351aa8b43e9", kill_on_drop: false }`
[INFO] [stdout] 2939e201bc4b074e9299fdfc9f4fe2ace61106517c9b516a86b1a351aa8b43e9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dcacfae439157e772cc54bb255ff1152689f026a9d7feeb8d53bb8e06f00b762
[INFO] running `Command { std: "docker" "start" "-a" "dcacfae439157e772cc54bb255ff1152689f026a9d7feeb8d53bb8e06f00b762", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.142
[INFO] [stderr]    Compiling proc-macro2 v1.0.56
[INFO] [stderr]    Compiling unicode-ident v1.0.8
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling typenum v1.16.0
[INFO] [stderr]    Compiling serde_derive v1.0.160
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling serde v1.0.160
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling once_cell v1.17.1
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling tokio v1.28.0
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling untrusted v0.7.1
[INFO] [stderr]    Compiling spin v0.5.2
[INFO] [stderr]    Compiling pkg-config v0.3.26
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling futures-io v0.3.28
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling ppv-lite86 v0.2.17
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling lock_api v0.4.9
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling thiserror v1.0.40
[INFO] [stderr]    Compiling async-trait v0.1.68
[INFO] [stderr]    Compiling percent-encoding v2.2.0
[INFO] [stderr]    Compiling syn v2.0.15
[INFO] [stderr]    Compiling jobserver v0.1.26
[INFO] [stderr]    Compiling getrandom v0.2.9
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling signal-hook-registry v1.4.1
[INFO] [stderr]    Compiling mio v0.8.6
[INFO] [stderr]    Compiling num_cpus v1.15.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.7
[INFO] [stderr]    Compiling smallvec v1.10.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling idna v0.3.0
[INFO] [stderr]    Compiling form_urlencoded v1.1.0
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling matches v0.1.10
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling time-core v0.1.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling match_cfg v0.1.0
[INFO] [stderr]    Compiling rustls v0.20.8
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling serde_json v1.0.96
[INFO] [stderr]    Compiling digest v0.10.6
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling hostname v0.3.1
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]    Compiling time-macros v0.2.8
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling quick-error v1.2.3
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling ipnet v2.7.2
[INFO] [stderr]    Compiling data-encoding v2.3.3
[INFO] [stderr]    Compiling cpufeatures v0.2.7
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling zstd-sys v2.0.8+zstd.1.5.5
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling snap v1.1.0
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling lru-cache v0.1.2
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling parking_lot v0.12.1
[INFO] [stderr]    Compiling resolv-conf v0.7.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling base64 v0.21.0
[INFO] [stderr]    Compiling iana-time-zone v0.1.56
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling anyhow v1.0.71
[INFO] [stderr]    Compiling flate2 v1.0.26
[INFO] [stderr]    Compiling chrono v0.4.24
[INFO] [stderr]    Compiling time v0.3.20
[INFO] [stderr]    Compiling rustls-pemfile v1.0.2
[INFO] [stderr]    Compiling sha-1 v0.10.1
[INFO] [stderr]    Compiling sha2 v0.10.6
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling md-5 v0.10.5
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling stringprep v0.1.2
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling tokio-macros v2.1.0
[INFO] [stderr]    Compiling futures-macro v0.3.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.40
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling webpki-roots v0.22.6
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling futures-executor v0.3.28
[INFO] [stderr]    Compiling futures v0.3.28
[INFO] [stderr]    Compiling trust-dns-proto v0.21.2
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling tokio-rustls v0.23.4
[INFO] [stderr]    Compiling uuid v1.3.2
[INFO] [stderr]    Compiling serde_bytes v0.11.9
[INFO] [stderr]    Compiling serde_with v1.14.0
[INFO] [stderr]    Compiling envy v0.4.2
[INFO] [stderr]    Compiling trust-dns-resolver v0.21.2
[INFO] [stderr]    Compiling bson v2.6.1
[INFO] [stderr]    Compiling mongodb v2.5.0
[INFO] [stderr]    Compiling mungos v0.3.18 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 32.54s
[INFO] running `Command { std: "docker" "inspect" "dcacfae439157e772cc54bb255ff1152689f026a9d7feeb8d53bb8e06f00b762", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcacfae439157e772cc54bb255ff1152689f026a9d7feeb8d53bb8e06f00b762", kill_on_drop: false }`
[INFO] [stdout] dcacfae439157e772cc54bb255ff1152689f026a9d7feeb8d53bb8e06f00b762
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 590e76684a5b1623e3dec6c289428c63e8860bb3005078e4e09cf50b22e23c54
[INFO] running `Command { std: "docker" "start" "-a" "590e76684a5b1623e3dec6c289428c63e8860bb3005078e4e09cf50b22e23c54", kill_on_drop: false }`
[INFO] [stderr]    Compiling mungos v0.3.18 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.81s
[INFO] running `Command { std: "docker" "inspect" "590e76684a5b1623e3dec6c289428c63e8860bb3005078e4e09cf50b22e23c54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "590e76684a5b1623e3dec6c289428c63e8860bb3005078e4e09cf50b22e23c54", kill_on_drop: false }`
[INFO] [stdout] 590e76684a5b1623e3dec6c289428c63e8860bb3005078e4e09cf50b22e23c54
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] c6b5a9a869e639d9dee3f1eef99ca5b525e93eb32fad67ceec1e7eb9046ba45d
[INFO] running `Command { std: "docker" "start" "-a" "c6b5a9a869e639d9dee3f1eef99ca5b525e93eb32fad67ceec1e7eb9046ba45d", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mungos-df88f6faeaa550a9)
[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 mungos
[INFO] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/queries/delete_one.rs - queries::delete_one (line 7) ... FAILED
[INFO] [stdout] test src/queries/create_one.rs - queries::create_one (line 7) ... FAILED
[INFO] [stdout] test src/queries/get_many_by_id.rs - queries::get_many_by_id (line 8) ... FAILED
[INFO] [stdout] test src/queries/get_some.rs - queries::get_some (line 10) ... FAILED
[INFO] [stdout] test src/queries/delete_many.rs - queries::delete_many (line 5) ... FAILED
[INFO] [stdout] test src/queries/get_most_recent.rs - queries::get_most_recent (line 11) ... FAILED
[INFO] [stdout] test src/queries/create_many.rs - queries::create_many (line 8) ... FAILED
[INFO] [stdout] test src/queries/update_one.rs - queries::update_one (line 9) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/queries/delete_one.rs - queries::delete_one (line 7) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/queries/delete_one.rs:8:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mungos::{Mungos, ObjectId}
[INFO] [stdout]   |                               ^ help: add `;` here
[INFO] [stdout] 5 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/delete_one.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 6 |      
[INFO] [stdout] 7 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `,`, or `}`, found `field`
[INFO] [stdout]  --> src/queries/delete_one.rs:13:22
[INFO] [stdout]   |
[INFO] [stdout] 9 |         _id: ObjectId
[INFO] [stdout]   |                      ^ help: try adding a comma: `,`
[INFO] [stdout] 
[INFO] [stdout] error: expected `,`
[INFO] [stdout]   --> src/queries/delete_one.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         field: String
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/delete_one.rs:17:45
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tokio::time::timeout;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/delete_one.rs:17:53
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_delete_one_rs_7_0() {
[INFO] [stdout]    |                                         ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     let db = Mungos::new("uri", "app name", timeout).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/queries/delete_one.rs:21:30
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_delete_one_rs_7_0() {
[INFO] [stdout]    |                                         ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 |     collection.delete_one(id).await.unwrap();
[INFO] [stdout]    |                              ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/queries/delete_one.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |              ^^^^^^^^^^^---------------------------- an argument is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub async fn new(
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let db = Mungos::new("uri", "app name", timeout, /* compressors */).await;
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `connection` found for enum `Result` in the current scope
[INFO] [stdout]   --> src/queries/delete_one.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let collection = db.connection::<Item>("db name", "collection name");
[INFO] [stdout]    |                         ^^^^^^^^^^ method not found in `Result<Mungos, Error>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/queries/create_one.rs - queries::create_one (line 7) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/queries/create_one.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mungos::{Mungos}
[INFO] [stdout]   |                     ^ help: add `;` here
[INFO] [stdout] 5 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/create_one.rs:9:40
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 6 |      
[INFO] [stdout] 7 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/create_one.rs:16:45
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tokio::time::timeout;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/create_one.rs:16:53
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_create_one_rs_7_0() {
[INFO] [stdout]    |                                         ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).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/queries/create_one.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_create_one_rs_7_0() {
[INFO] [stdout]    |                                         ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     collection.create_one(item).await.unwrap();
[INFO] [stdout]    |                                ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/queries/create_one.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |              ^^^^^^^^^^^---------------------------- an argument is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub async fn new(
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout, /* compressors */).await;
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `connection` found for enum `Result` in the current scope
[INFO] [stdout]   --> src/queries/create_one.rs:17:25
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let collection = db.connection::<Item>("db name", "collection name");
[INFO] [stdout]    |                         ^^^^^^^^^^ method not found in `Result<Mungos, Error>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/queries/get_many_by_id.rs - queries::get_many_by_id (line 8) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/queries/get_many_by_id.rs:9:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mungos::{Mungos}
[INFO] [stdout]   |                     ^ help: add `;` here
[INFO] [stdout] 5 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/get_many_by_id.rs:10:40
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 6 |      
[INFO] [stdout] 7 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/get_many_by_id.rs:17:45
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tokio::time::timeout;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/get_many_by_id.rs:17:53
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_get_many_by_id_rs_8_0() {
[INFO] [stdout]    |                                         ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).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/queries/get_many_by_id.rs:21:35
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_get_many_by_id_rs_8_0() {
[INFO] [stdout]    |                                         ----------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     collection.get_many_by_id(ids).await.unwrap();
[INFO] [stdout]    |                                   ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/queries/get_many_by_id.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |              ^^^^^^^^^^^---------------------------- an argument is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub async fn new(
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout, /* compressors */).await;
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `connection` found for enum `Result` in the current scope
[INFO] [stdout]   --> src/queries/get_many_by_id.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let collection = db.connection::<Item>("db name", "collection name");
[INFO] [stdout]    |                         ^^^^^^^^^^ method not found in `Result<Mungos, Error>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/queries/get_some.rs - queries::get_some (line 10) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/queries/get_some.rs:27:64
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let find_options_2 = FindOptions::builder().skip(5).build()
[INFO] [stdout]    |                                                                ^ help: add `;` here
[INFO] [stdout] 21 |     let items_2 = collection.get_some(None, find_options_2).await.unwrap()
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `}`
[INFO] [stdout]   --> src/queries/get_some.rs:28:75
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let items_2 = collection.get_some(None, find_options_2).await.unwrap()
[INFO] [stdout]    |                                                                           ^ help: add `;` here
[INFO] [stdout] 22 | } _doctest_main_src_queries_get_some_rs_10_0() }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/get_some.rs:18:45
[INFO] [stdout]    |
[INFO] [stdout] 11 |     let db = Mungos::new("uri", "app name", timeout, None).await;
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tokio::time::timeout;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `_id` in this scope
[INFO] [stdout]   --> src/queries/get_some.rs:23:59
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let find_options = FindOptions::builder().sort(doc! { _id: -1 }).limit(10).build();
[INFO] [stdout]    |                                                           ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/get_some.rs:18:59
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_get_some_rs_10_0() {
[INFO] [stdout]    |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 11 |     let db = Mungos::new("uri", "app name", timeout, None).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/queries/get_some.rs:24:58
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_get_some_rs_10_0() {
[INFO] [stdout]    |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 17 |     let items = collection.get_some(filter, find_options).await.unwrap();    
[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/queries/get_some.rs:28:60
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_get_some_rs_10_0() {
[INFO] [stdout]    |                                         ------------------------------------------ this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 21 |     let items_2 = collection.get_some(None, find_options_2).await.unwrap()
[INFO] [stdout]    |                                                            ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `connection` found for enum `Result` in the current scope
[INFO] [stdout]   --> src/queries/get_some.rs:19:25
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let collection = db.connection::<Item>("db name", "collection name");
[INFO] [stdout]    |                         ^^^^^^^^^^ method not found in `Result<Mungos, Error>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/queries/delete_many.rs - queries::delete_many (line 5) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/queries/delete_many.rs:6:26
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mungos::{Mungos, doc}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 5 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/delete_many.rs:7:40
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 6 |      
[INFO] [stdout] 7 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/delete_many.rs:14:45
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tokio::time::timeout;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/delete_many.rs:14:53
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_delete_many_rs_5_0() {
[INFO] [stdout]    |                                         -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).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/queries/delete_many.rs:18:54
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_delete_many_rs_5_0() {
[INFO] [stdout]    |                                         -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     collection.delete_many(doc! { "field": "apple" }).await.unwrap();
[INFO] [stdout]    |                                                      ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/queries/delete_many.rs:14:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |              ^^^^^^^^^^^---------------------------- an argument is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub async fn new(
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout, /* compressors */).await;
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `connection` found for enum `Result` in the current scope
[INFO] [stdout]   --> src/queries/delete_many.rs:15:25
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let collection = db.connection::<Item>("db name", "collection name");
[INFO] [stdout]    |                         ^^^^^^^^^^ method not found in `Result<Mungos, Error>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 7 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/queries/get_most_recent.rs - queries::get_most_recent (line 11) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/queries/get_most_recent.rs:12:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | use mungos::{Mungos}
[INFO] [stdout]   |                     ^ help: add `;` here
[INFO] [stdout] 5 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/get_most_recent.rs:13:40
[INFO] [stdout]   |
[INFO] [stdout] 5 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 6 |      
[INFO] [stdout] 7 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/queries/get_most_recent.rs:23:15
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let n = 10
[INFO] [stdout]    |               ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 19 |     let items = collection.get_most_recent(n, 0, None, None).await.unwrap();
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/get_most_recent.rs:20:45
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tokio::time::timeout;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/get_most_recent.rs:20:53
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_get_most_recent_rs_11_0() {
[INFO] [stdout]    |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).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/queries/get_most_recent.rs:27:61
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_get_most_recent_rs_11_0() {
[INFO] [stdout]    |                                         ------------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 19 |     let items = collection.get_most_recent(n, 0, None, None).await.unwrap();
[INFO] [stdout]    |                                                             ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/queries/get_most_recent.rs:20:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |              ^^^^^^^^^^^---------------------------- an argument is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub async fn new(
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout, /* compressors */).await;
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `connection` found for enum `Result` in the current scope
[INFO] [stdout]   --> src/queries/get_most_recent.rs:21:25
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let collection = db.connection::<Item>("db name", "collection name");
[INFO] [stdout]    |                         ^^^^^^^^^^ method not found in `Result<Mungos, Error>`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/queries/create_many.rs - queries::create_many (line 8) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/queries/create_many.rs:20:36
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                               ---- ^^^ expected identifier
[INFO] [stdout]    |                               |
[INFO] [stdout]    |                               while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/queries/create_many.rs:20:51
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                                              ---- ^^^ expected identifier
[INFO] [stdout]    |                                              |
[INFO] [stdout]    |                                              while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/queries/create_many.rs:20:66
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                                                             ---- ^^^ expected identifier
[INFO] [stdout]    |                                                             |
[INFO] [stdout]    |                                                             while parsing this struct
[INFO] [stdout] 
[INFO] [stdout] error: unexpected token: `...`
[INFO] [stdout]   --> src/queries/create_many.rs:20:74
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                                                                          ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ..])
[INFO] [stdout]    |                                                                          ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ..=])
[INFO] [stdout]    |                                                                          ~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0586]: inclusive range with no end
[INFO] [stdout]   --> src/queries/create_many.rs:20:74
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                                                                          ^^^ help: use `..` instead
[INFO] [stdout]    |
[INFO] [stdout]    = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`)
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `db`
[INFO] [stdout]   --> src/queries/create_many.rs:20:79
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                                                                               ^ help: add `;` here
[INFO] [stdout] 16 |     db.collection.create_many(items).await.unwrap()
[INFO] [stdout]    |     -- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/create_many.rs:17:45
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tokio::time::timeout;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/create_many.rs:17:53
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_create_many_rs_8_0() {
[INFO] [stdout]    |                                         -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).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/queries/create_many.rs:21:37
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_create_many_rs_8_0() {
[INFO] [stdout]    |                                         -------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 16 |     db.collection.create_many(items).await.unwrap()
[INFO] [stdout]    |                                     ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/queries/create_many.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |              ^^^^^^^^^^^---------------------------- an argument is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub async fn new(
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let db = Mungos::new("uri", "app name", timeout, /* compressors */).await;
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `connection` found for enum `Result` in the current scope
[INFO] [stdout]   --> src/queries/create_many.rs:18:25
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let collection = db.connection::<Item>("db name", "collection name");
[INFO] [stdout]    |                         ^^^^^^^^^^ method not found in `Result<Mungos, Error>`
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `field` in initializer of `Item`
[INFO] [stdout]   --> src/queries/create_many.rs:20:31
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                               ^^^^ missing `field`
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `field` in initializer of `Item`
[INFO] [stdout]   --> src/queries/create_many.rs:20:46
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                                              ^^^^ missing `field`
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `field` in initializer of `Item`
[INFO] [stdout]   --> src/queries/create_many.rs:20:61
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                                                             ^^^^ missing `field`
[INFO] [stdout] 
[INFO] [stdout] error[E0609]: no field `collection` on type `Result<Mungos, mungos::Error>`
[INFO] [stdout]   --> src/queries/create_many.rs:21:8
[INFO] [stdout]    |
[INFO] [stdout] 16 |     db.collection.create_many(items).await.unwrap()
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 15 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0425, E0586, E0599, E0609, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/queries/update_one.rs - queries::update_one (line 9) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `let`
[INFO] [stdout]   --> src/queries/update_one.rs:27:19
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let id = "..."
[INFO] [stdout]    |                   ^ help: add `;` here
[INFO] [stdout] 22 |     let update = ItemUpdate { field1: "..." }
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `collection`
[INFO] [stdout]   --> src/queries/update_one.rs:28:46
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let update = ItemUpdate { field1: "..." }
[INFO] [stdout]    |                                              ^ help: add `;` here
[INFO] [stdout] 23 |     collection.update_one(id, Update::Regular(update.clone())).await.unwrap();
[INFO] [stdout]    |     ---------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/update_one.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |                                             ^^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this function
[INFO] [stdout]    |
[INFO] [stdout] 2  + use tokio::time::timeout;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/update_one.rs:24:53
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_update_one_rs_9_0() {
[INFO] [stdout]    |                                         ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 |     let db = Mungos::new("uri", "app name", timeout).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/queries/update_one.rs:29:63
[INFO] [stdout]    |
[INFO] [stdout] 3  | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_queries_update_one_rs_9_0() {
[INFO] [stdout]    |                                         ------------------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 23 |     collection.update_one(id, Update::Regular(update.clone())).await.unwrap();
[INFO] [stdout]    |                                                               ^^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 4 arguments but 3 arguments were supplied
[INFO] [stdout]   --> src/queries/update_one.rs:24:14
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let db = Mungos::new("uri", "app name", timeout).await;
[INFO] [stdout]    |              ^^^^^^^^^^^---------------------------- an argument is missing
[INFO] [stdout]    |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/lib.rs:46:18
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub async fn new(
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 18 |     let db = Mungos::new("uri", "app name", timeout, /* compressors */).await;
[INFO] [stdout]    |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `connection` found for enum `Result` in the current scope
[INFO] [stdout]   --> src/queries/update_one.rs:25:25
[INFO] [stdout]    |
[INFO] [stdout] 19 |     let collection = db.connection::<Item>("db name", "collection name");
[INFO] [stdout]    |                         ^^^^^^^^^^ method not found in `Result<Mungos, Error>`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/queries/update_one.rs:28:39
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let update = ItemUpdate { field1: "..." }
[INFO] [stdout]    |                                       ^^^^^- help: try using a conversion method: `.to_string()`
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       expected `String`, found `&str`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/queries/update_one.rs:30:69
[INFO] [stdout]     |
[INFO] [stdout] 24  |     collection.update_one(id, Update::Custom(doc! { "$set": to_bson(update) }))
[INFO] [stdout]     |                                                             ------- ^^^^^^
[INFO] [stdout]     |                                                             |       |
[INFO] [stdout]     |                                                             |       expected `&_`, found `ItemUpdate`
[INFO] [stdout]     |                                                             |       help: consider borrowing here: `&update`
[INFO] [stdout]     |                                                             arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `ItemUpdate`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/bson-2.6.1/src/ser/mod.rs:194:8
[INFO] [stdout]     |
[INFO] [stdout] 194 | pub fn to_bson<T: ?Sized>(value: &T) -> Result<Bson>
[INFO] [stdout]     |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Bson: From<Result<Bson, mungos::bson::ser::Error>>` is not satisfied
[INFO] [stdout]   --> src/queries/update_one.rs:30:61
[INFO] [stdout]    |
[INFO] [stdout] 24 |     collection.update_one(id, Update::Custom(doc! { "$set": to_bson(update) }))
[INFO] [stdout]    |                                              ---------------^^^^^^^^^^^^^^^--
[INFO] [stdout]    |                                              |              |
[INFO] [stdout]    |                                              |              the trait `From<Result<Bson, mungos::bson::ser::Error>>` is not implemented for `Bson`
[INFO] [stdout]    |                                              required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the following other types implement trait `From<T>`:
[INFO] [stdout]              <Bson as From<&T>>
[INFO] [stdout]              <Bson as From<&[T]>>
[INFO] [stdout]              <Bson as From<&str>>
[INFO] [stdout]              <Bson as From<Regex>>
[INFO] [stdout]              <Bson as From<Vec<T>>>
[INFO] [stdout]              <Bson as From<[u8; 12]>>
[INFO] [stdout]              <Bson as From<bool>>
[INFO] [stdout]              <Bson as From<f32>>
[INFO] [stdout]            and 19 others
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0425, E0599, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/queries/create_many.rs - queries::create_many (line 8)
[INFO] [stdout]     src/queries/create_one.rs - queries::create_one (line 7)
[INFO] [stdout]     src/queries/delete_many.rs - queries::delete_many (line 5)
[INFO] [stdout]     src/queries/delete_one.rs - queries::delete_one (line 7)
[INFO] [stdout]     src/queries/get_many_by_id.rs - queries::get_many_by_id (line 8)
[INFO] [stdout]     src/queries/get_most_recent.rs - queries::get_most_recent (line 11)
[INFO] [stdout]     src/queries/get_some.rs - queries::get_some (line 10)
[INFO] [stdout]     src/queries/update_one.rs - queries::update_one (line 9)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "c6b5a9a869e639d9dee3f1eef99ca5b525e93eb32fad67ceec1e7eb9046ba45d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c6b5a9a869e639d9dee3f1eef99ca5b525e93eb32fad67ceec1e7eb9046ba45d", kill_on_drop: false }`
[INFO] [stdout] c6b5a9a869e639d9dee3f1eef99ca5b525e93eb32fad67ceec1e7eb9046ba45d
