[INFO] fetching crate mongod 0.2.0... [INFO] checking mongod-0.2.0 against master#a836d9b6413d9d593be6c09463ff8c4c70e56599 for pr-84037 [INFO] extracting crate mongod 0.2.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate mongod 0.2.0 on toolchain a836d9b6413d9d593be6c09463ff8c4c70e56599 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mongod 0.2.0 [INFO] finished tweaking crates.io crate mongod 0.2.0 [INFO] tweaked toml for crates.io crate mongod 0.2.0 written to /workspace/builds/worker-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e8a1a6c130a27a98fe9816be1aef9e9400079feb48acef2462f72983399ab6b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0e8a1a6c130a27a98fe9816be1aef9e9400079feb48acef2462f72983399ab6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e8a1a6c130a27a98fe9816be1aef9e9400079feb48acef2462f72983399ab6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e8a1a6c130a27a98fe9816be1aef9e9400079feb48acef2462f72983399ab6b", kill_on_drop: false }` [INFO] [stdout] 0e8a1a6c130a27a98fe9816be1aef9e9400079feb48acef2462f72983399ab6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff18916ab713c563e026c3f889655b39ab20ec1c8ef6ca4e1b58982402ec3c85 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "ff18916ab713c563e026c3f889655b39ab20ec1c8ef6ca4e1b58982402ec3c85", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.10.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Checking pbkdf2 v0.7.5 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking sha2 v0.9.3 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Checking bson v1.2.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Compiling mongod-derive v0.2.0 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking trust-dns-proto v0.20.2 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking trust-dns-resolver v0.20.2 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking reqwest v0.11.3 [INFO] [stderr] Checking mongodb v2.0.0-alpha.1 [INFO] [stderr] Checking mongod v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/delete.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | .collection(C::COLLECTION) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type parameter `T` declared on the associated function `collection` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/delete.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / client [INFO] [stdout] 117 | | .database() [INFO] [stdout] 118 | | .collection(C::COLLECTION) [INFO] [stdout] 119 | | .delete_many(filter, Some(self.options)) [INFO] [stdout] 120 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/delete.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | .delete_many(filter, Some(self.options)) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/delete.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / client [INFO] [stdout] 117 | | .database() [INFO] [stdout] 118 | | .collection(C::COLLECTION) [INFO] [stdout] 119 | | .delete_many(filter, Some(self.options)) [INFO] [stdout] 120 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/delete.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | .delete_many(filter, Some(self.options)) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the associated function `collection` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/delete.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | / client [INFO] [stdout] 123 | | .database() [INFO] [stdout] 124 | | .collection(C::COLLECTION) [INFO] [stdout] 125 | | .delete_one(filter, Some(self.options)) [INFO] [stdout] 126 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/delete.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | .delete_many(filter, Some(self.options)) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/delete.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | / client [INFO] [stdout] 123 | | .database() [INFO] [stdout] 124 | | .collection(C::COLLECTION) [INFO] [stdout] 125 | | .delete_one(filter, Some(self.options)) [INFO] [stdout] 126 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/delete.rs:118:18 [INFO] [stdout] | [INFO] [stdout] 118 | .collection(C::COLLECTION) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type parameter `T` declared on the associated function `collection` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/delete.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / client [INFO] [stdout] 117 | | .database() [INFO] [stdout] 118 | | .collection(C::COLLECTION) [INFO] [stdout] 119 | | .delete_many(filter, Some(self.options)) [INFO] [stdout] 120 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/delete.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | .delete_many(filter, Some(self.options)) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/delete.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | / client [INFO] [stdout] 117 | | .database() [INFO] [stdout] 118 | | .collection(C::COLLECTION) [INFO] [stdout] 119 | | .delete_many(filter, Some(self.options)) [INFO] [stdout] 120 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/delete.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | .delete_many(filter, Some(self.options)) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the associated function `collection` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/delete.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | / client [INFO] [stdout] 123 | | .database() [INFO] [stdout] 124 | | .collection(C::COLLECTION) [INFO] [stdout] 125 | | .delete_one(filter, Some(self.options)) [INFO] [stdout] 126 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/delete.rs:119:18 [INFO] [stdout] | [INFO] [stdout] 119 | .delete_many(filter, Some(self.options)) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/delete.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | / client [INFO] [stdout] 123 | | .database() [INFO] [stdout] 124 | | .collection(C::COLLECTION) [INFO] [stdout] 125 | | .delete_one(filter, Some(self.options)) [INFO] [stdout] 126 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `db::Cursor` [INFO] [stdout] --> src/async/client.rs:302:81 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn find(&self, filter: Option) -> crate::Result [INFO] [stdout] | ^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mongodb-2.0.0-alpha.1/src/cursor/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Cursor [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn find(&self, filter: Option) -> crate::Result> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `db::Cursor` [INFO] [stdout] --> src/query/find.rs:257:64 [INFO] [stdout] | [INFO] [stdout] 257 | pub async fn query(self, client: &Client) -> crate::Result { [INFO] [stdout] | ^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mongodb-2.0.0-alpha.1/src/cursor/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Cursor [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 257 | pub async fn query(self, client: &Client) -> crate::Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/async/client.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 329 | let mut cursor = find.filter(filter)?.query(&self).await?; [INFO] [stdout] | ---------- consider giving `cursor` a type [INFO] [stdout] 330 | if let Some(res) = cursor.next().await { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `db::Cursor` [INFO] [stdout] --> src/async/client.rs:302:81 [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn find(&self, filter: Option) -> crate::Result [INFO] [stdout] | ^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mongodb-2.0.0-alpha.1/src/cursor/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Cursor [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 302 | pub async fn find(&self, filter: Option) -> crate::Result> [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: missing generics for struct `db::Cursor` [INFO] [stdout] --> src/query/find.rs:257:64 [INFO] [stdout] | [INFO] [stdout] 257 | pub async fn query(self, client: &Client) -> crate::Result { [INFO] [stdout] | ^^^^^^ expected 1 type argument [INFO] [stdout] | [INFO] [stdout] note: struct defined here, with 1 type parameter: `T` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/mongodb-2.0.0-alpha.1/src/cursor/mod.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct Cursor [INFO] [stdout] | ^^^^^^ - [INFO] [stdout] help: use angle brackets to add missing type argument [INFO] [stdout] | [INFO] [stdout] 257 | pub async fn query(self, client: &Client) -> crate::Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/async/client.rs:330:28 [INFO] [stdout] | [INFO] [stdout] 329 | let mut cursor = find.filter(filter)?.query(&self).await?; [INFO] [stdout] | ---------- consider giving `cursor` a type [INFO] [stdout] 330 | if let Some(res) = cursor.next().await { [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] | [INFO] [stdout] = note: type must be known at this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/update.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | .collection(C::COLLECTION) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type parameter `T` declared on the associated function `collection` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/update.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | / client [INFO] [stdout] 160 | | .database() [INFO] [stdout] 161 | | .collection(C::COLLECTION) [INFO] [stdout] 162 | | .update_many(filter, updates.into_document()?, self.options) [INFO] [stdout] 163 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/update.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | .update_many(filter, updates.into_document()?, self.options) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/update.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | / client [INFO] [stdout] 160 | | .database() [INFO] [stdout] 161 | | .collection(C::COLLECTION) [INFO] [stdout] 162 | | .update_many(filter, updates.into_document()?, self.options) [INFO] [stdout] 163 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/update.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | .update_many(filter, updates.into_document()?, self.options) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the associated function `collection` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/update.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | / client [INFO] [stdout] 166 | | .database() [INFO] [stdout] 167 | | .collection(C::COLLECTION) [INFO] [stdout] 168 | | .update_one(filter, updates.into_document()?, self.options) [INFO] [stdout] 169 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/update.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | .update_many(filter, updates.into_document()?, self.options) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/update.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | / client [INFO] [stdout] 166 | | .database() [INFO] [stdout] 167 | | .collection(C::COLLECTION) [INFO] [stdout] 168 | | .update_one(filter, updates.into_document()?, self.options) [INFO] [stdout] 169 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/update.rs:161:18 [INFO] [stdout] | [INFO] [stdout] 161 | .collection(C::COLLECTION) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type parameter `T` declared on the associated function `collection` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/update.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | / client [INFO] [stdout] 160 | | .database() [INFO] [stdout] 161 | | .collection(C::COLLECTION) [INFO] [stdout] 162 | | .update_many(filter, updates.into_document()?, self.options) [INFO] [stdout] 163 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/update.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | .update_many(filter, updates.into_document()?, self.options) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/update.rs:159:13 [INFO] [stdout] | [INFO] [stdout] 159 | / client [INFO] [stdout] 160 | | .database() [INFO] [stdout] 161 | | .collection(C::COLLECTION) [INFO] [stdout] 162 | | .update_many(filter, updates.into_document()?, self.options) [INFO] [stdout] 163 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/update.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | .update_many(filter, updates.into_document()?, self.options) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `T` declared on the associated function `collection` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/update.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | / client [INFO] [stdout] 166 | | .database() [INFO] [stdout] 167 | | .collection(C::COLLECTION) [INFO] [stdout] 168 | | .update_one(filter, updates.into_document()?, self.options) [INFO] [stdout] 169 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/update.rs:162:18 [INFO] [stdout] | [INFO] [stdout] 162 | .update_many(filter, updates.into_document()?, self.options) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/update.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | / client [INFO] [stdout] 166 | | .database() [INFO] [stdout] 167 | | .collection(C::COLLECTION) [INFO] [stdout] 168 | | .update_one(filter, updates.into_document()?, self.options) [INFO] [stdout] 169 | | .await [INFO] [stdout] | |______________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/find.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | .collection(C::COLLECTION) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type parameter `T` declared on the associated function `collection` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/find.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | / client [INFO] [stdout] 259 | | .database() [INFO] [stdout] 260 | | .collection(C::COLLECTION) [INFO] [stdout] 261 | | .find(self.filter, self.options) [INFO] [stdout] 262 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/find.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | .find(self.filter, self.options) [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/find.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | / client [INFO] [stdout] 259 | | .database() [INFO] [stdout] 260 | | .collection(C::COLLECTION) [INFO] [stdout] 261 | | .find(self.filter, self.options) [INFO] [stdout] 262 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/find.rs:260:14 [INFO] [stdout] | [INFO] [stdout] 260 | .collection(C::COLLECTION) [INFO] [stdout] | ^^^^^^^^^^ cannot infer type for type parameter `T` declared on the associated function `collection` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/find.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | / client [INFO] [stdout] 259 | | .database() [INFO] [stdout] 260 | | .collection(C::COLLECTION) [INFO] [stdout] 261 | | .find(self.filter, self.options) [INFO] [stdout] 262 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/query/find.rs:261:14 [INFO] [stdout] | [INFO] [stdout] 261 | .find(self.filter, self.options) [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async fn` body because of this `await` [INFO] [stdout] --> src/query/find.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | / client [INFO] [stdout] 259 | | .database() [INFO] [stdout] 260 | | .collection(C::COLLECTION) [INFO] [stdout] 261 | | .find(self.filter, self.options) [INFO] [stdout] 262 | | .await [INFO] [stdout] | |__________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `futures::StreamExt` [INFO] [stdout] --> src/async/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | #![deny(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0282, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mongod` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: unused import: `futures::StreamExt` [INFO] [stdout] --> src/async/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | #![deny(unused_imports)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0282, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ff18916ab713c563e026c3f889655b39ab20ec1c8ef6ca4e1b58982402ec3c85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff18916ab713c563e026c3f889655b39ab20ec1c8ef6ca4e1b58982402ec3c85", kill_on_drop: false }` [INFO] [stdout] ff18916ab713c563e026c3f889655b39ab20ec1c8ef6ca4e1b58982402ec3c85