[INFO] fetching crate mongosh 0.2.0... [INFO] checking mongosh-0.2.0 against master#61cc47e367d7be91e13bcd01e4e96e0e233d4f6d for 2025-12-16-next-solver-global [INFO] extracting crate mongosh 0.2.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate mongosh 0.2.0 [INFO] finished tweaking crates.io crate mongosh 0.2.0 [INFO] tweaked toml for crates.io crate mongosh 0.2.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mongosh 0.2.0 on toolchain 61cc47e367d7be91e13bcd01e4e96e0e233d4f6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate mongosh 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v1.1.9 [INFO] [stderr] Downloaded tracing-attributes v0.1.31 [INFO] [stderr] Downloaded tracing-log v0.2.0 [INFO] [stderr] Downloaded base64-simd v0.8.0 [INFO] [stderr] Downloaded typed-builder v0.22.0 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.106 [INFO] [stderr] Downloaded oxc_data_structures v0.40.1 [INFO] [stderr] Downloaded phf_generator v0.11.3 [INFO] [stderr] Downloaded outref v0.5.2 [INFO] [stderr] Downloaded dashmap v6.1.0 [INFO] [stderr] Downloaded oxc_sourcemap v1.0.9 [INFO] [stderr] Downloaded unicode-xid v0.2.6 [INFO] [stderr] Downloaded dirs v5.0.1 [INFO] [stderr] Downloaded anstyle-wincon v3.0.11 [INFO] [stderr] Downloaded data-encoding v2.9.0 [INFO] [stderr] Downloaded anstyle-parse v0.2.7 [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.2 [INFO] [stderr] Downloaded tiny-keccak v2.0.2 [INFO] [stderr] Downloaded anstyle-query v1.1.5 [INFO] [stderr] Downloaded anstream v0.6.21 [INFO] [stderr] Downloaded base64 v0.21.7 [INFO] [stderr] Downloaded clap v4.5.53 [INFO] [stderr] Downloaded oxc-browserslist v1.1.2 [INFO] [stderr] Downloaded serde_with v3.16.1 [INFO] [stderr] Downloaded derive_more v2.1.0 [INFO] [stderr] Downloaded widestring v1.2.1 [INFO] [stderr] Downloaded hickory-resolver v0.25.2 [INFO] [stderr] Downloaded clap_builder v4.5.53 [INFO] [stderr] Downloaded unicode-normalization v0.1.25 [INFO] [stderr] Downloaded mongodb v3.4.1 [INFO] [stderr] Downloaded crossbeam-channel v0.5.15 [INFO] [stderr] Downloaded darling_core v0.21.3 [INFO] [stderr] Downloaded nix v0.28.0 [INFO] [stderr] Downloaded hickory-proto v0.25.2 [INFO] [stderr] Downloaded moka v0.12.11 [INFO] [stderr] Downloaded unicode-width v0.2.2 [INFO] [stderr] Downloaded petgraph v0.6.5 [INFO] [stderr] Downloaded bitvec v1.0.1 [INFO] [stderr] Downloaded oxc_isolated_declarations v0.40.1 [INFO] [stderr] Downloaded unicode-width v0.1.14 [INFO] [stderr] Downloaded radix_trie v0.2.1 [INFO] [stderr] Downloaded derive-where v1.6.0 [INFO] [stderr] Downloaded socket2 v0.5.10 [INFO] [stderr] Downloaded ahash v0.8.12 [INFO] [stderr] Downloaded bson v2.15.0 [INFO] [stderr] Downloaded mongocrypt-sys v0.1.5+1.15.1 [INFO] [stderr] Downloaded ipconfig v0.3.2 [INFO] [stderr] Downloaded tagptr v0.2.0 [INFO] [stderr] Downloaded serde_with_macros v3.16.1 [INFO] [stderr] Downloaded stringprep v0.1.5 [INFO] [stderr] Downloaded clap_derive v4.5.49 [INFO] [stderr] Downloaded convert_case v0.10.0 [INFO] [stderr] Downloaded derive_more-impl v2.1.0 [INFO] [stderr] Downloaded async-trait v0.1.89 [INFO] [stderr] Downloaded heck v0.5.0 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.18 [INFO] [stderr] Downloaded md-5 v0.10.6 [INFO] [stderr] Downloaded tap v1.0.1 [INFO] [stderr] Downloaded wyz v0.5.1 [INFO] [stderr] Downloaded macro_magic_core_macros v0.5.1 [INFO] [stderr] Downloaded macro_magic_core v0.5.1 [INFO] [stderr] Downloaded mongodb-internal-macros v3.4.1 [INFO] [stderr] Downloaded pbkdf2 v0.12.2 [INFO] [stderr] Downloaded rustc_version_runtime v0.3.0 [INFO] [stderr] Downloaded serde_bytes v0.11.19 [INFO] [stderr] Downloaded darling_macro v0.21.3 [INFO] [stderr] Downloaded unicode-bidi v0.3.18 [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded oxc_ast v0.40.1 [INFO] [stderr] Downloaded tracing-subscriber v0.3.22 [INFO] [stderr] Downloaded once_cell_polyfill v1.70.2 [INFO] [stderr] Downloaded colorchoice v1.0.4 [INFO] [stderr] Downloaded yansi v1.0.1 [INFO] [stderr] Downloaded colored_json v5.0.0 [INFO] [stderr] Downloaded redox_users v0.4.6 [INFO] [stderr] Downloaded dirs-sys v0.4.1 [INFO] [stderr] Downloaded futures-macro v0.3.31 [INFO] [stderr] Downloaded derive-syn-parse v0.2.0 [INFO] [stderr] Downloaded unicode-properties v0.1.4 [INFO] [stderr] Downloaded cc v1.2.48 [INFO] [stderr] Downloaded oxc_transformer v0.40.1 [INFO] [stderr] Downloaded hashbrown v0.16.1 [INFO] [stderr] Downloaded winnow v0.7.14 [INFO] [stderr] Downloaded strsim v0.11.1 [INFO] [stderr] Downloaded js-sys v0.3.83 [INFO] [stderr] Downloaded hashbrown v0.14.5 [INFO] [stderr] Downloaded portable-atomic v1.11.1 [INFO] [stderr] Downloaded clap_lex v0.7.6 [INFO] [stderr] Downloaded funty v2.0.0 [INFO] [stderr] Downloaded const-random-macro v0.1.16 [INFO] [stderr] Downloaded const-random v0.1.18 [INFO] [stderr] Downloaded ident_case v1.0.1 [INFO] [stderr] Downloaded darling v0.21.3 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.106 [INFO] [stderr] Downloaded nom v8.0.0 [INFO] [stderr] Downloaded wasm-bindgen v0.2.106 [INFO] [stderr] Downloaded oxc_parser v0.40.1 [INFO] [stderr] Downloaded ropey v1.6.1 [INFO] [stderr] Downloaded num-bigint v0.4.6 [INFO] [stderr] Downloaded unicode-segmentation v1.12.0 [INFO] [stderr] Downloaded rustyline v14.0.0 [INFO] [stderr] Downloaded mio v1.1.1 [INFO] [stderr] Downloaded indexmap v2.12.1 [INFO] [stderr] Downloaded toml_edit v0.22.27 [INFO] [stderr] Downloaded enum-as-inner v0.6.1 [INFO] [stderr] Downloaded oxc_semantic v0.40.1 [INFO] [stderr] Downloaded oxc-miette v1.0.2 [INFO] [stderr] Downloaded winreg v0.50.0 [INFO] [stderr] Downloaded resolv-conf v0.7.6 [INFO] [stderr] Downloaded mongocrypt v0.3.2 [INFO] [stderr] Downloaded typed-builder-macro v0.22.0 [INFO] [stderr] Downloaded compact_str v0.8.1 [INFO] [stderr] Downloaded ryu-js v1.0.2 [INFO] [stderr] Downloaded oxc_traverse v0.40.1 [INFO] [stderr] Downloaded tracing v0.1.43 [INFO] [stderr] Downloaded macro_magic_macros v0.5.1 [INFO] [stderr] Downloaded macro_magic v0.5.1 [INFO] [stderr] Downloaded oxc_minifier v0.40.1 [INFO] [stderr] Downloaded crossbeam-utils v0.8.21 [INFO] [stderr] Downloaded oxc_regular_expression v0.40.1 [INFO] [stderr] Downloaded oxc_index v2.0.0 [INFO] [stderr] Downloaded owo-colors v4.2.3 [INFO] [stderr] Downloaded textwrap v0.16.2 [INFO] [stderr] Downloaded allocator-api2 v0.2.21 [INFO] [stderr] Downloaded tokio-stream v0.1.17 [INFO] [stderr] Downloaded toml v0.8.23 [INFO] [stderr] Downloaded sharded-slab v0.1.7 [INFO] [stderr] Downloaded radium v0.7.0 [INFO] [stderr] Downloaded uuid v1.19.0 [INFO] [stderr] Downloaded rustls-pki-types v1.13.1 [INFO] [stderr] Downloaded vsimd v0.8.0 [INFO] [stderr] Downloaded oxc_codegen v0.40.1 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded phf v0.11.3 [INFO] [stderr] Downloaded unicode-id-start v1.4.0 [INFO] [stderr] Downloaded oxc_syntax v0.40.1 [INFO] [stderr] Downloaded signal-hook-registry v1.4.7 [INFO] [stderr] Downloaded tokio-macros v2.6.0 [INFO] [stderr] Downloaded nu-ansi-term v0.50.3 [INFO] [stderr] Downloaded tracing-core v0.1.35 [INFO] [stderr] Downloaded str_indices v0.4.4 [INFO] [stderr] Downloaded num-integer v0.1.46 [INFO] [stderr] Downloaded oxc_diagnostics v0.40.1 [INFO] [stderr] Downloaded oxc-miette-derive v1.0.2 [INFO] [stderr] Downloaded unicode-linebreak v0.1.5 [INFO] [stderr] Downloaded phf_macros v0.11.3 [INFO] [stderr] Downloaded fd-lock v4.0.4 [INFO] [stderr] Downloaded nibble_vec v0.1.0 [INFO] [stderr] Downloaded toml_datetime v0.6.11 [INFO] [stderr] Downloaded fixedbitset v0.4.2 [INFO] [stderr] Downloaded oxc_cfg v0.40.1 [INFO] [stderr] Downloaded cow-utils v0.1.3 [INFO] [stderr] Downloaded assert-unchecked v0.1.2 [INFO] [stderr] Downloaded nonmax v0.5.5 [INFO] [stderr] Downloaded static_assertions v1.1.0 [INFO] [stderr] Downloaded oxc_ast_macros v0.40.1 [INFO] [stderr] Downloaded phf_shared v0.11.3 [INFO] [stderr] Downloaded clipboard-win v5.4.1 [INFO] [stderr] Downloaded endian-type v0.1.2 [INFO] [stderr] Downloaded utf8parse v0.2.2 [INFO] [stderr] Downloaded matchers v0.2.0 [INFO] [stderr] Downloaded oxc_mangler v0.40.1 [INFO] [stderr] Downloaded oxc_allocator v0.40.1 [INFO] [stderr] Downloaded oxc_estree v0.40.1 [INFO] [stderr] Downloaded oxc_span v0.40.1 [INFO] [stderr] Downloaded cfg_aliases v0.1.1 [INFO] [stderr] Downloaded oxc_ecmascript v0.40.1 [INFO] [stderr] Downloaded home v0.5.12 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] [stderr] Downloaded toml_write v0.1.2 [INFO] [stderr] Downloaded smawk v0.3.2 [INFO] [stderr] Downloaded siphasher v1.0.1 [INFO] [stderr] Downloaded sha1 v0.10.6 [INFO] [stderr] Downloaded oxc v0.40.1 [INFO] [stderr] Downloaded error-code v3.3.2 [INFO] [stderr] Downloaded async-stream-impl v0.3.6 [INFO] [stderr] Downloaded async-stream v0.3.6 [INFO] [stderr] Downloaded valuable v0.1.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.106 [INFO] [stderr] Downloaded castaway v0.2.4 [INFO] [stderr] Downloaded serde_spanned v0.6.9 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 747b8c0325706cf3a38becc2457c084ddc55d4caad1b208a915c583cbb3c0965 [INFO] running `Command { std: "docker" "start" "-a" "747b8c0325706cf3a38becc2457c084ddc55d4caad1b208a915c583cbb3c0965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "747b8c0325706cf3a38becc2457c084ddc55d4caad1b208a915c583cbb3c0965", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "747b8c0325706cf3a38becc2457c084ddc55d4caad1b208a915c583cbb3c0965", kill_on_drop: false }` [INFO] [stdout] 747b8c0325706cf3a38becc2457c084ddc55d4caad1b208a915c583cbb3c0965 [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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+61cc47e367d7be91e13bcd01e4e96e0e233d4f6d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8321422cb22f07a2a8fefe768457b13bb389ffff389eae8cd4684f49212cbf1b [INFO] running `Command { std: "docker" "start" "-a" "8321422cb22f07a2a8fefe768457b13bb389ffff389eae8cd4684f49212cbf1b", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking unicode-width v0.2.2 [INFO] [stderr] Checking bitflags v2.10.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking oxc_estree v0.40.1 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking assert-unchecked v0.1.2 [INFO] [stderr] Checking unicode-id-start v1.4.0 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking ryu-js v1.0.2 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking nonmax v0.5.5 [INFO] [stderr] Checking oxc_index v2.0.0 [INFO] [stderr] Checking cow-utils v0.1.3 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Checking oxc_allocator v0.40.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking litemap v0.8.1 [INFO] [stderr] Checking writeable v0.6.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling cc v1.2.48 [INFO] [stderr] Checking petgraph v0.6.5 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking str_indices v0.4.4 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Checking rustls-pki-types v1.13.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling oxc_sourcemap v1.0.9 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Checking oxc_data_structures v0.40.1 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking regex-syntax v0.8.8 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling rustls v0.23.35 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling moka v0.12.11 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking tagptr v0.2.0 [INFO] [stderr] Checking ipnet v2.11.0 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking linux-raw-sys v0.11.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking unicode-bidi v0.3.18 [INFO] [stderr] Checking resolv-conf v0.7.6 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking webpki-roots v1.0.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Checking predicates-core v1.0.9 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking termtree v0.5.1 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking predicates-tree v1.0.12 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking fragile v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling oxc-miette-derive v1.0.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling oxc_ast_macros v0.40.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Compiling derive_more-impl v2.1.0 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Compiling typed-builder-macro v0.22.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking oxc-miette v1.0.2 [INFO] [stderr] Compiling mongodb-internal-macros v3.4.1 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking typed-builder v0.22.0 [INFO] [stderr] Checking oxc_span v0.40.1 [INFO] [stderr] Checking oxc_diagnostics v0.40.1 [INFO] [stderr] Checking rustls-webpki v0.103.8 [INFO] [stderr] Checking oxc_syntax v0.40.1 [INFO] [stderr] Checking oxc_regular_expression v0.40.1 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking oxc_cfg v0.40.1 [INFO] [stderr] Checking derive_more v2.1.0 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.1 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Checking oxc_ast v0.40.1 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking oxc-browserslist v1.1.2 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Checking colored_json v5.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking serde_with v3.16.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Checking hickory-proto v0.25.2 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hickory-resolver v0.25.2 [INFO] [stderr] Checking mongodb v3.4.1 [INFO] [stderr] Checking oxc_ecmascript v0.40.1 [INFO] [stderr] Checking oxc_semantic v0.40.1 [INFO] [stderr] Checking oxc_parser v0.40.1 [INFO] [stderr] Checking oxc_isolated_declarations v0.40.1 [INFO] [stderr] Checking oxc_mangler v0.40.1 [INFO] [stderr] Checking oxc_traverse v0.40.1 [INFO] [stderr] Checking oxc_codegen v0.40.1 [INFO] [stderr] Checking oxc_transformer v0.40.1 [INFO] [stderr] Checking oxc_minifier v0.40.1 [INFO] [stderr] Checking oxc v0.40.1 [INFO] [stderr] Checking mongosh v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `integration-tests` [INFO] [stdout] --> src/connection/mod.rs:608:11 [INFO] [stdout] | [INFO] [stdout] 608 | #[cfg(feature = "integration-tests")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `integration-tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/executor/admin.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/executor/context.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/executor/router.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/cli/mod.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | fn apply_args_to_config(config: &mut Config, args: &CliArgs) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/cli/mod.rs:410:50 [INFO] [stdout] | [INFO] [stdout] 410 | fn apply_args_to_config(config: &mut Config, args: &CliArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell` [INFO] [stdout] --> src/cli/mod.rs:457:35 [INFO] [stdout] | [INFO] [stdout] 457 | fn generate_completion(&self, shell: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/config/mod.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/config/mod.rs:395:40 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn save>(&self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/config/mod.rs:406:25 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn merge(&self, other: &Config) -> Config { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docs` [INFO] [stdout] --> src/formatter/table.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | fn format_documents(&self, docs: &[Document]) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docs` [INFO] [stdout] --> src/formatter/table.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_field_names(&self, docs: &[Document]) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/formatter/table.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | fn format_header(&self, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc` [INFO] [stdout] --> src/formatter/table.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | fn format_row(&self, doc: &Document, fields: &[String]) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/formatter/table.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | fn format_row(&self, doc: &Document, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/cli/mod.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | fn apply_args_to_config(config: &mut Config, args: &CliArgs) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/cli/mod.rs:410:50 [INFO] [stdout] | [INFO] [stdout] 410 | fn apply_args_to_config(config: &mut Config, args: &CliArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell` [INFO] [stdout] --> src/cli/mod.rs:457:35 [INFO] [stdout] | [INFO] [stdout] 457 | fn generate_completion(&self, shell: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_call` [INFO] [stdout] --> src/parser/db_operation.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | if let Expression::CallExpression(base_call) = &member.object { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/plugins/mod.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | fn configure(&mut self, config: HashMap) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/plugins/mod.rs:219:57 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn load_plugin>(&mut self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/plugins/mod.rs:301:50 [INFO] [stdout] | [INFO] [stdout] 301 | pub async fn load_enabled_plugins(&mut self, client: Client) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/plugins/mod.rs:519:50 [INFO] [stdout] | [INFO] [stdout] 519 | pub fn load_from_file>(&self, path: P) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/plugins/mod.rs:530:51 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn validate_plugin>(&self, path: P) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/config/mod.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/config/mod.rs:395:40 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn save>(&self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/config/mod.rs:406:25 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn merge(&self, other: &Config) -> Config { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> src/script/mod.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn execute_string(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> src/script/mod.rs:185:42 [INFO] [stdout] | [INFO] [stdout] 185 | async fn execute_with_timeout(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/script/mod.rs:461:37 [INFO] [stdout] | [INFO] [stdout] 461 | pub async fn execute(&mut self, code: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `apply_args_to_config` is never used [INFO] [stdout] --> src/cli/mod.rs:410:8 [INFO] [stdout] | [INFO] [stdout] 176 | impl CliInterface { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 410 | fn apply_args_to_config(config: &mut Config, args: &CliArgs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/formatter/colorizer.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 11 | impl AnsiColors { [INFO] [stdout] | --------------- associated constants in this implementation [INFO] [stdout] 12 | pub const RESET: &'static str = "\x1b[0m"; [INFO] [stdout] 13 | pub const BOLD: &'static str = "\x1b[1m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub const DIM: &'static str = "\x1b[2m"; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub const BLACK: &'static str = "\x1b[30m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub const WHITE: &'static str = "\x1b[37m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub const BRIGHT_BLACK: &'static str = "\x1b[90m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub const BRIGHT_RED: &'static str = "\x1b[91m"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | pub const BRIGHT_GREEN: &'static str = "\x1b[92m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | pub const BRIGHT_YELLOW: &'static str = "\x1b[93m"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub const BRIGHT_BLUE: &'static str = "\x1b[94m"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | pub const BRIGHT_MAGENTA: &'static str = "\x1b[95m"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub const BRIGHT_CYAN: &'static str = "\x1b[96m"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | pub const BRIGHT_WHITE: &'static str = "\x1b[97m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/formatter/json.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct JsonFormatter { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_column_width`, `show_borders`, and `separator` are never read [INFO] [stdout] --> src/formatter/table.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TableFormatter { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 16 | /// Maximum column width [INFO] [stdout] 17 | max_column_width: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | show_borders: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | separator: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field_names`, `format_header`, and `format_row` are never used [INFO] [stdout] --> src/formatter/table.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl TableFormatter { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_field_names(&self, docs: &[Document]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn format_header(&self, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn format_row(&self, doc: &Document, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `plugin_dir`, `enabled_plugins`, and `contexts` are never read [INFO] [stdout] --> src/plugins/mod.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct PluginManager { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 173 | plugin_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | enabled_plugins: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | contexts: Arc>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `directory` is never read [INFO] [stdout] --> src/plugins/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct PluginLoader { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 184 | /// Plugin directory [INFO] [stdout] 185 | directory: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init_plugin` is never used [INFO] [stdout] --> src/plugins/mod.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 194 | impl PluginManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 314 | async fn init_plugin(&mut self, name: &str, client: Client, database: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color_enabled` and `highlighting_enabled` are never read [INFO] [stdout] --> src/repl/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct ReplEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | highlighting_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_enabled` is never read [INFO] [stdout] --> src/repl/mod.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct ReplHelper { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/script/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ScriptExecutor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 19 | /// MongoDB client for database operations [INFO] [stdout] 20 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_context`, `validate_syntax`, and `execute_with_timeout` are never used [INFO] [stdout] --> src/script/mod.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl ScriptExecutor { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn create_context(&self) -> ScriptContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn validate_syntax(&self, _script: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | async fn execute_with_timeout(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bind_database` and `bind_helpers` are never used [INFO] [stdout] --> src/script/mod.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 190 | impl ScriptContext { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 230 | fn bind_database(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn bind_helpers(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/script/mod.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 429 | pub struct ScriptRuntime { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 430 | /// Execution context [INFO] [stdout] 431 | context: ScriptContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docs` [INFO] [stdout] --> src/formatter/table.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | fn format_documents(&self, docs: &[Document]) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docs` [INFO] [stdout] --> src/formatter/table.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_field_names(&self, docs: &[Document]) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/formatter/table.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | fn format_header(&self, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc` [INFO] [stdout] --> src/formatter/table.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | fn format_row(&self, doc: &Document, fields: &[String]) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/formatter/table.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | fn format_row(&self, doc: &Document, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_call` [INFO] [stdout] --> src/parser/db_operation.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | if let Expression::CallExpression(base_call) = &member.object { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/plugins/mod.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | fn configure(&mut self, config: HashMap) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/plugins/mod.rs:219:57 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn load_plugin>(&mut self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/plugins/mod.rs:301:50 [INFO] [stdout] | [INFO] [stdout] 301 | pub async fn load_enabled_plugins(&mut self, client: Client) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/plugins/mod.rs:519:50 [INFO] [stdout] | [INFO] [stdout] 519 | pub fn load_from_file>(&self, path: P) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/plugins/mod.rs:530:51 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn validate_plugin>(&self, path: P) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> src/script/mod.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn execute_string(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> src/script/mod.rs:185:42 [INFO] [stdout] | [INFO] [stdout] 185 | async fn execute_with_timeout(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/script/mod.rs:461:37 [INFO] [stdout] | [INFO] [stdout] 461 | pub async fn execute(&mut self, code: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `admin::AdminExecutor` [INFO] [stdout] --> src/executor/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub use admin::AdminExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query::QueryExecutor` [INFO] [stdout] --> src/executor/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub use query::QueryExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutionStats` [INFO] [stdout] --> src/executor/mod.rs:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | pub use result::{ExecutionResult, ExecutionStats, ResultData}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utility::UtilityExecutor` [INFO] [stdout] --> src/executor/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub use utility::UtilityExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReplContext` [INFO] [stdout] --> src/main.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | use repl::{ReplContext, ReplEngine, SharedState}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `apply_args_to_config` is never used [INFO] [stdout] --> src/cli/mod.rs:410:8 [INFO] [stdout] | [INFO] [stdout] 176 | impl CliInterface { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 410 | fn apply_args_to_config(config: &mut Config, args: &CliArgs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/formatter/colorizer.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 11 | impl AnsiColors { [INFO] [stdout] | --------------- associated constants in this implementation [INFO] [stdout] 12 | pub const RESET: &'static str = "\x1b[0m"; [INFO] [stdout] 13 | pub const BOLD: &'static str = "\x1b[1m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub const DIM: &'static str = "\x1b[2m"; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub const BLACK: &'static str = "\x1b[30m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub const WHITE: &'static str = "\x1b[37m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub const BRIGHT_BLACK: &'static str = "\x1b[90m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub const BRIGHT_RED: &'static str = "\x1b[91m"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | pub const BRIGHT_GREEN: &'static str = "\x1b[92m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | pub const BRIGHT_YELLOW: &'static str = "\x1b[93m"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub const BRIGHT_BLUE: &'static str = "\x1b[94m"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | pub const BRIGHT_MAGENTA: &'static str = "\x1b[95m"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub const BRIGHT_CYAN: &'static str = "\x1b[96m"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | pub const BRIGHT_WHITE: &'static str = "\x1b[97m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/formatter/json.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct JsonFormatter { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_column_width`, `show_borders`, and `separator` are never read [INFO] [stdout] --> src/formatter/table.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TableFormatter { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 16 | /// Maximum column width [INFO] [stdout] 17 | max_column_width: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | show_borders: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | separator: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field_names`, `format_header`, and `format_row` are never used [INFO] [stdout] --> src/formatter/table.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl TableFormatter { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_field_names(&self, docs: &[Document]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn format_header(&self, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn format_row(&self, doc: &Document, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `plugin_dir`, `enabled_plugins`, and `contexts` are never read [INFO] [stdout] --> src/plugins/mod.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct PluginManager { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 173 | plugin_dir: PathBuf, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 176 | enabled_plugins: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | contexts: Arc>>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `directory` is never read [INFO] [stdout] --> src/plugins/mod.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct PluginLoader { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 184 | /// Plugin directory [INFO] [stdout] 185 | directory: PathBuf, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init_plugin` is never used [INFO] [stdout] --> src/plugins/mod.rs:314:14 [INFO] [stdout] | [INFO] [stdout] 194 | impl PluginManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 314 | async fn init_plugin(&mut self, name: &str, client: Client, database: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color_enabled` and `highlighting_enabled` are never read [INFO] [stdout] --> src/repl/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct ReplEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | highlighting_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_enabled` is never read [INFO] [stdout] --> src/repl/mod.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct ReplHelper { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `client` is never read [INFO] [stdout] --> src/script/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ScriptExecutor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 19 | /// MongoDB client for database operations [INFO] [stdout] 20 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `create_context`, `validate_syntax`, and `execute_with_timeout` are never used [INFO] [stdout] --> src/script/mod.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl ScriptExecutor { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | fn create_context(&self) -> ScriptContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn validate_syntax(&self, _script: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | async fn execute_with_timeout(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `bind_database` and `bind_helpers` are never used [INFO] [stdout] --> src/script/mod.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 190 | impl ScriptContext { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 230 | fn bind_database(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn bind_helpers(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `context` is never read [INFO] [stdout] --> src/script/mod.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 429 | pub struct ScriptRuntime { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 430 | /// Execution context [INFO] [stdout] 431 | context: ScriptContext, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `integration-tests` [INFO] [stdout] --> src/connection/mod.rs:608:11 [INFO] [stdout] | [INFO] [stdout] 608 | #[cfg(feature = "integration-tests")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `integration-tests` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/executor/admin.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/executor/context.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/executor/router.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `admin::AdminExecutor` [INFO] [stdout] --> src/executor/mod.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | pub use admin::AdminExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query::QueryExecutor` [INFO] [stdout] --> src/executor/mod.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub use query::QueryExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utility::UtilityExecutor` [INFO] [stdout] --> src/executor/mod.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | pub use utility::UtilityExecutor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReplContext` [INFO] [stdout] --> src/main.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | use repl::{ReplContext, ReplEngine, SharedState}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/main.rs:290:9 [INFO] [stdout] | [INFO] [stdout] 290 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/cli/mod.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | fn apply_args_to_config(config: &mut Config, args: &CliArgs) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/cli/mod.rs:410:50 [INFO] [stdout] | [INFO] [stdout] 410 | fn apply_args_to_config(config: &mut Config, args: &CliArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell` [INFO] [stdout] --> src/cli/mod.rs:457:35 [INFO] [stdout] | [INFO] [stdout] 457 | fn generate_completion(&self, shell: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/config/mod.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/config/mod.rs:395:40 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn save>(&self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/config/mod.rs:406:25 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn merge(&self, other: &Config) -> Config { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docs` [INFO] [stdout] --> src/formatter/table.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | fn format_documents(&self, docs: &[Document]) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docs` [INFO] [stdout] --> src/formatter/table.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_field_names(&self, docs: &[Document]) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/formatter/table.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | fn format_header(&self, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc` [INFO] [stdout] --> src/formatter/table.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | fn format_row(&self, doc: &Document, fields: &[String]) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/formatter/table.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | fn format_row(&self, doc: &Document, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_call` [INFO] [stdout] --> src/parser/db_operation.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | if let Expression::CallExpression(base_call) = &member.object { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/cli/mod.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | fn apply_args_to_config(config: &mut Config, args: &CliArgs) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `args` [INFO] [stdout] --> src/cli/mod.rs:410:50 [INFO] [stdout] | [INFO] [stdout] 410 | fn apply_args_to_config(config: &mut Config, args: &CliArgs) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_args` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shell` [INFO] [stdout] --> src/cli/mod.rs:457:35 [INFO] [stdout] | [INFO] [stdout] 457 | fn generate_completion(&self, shell: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_shell` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/plugins/mod.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | fn configure(&mut self, config: HashMap) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/plugins/mod.rs:219:57 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn load_plugin>(&mut self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/plugins/mod.rs:301:50 [INFO] [stdout] | [INFO] [stdout] 301 | pub async fn load_enabled_plugins(&mut self, client: Client) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/plugins/mod.rs:519:50 [INFO] [stdout] | [INFO] [stdout] 519 | pub fn load_from_file>(&self, path: P) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/plugins/mod.rs:530:51 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn validate_plugin>(&self, path: P) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> src/script/mod.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn execute_string(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> src/script/mod.rs:185:42 [INFO] [stdout] | [INFO] [stdout] 185 | async fn execute_with_timeout(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/script/mod.rs:461:37 [INFO] [stdout] | [INFO] [stdout] 461 | pub async fn execute(&mut self, code: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/config/mod.rs:354:38 [INFO] [stdout] | [INFO] [stdout] 354 | pub fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/config/mod.rs:395:40 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn save>(&self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `other` [INFO] [stdout] --> src/config/mod.rs:406:25 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn merge(&self, other: &Config) -> Config { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_other` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_args`, `run`, `is_script_mode`, `config_mut`, `apply_args_to_config`, and `validate` are never used [INFO] [stdout] --> src/cli/mod.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl CliInterface { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn parse_args() -> CliArgs { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub async fn run(&self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 376 | pub fn is_script_mode(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | pub fn config_mut(&mut self) -> &mut Config { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | fn apply_args_to_config(config: &mut Config, args: &CliArgs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/config/mod.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 341 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 342 | /// Create a new configuration with default values [INFO] [stdout] 343 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 354 | pub fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn from_env() -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn default_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn save>(&self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn merge(&self, other: &Config) -> Config { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 419 | pub fn connection_timeout(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn idle_timeout(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_uri` is never used [INFO] [stdout] --> src/config/mod.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 429 | impl ConnectionConfig { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn validate_uri(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_pretty` and `is_json` are never used [INFO] [stdout] --> src/config/mod.rs:454:12 [INFO] [stdout] | [INFO] [stdout] 452 | impl OutputFormat { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 453 | /// Check if format requires pretty printing [INFO] [stdout] 454 | pub fn is_pretty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | pub fn is_json(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reconnecting` is never constructed [INFO] [stdout] --> src/connection/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum ConnectionState { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 53 | Reconnecting, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PoolConfig` is never constructed [INFO] [stdout] --> src/connection/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct PoolConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthStatus` is never constructed [INFO] [stdout] --> src/connection/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct HealthStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reconnect`, `health_check`, `get_state`, `is_connected`, and `get_server_version` are never used [INFO] [stdout] --> src/connection/mod.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 88 | impl ConnectionManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub async fn reconnect(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub async fn health_check(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | pub async fn get_state(&self) -> ConnectionState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | pub async fn is_connected(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | async fn get_server_version(&self, client: &Client) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionManager` is never constructed [INFO] [stdout] --> src/connection/mod.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 471 | pub struct SessionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start_session`, `start_transaction`, `commit_transaction`, and `abort_transaction` are never used [INFO] [stdout] --> src/connection/mod.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 476 | impl SessionManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn new(client: Client) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub async fn start_session(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub async fn start_transaction(&self, session: &mut mongodb::ClientSession) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | pub async fn commit_transaction(&self, session: &mut mongodb::ClientSession) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 534 | pub async fn abort_transaction(&self, session: &mut mongodb::ClientSession) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Timeout`, `Disconnected`, `PoolExhausted`, `CommandFailed`, `SessionFailed`, and `TransactionFailed` are never constructed [INFO] [stdout] --> src/error/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum ConnectionError { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | Disconnected, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | PoolExhausted, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | CommandFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | SessionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | TransactionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnexpectedToken` and `InvalidPipeline` are never constructed [INFO] [stdout] --> src/error/mod.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum ParseError { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 94 | UnexpectedToken { expected: String, found: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | InvalidPipeline(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnsupportedOperation`, `InvalidParameters`, and `TransactionError` are never constructed [INFO] [stdout] --> src/error/mod.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum ExecutionError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 110 | UnsupportedOperation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | InvalidParameters(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | TransactionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FileNotFound`, `InvalidFormat`, `MissingField`, and `InvalidValue` are never constructed [INFO] [stdout] --> src/error/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub enum ConfigError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 125 | /// Config file not found [INFO] [stdout] 126 | FileNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | InvalidFormat(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | MissingField(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | InvalidValue { field: String, value: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AuthenticationFailed`, `InvalidCredentials`, `PermissionDenied`, and `TokenExpired` are never constructed [INFO] [stdout] --> src/error/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum AuthError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 141 | /// Authentication failed [INFO] [stdout] 142 | AuthenticationFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | InvalidCredentials, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | PermissionDenied(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | TokenExpired, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound`, `LoadFailed`, `InitFailed`, `ExecutionFailed`, and `Invalid` are never constructed [INFO] [stdout] --> src/error/mod.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum PluginError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 157 | /// Plugin not found [INFO] [stdout] 158 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | LoadFailed(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | InitFailed(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | ExecutionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | Invalid(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RuntimeError` and `Timeout` are never constructed [INFO] [stdout] --> src/error/mod.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum ScriptError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 183 | RuntimeError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `history` is never read [INFO] [stdout] --> src/executor/context.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ExecutionContext { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | history: Arc>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_to_history`, `get_history`, and `clear_history` are never used [INFO] [stdout] --> src/executor/context.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl ExecutionContext { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub async fn add_to_history(&self, command: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn get_history(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn clear_history(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `documents_returned` is never read [INFO] [stdout] --> src/executor/result.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct ExecutionStats { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 67 | pub documents_returned: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionStats` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `success` and `error` are never used [INFO] [stdout] --> src/executor/result.rs:85:12 [INFO] [stdout] | [INFO] [stdout] 83 | impl ExecutionResult { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 84 | /// Create a successful result [INFO] [stdout] 85 | pub fn success(data: ResultData, stats: ExecutionStats) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn error(error: String) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `format_document`, `set_format`, and `set_colors` are never used [INFO] [stdout] --> src/formatter/mod.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Formatter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn format_document(&self, doc: &Document) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn set_format(&mut self, format_type: OutputFormat) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn set_colors(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/formatter/colorizer.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 11 | impl AnsiColors { [INFO] [stdout] | --------------- associated constants in this implementation [INFO] [stdout] 12 | pub const RESET: &'static str = "\x1b[0m"; [INFO] [stdout] 13 | pub const BOLD: &'static str = "\x1b[1m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub const DIM: &'static str = "\x1b[2m"; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub const BLACK: &'static str = "\x1b[30m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 18 | pub const RED: &'static str = "\x1b[31m"; [INFO] [stdout] 19 | pub const GREEN: &'static str = "\x1b[32m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub const YELLOW: &'static str = "\x1b[33m"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub const BLUE: &'static str = "\x1b[34m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub const MAGENTA: &'static str = "\x1b[35m"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub const CYAN: &'static str = "\x1b[36m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub const WHITE: &'static str = "\x1b[37m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub const BRIGHT_BLACK: &'static str = "\x1b[90m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub const BRIGHT_RED: &'static str = "\x1b[91m"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | pub const BRIGHT_GREEN: &'static str = "\x1b[92m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | pub const BRIGHT_YELLOW: &'static str = "\x1b[93m"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub const BRIGHT_BLUE: &'static str = "\x1b[94m"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | pub const BRIGHT_MAGENTA: &'static str = "\x1b[95m"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub const BRIGHT_CYAN: &'static str = "\x1b[96m"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | pub const BRIGHT_WHITE: &'static str = "\x1b[97m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/formatter/colorizer.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Colorizer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn success(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn warning(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn info(&self, text: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn field_name(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn string_value(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn number_value(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn set_enabled(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/formatter/json.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct JsonFormatter { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_column_width`, `show_borders`, and `separator` are never read [INFO] [stdout] --> src/formatter/table.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TableFormatter { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 16 | /// Maximum column width [INFO] [stdout] 17 | max_column_width: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | show_borders: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | separator: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field_names`, `format_header`, and `format_row` are never used [INFO] [stdout] --> src/formatter/table.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl TableFormatter { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_field_names(&self, docs: &[Document]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn format_header(&self, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn format_row(&self, doc: &Document, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_database` is never read [INFO] [stdout] --> src/parser/mod.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct Parser { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 51 | /// Current database context [INFO] [stdout] 52 | current_database: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_database`, `current_database`, `parse_query`, `parse_aggregation`, and `parse_document` are never used [INFO] [stdout] --> src/parser/mod.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Parser { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn set_database(&mut self, database: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn current_database(&self) -> Option<&str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | pub fn parse_query(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn parse_aggregation(&self, input: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn parse_document(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Utility` and `Script` are never constructed [INFO] [stdout] --> src/parser/command.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Command { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Utility(UtilityCommand), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | Script(ScriptCommand), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/command.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub enum AdminCommand { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 175 | CreateCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | DropCollection(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | DropDatabase, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | RenameCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | CreateIndex { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | CreateIndexes { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | DropIndex { collection: String, name: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | DropIndexes(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | ListIndexes(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | CollectionStats(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | DatabaseStats, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | ServerStatus, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | CurrentOp { include_all: bool }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | KillOp(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | ValidateCollection { collection: String, full: bool }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | CompactCollection(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | RepairDatabase, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdminCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/command.rs:244:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub enum UtilityCommand { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 243 | /// Print/echo a value [INFO] [stdout] 244 | Print(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 247 | PrintJson(Document), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | CurrentTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | RunCommand(Document), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | BuildInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | HostInfo, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | ConnectionStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UtilityCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_exit`, `is_help`, `is_query`, `is_admin`, and `name` are never used [INFO] [stdout] --> src/parser/command.rs:383:12 [INFO] [stdout] | [INFO] [stdout] 381 | impl Command { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 382 | /// Check if this is an exit command [INFO] [stdout] 383 | pub fn is_exit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn is_help(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn is_query(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | pub fn is_admin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `collection` and `name` are never used [INFO] [stdout] --> src/parser/command.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 415 | impl QueryCommand { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 416 | /// Get the collection name for this query command [INFO] [stdout] 417 | pub fn collection(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 440 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/parser/command.rs:465:12 [INFO] [stdout] | [INFO] [stdout] 463 | impl AdminCommand { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 464 | /// Get command name [INFO] [stdout] 465 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/parser/command.rs:497:12 [INFO] [stdout] | [INFO] [stdout] 495 | impl UtilityCommand { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 496 | /// Get command name [INFO] [stdout] 497 | pub fn name(&self) -> &str { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Plugin` is never used [INFO] [stdout] --> src/plugins/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Plugin: Send + Sync { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginMetadata` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct PluginMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginContext` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct PluginContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginResult` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct PluginResult { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandRegistration` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct CommandRegistration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginManager` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct PluginManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginLoader` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct PluginLoader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginRegistry` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:189:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub struct PluginRegistry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/plugins/mod.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl PluginManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn new(plugin_dir: PathBuf, enabled_plugins: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub async fn load_plugin>(&mut self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub async fn unload_plugin(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub async fn list_plugins(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub async fn get_metadata(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub async fn execute_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub async fn load_enabled_plugins(&mut self, client: Client) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | async fn init_plugin(&mut self, name: &str, client: Client, database: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub async fn is_loaded(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn get_all_commands(&self) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_database`, `set_data`, `get_data`, and `clear_data` are never used [INFO] [stdout] --> src/plugins/mod.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 358 | impl PluginContext { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn new(client: Client, database: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | pub fn get_database(&self) -> mongodb::Database { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn set_data(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn get_data(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn clear_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `success`, `failure`, and `with_data` are never used [INFO] [stdout] --> src/plugins/mod.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 409 | impl PluginResult { [INFO] [stdout] | ----------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 417 | pub fn success(output: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 433 | pub fn failure(error: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn with_data(output: String, data: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `with_alias` are never used [INFO] [stdout] --> src/plugins/mod.rs:470:12 [INFO] [stdout] | [INFO] [stdout] 460 | impl CommandRegistration { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn new(name: String, description: String, usage: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 486 | pub fn with_alias(mut self, alias: String) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `discover_plugins`, `load_from_file`, and `validate_plugin` are never used [INFO] [stdout] --> src/plugins/mod.rs:500:12 [INFO] [stdout] | [INFO] [stdout] 492 | impl PluginLoader { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 500 | pub fn new(directory: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn discover_plugins(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn load_from_file>(&self, path: P) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | pub fn validate_plugin>(&self, path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `register`, `unregister`, `get`, and `list` are never used [INFO] [stdout] --> src/plugins/mod.rs:540:12 [INFO] [stdout] | [INFO] [stdout] 535 | impl PluginRegistry { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 540 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 550 | pub fn register(&mut self, metadata: PluginMetadata) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 558 | pub fn unregister(&mut self, name: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 569 | pub fn get(&self, name: &str) -> Option<&PluginMetadata> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | pub fn list(&self) -> Vec<&PluginMetadata> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_uri` is never read [INFO] [stdout] --> src/repl/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SharedState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub connection_uri: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_disconnected` is never used [INFO] [stdout] --> src/repl/mod.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl SharedState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_disconnected(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color_enabled` and `highlighting_enabled` are never read [INFO] [stdout] --> src/repl/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct ReplEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | highlighting_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReplContext` is never constructed [INFO] [stdout] --> src/repl/mod.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct ReplContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_enabled` is never read [INFO] [stdout] --> src/repl/mod.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct ReplHelper { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandCompleter` is never constructed [INFO] [stdout] --> src/repl/mod.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub struct CommandCompleter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PromptGenerator` is never constructed [INFO] [stdout] --> src/repl/mod.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | pub struct PromptGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/repl/mod.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl ReplEngine { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn from_context(context: ReplContext, history_config: HistoryConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub async fn run(&mut self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn read_multiline(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn shared_state(&self) -> &SharedState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn update_context(&mut self, _context: ReplContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn add_collection(&mut self, collection: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | pub fn set_collections(&mut self, collections: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | fn is_complete_statement(&self, input: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_connected`, `set_disconnected`, and `set_database` are never used [INFO] [stdout] --> src/repl/mod.rs:454:12 [INFO] [stdout] | [INFO] [stdout] 445 | impl ReplContext { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn new(database: String, uri: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 469 | pub fn set_connected(&mut self, version: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn set_disconnected(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn set_database(&mut self, database: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_collection` and `set_collections` are never used [INFO] [stdout] --> src/repl/mod.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 489 | impl ReplHelper { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 522 | pub fn add_collection(&mut self, collection: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn set_collections(&mut self, collections: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `generate`, and `generate_continuation` are never used [INFO] [stdout] --> src/repl/mod.rs:732:12 [INFO] [stdout] | [INFO] [stdout] 724 | impl PromptGenerator { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 732 | pub fn new(context: ReplContext) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 742 | pub fn generate(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 754 | pub fn generate_continuation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_completions` are never used [INFO] [stdout] --> src/repl/mod.rs:764:12 [INFO] [stdout] | [INFO] [stdout] 759 | impl CommandCompleter { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 764 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 786 | pub fn get_completions(&self, partial: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client`, `current_database`, and `timeout_seconds` are never read [INFO] [stdout] --> src/script/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ScriptExecutor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 19 | /// MongoDB client for database operations [INFO] [stdout] 20 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | current_database: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | timeout_seconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptContext` is never constructed [INFO] [stdout] --> src/script/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ScriptContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptGlobals` is never constructed [INFO] [stdout] --> src/script/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct ScriptGlobals { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `execution_time_ms` is never read [INFO] [stdout] --> src/script/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ScriptResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub execution_time_ms: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/script/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl ScriptExecutor { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn load_script>(&self, path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn set_timeout(&mut self, seconds: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn current_database(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn set_database(&mut self, database: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn create_context(&self) -> ScriptContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn validate_syntax(&self, _script: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | async fn execute_with_timeout(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_database`, `register_globals`, `bind_database`, and `bind_helpers` are never used [INFO] [stdout] --> src/script/mod.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl ScriptContext { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn new(client: Client, database: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn get_database(&self) -> mongodb::Database { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn register_globals(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn bind_database(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn bind_helpers(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `minimal` are never used [INFO] [stdout] --> src/script/mod.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 243 | impl ScriptGlobals { [INFO] [stdout] | ------------------ associated functions in this implementation [INFO] [stdout] 244 | /// Create script globals with all features enabled [INFO] [stdout] 245 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | pub fn minimal() -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `set_max_size` and `has_valid_extension` are never used [INFO] [stdout] --> src/script/mod.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl ScriptLoader { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn set_max_size(&mut self, bytes: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn has_valid_extension(path: &Path) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `success`, `failure`, `add_output`, and `set_return_value` are never used [INFO] [stdout] --> src/script/mod.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 364 | impl ScriptResult { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn success(output: Vec, execution_time_ms: u64) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 390 | pub fn failure(error: String) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn add_output(&mut self, line: String) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn set_return_value(&mut self, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptRuntime` is never constructed [INFO] [stdout] --> src/script/mod.rs:429:12 [INFO] [stdout] | [INFO] [stdout] 429 | pub struct ScriptRuntime { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `initialize`, `execute`, `evaluate`, and `cleanup` are never used [INFO] [stdout] --> src/script/mod.rs:442:12 [INFO] [stdout] | [INFO] [stdout] 434 | impl ScriptRuntime { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn new(context: ScriptContext) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn initialize(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub async fn execute(&mut self, code: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn evaluate(&mut self, _expr: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn cleanup(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `truncate` is never used [INFO] [stdout] --> src/utils/mod.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn truncate(s: &str, max_len: usize) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_identifier` is never used [INFO] [stdout] --> src/utils/mod.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn is_valid_identifier(s: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `snake_to_camel` is never used [INFO] [stdout] --> src/utils/mod.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn snake_to_camel(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escape_json` is never used [INFO] [stdout] --> src/utils/mod.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn escape_json(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_millis` is never used [INFO] [stdout] --> src/utils/mod.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn now_millis() -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_secs` is never used [INFO] [stdout] --> src/utils/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn now_secs() -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_duration` is never used [INFO] [stdout] --> src/utils/mod.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn format_duration(duration: Duration) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_duration` is never used [INFO] [stdout] --> src/utils/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn parse_duration(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_dir_exists` is never used [INFO] [stdout] --> src/utils/mod.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn ensure_dir_exists>(path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_extension` is never used [INFO] [stdout] --> src/utils/mod.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn get_extension>(path: P) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_file` is never used [INFO] [stdout] --> src/utils/mod.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn is_valid_file>(path: P) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_home` is never used [INFO] [stdout] --> src/utils/mod.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn expand_home(path: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_database_name` is never used [INFO] [stdout] --> src/utils/mod.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn is_valid_database_name(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_collection_name` is never used [INFO] [stdout] --> src/utils/mod.rs:267:12 [INFO] [stdout] | [INFO] [stdout] 267 | pub fn is_valid_collection_name(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_connection_uri` is never used [INFO] [stdout] --> src/utils/mod.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn is_valid_connection_uri(uri: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_field_name` is never used [INFO] [stdout] --> src/utils/mod.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn is_valid_field_name(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bson_to_string` is never used [INFO] [stdout] --> src/utils/mod.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn bson_to_string(value: &Bson) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `format_bytes` is never used [INFO] [stdout] --> src/utils/mod.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 343 | pub fn format_bytes(bytes: u64) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_bytes` is never used [INFO] [stdout] --> src/utils/mod.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 367 | pub fn parse_bytes(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docs` [INFO] [stdout] --> src/formatter/table.rs:62:32 [INFO] [stdout] | [INFO] [stdout] 62 | fn format_documents(&self, docs: &[Document]) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `docs` [INFO] [stdout] --> src/formatter/table.rs:73:31 [INFO] [stdout] | [INFO] [stdout] 73 | fn get_field_names(&self, docs: &[Document]) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/formatter/table.rs:84:29 [INFO] [stdout] | [INFO] [stdout] 84 | fn format_header(&self, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `doc` [INFO] [stdout] --> src/formatter/table.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | fn format_row(&self, doc: &Document, fields: &[String]) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_doc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fields` [INFO] [stdout] --> src/formatter/table.rs:96:42 [INFO] [stdout] | [INFO] [stdout] 96 | fn format_row(&self, doc: &Document, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base_call` [INFO] [stdout] --> src/parser/db_operation.rs:120:47 [INFO] [stdout] | [INFO] [stdout] 120 | if let Expression::CallExpression(base_call) = &member.object { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_base_call` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/plugins/mod.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | fn configure(&mut self, config: HashMap) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/plugins/mod.rs:219:57 [INFO] [stdout] | [INFO] [stdout] 219 | pub async fn load_plugin>(&mut self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/plugins/mod.rs:301:50 [INFO] [stdout] | [INFO] [stdout] 301 | pub async fn load_enabled_plugins(&mut self, client: Client) -> Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/plugins/mod.rs:519:50 [INFO] [stdout] | [INFO] [stdout] 519 | pub fn load_from_file>(&self, path: P) -> Result> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/plugins/mod.rs:530:51 [INFO] [stdout] | [INFO] [stdout] 530 | pub fn validate_plugin>(&self, path: P) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> src/script/mod.rs:115:40 [INFO] [stdout] | [INFO] [stdout] 115 | pub async fn execute_string(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `script` [INFO] [stdout] --> src/script/mod.rs:185:42 [INFO] [stdout] | [INFO] [stdout] 185 | async fn execute_with_timeout(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_script` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `code` [INFO] [stdout] --> src/script/mod.rs:461:37 [INFO] [stdout] | [INFO] [stdout] 461 | pub async fn execute(&mut self, code: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_args`, `run`, `config_mut`, `apply_args_to_config`, and `validate` are never used [INFO] [stdout] --> src/cli/mod.rs:192:12 [INFO] [stdout] | [INFO] [stdout] 176 | impl CliInterface { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn parse_args() -> CliArgs { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | pub async fn run(&self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | pub fn config_mut(&mut self) -> &mut Config { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 410 | fn apply_args_to_config(config: &mut Config, args: &CliArgs) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn validate(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/config/mod.rs:343:12 [INFO] [stdout] | [INFO] [stdout] 341 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 342 | /// Create a new configuration with default values [INFO] [stdout] 343 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 354 | pub fn from_file>(path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | pub fn from_env() -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | pub fn default_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | pub fn save>(&self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 406 | pub fn merge(&self, other: &Config) -> Config { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | pub fn idle_timeout(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `validate_uri` is never used [INFO] [stdout] --> src/config/mod.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 429 | impl ConnectionConfig { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn validate_uri(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Reconnecting` is never constructed [INFO] [stdout] --> src/connection/mod.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub enum ConnectionState { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 53 | Reconnecting, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection_timeout` and `idle_timeout` are never read [INFO] [stdout] --> src/connection/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 58 | pub struct PoolConfig { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 66 | pub connection_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub idle_timeout: Duration, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PoolConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HealthStatus` is never constructed [INFO] [stdout] --> src/connection/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct HealthStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `reconnect`, `health_check`, and `get_server_version` are never used [INFO] [stdout] --> src/connection/mod.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 88 | impl ConnectionManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub async fn reconnect(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub async fn health_check(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | async fn get_server_version(&self, client: &Client) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionManager` is never constructed [INFO] [stdout] --> src/connection/mod.rs:471:12 [INFO] [stdout] | [INFO] [stdout] 471 | pub struct SessionManager { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start_session`, `start_transaction`, `commit_transaction`, and `abort_transaction` are never used [INFO] [stdout] --> src/connection/mod.rs:484:12 [INFO] [stdout] | [INFO] [stdout] 476 | impl SessionManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn new(client: Client) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub async fn start_session(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub async fn start_transaction(&self, session: &mut mongodb::ClientSession) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | pub async fn commit_transaction(&self, session: &mut mongodb::ClientSession) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 534 | pub async fn abort_transaction(&self, session: &mut mongodb::ClientSession) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Timeout`, `Disconnected`, `PoolExhausted`, `CommandFailed`, `SessionFailed`, and `TransactionFailed` are never constructed [INFO] [stdout] --> src/error/mod.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum ConnectionError { [INFO] [stdout] | --------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | Disconnected, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | PoolExhausted, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | CommandFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | SessionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | TransactionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UnexpectedToken` is never constructed [INFO] [stdout] --> src/error/mod.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub enum ParseError { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 94 | UnexpectedToken { expected: String, found: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `UnsupportedOperation`, `InvalidParameters`, and `TransactionError` are never constructed [INFO] [stdout] --> src/error/mod.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 105 | pub enum ExecutionError { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 110 | UnsupportedOperation(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | InvalidParameters(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | TransactionError(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `FileNotFound`, `InvalidFormat`, `MissingField`, and `InvalidValue` are never constructed [INFO] [stdout] --> src/error/mod.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub enum ConfigError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 125 | /// Config file not found [INFO] [stdout] 126 | FileNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | InvalidFormat(String), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | MissingField(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | InvalidValue { field: String, value: String }, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConfigError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `AuthenticationFailed`, `InvalidCredentials`, `PermissionDenied`, and `TokenExpired` are never constructed [INFO] [stdout] --> src/error/mod.rs:142:5 [INFO] [stdout] | [INFO] [stdout] 140 | pub enum AuthError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 141 | /// Authentication failed [INFO] [stdout] 142 | AuthenticationFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | InvalidCredentials, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | PermissionDenied(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | TokenExpired, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuthError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NotFound`, `LoadFailed`, `InitFailed`, `ExecutionFailed`, and `Invalid` are never constructed [INFO] [stdout] --> src/error/mod.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 156 | pub enum PluginError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 157 | /// Plugin not found [INFO] [stdout] 158 | NotFound(String), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | LoadFailed(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | InitFailed(String), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | ExecutionFailed(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 170 | Invalid(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `RuntimeError` and `Timeout` are never constructed [INFO] [stdout] --> src/error/mod.rs:183:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum ScriptError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 183 | RuntimeError(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 186 | Timeout, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ScriptError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `history` is never read [INFO] [stdout] --> src/executor/context.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ExecutionContext { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | history: Arc>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionContext` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_to_history`, `get_history`, and `clear_history` are never used [INFO] [stdout] --> src/executor/context.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 28 | impl ExecutionContext { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub async fn add_to_history(&self, command: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub async fn get_history(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn clear_history(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `format_document`, `set_format`, and `set_colors` are never used [INFO] [stdout] --> src/formatter/mod.rs:252:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl Formatter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 252 | pub fn format_document(&self, doc: &Document) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 272 | pub fn set_format(&mut self, format_type: OutputFormat) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 280 | pub fn set_colors(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated constants are never used [INFO] [stdout] --> src/formatter/colorizer.rs:13:15 [INFO] [stdout] | [INFO] [stdout] 11 | impl AnsiColors { [INFO] [stdout] | --------------- associated constants in this implementation [INFO] [stdout] 12 | pub const RESET: &'static str = "\x1b[0m"; [INFO] [stdout] 13 | pub const BOLD: &'static str = "\x1b[1m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | pub const DIM: &'static str = "\x1b[2m"; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub const BLACK: &'static str = "\x1b[30m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub const YELLOW: &'static str = "\x1b[33m"; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 21 | pub const BLUE: &'static str = "\x1b[34m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | pub const MAGENTA: &'static str = "\x1b[35m"; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 23 | pub const CYAN: &'static str = "\x1b[36m"; [INFO] [stdout] | ^^^^ [INFO] [stdout] 24 | pub const WHITE: &'static str = "\x1b[37m"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub const BRIGHT_BLACK: &'static str = "\x1b[90m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 28 | pub const BRIGHT_RED: &'static str = "\x1b[91m"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 29 | pub const BRIGHT_GREEN: &'static str = "\x1b[92m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | pub const BRIGHT_YELLOW: &'static str = "\x1b[93m"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub const BRIGHT_BLUE: &'static str = "\x1b[94m"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 32 | pub const BRIGHT_MAGENTA: &'static str = "\x1b[95m"; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub const BRIGHT_CYAN: &'static str = "\x1b[96m"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | pub const BRIGHT_WHITE: &'static str = "\x1b[97m"; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `warning`, `info`, `field_name`, `string_value`, `number_value`, and `set_enabled` are never used [INFO] [stdout] --> src/formatter/colorizer.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Colorizer { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn warning(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 107 | pub fn info(&self, text: &str) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn field_name(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn string_value(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn number_value(&self, text: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | pub fn set_enabled(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `indent` is never read [INFO] [stdout] --> src/formatter/json.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct JsonFormatter { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 21 | indent: usize, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_column_width`, `show_borders`, and `separator` are never read [INFO] [stdout] --> src/formatter/table.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct TableFormatter { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 16 | /// Maximum column width [INFO] [stdout] 17 | max_column_width: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | show_borders: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | separator: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_field_names`, `format_header`, and `format_row` are never used [INFO] [stdout] --> src/formatter/table.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl TableFormatter { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn get_field_names(&self, docs: &[Document]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn format_header(&self, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn format_row(&self, doc: &Document, fields: &[String]) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `parse_document` is never used [INFO] [stdout] --> src/parser/mod.rs:277:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Parser { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 277 | pub fn parse_document(&self, input: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Utility` and `Script` are never constructed [INFO] [stdout] --> src/parser/command.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum Command { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 19 | Utility(UtilityCommand), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | Script(ScriptCommand), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Command` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/command.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 152 | pub enum AdminCommand { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 175 | CreateCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | DropCollection(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | DropDatabase, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | RenameCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | CreateIndex { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | CreateIndexes { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | DropIndex { collection: String, name: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | DropIndexes(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | ListIndexes(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | CollectionStats(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | DatabaseStats, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | ServerStatus, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | CurrentOp { include_all: bool }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | KillOp(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | ValidateCollection { collection: String, full: bool }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | CompactCollection(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | RepairDatabase, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdminCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/parser/command.rs:247:5 [INFO] [stdout] | [INFO] [stdout] 242 | pub enum UtilityCommand { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 247 | PrintJson(Document), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | CurrentTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 253 | RunCommand(Document), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | BuildInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 259 | HostInfo, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 262 | ConnectionStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 265 | Version, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UtilityCommand` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_query` and `is_admin` are never used [INFO] [stdout] --> src/parser/command.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 381 | impl Command { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 393 | pub fn is_query(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | pub fn is_admin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `collection` is never used [INFO] [stdout] --> src/parser/command.rs:417:12 [INFO] [stdout] | [INFO] [stdout] 415 | impl QueryCommand { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 416 | /// Get the collection name for this query command [INFO] [stdout] 417 | pub fn collection(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Plugin` is never used [INFO] [stdout] --> src/plugins/mod.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Plugin: Send + Sync { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `author`, `description`, `license`, and `homepage` are never read [INFO] [stdout] --> src/plugins/mod.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub struct PluginMetadata { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 111 | pub author: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 114 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub license: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub homepage: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginContext` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct PluginContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/plugins/mod.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 137 | pub struct PluginResult { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 145 | pub data: Option>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PluginResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `description` and `usage` are never read [INFO] [stdout] --> src/plugins/mod.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 153 | pub struct CommandRegistration { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 158 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub usage: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CommandRegistration` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginManager` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:168:12 [INFO] [stdout] | [INFO] [stdout] 168 | pub struct PluginManager { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PluginLoader` is never constructed [INFO] [stdout] --> src/plugins/mod.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct PluginLoader { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/plugins/mod.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 194 | impl PluginManager { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn new(plugin_dir: PathBuf, enabled_plugins: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub async fn load_plugin>(&mut self, path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub async fn unload_plugin(&mut self, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub async fn list_plugins(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub async fn get_metadata(&self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 273 | pub async fn execute_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 301 | pub async fn load_enabled_plugins(&mut self, client: Client) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 314 | async fn init_plugin(&mut self, name: &str, client: Client, database: String) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub async fn is_loaded(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub async fn get_all_commands(&self) -> HashMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_database`, `set_data`, `get_data`, and `clear_data` are never used [INFO] [stdout] --> src/plugins/mod.rs:367:12 [INFO] [stdout] | [INFO] [stdout] 358 | impl PluginContext { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn new(client: Client, database: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 379 | pub fn get_database(&self) -> mongodb::Database { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 388 | pub fn set_data(&mut self, key: String, value: String) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 399 | pub fn get_data(&self, key: &str) -> Option<&String> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn clear_data(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `with_data` is never used [INFO] [stdout] --> src/plugins/mod.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 409 | impl PluginResult { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn with_data(output: String, data: HashMap) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `discover_plugins`, `load_from_file`, and `validate_plugin` are never used [INFO] [stdout] --> src/plugins/mod.rs:500:12 [INFO] [stdout] | [INFO] [stdout] 492 | impl PluginLoader { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 500 | pub fn new(directory: PathBuf) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 508 | pub fn discover_plugins(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn load_from_file>(&self, path: P) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | pub fn validate_plugin>(&self, path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list` is never used [INFO] [stdout] --> src/plugins/mod.rs:577:12 [INFO] [stdout] | [INFO] [stdout] 535 | impl PluginRegistry { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 577 | pub fn list(&self) -> Vec<&PluginMetadata> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `connection_uri` is never read [INFO] [stdout] --> src/repl/mod.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SharedState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 33 | pub connection_uri: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SharedState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_disconnected` is never used [INFO] [stdout] --> src/repl/mod.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl SharedState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn set_disconnected(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `color_enabled` and `highlighting_enabled` are never read [INFO] [stdout] --> src/repl/mod.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct ReplEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 115 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | highlighting_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connection_uri`, `color_enabled`, and `highlighting_enabled` are never read [INFO] [stdout] --> src/repl/mod.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct ReplContext { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | pub connection_uri: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub highlighting_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReplContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_enabled` is never read [INFO] [stdout] --> src/repl/mod.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 144 | pub struct ReplHelper { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/repl/mod.rs:259:12 [INFO] [stdout] | [INFO] [stdout] 209 | impl ReplEngine { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 259 | pub fn from_context(context: ReplContext, history_config: HistoryConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub async fn run(&mut self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 310 | pub fn read_multiline(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 358 | pub fn shared_state(&self) -> &SharedState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | pub fn update_context(&mut self, _context: ReplContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 375 | pub fn add_collection(&mut self, collection: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | pub fn set_collections(&mut self, collections: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 404 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | fn is_complete_statement(&self, input: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set_disconnected` and `set_database` are never used [INFO] [stdout] --> src/repl/mod.rs:475:12 [INFO] [stdout] | [INFO] [stdout] 445 | impl ReplContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 475 | pub fn set_disconnected(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 484 | pub fn set_database(&mut self, database: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_collection` and `set_collections` are never used [INFO] [stdout] --> src/repl/mod.rs:522:12 [INFO] [stdout] | [INFO] [stdout] 489 | impl ReplHelper { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 522 | pub fn add_collection(&mut self, collection: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | pub fn set_collections(&mut self, collections: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `generate_continuation` is never used [INFO] [stdout] --> src/repl/mod.rs:754:12 [INFO] [stdout] | [INFO] [stdout] 724 | impl PromptGenerator { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 754 | pub fn generate_continuation(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `client`, `current_database`, and `timeout_seconds` are never read [INFO] [stdout] --> src/script/mod.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ScriptExecutor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 19 | /// MongoDB client for database operations [INFO] [stdout] 20 | client: Client, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | current_database: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | timeout_seconds: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptContext` is never constructed [INFO] [stdout] --> src/script/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct ScriptContext { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/script/mod.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl ScriptExecutor { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub fn load_script>(&self, path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn set_timeout(&mut self, seconds: Option) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn current_database(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn set_database(&mut self, database: String) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | fn create_context(&self) -> ScriptContext { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | fn validate_syntax(&self, _script: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | async fn execute_with_timeout(&self, script: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_database`, `register_globals`, `bind_database`, and `bind_helpers` are never used [INFO] [stdout] --> src/script/mod.rs:199:12 [INFO] [stdout] | [INFO] [stdout] 190 | impl ScriptContext { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn new(client: Client, database: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn get_database(&self) -> mongodb::Database { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | pub fn register_globals(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn bind_database(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn bind_helpers(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_max_size` is never used [INFO] [stdout] --> src/script/mod.rs:322:12 [INFO] [stdout] | [INFO] [stdout] 269 | impl ScriptLoader { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn set_max_size(&mut self, bytes: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_return_value` is never used [INFO] [stdout] --> src/script/mod.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 364 | impl ScriptResult { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 412 | pub fn set_return_value(&mut self, value: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScriptRuntime` is never constructed [INFO] [stdout] --> src/script/mod.rs:429:12 [INFO] [stdout] | [INFO] [stdout] 429 | pub struct ScriptRuntime { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `initialize`, `execute`, `evaluate`, and `cleanup` are never used [INFO] [stdout] --> src/script/mod.rs:442:12 [INFO] [stdout] | [INFO] [stdout] 434 | impl ScriptRuntime { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 442 | pub fn new(context: ScriptContext) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 450 | pub fn initialize(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 461 | pub async fn execute(&mut self, code: &str) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 472 | pub fn evaluate(&mut self, _expr: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 477 | pub fn cleanup(&mut self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `escape_json` is never used [INFO] [stdout] --> src/utils/mod.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn escape_json(s: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_millis` is never used [INFO] [stdout] --> src/utils/mod.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn now_millis() -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `now_secs` is never used [INFO] [stdout] --> src/utils/mod.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn now_secs() -> u64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ensure_dir_exists` is never used [INFO] [stdout] --> src/utils/mod.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn ensure_dir_exists>(path: P) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_extension` is never used [INFO] [stdout] --> src/utils/mod.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | pub fn get_extension>(path: P) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_file` is never used [INFO] [stdout] --> src/utils/mod.rs:220:12 [INFO] [stdout] | [INFO] [stdout] 220 | pub fn is_valid_file>(path: P) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expand_home` is never used [INFO] [stdout] --> src/utils/mod.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn expand_home(path: &str) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_valid_field_name` is never used [INFO] [stdout] --> src/utils/mod.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | pub fn is_valid_field_name(name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bson_to_string` is never used [INFO] [stdout] --> src/utils/mod.rs:324:12 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn bson_to_string(value: &Bson) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "8321422cb22f07a2a8fefe768457b13bb389ffff389eae8cd4684f49212cbf1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8321422cb22f07a2a8fefe768457b13bb389ffff389eae8cd4684f49212cbf1b", kill_on_drop: false }` [INFO] [stdout] 8321422cb22f07a2a8fefe768457b13bb389ffff389eae8cd4684f49212cbf1b