[INFO] fetching crate mungos 0.4.22...
[INFO] testing mungos-0.4.22 against 1.75.0 for beta-1.76-1
[INFO] extracting crate mungos 0.4.22 into /workspace/builds/worker-4-tc1/source
[INFO] validating manifest of crates.io crate mungos 0.4.22 on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mungos 0.4.22
[INFO] finished tweaking crates.io crate mungos 0.4.22
[INFO] tweaked toml for crates.io crate mungos 0.4.22 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rustc_version_runtime v0.2.1
[INFO] [stderr]   Downloaded mongodb v2.8.0
[INFO] [stderr]   Downloaded mungos_derive v0.4.15
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 37bb45c6ebd1d405f01e27f20dd9453b393ae9d21004a03ecc7248db60f66130
[INFO] running `Command { std: "docker" "start" "-a" "37bb45c6ebd1d405f01e27f20dd9453b393ae9d21004a03ecc7248db60f66130", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "37bb45c6ebd1d405f01e27f20dd9453b393ae9d21004a03ecc7248db60f66130", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "37bb45c6ebd1d405f01e27f20dd9453b393ae9d21004a03ecc7248db60f66130", kill_on_drop: false }`
[INFO] [stdout] 37bb45c6ebd1d405f01e27f20dd9453b393ae9d21004a03ecc7248db60f66130
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0d04fcb0ea2866fa3c5646aac850df7d9dd39b2a61d3ace36d3771dc750a7fed
[INFO] running `Command { std: "docker" "start" "-a" "0d04fcb0ea2866fa3c5646aac850df7d9dd39b2a61d3ace36d3771dc750a7fed", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling jobserver v0.1.27
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling pkg-config v0.3.28
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling rustls v0.21.10
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling time-macros v0.2.16
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling ring v0.17.7
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling zstd-sys v2.0.9+zstd.1.5.5
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling snap v1.1.1
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling time v0.3.31
[INFO] [stderr]    Compiling base64 v0.21.5
[INFO] [stderr]    Compiling stringprep v0.1.4
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling sha-1 v0.10.1
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling webpki-roots v0.25.3
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling mungos_derive v0.4.15
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling trust-dns-proto v0.21.2
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling trust-dns-resolver v0.21.2
[INFO] [stderr]    Compiling serde_bytes v0.11.14
[INFO] [stderr]    Compiling uuid v1.6.1
[INFO] [stderr]    Compiling serde_with v1.14.0
[INFO] [stderr]    Compiling envy v0.4.2
[INFO] [stderr]    Compiling bson v2.8.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling mongodb v2.8.0
[INFO] [stderr]    Compiling mungos v0.4.22 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 45.19s
[INFO] running `Command { std: "docker" "inspect" "0d04fcb0ea2866fa3c5646aac850df7d9dd39b2a61d3ace36d3771dc750a7fed", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0d04fcb0ea2866fa3c5646aac850df7d9dd39b2a61d3ace36d3771dc750a7fed", kill_on_drop: false }`
[INFO] [stdout] 0d04fcb0ea2866fa3c5646aac850df7d9dd39b2a61d3ace36d3771dc750a7fed
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 32f278c07bb504175e7918562d2c1e477b94c930034f0d45db86919a0c0c95b6
[INFO] running `Command { std: "docker" "start" "-a" "32f278c07bb504175e7918562d2c1e477b94c930034f0d45db86919a0c0c95b6", kill_on_drop: false }`
[INFO] [stderr]    Compiling mungos v0.4.22 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.34s
[INFO] running `Command { std: "docker" "inspect" "32f278c07bb504175e7918562d2c1e477b94c930034f0d45db86919a0c0c95b6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "32f278c07bb504175e7918562d2c1e477b94c930034f0d45db86919a0c0c95b6", kill_on_drop: false }`
[INFO] [stdout] 32f278c07bb504175e7918562d2c1e477b94c930034f0d45db86919a0c0c95b6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+1.75.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b97b8bad10c29da0b2b397209d92b4d456cec9c9285ee03410546b5059ff58b5
[INFO] running `Command { std: "docker" "start" "-a" "b97b8bad10c29da0b2b397209d92b4d456cec9c9285ee03410546b5059ff58b5", 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-d7c5f564a97f1526)
[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/get_most_recent.rs - queries::get_most_recent (line 11) ... FAILED
[INFO] [stdout] test src/queries/delete_one.rs - queries::delete_one (line 7) ... FAILED
[INFO] [stdout] test src/queries/delete_many.rs - queries::delete_many (line 5) ... FAILED
[INFO] [stdout] test src/queries/create_one.rs - queries::create_one (line 7) ... FAILED
[INFO] [stdout] test src/queries/get_some.rs - queries::get_some (line 10) ... FAILED
[INFO] [stdout] test src/queries/get_many_by_id.rs - queries::get_many_by_id (line 8) ... 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/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:13:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos}
[INFO] [stdout]   |                     ^ help: add `;` here
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/get_most_recent.rs:14:40
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 7 |      
[INFO] [stdout] 8 |     #[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:24:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let n = 10
[INFO] [stdout]    |               ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 20 |     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:21: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/get_most_recent.rs:21:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 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/get_most_recent.rs:28:62
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 20 |     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:21: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/mungos.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     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/get_most_recent.rs:22: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 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/delete_one.rs - queries::delete_one (line 7) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/queries/delete_one.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, ObjectId}
[INFO] [stdout]   |                               ^ help: add `;` here
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/delete_one.rs:10:40
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 7 |      
[INFO] [stdout] 8 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `,`, or `}`, found `field`
[INFO] [stdout]   --> src/queries/delete_one.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 10 |         _id: ObjectId
[INFO] [stdout]    |                      ^ help: try adding a comma: `,`
[INFO] [stdout] 
[INFO] [stdout] error: expected `,`
[INFO] [stdout]   --> src/queries/delete_one.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         field: String
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mungos::ObjectId`
[INFO] [stdout]  --> src/queries/delete_one.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, ObjectId}
[INFO] [stdout]   |                      ^^^^^^^^ no `ObjectId` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/delete_one.rs:18:45
[INFO] [stdout]    |
[INFO] [stdout] 14 |     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:18:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 14 |     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:22:31
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 18 |     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:18:14
[INFO] [stdout]    |
[INFO] [stdout] 14 |     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/mungos.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub async fn new(
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 14 |     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:19:25
[INFO] [stdout]    |
[INFO] [stdout] 15 |     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 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, 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/delete_many.rs - queries::delete_many (line 5) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/queries/delete_many.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, doc}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/delete_many.rs:8:40
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 7 |      
[INFO] [stdout] 8 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mungos::doc`
[INFO] [stdout]  --> src/queries/delete_many.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, doc}
[INFO] [stdout]   |                      ^^^ no `doc` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this module instead:
[INFO] [stdout]           serde::__private::doc
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `doc`
[INFO] [stdout]   --> src/queries/delete_many.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |     collection.delete_many(doc! { "field": "apple" }).await.unwrap();
[INFO] [stdout]    |                            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/delete_many.rs:15: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[E0659]: `doc` is ambiguous
[INFO] [stdout]  --> src/queries/delete_many.rs:10:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |                     ^^^^^^^^^ ambiguous name
[INFO] [stdout]   |
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] [stdout]   = note: ambiguous because of a name conflict with a builtin attribute
[INFO] [stdout]   = note: `doc` could refer to a built-in attribute
[INFO] [stdout] note: `doc` could also refer to the unresolved item imported here
[INFO] [stdout]  --> src/queries/delete_many.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, doc}
[INFO] [stdout]   |                      ^^^
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doc` is ambiguous
[INFO] [stdout]  --> src/queries/delete_many.rs:10:32
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |                                ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]   |
[INFO] [stdout]   = note: ambiguous because of a name conflict with a builtin attribute
[INFO] [stdout]   = note: `doc` could refer to a built-in attribute
[INFO] [stdout] note: `doc` could also refer to the unresolved item imported here
[INFO] [stdout]  --> src/queries/delete_many.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, doc}
[INFO] [stdout]   |                      ^^^
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/delete_many.rs:15:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 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_many.rs:19:55
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 17 |     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:15: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/mungos.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     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_many.rs:16: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 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0425, E0432, E0599, E0659, 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:9:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos}
[INFO] [stdout]   |                     ^ help: add `;` here
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/create_one.rs:10:40
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 7 |      
[INFO] [stdout] 8 |     #[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: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/create_one.rs:17:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 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/create_one.rs:21:33
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 17 |     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: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/mungos.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     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/create_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 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:28:64
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let find_options_2 = FindOptions::builder().skip(5).build()
[INFO] [stdout]    |                                                                ^ help: add `;` here
[INFO] [stdout] 22 |     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:29:75
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let items_2 = collection.get_some(None, find_options_2).await.unwrap()
[INFO] [stdout]    |                                                                           ^ help: add `;` here
[INFO] [stdout] 23 | } _doctest_main_src_queries_get_some_rs_10_0() }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `mungos::FindOptions`, `mungos::doc`, `mungos::Serialize`, `mungos::Deserialize`
[INFO] [stdout]  --> src/queries/get_some.rs:12:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, FindOptions, doc, Serialize, Deserialize};
[INFO] [stdout]   |                      ^^^^^^^^^^^  ^^^  ^^^^^^^^^  ^^^^^^^^^^^ no `Deserialize` in the root
[INFO] [stdout]   |                      |            |    |
[INFO] [stdout]   |                      |            |    no `Serialize` in the root
[INFO] [stdout]   |                      |            no `doc` in the root
[INFO] [stdout]   |                      no `FindOptions` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           mongodb::options::FindOptions
[INFO] [stdout]   = help: consider importing this module instead:
[INFO] [stdout]           serde::__private::doc
[INFO] [stdout]   = help: consider importing this trait instead:
[INFO] [stdout]           serde::Serialize
[INFO] [stdout]   = help: consider importing this trait instead:
[INFO] [stdout]           serde::Deserialize
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `doc`
[INFO] [stdout]   --> src/queries/get_some.rs:24:52
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let find_options = FindOptions::builder().sort(doc! { _id: -1 }).limit(10).build();
[INFO] [stdout]    |                                                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize`
[INFO] [stdout]  --> src/queries/get_some.rs:14:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize`
[INFO] [stdout]  --> src/queries/get_some.rs:14:32
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |                                ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/get_some.rs:19:45
[INFO] [stdout]    |
[INFO] [stdout] 12 |     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[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/get_some.rs:19:60
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 12 |     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:25:59
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 18 |     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:29:61
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 22 |     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:20: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 11 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, 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/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:10:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos}
[INFO] [stdout]   |                     ^ help: add `;` here
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/get_many_by_id.rs:11:40
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 7 |      
[INFO] [stdout] 8 |     #[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:18: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/get_many_by_id.rs:18:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 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/get_many_by_id.rs:22:36
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 17 |     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:18: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/mungos.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     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/get_many_by_id.rs:19: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 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/create_many.rs - queries::create_many (line 8) stdout ----
[INFO] [stdout] error: expected identifier, found `...`
[INFO] [stdout]   --> src/queries/create_many.rs:21:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:51
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:66
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:74
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                                                                          ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ..])
[INFO] [stdout]    |                                                                          ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:74
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:79
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                                                                               ^ help: add `;` here
[INFO] [stdout] 17 |     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:18: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/create_many.rs:18:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 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/create_many.rs:22:38
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 17 |     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:18: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/mungos.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     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/create_many.rs:19: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[E0063]: missing field `field` in initializer of `Item`
[INFO] [stdout]   --> src/queries/create_many.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:46
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:61
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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::mongodb::error::Error>`
[INFO] [stdout]   --> src/queries/create_many.rs:22:8
[INFO] [stdout]    |
[INFO] [stdout] 17 |     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:28:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let id = "..."
[INFO] [stdout]    |                   ^ help: add `;` here
[INFO] [stdout] 23 |     let update = ItemUpdate { field1: "..." }
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `collection`
[INFO] [stdout]   --> src/queries/update_one.rs:29:46
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let update = ItemUpdate { field1: "..." }
[INFO] [stdout]    |                                              ^ help: add `;` here
[INFO] [stdout] 24 |     collection.update_one(id, Update::Regular(update.clone())).await.unwrap();
[INFO] [stdout]    |     ---------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `mungos::doc`, `mungos::to_bson`
[INFO] [stdout]  --> src/queries/update_one.rs:11:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, Update, doc, to_bson};
[INFO] [stdout]   |                              ^^^  ^^^^^^^ no `to_bson` in the root
[INFO] [stdout]   |                              |
[INFO] [stdout]   |                              no `doc` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this module instead:
[INFO] [stdout]           serde::__private::doc
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `doc`
[INFO] [stdout]   --> src/queries/update_one.rs:31:46
[INFO] [stdout]    |
[INFO] [stdout] 25 |     collection.update_one(id, Update::Custom(doc! { "$set": to_bson(update) }))
[INFO] [stdout]    |                                              ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/update_one.rs:25:45
[INFO] [stdout]    |
[INFO] [stdout] 19 |     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[E0659]: `doc` is ambiguous
[INFO] [stdout]  --> src/queries/update_one.rs:14:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |                     ^^^^^^^^^ ambiguous name
[INFO] [stdout]   |
[INFO] [stdout]   = note: ambiguous because of a name conflict with a builtin attribute
[INFO] [stdout]   = note: `doc` could refer to a built-in attribute
[INFO] [stdout] note: `doc` could also refer to the unresolved item imported here
[INFO] [stdout]  --> src/queries/update_one.rs:11:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, Update, doc, to_bson};
[INFO] [stdout]   |                              ^^^
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doc` is ambiguous
[INFO] [stdout]  --> src/queries/update_one.rs:14:32
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |                                ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]   |
[INFO] [stdout]   = note: ambiguous because of a name conflict with a builtin attribute
[INFO] [stdout]   = note: `doc` could refer to a built-in attribute
[INFO] [stdout] note: `doc` could also refer to the unresolved item imported here
[INFO] [stdout]  --> src/queries/update_one.rs:11:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, Update, doc, to_bson};
[INFO] [stdout]   |                              ^^^
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doc` is ambiguous
[INFO] [stdout]   --> src/queries/update_one.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout]    |                     ^^^^^^^^^ ambiguous name
[INFO] [stdout]    |
[INFO] [stdout]    = note: ambiguous because of a name conflict with a builtin attribute
[INFO] [stdout]    = note: `doc` could refer to a built-in attribute
[INFO] [stdout] note: `doc` could also refer to the unresolved item imported here
[INFO] [stdout]   --> src/queries/update_one.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 5  | use mungos::{Mungos, Update, doc, to_bson};
[INFO] [stdout]    |                              ^^^
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doc` is ambiguous
[INFO] [stdout]   --> src/queries/update_one.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout]    |                                ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]    |
[INFO] [stdout]    = note: ambiguous because of a name conflict with a builtin attribute
[INFO] [stdout]    = note: `doc` could refer to a built-in attribute
[INFO] [stdout] note: `doc` could also refer to the unresolved item imported here
[INFO] [stdout]   --> src/queries/update_one.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 5  | use mungos::{Mungos, Update, doc, to_bson};
[INFO] [stdout]    |                              ^^^
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/update_one.rs:25:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 19 |     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:30:64
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 24 |     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:25:14
[INFO] [stdout]    |
[INFO] [stdout] 19 |     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/mungos.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 |     pub async fn new(
[INFO] [stdout]    |                  ^^^
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 19 |     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:26:25
[INFO] [stdout]    |
[INFO] [stdout] 20 |     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:29:39
[INFO] [stdout]    |
[INFO] [stdout] 23 |     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: aborting due to 14 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0432, E0599, E0659, 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.29s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b97b8bad10c29da0b2b397209d92b4d456cec9c9285ee03410546b5059ff58b5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b97b8bad10c29da0b2b397209d92b4d456cec9c9285ee03410546b5059ff58b5", kill_on_drop: false }`
[INFO] [stdout] b97b8bad10c29da0b2b397209d92b4d456cec9c9285ee03410546b5059ff58b5
[INFO] testing mungos-0.4.22 against beta-2023-12-22 for beta-1.76-1
[INFO] extracting crate mungos 0.4.22 into /workspace/builds/worker-4-tc2/source
[INFO] validating manifest of crates.io crate mungos 0.4.22 on toolchain beta-2023-12-22
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate mungos 0.4.22
[INFO] finished tweaking crates.io crate mungos 0.4.22
[INFO] tweaked toml for crates.io crate mungos 0.4.22 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-12-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a1929af0fcbae3af88cc0f8bd78e90e3870c7949098d63feca0dc2e6699bed9
[INFO] running `Command { std: "docker" "start" "-a" "2a1929af0fcbae3af88cc0f8bd78e90e3870c7949098d63feca0dc2e6699bed9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a1929af0fcbae3af88cc0f8bd78e90e3870c7949098d63feca0dc2e6699bed9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a1929af0fcbae3af88cc0f8bd78e90e3870c7949098d63feca0dc2e6699bed9", kill_on_drop: false }`
[INFO] [stdout] 2a1929af0fcbae3af88cc0f8bd78e90e3870c7949098d63feca0dc2e6699bed9
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7cf03acb0af54bf4da8eb0418ccc2fb16126b1813defb09e67fe5b45e72bfdc
[INFO] running `Command { std: "docker" "start" "-a" "e7cf03acb0af54bf4da8eb0418ccc2fb16126b1813defb09e67fe5b45e72bfdc", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling typenum v1.17.0
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling jobserver v0.1.27
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling subtle v2.5.0
[INFO] [stderr]    Compiling pkg-config v0.3.28
[INFO] [stderr]    Compiling futures-channel v0.3.30
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling spin v0.9.8
[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 untrusted v0.9.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling radium v0.7.0
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling ahash v0.8.7
[INFO] [stderr]    Compiling rustls v0.21.10
[INFO] [stderr]    Compiling hashbrown v0.14.3
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling tap v1.0.1
[INFO] [stderr]    Compiling serde_json v1.0.111
[INFO] [stderr]    Compiling time-core v0.1.2
[INFO] [stderr]    Compiling equivalent v1.0.1
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling ring v0.17.7
[INFO] [stderr]    Compiling zstd-sys v2.0.9+zstd.1.5.5
[INFO] [stderr]    Compiling itoa v1.0.10
[INFO] [stderr]    Compiling zstd-safe v5.0.2+zstd.1.5.2
[INFO] [stderr]    Compiling indexmap v2.1.0
[INFO] [stderr]    Compiling time-macros v0.2.16
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling wyz v0.5.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling deranged v0.3.11
[INFO] [stderr]    Compiling rustc_version_runtime v0.2.1
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling funty v2.0.0
[INFO] [stderr]    Compiling zerocopy v0.7.32
[INFO] [stderr]    Compiling cpufeatures v0.2.12
[INFO] [stderr]    Compiling ryu v1.0.16
[INFO] [stderr]    Compiling snap v1.1.1
[INFO] [stderr]    Compiling bitvec v1.0.1
[INFO] [stderr]    Compiling miniz_oxide v0.7.1
[INFO] [stderr]    Compiling base64 v0.21.5
[INFO] [stderr]    Compiling finl_unicode v1.2.0
[INFO] [stderr]    Compiling darling_core v0.13.4
[INFO] [stderr]    Compiling convert_case v0.4.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling stringprep v0.1.4
[INFO] [stderr]    Compiling time v0.3.31
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling flate2 v1.0.28
[INFO] [stderr]    Compiling chrono v0.4.31
[INFO] [stderr]    Compiling sha-1 v0.10.1
[INFO] [stderr]    Compiling serde_derive v1.0.194
[INFO] [stderr]    Compiling tokio-macros v2.2.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling thiserror-impl v1.0.56
[INFO] [stderr]    Compiling async-trait v0.1.77
[INFO] [stderr]    Compiling tokio v1.35.1
[INFO] [stderr]    Compiling darling_macro v0.13.4
[INFO] [stderr]    Compiling futures-util v0.3.30
[INFO] [stderr]    Compiling enum-as-inner v0.4.0
[INFO] [stderr]    Compiling darling v0.13.4
[INFO] [stderr]    Compiling thiserror v1.0.56
[INFO] [stderr]    Compiling derive_more v0.99.17
[INFO] [stderr]    Compiling serde_with_macros v1.5.2
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling typed-builder v0.10.0
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling hmac v0.12.1
[INFO] [stderr]    Compiling md-5 v0.10.6
[INFO] [stderr]    Compiling pbkdf2 v0.11.0
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling webpki-roots v0.25.3
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]    Compiling mungos_derive v0.4.15
[INFO] [stderr]    Compiling serde v1.0.194
[INFO] [stderr]    Compiling futures-executor v0.3.30
[INFO] [stderr]    Compiling futures v0.3.30
[INFO] [stderr]    Compiling trust-dns-proto v0.21.2
[INFO] [stderr]    Compiling tokio-util v0.7.10
[INFO] [stderr]    Compiling trust-dns-resolver v0.21.2
[INFO] [stderr]    Compiling uuid v1.6.1
[INFO] [stderr]    Compiling serde_bytes v0.11.14
[INFO] [stderr]    Compiling serde_with v1.14.0
[INFO] [stderr]    Compiling envy v0.4.2
[INFO] [stderr]    Compiling bson v2.8.1
[INFO] [stderr]    Compiling zstd v0.11.2+zstd.1.5.2
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling tokio-rustls v0.24.1
[INFO] [stderr]    Compiling mongodb v2.8.0
[INFO] [stderr]    Compiling mungos v0.4.22 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 33.33s
[INFO] running `Command { std: "docker" "inspect" "e7cf03acb0af54bf4da8eb0418ccc2fb16126b1813defb09e67fe5b45e72bfdc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7cf03acb0af54bf4da8eb0418ccc2fb16126b1813defb09e67fe5b45e72bfdc", kill_on_drop: false }`
[INFO] [stdout] e7cf03acb0af54bf4da8eb0418ccc2fb16126b1813defb09e67fe5b45e72bfdc
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a635587ac780d413d4b9db079dd9ac962d79f44523efcb6bd3c265dedbf53fe6
[INFO] running `Command { std: "docker" "start" "-a" "a635587ac780d413d4b9db079dd9ac962d79f44523efcb6bd3c265dedbf53fe6", kill_on_drop: false }`
[INFO] [stderr]    Compiling mungos v0.4.22 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.50s
[INFO] running `Command { std: "docker" "inspect" "a635587ac780d413d4b9db079dd9ac962d79f44523efcb6bd3c265dedbf53fe6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a635587ac780d413d4b9db079dd9ac962d79f44523efcb6bd3c265dedbf53fe6", kill_on_drop: false }`
[INFO] [stdout] a635587ac780d413d4b9db079dd9ac962d79f44523efcb6bd3c265dedbf53fe6
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-12-22" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 160648cd6f5b36f38821d5132cf2d3f6fe0226cf0c92f7d829643949673cb35f
[INFO] running `Command { std: "docker" "start" "-a" "160648cd6f5b36f38821d5132cf2d3f6fe0226cf0c92f7d829643949673cb35f", kill_on_drop: false }`
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.16s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mungos-c24940ef8b02240e)
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests mungos
[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] [stdout] 
[INFO] [stdout] running 8 tests
[INFO] [stdout] test src/queries/delete_many.rs - queries::delete_many (line 5) ... FAILED
[INFO] [stdout] test src/queries/create_one.rs - queries::create_one (line 7) ... FAILED
[INFO] [stdout] test src/queries/get_some.rs - queries::get_some (line 10) ... FAILED
[INFO] [stdout] test src/queries/delete_one.rs - queries::delete_one (line 7) ... FAILED
[INFO] [stdout] test src/queries/create_many.rs - queries::create_many (line 8) ... FAILED
[INFO] [stdout] test src/queries/get_most_recent.rs - queries::get_most_recent (line 11) ... FAILED
[INFO] [stdout] test src/queries/get_many_by_id.rs - queries::get_many_by_id (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_many.rs - queries::delete_many (line 5) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/queries/delete_many.rs:7:26
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, doc}
[INFO] [stdout]   |                          ^ help: add `;` here
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/delete_many.rs:8:40
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 7 |      
[INFO] [stdout] 8 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mungos::doc`
[INFO] [stdout]  --> src/queries/delete_many.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, doc}
[INFO] [stdout]   |                      ^^^ no `doc` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this module instead:
[INFO] [stdout]           serde::__private::doc
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `doc`
[INFO] [stdout]   --> src/queries/delete_many.rs:19:28
[INFO] [stdout]    |
[INFO] [stdout] 17 |     collection.delete_many(doc! { "field": "apple" }).await.unwrap();
[INFO] [stdout]    |                            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/delete_many.rs:15: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[E0659]: `doc` is ambiguous
[INFO] [stdout]  --> src/queries/delete_many.rs:10:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |                     ^^^^^^^^^ ambiguous name
[INFO] [stdout]   |
[INFO] [stdout]   = note: ambiguous because of a name conflict with a builtin attribute
[INFO] [stdout]   = note: `doc` could refer to a built-in attribute
[INFO] [stdout] note: `doc` could also refer to the unresolved item imported here
[INFO] [stdout]  --> src/queries/delete_many.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, doc}
[INFO] [stdout]   |                      ^^^
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doc` is ambiguous
[INFO] [stdout]  --> src/queries/delete_many.rs:10:32
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |                                ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]   |
[INFO] [stdout]   = note: ambiguous because of a name conflict with a builtin attribute
[INFO] [stdout]   = note: `doc` could refer to a built-in attribute
[INFO] [stdout] note: `doc` could also refer to the unresolved item imported here
[INFO] [stdout]  --> src/queries/delete_many.rs:7:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, doc}
[INFO] [stdout]   |                      ^^^
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/delete_many.rs:15:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 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_many.rs:19:55
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 17 |     collection.delete_many(doc! { "field": "apple" }).await.unwrap();
[INFO] [stdout]    |                                                       ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0659, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[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:9:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos}
[INFO] [stdout]   |                     ^ help: add `;` here
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/create_one.rs:10:40
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 7 |      
[INFO] [stdout] 8 |     #[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: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/create_one.rs:17:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 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/create_one.rs:21:33
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 17 |     collection.create_one(item).await.unwrap();
[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, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[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:28:64
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let find_options_2 = FindOptions::builder().skip(5).build()
[INFO] [stdout]    |                                                                ^ help: add `;` here
[INFO] [stdout] 22 |     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:29:75
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let items_2 = collection.get_some(None, find_options_2).await.unwrap()
[INFO] [stdout]    |                                                                           ^ help: add `;` here
[INFO] [stdout] 23 | } _doctest_main_src_queries_get_some_rs_10_0() }
[INFO] [stdout]    | - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `mungos::FindOptions`, `mungos::doc`, `mungos::Serialize`, `mungos::Deserialize`
[INFO] [stdout]  --> src/queries/get_some.rs:12:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, FindOptions, doc, Serialize, Deserialize};
[INFO] [stdout]   |                      ^^^^^^^^^^^  ^^^  ^^^^^^^^^  ^^^^^^^^^^^ no `Deserialize` in the root
[INFO] [stdout]   |                      |            |    |
[INFO] [stdout]   |                      |            |    no `Serialize` in the root
[INFO] [stdout]   |                      |            no `doc` in the root
[INFO] [stdout]   |                      no `FindOptions` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this struct instead:
[INFO] [stdout]           mongodb::options::FindOptions
[INFO] [stdout]   = help: consider importing this module instead:
[INFO] [stdout]           serde::__private::doc
[INFO] [stdout]   = help: consider importing this trait instead:
[INFO] [stdout]           serde::Serialize
[INFO] [stdout]   = help: consider importing this trait instead:
[INFO] [stdout]           serde::Deserialize
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `doc`
[INFO] [stdout]   --> src/queries/get_some.rs:24:52
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let find_options = FindOptions::builder().sort(doc! { _id: -1 }).limit(10).build();
[INFO] [stdout]    |                                                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Serialize`
[INFO] [stdout]  --> src/queries/get_some.rs:14:21
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |                     ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the derive macro `Deserialize`
[INFO] [stdout]  --> src/queries/get_some.rs:14:32
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |                                ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/get_some.rs:19:45
[INFO] [stdout]    |
[INFO] [stdout] 12 |     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[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/get_some.rs:19:60
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 12 |     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:25:59
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 18 |     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:29:61
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 22 |     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: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, 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_one.rs - queries::delete_one (line 7) stdout ----
[INFO] [stdout] error: expected `;`, found keyword `use`
[INFO] [stdout]  --> src/queries/delete_one.rs:9:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, ObjectId}
[INFO] [stdout]   |                               ^ help: add `;` here
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/delete_one.rs:10:40
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 7 |      
[INFO] [stdout] 8 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |     - unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `,`, or `}`, found `field`
[INFO] [stdout]   --> src/queries/delete_one.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 10 |         _id: ObjectId
[INFO] [stdout]    |                      ^ help: try adding a comma: `,`
[INFO] [stdout] 
[INFO] [stdout] error: expected `,`
[INFO] [stdout]   --> src/queries/delete_one.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         field: String
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `mungos::ObjectId`
[INFO] [stdout]  --> src/queries/delete_one.rs:9:22
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, ObjectId}
[INFO] [stdout]   |                      ^^^^^^^^ no `ObjectId` in the root
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/delete_one.rs:18:45
[INFO] [stdout]    |
[INFO] [stdout] 14 |     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:18:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 14 |     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:22:31
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 18 |     collection.delete_one(id).await.unwrap();
[INFO] [stdout]    |                               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[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:21:36
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:51
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:66
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:74
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                                                                          ^^^
[INFO] [stdout]    |
[INFO] [stdout] help: use `..` for an exclusive range
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ..])
[INFO] [stdout]    |                                                                          ~~
[INFO] [stdout] help: or `..=` for an inclusive range
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:74
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:79
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                                                                               ^ help: add `;` here
[INFO] [stdout] 17 |     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:18: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/create_many.rs:18:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 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/create_many.rs:22:38
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 17 |     db.collection.create_many(items).await.unwrap()
[INFO] [stdout]    |                                      ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `field` in initializer of `Item`
[INFO] [stdout]   --> src/queries/create_many.rs:21:31
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:46
[INFO] [stdout]    |
[INFO] [stdout] 16 |     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:21:61
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let items = Vec::from([ { Item{...} }, { Item{...} }, { Item{...} }, ...])
[INFO] [stdout]    |                                                             ^^^^ missing `field`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0425, E0586, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[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:13:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos}
[INFO] [stdout]   |                     ^ help: add `;` here
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/get_most_recent.rs:14:40
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 7 |      
[INFO] [stdout] 8 |     #[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:24:15
[INFO] [stdout]    |
[INFO] [stdout] 16 |     let n = 10
[INFO] [stdout]    |               ^ help: add `;` here
[INFO] [stdout] ...
[INFO] [stdout] 20 |     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:21: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/get_most_recent.rs:21:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 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/get_most_recent.rs:28:62
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 20 |     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: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- src/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:10:21
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos}
[INFO] [stdout]   |                     ^ help: add `;` here
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `#`
[INFO] [stdout]  --> src/queries/get_many_by_id.rs:11:40
[INFO] [stdout]   |
[INFO] [stdout] 6 |     use serde::{Serialize, Deserialize}
[INFO] [stdout]   |                                        ^ help: add `;` here
[INFO] [stdout] 7 |      
[INFO] [stdout] 8 |     #[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:18: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/get_many_by_id.rs:18:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 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/get_many_by_id.rs:22:36
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 17 |     collection.get_many_by_id(ids).await.unwrap();
[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, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[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:28:19
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let id = "..."
[INFO] [stdout]    |                   ^ help: add `;` here
[INFO] [stdout] 23 |     let update = ItemUpdate { field1: "..." }
[INFO] [stdout]    |     --- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error: expected `;`, found `collection`
[INFO] [stdout]   --> src/queries/update_one.rs:29:46
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let update = ItemUpdate { field1: "..." }
[INFO] [stdout]    |                                              ^ help: add `;` here
[INFO] [stdout] 24 |     collection.update_one(id, Update::Regular(update.clone())).await.unwrap();
[INFO] [stdout]    |     ---------- unexpected token
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `mungos::doc`, `mungos::to_bson`
[INFO] [stdout]  --> src/queries/update_one.rs:11:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, Update, doc, to_bson};
[INFO] [stdout]   |                              ^^^  ^^^^^^^ no `to_bson` in the root
[INFO] [stdout]   |                              |
[INFO] [stdout]   |                              no `doc` in the root
[INFO] [stdout]   |
[INFO] [stdout]   = help: consider importing this module instead:
[INFO] [stdout]           serde::__private::doc
[INFO] [stdout] 
[INFO] [stdout] error: cannot determine resolution for the macro `doc`
[INFO] [stdout]   --> src/queries/update_one.rs:31:46
[INFO] [stdout]    |
[INFO] [stdout] 25 |     collection.update_one(id, Update::Custom(doc! { "$set": to_bson(update) }))
[INFO] [stdout]    |                                              ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: import resolution is stuck, try simplifying macro imports
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `timeout` in this scope
[INFO] [stdout]   --> src/queries/update_one.rs:25:45
[INFO] [stdout]    |
[INFO] [stdout] 19 |     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[E0659]: `doc` is ambiguous
[INFO] [stdout]  --> src/queries/update_one.rs:14:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |                     ^^^^^^^^^ ambiguous name
[INFO] [stdout]   |
[INFO] [stdout]   = note: ambiguous because of a name conflict with a builtin attribute
[INFO] [stdout]   = note: `doc` could refer to a built-in attribute
[INFO] [stdout] note: `doc` could also refer to the unresolved item imported here
[INFO] [stdout]  --> src/queries/update_one.rs:11:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, Update, doc, to_bson};
[INFO] [stdout]   |                              ^^^
[INFO] [stdout]   = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doc` is ambiguous
[INFO] [stdout]  --> src/queries/update_one.rs:14:32
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[derive(Debug, Serialize, Deserialize)]
[INFO] [stdout]   |                                ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]   |
[INFO] [stdout]   = note: ambiguous because of a name conflict with a builtin attribute
[INFO] [stdout]   = note: `doc` could refer to a built-in attribute
[INFO] [stdout] note: `doc` could also refer to the unresolved item imported here
[INFO] [stdout]  --> src/queries/update_one.rs:11:30
[INFO] [stdout]   |
[INFO] [stdout] 5 | use mungos::{Mungos, Update, doc, to_bson};
[INFO] [stdout]   |                              ^^^
[INFO] [stdout]   = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doc` is ambiguous
[INFO] [stdout]   --> src/queries/update_one.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout]    |                     ^^^^^^^^^ ambiguous name
[INFO] [stdout]    |
[INFO] [stdout]    = note: ambiguous because of a name conflict with a builtin attribute
[INFO] [stdout]    = note: `doc` could refer to a built-in attribute
[INFO] [stdout] note: `doc` could also refer to the unresolved item imported here
[INFO] [stdout]   --> src/queries/update_one.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 5  | use mungos::{Mungos, Update, doc, to_bson};
[INFO] [stdout]    |                              ^^^
[INFO] [stdout]    = note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0659]: `doc` is ambiguous
[INFO] [stdout]   --> src/queries/update_one.rs:20:32
[INFO] [stdout]    |
[INFO] [stdout] 14 |     #[derive(Debug, Serialize, Deserialize, Clone)]
[INFO] [stdout]    |                                ^^^^^^^^^^^ ambiguous name
[INFO] [stdout]    |
[INFO] [stdout]    = note: ambiguous because of a name conflict with a builtin attribute
[INFO] [stdout]    = note: `doc` could refer to a built-in attribute
[INFO] [stdout] note: `doc` could also refer to the unresolved item imported here
[INFO] [stdout]   --> src/queries/update_one.rs:11:30
[INFO] [stdout]    |
[INFO] [stdout] 5  | use mungos::{Mungos, Update, doc, to_bson};
[INFO] [stdout]    |                              ^^^
[INFO] [stdout]    = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/queries/update_one.rs:25:54
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 19 |     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:30:64
[INFO] [stdout]    |
[INFO] [stdout] 4  | 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] 24 |     collection.update_one(id, Update::Regular(update.clone())).await.unwrap();
[INFO] [stdout]    |                                                                ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/queries/update_one.rs:29:39
[INFO] [stdout]    |
[INFO] [stdout] 23 |     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: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0425, E0432, E0659, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[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.38s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "160648cd6f5b36f38821d5132cf2d3f6fe0226cf0c92f7d829643949673cb35f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "160648cd6f5b36f38821d5132cf2d3f6fe0226cf0c92f7d829643949673cb35f", kill_on_drop: false }`
[INFO] [stdout] 160648cd6f5b36f38821d5132cf2d3f6fe0226cf0c92f7d829643949673cb35f
