[INFO] fetching crate wread-mongodb 0.16.0... [INFO] checking wread-mongodb-0.16.0 against try#6f8a6450478f69b8510c8976ab6c2a70b3b0e47c for pr-84920 [INFO] extracting crate wread-mongodb 0.16.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate wread-mongodb 0.16.0 on toolchain 6f8a6450478f69b8510c8976ab6c2a70b3b0e47c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate wread-mongodb 0.16.0 [INFO] finished tweaking crates.io crate wread-mongodb 0.16.0 [INFO] tweaked toml for crates.io crate wread-mongodb 0.16.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded typed-builder v0.4.1 [INFO] [stderr] Downloaded bson v1.2.2 [INFO] [stderr] Downloaded os_info v3.0.4 [INFO] [stderr] Downloaded mongodb v2.0.0-alpha.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b854b8b3a5b4a46e48dbf21895e41d73a7a3f8c81b605391dd6a1726363e7fa [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" "5b854b8b3a5b4a46e48dbf21895e41d73a7a3f8c81b605391dd6a1726363e7fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b854b8b3a5b4a46e48dbf21895e41d73a7a3f8c81b605391dd6a1726363e7fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b854b8b3a5b4a46e48dbf21895e41d73a7a3f8c81b605391dd6a1726363e7fa", kill_on_drop: false }` [INFO] [stdout] 5b854b8b3a5b4a46e48dbf21895e41d73a7a3f8c81b605391dd6a1726363e7fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+6f8a6450478f69b8510c8976ab6c2a70b3b0e47c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a41889b860f5e6464d58c6e0189cbeadf59ab1924bfe4a8db694fc2e333c05d3 [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" "a41889b860f5e6464d58c6e0189cbeadf59ab1924bfe4a8db694fc2e333c05d3", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking subtle v2.4.0 [INFO] [stderr] Compiling rustversion v1.0.4 [INFO] [stderr] Checking version_check v0.9.3 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking encoding_rs v0.8.28 [INFO] [stderr] Checking getrandom v0.2.2 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking os_info v3.0.4 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking chrono v0.4.19 [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 pbkdf2 v0.7.5 [INFO] [stderr] Checking sha2 v0.9.4 [INFO] [stderr] Checking hmac v0.10.1 [INFO] [stderr] Checking md-5 v0.9.1 [INFO] [stderr] Checking sha-1 v0.9.5 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Compiling darling_core v0.12.4 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling typed-builder v0.4.1 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling darling_macro v0.12.4 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Compiling darling v0.12.4 [INFO] [stderr] Compiling serde_with_macros v1.4.1 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [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.3 [INFO] [stderr] Checking trust-dns-resolver v0.20.2 [INFO] [stderr] Checking hyper v0.14.7 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking serde_with v1.8.1 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking bson v1.2.2 [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 wread-mongodb v0.16.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/crud_repository.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | let coll = db.collection(collection_name); [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/crud_repository.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | coll.count_documents(filter, None).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/crud_repository.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | let coll = db.collection(collection_name); [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/crud_repository.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | coll.count_documents(filter, None).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/crud_repository.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | let coll = db.collection(collection_name); [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/crud_repository.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | coll.count_documents(filter, None).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/crud_repository.rs:162:19 [INFO] [stdout] | [INFO] [stdout] 162 | let coll = db.collection(collection_name); [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/crud_repository.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | coll.count_documents(filter, None).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/crud_repository.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let coll = db.collection(collection_name); [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/crud_repository.rs:180:30 [INFO] [stdout] | [INFO] [stdout] 180 | while let Some(result) = cursor.next().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/crud_repository.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let coll = db.collection(collection_name); [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/crud_repository.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let mut cursor = coll.aggregate(pipeline, options).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/crud_repository.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let coll = db.collection(collection_name); [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/crud_repository.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let mut cursor = coll.aggregate(pipeline, options).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/crud_repository.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let coll = db.collection(collection_name); [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/crud_repository.rs:180:30 [INFO] [stdout] | [INFO] [stdout] 180 | while let Some(result) = cursor.next().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/crud_repository.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let coll = db.collection(collection_name); [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/crud_repository.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let mut cursor = coll.aggregate(pipeline, options).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/crud_repository.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | let coll = db.collection(collection_name); [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/crud_repository.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let mut cursor = coll.aggregate(pipeline, options).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/crud_repository.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | let coll = db.collection(collection_name); [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/crud_repository.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | coll.update_one(query, update, options).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/crud_repository.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | let coll = db.collection(collection_name); [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/crud_repository.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | coll.update_one(query, update, options).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/crud_repository.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | let coll = db.collection(collection_name); [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/crud_repository.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | coll.update_one(query, update, options).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/crud_repository.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | let coll = db.collection(collection_name); [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/crud_repository.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | coll.update_one(query, update, options).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/crud_repository.rs:312:19 [INFO] [stdout] | [INFO] [stdout] 312 | let coll = db.collection(collection_name); [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/crud_repository.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | coll.delete_one(query, options).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/crud_repository.rs:312:19 [INFO] [stdout] | [INFO] [stdout] 312 | let coll = db.collection(collection_name); [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/crud_repository.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | coll.delete_one(query, options).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0698`. [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async fn` body must be known in this context [INFO] [stdout] --> src/crud_repository.rs:312:19 [INFO] [stdout] | [INFO] [stdout] 312 | let coll = db.collection(collection_name); [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/crud_repository.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | coll.delete_one(query, options).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/crud_repository.rs:312:19 [INFO] [stdout] | [INFO] [stdout] 312 | let coll = db.collection(collection_name); [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/crud_repository.rs:313:5 [INFO] [stdout] | [INFO] [stdout] 313 | coll.delete_one(query, options).await [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `wread-mongodb` [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: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0698`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a41889b860f5e6464d58c6e0189cbeadf59ab1924bfe4a8db694fc2e333c05d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a41889b860f5e6464d58c6e0189cbeadf59ab1924bfe4a8db694fc2e333c05d3", kill_on_drop: false }` [INFO] [stdout] a41889b860f5e6464d58c6e0189cbeadf59ab1924bfe4a8db694fc2e333c05d3