[INFO] fetching crate reddb 0.2.3... [INFO] testing reddb-0.2.3 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate reddb 0.2.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate reddb 0.2.3 [INFO] finished tweaking crates.io crate reddb 0.2.3 [INFO] tweaked toml for crates.io crate reddb 0.2.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate reddb 0.2.3 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 172 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.13.1 (available: v0.22.1) [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding grcov v0.6.1 (available: v0.10.5) [INFO] [stderr] Adding ron v0.6.6 (available: v0.12.0) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.48.0) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0995c4f799b693ccac6ada904ad162fe8ef9ae0cc92c5be1d5392f3d1a41069 [INFO] running `Command { std: "docker" "start" "-a" "b0995c4f799b693ccac6ada904ad162fe8ef9ae0cc92c5be1d5392f3d1a41069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0995c4f799b693ccac6ada904ad162fe8ef9ae0cc92c5be1d5392f3d1a41069", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0995c4f799b693ccac6ada904ad162fe8ef9ae0cc92c5be1d5392f3d1a41069", kill_on_drop: false }` [INFO] [stdout] b0995c4f799b693ccac6ada904ad162fe8ef9ae0cc92c5be1d5392f3d1a41069 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ab33d3317c24063f9e693911b44357468c48757926eb748703e4697dc341a0a [INFO] running `Command { std: "docker" "start" "-a" "6ab33d3317c24063f9e693911b44357468c48757926eb748703e4697dc341a0a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling reddb v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Bin` is never constructed [INFO] [stdout] --> src/serializer/bin.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Bin { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Json` is never constructed [INFO] [stdout] --> src/serializer/json.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Json { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ron` is never constructed [INFO] [stdout] --> src/serializer/ron.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Ron { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Yaml` is never constructed [INFO] [stdout] --> src/serializer/yaml.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Yaml { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_RedDbErrorKind` [INFO] [stdout] 8 | pub enum RedDbErrorKind { [INFO] [stdout] | -------------- `RedDbErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_RedDbErrorKind` [INFO] [stdout] 8 | pub enum RedDbErrorKind { [INFO] [stdout] | -------------- `RedDbErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.83s [INFO] running `Command { std: "docker" "inspect" "6ab33d3317c24063f9e693911b44357468c48757926eb748703e4697dc341a0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ab33d3317c24063f9e693911b44357468c48757926eb748703e4697dc341a0a", kill_on_drop: false }` [INFO] [stdout] 6ab33d3317c24063f9e693911b44357468c48757926eb748703e4697dc341a0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4cbdc90fbb37d9e38e10470e96a03feea27f7ecc4d18d57ef7f0e0e7d6127790 [INFO] running `Command { std: "docker" "start" "-a" "4cbdc90fbb37d9e38e10470e96a03feea27f7ecc4d18d57ef7f0e0e7d6127790", kill_on_drop: false }` [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling camino v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling rustc-cfg v0.4.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling pest v2.8.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling bstr v1.12.1 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling flate2 v1.1.5 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling simplelog v0.7.6 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling fomat-macros v0.3.2 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling is_executable v0.1.2 [INFO] [stdout] warning: struct `Bin` is never constructed [INFO] [stdout] --> src/serializer/bin.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Bin { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Json` is never constructed [INFO] [stdout] --> src/serializer/json.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Json { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ron` is never constructed [INFO] [stdout] --> src/serializer/ron.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Ron { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Yaml` is never constructed [INFO] [stdout] --> src/serializer/yaml.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Yaml { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_RedDbErrorKind` [INFO] [stdout] 8 | pub enum RedDbErrorKind { [INFO] [stdout] | -------------- `RedDbErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Eq, PartialEq, Debug, Fail)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_RedDbErrorKind` [INFO] [stdout] 8 | pub enum RedDbErrorKind { [INFO] [stdout] | -------------- `RedDbErrorKind` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling semver-parser v0.10.3 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling globset v0.4.18 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling cargo-binutils v0.3.6 [INFO] [stderr] Compiling grcov v0.6.1 [INFO] [stderr] Compiling reddb v0.2.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::RonDb` [INFO] [stdout] --> src/lib.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | use crate::RonDb; [INFO] [stdout] | ^^^^^^^^^^^^ no `RonDb` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 34 | #[cfg(feature = "ron_ser")] [INFO] [stdout] | ------------------- the item is gated behind the `ron_ser` feature [INFO] [stdout] 35 | pub type RonDb = RedDb>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:487:9 [INFO] [stdout] | [INFO] [stdout] 487 | db.insert(many).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:488:23 [INFO] [stdout] | [INFO] [stdout] 488 | let deleted = db.delete(&one).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:491:27 [INFO] [stdout] | [INFO] [stdout] 491 | let not_deleted = db.delete(&one).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[ignore]` attribute cannot be used on modules [INFO] [stdout] --> src/lib.rs:327:38 [INFO] [stdout] | [INFO] [stdout] 327 | #[cfg_attr(not(feature = "ron_ser"), ignore)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[ignore]` can only be applied to functions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:345:41 [INFO] [stdout] | [INFO] [stdout] 345 | let doc: Document = db.insert_document(data).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:346:42 [INFO] [stdout] | [INFO] [stdout] 346 | let find: Document = db.find_one(&doc._id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:352:41 [INFO] [stdout] | [INFO] [stdout] 352 | let doc: Document = db [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 353 | | .insert_document(TestStruct { [INFO] [stdout] 354 | | foo: "test".to_owned(), [INFO] [stdout] 355 | | }) [INFO] [stdout] 356 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:359:42 [INFO] [stdout] | [INFO] [stdout] 359 | let doc2: Document = db [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 360 | | .insert_document(TestStruct { [INFO] [stdout] 361 | | foo: "test2".to_owned(), [INFO] [stdout] 362 | | }) [INFO] [stdout] 363 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:366:42 [INFO] [stdout] | [INFO] [stdout] 366 | let doc3: Document = db [INFO] [stdout] | __________________________________________^ [INFO] [stdout] 367 | | .insert_document(TestStruct { [INFO] [stdout] 368 | | foo: "test".to_owned(), [INFO] [stdout] 369 | | }) [INFO] [stdout] 370 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:372:32 [INFO] [stdout] | [INFO] [stdout] 372 | let uuids: Vec = db [INFO] [stdout] | ________________________________^ [INFO] [stdout] 373 | | .find_uuids(&TestStruct { [INFO] [stdout] 374 | | foo: "test".to_owned(), [INFO] [stdout] 375 | | }) [INFO] [stdout] 376 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:388:41 [INFO] [stdout] | [INFO] [stdout] 388 | let doc: Document = db [INFO] [stdout] | _________________________________________^ [INFO] [stdout] 389 | | .insert_one(TestStruct { [INFO] [stdout] 390 | | foo: "test".to_owned(), [INFO] [stdout] 391 | | }) [INFO] [stdout] 392 | | .await [INFO] [stdout] | |__________________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:395:42 [INFO] [stdout] | [INFO] [stdout] 395 | let find: Document = db.find_one(&doc._id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | db.insert(many).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:415:22 [INFO] [stdout] | [INFO] [stdout] 415 | let result = db.find(&one).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:430:19 [INFO] [stdout] | [INFO] [stdout] 430 | let doc = db.insert_one(original.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:431:9 [INFO] [stdout] | [INFO] [stdout] 431 | db.update_one(&doc._id, updated.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:432:44 [INFO] [stdout] | [INFO] [stdout] 432 | let result: Document = db.find_one(&doc._id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:448:9 [INFO] [stdout] | [INFO] [stdout] 448 | db.insert(many).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:449:23 [INFO] [stdout] | [INFO] [stdout] 449 | let updated = db.update(&one, &two).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:451:22 [INFO] [stdout] | [INFO] [stdout] 451 | let result = db.find(&two).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:463:19 [INFO] [stdout] | [INFO] [stdout] 463 | let doc = db.insert_one(search.clone()).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:464:23 [INFO] [stdout] | [INFO] [stdout] 464 | let deleted = db.delete_one(&doc._id).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `reddb` (lib test) due to 22 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "4cbdc90fbb37d9e38e10470e96a03feea27f7ecc4d18d57ef7f0e0e7d6127790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4cbdc90fbb37d9e38e10470e96a03feea27f7ecc4d18d57ef7f0e0e7d6127790", kill_on_drop: false }` [INFO] [stdout] 4cbdc90fbb37d9e38e10470e96a03feea27f7ecc4d18d57ef7f0e0e7d6127790