[INFO] fetching crate mongosh 0.2.4... [INFO] checking mongosh-0.2.4 against master#61cc47e367d7be91e13bcd01e4e96e0e233d4f6d for pr-133502-17 [INFO] extracting crate mongosh 0.2.4 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate mongosh 0.2.4 [INFO] finished tweaking crates.io crate mongosh 0.2.4 [INFO] tweaked toml for crates.io crate mongosh 0.2.4 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mongosh 0.2.4 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.4 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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tabled_derive v0.11.0 [INFO] [stderr] Downloaded tracing-core v0.1.35 [INFO] [stderr] Downloaded oxc_ast_macros v0.40.1 [INFO] [stderr] Downloaded oxc_estree v0.40.1 [INFO] [stderr] Downloaded downcast v0.11.0 [INFO] [stderr] Downloaded papergrid v0.17.0 [INFO] [stderr] Downloaded colored_json v5.0.0 [INFO] [stderr] Downloaded oxc_syntax v0.40.1 [INFO] [stderr] Downloaded rustyline v14.0.0 [INFO] [stderr] Downloaded fragile v2.0.1 [INFO] [stderr] Downloaded mockall v0.13.1 [INFO] [stderr] Downloaded unicode-id-start v1.4.0 [INFO] [stderr] Downloaded mockall_derive v0.13.1 [INFO] [stderr] Downloaded cc v1.2.48 [INFO] [stderr] Downloaded serde_with v3.16.1 [INFO] [stderr] Downloaded zerocopy v0.8.31 [INFO] [stderr] Downloaded zerocopy-derive v0.8.31 [INFO] [stderr] Downloaded mongodb v3.2.5 [INFO] [stderr] Downloaded schemars v1.1.0 [INFO] [stderr] Downloaded widestring v1.2.1 [INFO] [stderr] Downloaded oxc_parser v0.40.1 [INFO] [stderr] Downloaded ropey v1.6.1 [INFO] [stderr] Downloaded oxc_transformer v0.40.1 [INFO] [stderr] Downloaded oxc_ast v0.40.1 [INFO] [stderr] Downloaded oxc_allocator v0.40.1 [INFO] [stderr] Downloaded darling_core v0.21.3 [INFO] [stderr] Downloaded oxc_semantic v0.40.1 [INFO] [stderr] Downloaded oxc-browserslist v1.1.2 [INFO] [stderr] Downloaded ryu-js v1.0.2 [INFO] [stderr] Downloaded tabled v0.20.0 [INFO] [stderr] Downloaded oxc_minifier v0.40.1 [INFO] [stderr] Downloaded oxc-miette v1.0.2 [INFO] [stderr] Downloaded oxc_traverse v0.40.1 [INFO] [stderr] Downloaded winnow v0.7.14 [INFO] [stderr] Downloaded serde_with_macros v3.16.1 [INFO] [stderr] Downloaded oxc_regular_expression v0.40.1 [INFO] [stderr] Downloaded darling_macro v0.21.3 [INFO] [stderr] Downloaded oxc_isolated_declarations v0.40.1 [INFO] [stderr] Downloaded vsimd v0.8.0 [INFO] [stderr] Downloaded oxc_sourcemap v1.0.9 [INFO] [stderr] Downloaded oxc_codegen v0.40.1 [INFO] [stderr] Downloaded str_indices v0.4.4 [INFO] [stderr] Downloaded oxc_cfg v0.40.1 [INFO] [stderr] Downloaded oxc_ecmascript v0.40.1 [INFO] [stderr] Downloaded oxc_index v2.0.0 [INFO] [stderr] Downloaded owo-colors v4.2.3 [INFO] [stderr] Downloaded oxc-miette-derive v1.0.2 [INFO] [stderr] Downloaded smawk v0.3.2 [INFO] [stderr] Downloaded oxc_span v0.40.1 [INFO] [stderr] Downloaded oxc v0.40.1 [INFO] [stderr] Downloaded fd-lock v4.0.4 [INFO] [stderr] Downloaded ref-cast-impl v1.0.25 [INFO] [stderr] Downloaded ref-cast v1.0.25 [INFO] [stderr] Downloaded darling v0.21.3 [INFO] [stderr] Downloaded seq-macro v0.3.6 [INFO] [stderr] Downloaded oxc_data_structures v0.40.1 [INFO] [stderr] Downloaded cow-utils v0.1.3 [INFO] [stderr] Downloaded oxc_diagnostics v0.40.1 [INFO] [stderr] Downloaded resolv-conf v0.7.6 [INFO] [stderr] Downloaded serde_bytes v0.11.19 [INFO] [stderr] Downloaded outref v0.5.2 [INFO] [stderr] Downloaded base64-simd v0.8.0 [INFO] [stderr] Downloaded oxc_mangler v0.40.1 [INFO] [stderr] Downloaded assert-unchecked v0.1.2 [INFO] [stderr] Downloaded tracing v0.1.43 [INFO] [stderr] Downloaded mongodb-internal-macros v3.4.1 [INFO] [stderr] Downloaded bytecount v0.6.9 [INFO] [stderr] Downloaded testing_table v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] d4f5d927249e64a0c50c69d1b1c922c5c1bcfd035269aa7abd0b5529fe219a28 [INFO] running `Command { std: "docker" "start" "-a" "d4f5d927249e64a0c50c69d1b1c922c5c1bcfd035269aa7abd0b5529fe219a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4f5d927249e64a0c50c69d1b1c922c5c1bcfd035269aa7abd0b5529fe219a28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4f5d927249e64a0c50c69d1b1c922c5c1bcfd035269aa7abd0b5529fe219a28", kill_on_drop: false }` [INFO] [stdout] d4f5d927249e64a0c50c69d1b1c922c5c1bcfd035269aa7abd0b5529fe219a28 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] e0bbb06778befbb47364c4f4e2e271fcdbcdab780c7f76ca5ea436fd5ddf441a [INFO] running `Command { std: "docker" "start" "-a" "e0bbb06778befbb47364c4f4e2e271fcdbcdab780c7f76ca5ea436fd5ddf441a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling owo-colors v4.2.3 [INFO] [stderr] Checking smawk v0.3.2 [INFO] [stderr] Compiling oxc-miette-derive v1.0.2 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Compiling oxc_ast_macros v0.40.1 [INFO] [stderr] Checking oxc_estree v0.40.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Checking assert-unchecked v0.1.2 [INFO] [stderr] Checking unicode-id-start v1.4.0 [INFO] [stderr] Checking oxc_index v2.0.0 [INFO] [stderr] Checking cow-utils v0.1.3 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling cc v1.2.48 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking compact_str v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Compiling macro_magic_core_macros v0.5.1 [INFO] [stderr] Compiling derive-syn-parse v0.2.0 [INFO] [stderr] Checking str_indices v0.4.4 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling oxc_sourcemap v1.0.9 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking ropey v1.6.1 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking oxc_allocator v0.40.1 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling rustc_version_runtime v0.3.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking nom v8.0.0 [INFO] [stderr] Checking oxc-miette v1.0.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking semver v1.0.27 [INFO] [stderr] Compiling macro_magic_core v0.5.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking url v2.5.7 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking rustc_version v0.4.1 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Compiling serde_with_macros v3.16.1 [INFO] [stderr] Checking time v0.3.44 [INFO] [stderr] Checking oxc_data_structures v0.40.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Checking resolv-conf v0.7.6 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking chrono v0.4.42 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking oxc_span v0.40.1 [INFO] [stderr] Checking oxc_diagnostics v0.40.1 [INFO] [stderr] Compiling macro_magic_macros v0.5.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking papergrid v0.17.0 [INFO] [stderr] Checking oxc_syntax v0.40.1 [INFO] [stderr] Checking oxc_regular_expression v0.40.1 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking mio v1.1.1 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking oxc_cfg v0.40.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Compiling macro_magic v0.5.1 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking oxc_ast v0.40.1 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking uuid v1.19.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling mongodb-internal-macros v3.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking serde_with v3.16.1 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Compiling tabled_derive v0.11.0 [INFO] [stderr] Checking fd-lock v4.0.4 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking bson v2.15.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking testing_table v0.3.0 [INFO] [stderr] Compiling derive-where v1.6.0 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Compiling mockall_derive v0.13.1 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking colored_json v5.0.0 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking oxc-browserslist v1.1.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking predicates v3.1.3 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking rustyline v14.0.0 [INFO] [stderr] Checking tabled v0.20.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking hickory-proto v0.24.4 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking mockall v0.13.1 [INFO] [stderr] Checking tokio-test v0.4.4 [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 tokio-rustls v0.24.1 [INFO] [stderr] Checking hickory-resolver v0.24.4 [INFO] [stderr] Checking oxc_traverse v0.40.1 [INFO] [stderr] Checking oxc_mangler v0.40.1 [INFO] [stderr] Checking oxc_codegen v0.40.1 [INFO] [stderr] Checking mongodb v3.2.5 [INFO] [stderr] Checking oxc_minifier v0.40.1 [INFO] [stderr] Checking oxc_transformer v0.40.1 [INFO] [stderr] Checking oxc v0.40.1 [INFO] [stderr] Checking mongosh v0.2.4 (/opt/rustwide/workdir) [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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:155:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct ReplEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | highlighting_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_enabled` is never read [INFO] [stdout] --> src/repl/mod.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct ReplHelper { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | color_enabled: bool, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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:155:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct ReplEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | highlighting_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_enabled` is never read [INFO] [stdout] --> src/repl/mod.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct ReplHelper { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ExecutionStats` [INFO] [stdout] --> src/executor/mod.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | pub use result::{ExecutionResult, ExecutionStats, ResultData}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_args`, `run`, `config_mut`, and `validate` are never used [INFO] [stdout] --> src/cli/mod.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl CliInterface { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn parse_args() -> CliArgs { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub async fn run(&self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn config_mut(&mut self) -> &mut Config { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | 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:340:12 [INFO] [stdout] | [INFO] [stdout] 338 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 339 | /// Create a new configuration with default values [INFO] [stdout] 340 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn from_file>(_path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn from_env() -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | pub fn default_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | pub fn save>(&self, _path: P) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn merge(&self, _other: &Config) -> Config { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn connection_timeout(&self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | 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:431:12 [INFO] [stdout] | [INFO] [stdout] 426 | impl ConnectionConfig { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 431 | 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:451:12 [INFO] [stdout] | [INFO] [stdout] 449 | impl OutputFormat { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 450 | /// Check if format requires pretty printing [INFO] [stdout] 451 | pub fn is_pretty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 456 | 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 `disconnect`, `reconnect`, `health_check`, `get_state`, `is_connected`, and `get_server_version` are never used [INFO] [stdout] --> src/connection/mod.rs:143:18 [INFO] [stdout] | [INFO] [stdout] 88 | impl ConnectionManager { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 143 | pub async fn disconnect(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [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] 412 | 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:485:12 [INFO] [stdout] | [INFO] [stdout] 485 | 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:498:12 [INFO] [stdout] | [INFO] [stdout] 490 | impl SessionManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn new(client: Client) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub async fn start_session(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | pub async fn start_transaction(&self, session: &mut mongodb::ClientSession) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 534 | pub async fn commit_transaction(&self, session: &mut mongodb::ClientSession) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | 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` 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] 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 `FileNotFound`, `ParseError`, `RuntimeError`, and `Timeout` are never constructed [INFO] [stdout] --> src/error/mod.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum ScriptError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 176 | /// Script file not found [INFO] [stdout] 177 | FileNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | ParseError(String), [INFO] [stdout] | ^^^^^^^^^^ [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:68:9 [INFO] [stdout] | [INFO] [stdout] 63 | pub struct ExecutionStats { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | 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:77:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl ExecutionResult { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 76 | /// Create a successful result [INFO] [stdout] 77 | pub fn success(data: ResultData, stats: ExecutionStats) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | 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:289:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Formatter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn format_document(&self, doc: &Document) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn set_format(&mut self, format_type: OutputFormat) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn set_colors(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_enabled` is never used [INFO] [stdout] --> src/formatter/colorizer.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Colorizer { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn set_enabled(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Ascii`, `Rounded`, `Markdown`, and `Psql` are never constructed [INFO] [stdout] --> src/formatter/table.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum TableStyle { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 48 | Ascii, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 49 | /// Rounded style [INFO] [stdout] 50 | Rounded, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | /// Markdown style [INFO] [stdout] 52 | Markdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | /// Psql style [INFO] [stdout] 54 | Psql, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableStyle` 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 items `with_colors`, `with_style`, and `with_max_column_width` are never used [INFO] [stdout] --> src/formatter/table.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl TableFormatter { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn with_colors(use_colors: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn with_style(mut self, style: TableStyle) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn with_max_column_width(mut self, width: usize) -> Self { [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] 25 | 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:178:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub enum AdminCommand { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 178 | CreateCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | DropCollection(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | DropDatabase, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | RenameCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | DropIndex { collection: String, name: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | DropIndexes(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | CollectionStats(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | DatabaseStats, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | ServerStatus, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | CurrentOp { include_all: bool }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | KillOp(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | ValidateCollection { collection: String, full: bool }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | CompactCollection(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | 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:248:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub enum UtilityCommand { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 247 | /// Print/echo a value [INFO] [stdout] 248 | Print(String), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | PrintJson(Document), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | CurrentTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | RunCommand(Document), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | BuildInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | HostInfo, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | ConnectionStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | 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:406:12 [INFO] [stdout] | [INFO] [stdout] 404 | impl Command { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] 405 | /// Check if this is an exit command [INFO] [stdout] 406 | pub fn is_exit(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | pub fn is_help(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn is_query(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | pub fn is_admin(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 426 | 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:441:12 [INFO] [stdout] | [INFO] [stdout] 439 | impl QueryCommand { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 440 | /// Get the collection name for this query command [INFO] [stdout] 441 | pub fn collection(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 464 | 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:489:12 [INFO] [stdout] | [INFO] [stdout] 487 | impl AdminCommand { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 488 | /// Get command name [INFO] [stdout] 489 | 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:521:12 [INFO] [stdout] | [INFO] [stdout] 519 | impl UtilityCommand { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 520 | /// Get command name [INFO] [stdout] 521 | 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:537:12 [INFO] [stdout] | [INFO] [stdout] 535 | impl ConfigCommand { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 536 | /// Get command name [INFO] [stdout] 537 | 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:134:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl SharedState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | 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:155:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct ReplEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | highlighting_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReplContext` is never constructed [INFO] [stdout] --> src/repl/mod.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct ReplContext { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `color_enabled` is never read [INFO] [stdout] --> src/repl/mod.rs:195:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct ReplHelper { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommandCompleter` is never constructed [INFO] [stdout] --> src/repl/mod.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub struct CommandCompleter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PromptGenerator` is never constructed [INFO] [stdout] --> src/repl/mod.rs:244:12 [INFO] [stdout] | [INFO] [stdout] 244 | pub struct PromptGenerator { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/repl/mod.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 249 | impl ReplEngine { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn from_context(context: ReplContext, history_config: HistoryConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub async fn run(&mut self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn read_multiline(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | pub fn shared_state(&self) -> &SharedState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn update_context(&mut self, _context: ReplContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn add_collection(&mut self, collection: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn set_collections(&mut self, collections: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 478 | 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:494:12 [INFO] [stdout] | [INFO] [stdout] 485 | impl ReplContext { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 494 | pub fn new(database: String, uri: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 509 | pub fn set_connected(&mut self, version: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 515 | pub fn set_disconnected(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | 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:562:12 [INFO] [stdout] | [INFO] [stdout] 529 | impl ReplHelper { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 562 | pub fn add_collection(&mut self, collection: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | 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:772:12 [INFO] [stdout] | [INFO] [stdout] 764 | impl PromptGenerator { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 772 | pub fn new(context: ReplContext) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 782 | pub fn generate(&self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 794 | 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:804:12 [INFO] [stdout] | [INFO] [stdout] 799 | impl CommandCompleter { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 804 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 826 | pub fn get_completions(&self, partial: &str) -> Vec { [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:250:12 [INFO] [stdout] | [INFO] [stdout] 250 | 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:266:12 [INFO] [stdout] | [INFO] [stdout] 266 | 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:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | 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:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | 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:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | 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:342:12 [INFO] [stdout] | [INFO] [stdout] 342 | 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:366:12 [INFO] [stdout] | [INFO] [stdout] 366 | pub fn parse_bytes(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse_args`, `run`, `config_mut`, and `validate` are never used [INFO] [stdout] --> src/cli/mod.rs:184:12 [INFO] [stdout] | [INFO] [stdout] 168 | impl CliInterface { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 184 | pub fn parse_args() -> CliArgs { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | pub async fn run(&self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn config_mut(&mut self) -> &mut Config { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 411 | 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:340:12 [INFO] [stdout] | [INFO] [stdout] 338 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 339 | /// Create a new configuration with default values [INFO] [stdout] 340 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 351 | pub fn from_file>(_path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 359 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn from_env() -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 378 | pub fn default_path() -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 392 | pub fn save>(&self, _path: P) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 403 | pub fn merge(&self, _other: &Config) -> Config { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | 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:431:12 [INFO] [stdout] | [INFO] [stdout] 426 | impl ConnectionConfig { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 431 | 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: fields `server_version` and `diagnostics` are never read [INFO] [stdout] --> src/connection/mod.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct HealthStatus { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 82 | pub server_version: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub diagnostics: Option, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HealthStatus` 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 `reconnect` is never used [INFO] [stdout] --> src/connection/mod.rs:164:18 [INFO] [stdout] | [INFO] [stdout] 88 | impl ConnectionManager { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 164 | pub async fn reconnect(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SessionManager` is never constructed [INFO] [stdout] --> src/connection/mod.rs:485:12 [INFO] [stdout] | [INFO] [stdout] 485 | 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:498:12 [INFO] [stdout] | [INFO] [stdout] 490 | impl SessionManager { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn new(client: Client) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 506 | pub async fn start_session(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 520 | pub async fn start_transaction(&self, session: &mut mongodb::ClientSession) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 534 | pub async fn commit_transaction(&self, session: &mut mongodb::ClientSession) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 548 | 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` 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] 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 `FileNotFound`, `ParseError`, `RuntimeError`, and `Timeout` are never constructed [INFO] [stdout] --> src/error/mod.rs:177:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub enum ScriptError { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 176 | /// Script file not found [INFO] [stdout] 177 | FileNotFound(String), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | ParseError(String), [INFO] [stdout] | ^^^^^^^^^^ [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:289:12 [INFO] [stdout] | [INFO] [stdout] 69 | impl Formatter { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 289 | pub fn format_document(&self, doc: &Document) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn set_format(&mut self, format_type: OutputFormat) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn set_colors(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_enabled` is never used [INFO] [stdout] --> src/formatter/colorizer.rs:260:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl Colorizer { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 260 | pub fn set_enabled(&mut self, enabled: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Rounded`, `Markdown`, and `Psql` are never constructed [INFO] [stdout] --> src/formatter/table.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 44 | pub enum TableStyle { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 50 | Rounded, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 51 | /// Markdown style [INFO] [stdout] 52 | Markdown, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | /// Psql style [INFO] [stdout] 54 | Psql, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TableStyle` 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 function `with_colors` is never used [INFO] [stdout] --> src/formatter/table.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl TableFormatter { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn with_colors(use_colors: bool) -> Self { [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] 25 | 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:178:5 [INFO] [stdout] | [INFO] [stdout] 155 | pub enum AdminCommand { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 178 | CreateCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 184 | DropCollection(String), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | DropDatabase, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | RenameCollection { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 210 | DropIndex { collection: String, name: String }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | DropIndexes(String), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | CollectionStats(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | DatabaseStats, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | ServerStatus, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | CurrentOp { include_all: bool }, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | KillOp(i64), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | ValidateCollection { collection: String, full: bool }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | CompactCollection(String), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | 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:251:5 [INFO] [stdout] | [INFO] [stdout] 246 | pub enum UtilityCommand { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 251 | PrintJson(Document), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 254 | CurrentTime, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | RunCommand(Document), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 260 | BuildInfo, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | HostInfo, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 266 | ConnectionStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | 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:416:12 [INFO] [stdout] | [INFO] [stdout] 404 | impl Command { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 416 | pub fn is_query(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | 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:441:12 [INFO] [stdout] | [INFO] [stdout] 439 | impl QueryCommand { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 440 | /// Get the collection name for this query command [INFO] [stdout] 441 | pub fn collection(&self) -> &str { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `name` is never used [INFO] [stdout] --> src/parser/command.rs:537:12 [INFO] [stdout] | [INFO] [stdout] 535 | impl ConfigCommand { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] 536 | /// Get command name [INFO] [stdout] 537 | 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: 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:134:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl SharedState { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 134 | 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:155:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub struct ReplEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 155 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 158 | 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:168:9 [INFO] [stdout] | [INFO] [stdout] 163 | pub struct ReplContext { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 168 | pub connection_uri: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 177 | pub color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | 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:195:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct ReplHelper { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 195 | color_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/repl/mod.rs:299:12 [INFO] [stdout] | [INFO] [stdout] 249 | impl ReplEngine { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn from_context(context: ReplContext, history_config: HistoryConfig) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 315 | pub async fn run(&mut self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 350 | pub fn read_multiline(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 398 | pub fn shared_state(&self) -> &SharedState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 407 | pub fn update_context(&mut self, _context: ReplContext) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 415 | pub fn add_collection(&mut self, collection: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub fn set_collections(&mut self, collections: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | pub fn stop(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 478 | 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:515:12 [INFO] [stdout] | [INFO] [stdout] 485 | impl ReplContext { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 515 | pub fn set_disconnected(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | 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:562:12 [INFO] [stdout] | [INFO] [stdout] 529 | impl ReplHelper { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 562 | pub fn add_collection(&mut self, collection: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | 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:794:12 [INFO] [stdout] | [INFO] [stdout] 764 | impl PromptGenerator { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 794 | pub fn generate_continuation(&self) -> 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 `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:297:12 [INFO] [stdout] | [INFO] [stdout] 297 | 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:323:12 [INFO] [stdout] | [INFO] [stdout] 323 | 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 11s [INFO] running `Command { std: "docker" "inspect" "e0bbb06778befbb47364c4f4e2e271fcdbcdab780c7f76ca5ea436fd5ddf441a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0bbb06778befbb47364c4f4e2e271fcdbcdab780c7f76ca5ea436fd5ddf441a", kill_on_drop: false }` [INFO] [stdout] e0bbb06778befbb47364c4f4e2e271fcdbcdab780c7f76ca5ea436fd5ddf441a