[INFO] fetching crate reddb 0.2.3... [INFO] building reddb-0.2.3 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate reddb 0.2.3 into /workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate reddb 0.2.3 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 187 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.11.0) [INFO] [stderr] Adding serde_yaml v0.8.26 (available: v0.9.34+deprecated) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.47.1) [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term v0.6.1 [INFO] [stderr] Downloaded semver-parser v0.10.3 [INFO] [stderr] Downloaded pin-project-lite v0.1.12 [INFO] [stderr] Downloaded zip v0.5.13 [INFO] [stderr] Downloaded cargo_metadata v0.14.2 [INFO] [stderr] Downloaded camino v1.2.1 [INFO] [stderr] Downloaded grcov v0.6.1 [INFO] [stderr] Downloaded cargo-binutils v0.3.6 [INFO] [stderr] Downloaded simplelog v0.7.6 [INFO] [stderr] Downloaded rustc-cfg v0.4.0 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] [stderr] Downloaded quick-xml v0.20.0 [INFO] [stderr] Downloaded tokio v0.2.25 [INFO] [stderr] Downloaded fomat-macros v0.3.2 [INFO] [stderr] Downloaded is_executable v0.1.2 [INFO] [stderr] Downloaded md-5 v0.9.1 [INFO] [stderr] Downloaded tokio-macros v0.2.6 [INFO] [stderr] Downloaded ron v0.6.6 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e9efecd13244d29fc93ac1af784958b988b0d5fdfed0082f9f02e55530d778f [INFO] running `Command { std: "docker" "start" "-a" "5e9efecd13244d29fc93ac1af784958b988b0d5fdfed0082f9f02e55530d778f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e9efecd13244d29fc93ac1af784958b988b0d5fdfed0082f9f02e55530d778f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e9efecd13244d29fc93ac1af784958b988b0d5fdfed0082f9f02e55530d778f", kill_on_drop: false }` [INFO] [stdout] 5e9efecd13244d29fc93ac1af784958b988b0d5fdfed0082f9f02e55530d778f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 082c09e17fb6d4ff874097569806bc79902e5fa2acad570d5ccb1ae1cc5edd80 [INFO] running `Command { std: "docker" "start" "-a" "082c09e17fb6d4ff874097569806bc79902e5fa2acad570d5ccb1ae1cc5edd80", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.19 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustc-demangle v0.1.26 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling tokio-macros v0.2.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 failure v0.1.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling uuid v0.8.2 [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 21.53s [INFO] running `Command { std: "docker" "inspect" "082c09e17fb6d4ff874097569806bc79902e5fa2acad570d5ccb1ae1cc5edd80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "082c09e17fb6d4ff874097569806bc79902e5fa2acad570d5ccb1ae1cc5edd80", kill_on_drop: false }` [INFO] [stdout] 082c09e17fb6d4ff874097569806bc79902e5fa2acad570d5ccb1ae1cc5edd80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9b8cca9b428d1c057787d1ac7efa8220a950615bcc5220af3fd9fb423273d80 [INFO] running `Command { std: "docker" "start" "-a" "e9b8cca9b428d1c057787d1ac7efa8220a950615bcc5220af3fd9fb423273d80", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling find-msvc-tools v0.1.2 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling crc32fast v1.5.0 [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 thiserror-impl v2.0.17 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling cc v1.2.39 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling cargo-platform v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling rustc-cfg v0.4.0 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling cargo_metadata v0.14.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling pest v2.8.2 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling md-5 v0.9.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling is_executable v0.1.2 [INFO] [stderr] Compiling tempfile v3.23.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling fomat-macros v0.3.2 [INFO] [stderr] Compiling simplelog v0.7.6 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling flate2 v1.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 semver-parser v0.10.3 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling globset v0.4.16 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling cargo-binutils v0.3.6 [INFO] [stderr] Compiling tokio-test v0.4.4 [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:31 [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:45 [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:49 [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:72 [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:70 [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:357:14 [INFO] [stdout] | [INFO] [stdout] 357 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:364:14 [INFO] [stdout] | [INFO] [stdout] 364 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:371:14 [INFO] [stdout] | [INFO] [stdout] 371 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:377:14 [INFO] [stdout] | [INFO] [stdout] 377 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:393:14 [INFO] [stdout] | [INFO] [stdout] 393 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:395:70 [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:31 [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:42 [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:57 [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:56 [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:72 [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:31 [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:51 [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:42 [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:55 [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:53 [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" "e9b8cca9b428d1c057787d1ac7efa8220a950615bcc5220af3fd9fb423273d80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9b8cca9b428d1c057787d1ac7efa8220a950615bcc5220af3fd9fb423273d80", kill_on_drop: false }` [INFO] [stdout] e9b8cca9b428d1c057787d1ac7efa8220a950615bcc5220af3fd9fb423273d80