[INFO] fetching crate pgpeek 1.0.0... [INFO] testing pgpeek-1.0.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate pgpeek 1.0.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate pgpeek 1.0.0 [INFO] finished tweaking crates.io crate pgpeek 1.0.0 [INFO] tweaked toml for crates.io crate pgpeek 1.0.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pgpeek 1.0.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pgpeek 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 070d81e4d1b3427edf0d87390faa42864483d37ae7051ed2c4cb769d39f4d332 [INFO] running `Command { std: "docker" "start" "-a" "070d81e4d1b3427edf0d87390faa42864483d37ae7051ed2c4cb769d39f4d332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "070d81e4d1b3427edf0d87390faa42864483d37ae7051ed2c4cb769d39f4d332", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "070d81e4d1b3427edf0d87390faa42864483d37ae7051ed2c4cb769d39f4d332", kill_on_drop: false }` [INFO] [stdout] 070d81e4d1b3427edf0d87390faa42864483d37ae7051ed2c4cb769d39f4d332 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 734b33e04e26e26d656213fbd816fa801eb153b84bbc66f3d6c8335d7d96c71c [INFO] running `Command { std: "docker" "start" "-a" "734b33e04e26e26d656213fbd816fa801eb153b84bbc66f3d6c8335d7d96c71c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling anstyle-parse v0.2.7 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling colorchoice v1.0.4 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.1 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling signal-hook-mio v0.2.4 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling winnow v0.7.12 [INFO] [stderr] Compiling bitflags v2.9.2 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling postgres-protocol v0.6.8 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling clap_builder v4.5.44 [INFO] [stderr] Compiling crossterm v0.27.0 [INFO] [stderr] Compiling phf v0.11.3 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling ratatui v0.25.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling clap v4.5.45 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling postgres-types v0.2.9 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling pgpeek v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: value assigned to `affected_rows` is never read [INFO] [stdout] --> src/database.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let mut affected_rows = None; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Command` is never constructed [INFO] [stdout] --> src/app.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum InputMode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | Command, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_page` is never read [INFO] [stdout] --> src/app.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct AppContext { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub current_page: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppContext` 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 `add_saved_query`, `get_default_connection`, `remove_connection`, `connection_exists`, and `list_connection_names` are never used [INFO] [stdout] --> src/config.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn add_saved_query(&mut self, key: String, query: SavedQuery) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn get_default_connection(&self) -> Option<&DatabaseConfig> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn remove_connection(&mut self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn connection_exists(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn list_connection_names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `character_maximum_length` is never read [INFO] [stdout] --> src/database.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ColumnInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub character_maximum_length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnInfo` 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 `test_connection`, `get_table_indexes`, and `get_table_count` are never used [INFO] [stdout] --> src/database.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 53 | impl DatabaseConnection { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn test_connection(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub async fn get_table_indexes(&self, schema: &str, table: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub async fn get_table_count(&self, schema: &str, table: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexInfo` is never constructed [INFO] [stdout] --> src/database.rs:334:12 [INFO] [stdout] | [INFO] [stdout] 334 | pub struct IndexInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_raw_numeric_value` is never used [INFO] [stdout] --> src/database.rs:403:4 [INFO] [stdout] | [INFO] [stdout] 403 | fn get_raw_numeric_value(row: &Row, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `explain_query`, `get_query_plan`, `get_database_version`, `get_current_database`, and `get_current_user` are never used [INFO] [stdout] --> src/database.rs:420:18 [INFO] [stdout] | [INFO] [stdout] 419 | impl DatabaseConnection { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 420 | pub async fn explain_query(&self, sql: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub async fn get_query_plan(&self, sql: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub async fn get_database_version(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | pub async fn get_current_database(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | pub async fn get_current_user(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryBuilder` is never constructed [INFO] [stdout] --> src/query.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct QueryBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/query.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl QueryBuilder { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(schema: &str, table: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn select(mut self, columns: Vec<&str>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn where_clause(mut self, condition: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn and_where(mut self, condition: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn join(mut self, join_clause: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn group_by_column(mut self, column: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn having_clause(mut self, condition: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn order_by(mut self, column: &str, direction: &str) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn limit(mut self, limit: usize) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn offset(mut self, offset: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn build(self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NaturalLanguageParser` is never constructed [INFO] [stdout] --> src/query.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct NaturalLanguageParser { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `QueryKeyword` is never used [INFO] [stdout] --> src/query.rs:133:10 [INFO] [stdout] | [INFO] [stdout] 133 | pub enum QueryKeyword { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/query.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 155 | impl NaturalLanguageParser { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 156 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn parse(&self, input: &str, schema: &str, table: &str) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | fn handle_postgres_commands(&self, input: &str, schema: &str, table: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn parse_natural_query(&self, words: &[&str], schema: &str, table: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | fn parse_where_clause(&self, words: &[&str]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | fn parse_order_clause(&self, words: &[&str]) -> Option<(String, String, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 412 | fn extract_number(&self, words: &[&str]) -> Option<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_table_info_query` is never used [INFO] [stdout] --> src/query.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | pub fn build_table_info_query(schema: &str, table: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_table_stats_query` is never used [INFO] [stdout] --> src/query.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn build_table_stats_query(schema: &str, table: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_sample_data_query` is never used [INFO] [stdout] --> src/query.rs:467:8 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn build_sample_data_query(schema: &str, table: &str, limit: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_search_query` is never used [INFO] [stdout] --> src/query.rs:471:8 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn build_search_query(schema: &str, table: &str, column: &str, search_term: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `QueryTemplates` is never constructed [INFO] [stdout] --> src/query.rs:482:12 [INFO] [stdout] | [INFO] [stdout] 482 | pub struct QueryTemplates; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `recent_records`, `top_by_column`, `duplicates_by_column`, `empty_or_null_check`, and `column_statistics` are never used [INFO] [stdout] --> src/query.rs:485:12 [INFO] [stdout] | [INFO] [stdout] 484 | impl QueryTemplates { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] 485 | pub fn recent_records(schema: &str, table: &str, date_column: &str, days: u32) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 492 | pub fn top_by_column(schema: &str, table: &str, column: &str, limit: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 499 | pub fn duplicates_by_column(schema: &str, table: &str, column: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | pub fn empty_or_null_check(schema: &str, table: &str, column: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn column_statistics(schema: &str, table: &str, column: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `list_state`, `schema_list_state`, and `table_list_state` are never read [INFO] [stdout] --> src/ui.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UI { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 15 | table_state: TableState, [INFO] [stdout] 16 | list_state: ListState, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | schema_list_state: ListState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | table_list_state: ListState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "734b33e04e26e26d656213fbd816fa801eb153b84bbc66f3d6c8335d7d96c71c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "734b33e04e26e26d656213fbd816fa801eb153b84bbc66f3d6c8335d7d96c71c", kill_on_drop: false }` [INFO] [stdout] 734b33e04e26e26d656213fbd816fa801eb153b84bbc66f3d6c8335d7d96c71c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7e018d99558bf01495e545d6ca2cc6b8d8646e9dd04a32a0b9f1d668a10fe93 [INFO] running `Command { std: "docker" "start" "-a" "a7e018d99558bf01495e545d6ca2cc6b8d8646e9dd04a32a0b9f1d668a10fe93", kill_on_drop: false }` [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling tokio-postgres v0.7.13 [INFO] [stderr] Compiling pgpeek v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Row` and `types::Type` [INFO] [stdout] --> src/database.rs:469:26 [INFO] [stdout] | [INFO] [stdout] 469 | use tokio_postgres::{Row, types::Type}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `affected_rows` is never read [INFO] [stdout] --> src/database.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let mut affected_rows = None; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Command` is never constructed [INFO] [stdout] --> src/app.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum InputMode { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 32 | Command, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InputMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `current_page` is never read [INFO] [stdout] --> src/app.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct AppContext { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub current_page: usize, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppContext` 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 `add_saved_query`, `get_default_connection`, `remove_connection`, `connection_exists`, and `list_connection_names` are never used [INFO] [stdout] --> src/config.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 142 | impl Config { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn add_saved_query(&mut self, key: String, query: SavedQuery) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn get_default_connection(&self) -> Option<&DatabaseConfig> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 208 | pub fn remove_connection(&mut self, name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | pub fn connection_exists(&self, name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | pub fn list_connection_names(&self) -> Vec<&String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `character_maximum_length` is never read [INFO] [stdout] --> src/database.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct ColumnInfo { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub character_maximum_length: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ColumnInfo` 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 `test_connection`, `get_table_indexes`, and `get_table_count` are never used [INFO] [stdout] --> src/database.rs:71:18 [INFO] [stdout] | [INFO] [stdout] 53 | impl DatabaseConnection { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub async fn test_connection(&self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | pub async fn get_table_indexes(&self, schema: &str, table: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub async fn get_table_count(&self, schema: &str, table: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_raw_numeric_value` is never used [INFO] [stdout] --> src/database.rs:403:4 [INFO] [stdout] | [INFO] [stdout] 403 | fn get_raw_numeric_value(row: &Row, index: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `explain_query`, `get_query_plan`, `get_database_version`, `get_current_database`, and `get_current_user` are never used [INFO] [stdout] --> src/database.rs:420:18 [INFO] [stdout] | [INFO] [stdout] 419 | impl DatabaseConnection { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] 420 | pub async fn explain_query(&self, sql: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 425 | pub async fn get_query_plan(&self, sql: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub async fn get_database_version(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 449 | pub async fn get_current_database(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 457 | pub async fn get_current_user(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `and_where`, `join`, `group_by_column`, `having_clause`, and `offset` are never used [INFO] [stdout] --> src/query.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl QueryBuilder { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn and_where(mut self, condition: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn join(mut self, join_clause: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn group_by_column(mut self, column: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn having_clause(mut self, condition: &str) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn offset(mut self, offset: usize) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `keywords` is never read [INFO] [stdout] --> src/query.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 128 | pub struct NaturalLanguageParser { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 129 | keywords: HashMap, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NaturalLanguageParser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_table_info_query` is never used [INFO] [stdout] --> src/query.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | pub fn build_table_info_query(schema: &str, table: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_table_stats_query` is never used [INFO] [stdout] --> src/query.rs:455:8 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn build_table_stats_query(schema: &str, table: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_sample_data_query` is never used [INFO] [stdout] --> src/query.rs:467:8 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn build_sample_data_query(schema: &str, table: &str, limit: usize) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `build_search_query` is never used [INFO] [stdout] --> src/query.rs:471:8 [INFO] [stdout] | [INFO] [stdout] 471 | pub fn build_search_query(schema: &str, table: &str, column: &str, search_term: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `duplicates_by_column`, `empty_or_null_check`, and `column_statistics` are never used [INFO] [stdout] --> src/query.rs:499:12 [INFO] [stdout] | [INFO] [stdout] 484 | impl QueryTemplates { [INFO] [stdout] | ------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 499 | pub fn duplicates_by_column(schema: &str, table: &str, column: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 512 | pub fn empty_or_null_check(schema: &str, table: &str, column: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 519 | pub fn column_statistics(schema: &str, table: &str, column: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `list_state`, `schema_list_state`, and `table_list_state` are never read [INFO] [stdout] --> src/ui.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct UI { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 15 | table_state: TableState, [INFO] [stdout] 16 | list_state: ListState, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 17 | schema_list_state: ListState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | table_list_state: ListState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.72s [INFO] running `Command { std: "docker" "inspect" "a7e018d99558bf01495e545d6ca2cc6b8d8646e9dd04a32a0b9f1d668a10fe93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7e018d99558bf01495e545d6ca2cc6b8d8646e9dd04a32a0b9f1d668a10fe93", kill_on_drop: false }` [INFO] [stdout] a7e018d99558bf01495e545d6ca2cc6b8d8646e9dd04a32a0b9f1d668a10fe93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8f1e90121f2b3bb6817e9e0225501c64c2c8d40bd13fe79374fd8a83ad8c6869 [INFO] running `Command { std: "docker" "start" "-a" "8f1e90121f2b3bb6817e9e0225501c64c2c8d40bd13fe79374fd8a83ad8c6869", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Row` and `types::Type` [INFO] [stderr] --> src/database.rs:469:26 [INFO] [stderr] | [INFO] [stderr] 469 | use tokio_postgres::{Row, types::Type}; [INFO] [stderr] | ^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `affected_rows` is never read [INFO] [stderr] --> src/database.rs:250:17 [INFO] [stderr] | [INFO] [stderr] 250 | let mut affected_rows = None; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Command` is never constructed [INFO] [stderr] --> src/app.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub enum InputMode { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] ... [INFO] [stderr] 32 | Command, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `InputMode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `current_page` is never read [INFO] [stderr] --> src/app.rs:39:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct AppContext { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 39 | pub current_page: usize, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AppContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `add_saved_query`, `get_default_connection`, `remove_connection`, `connection_exists`, and `list_connection_names` are never used [INFO] [stderr] --> src/config.rs:182:12 [INFO] [stderr] | [INFO] [stderr] 142 | impl Config { [INFO] [stderr] | ----------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 182 | pub fn add_saved_query(&mut self, key: String, query: SavedQuery) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 202 | pub fn get_default_connection(&self) -> Option<&DatabaseConfig> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 208 | pub fn remove_connection(&mut self, name: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 219 | pub fn connection_exists(&self, name: &str) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 223 | pub fn list_connection_names(&self) -> Vec<&String> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `character_maximum_length` is never read [INFO] [stderr] --> src/database.rs:35:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct ColumnInfo { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 35 | pub character_maximum_length: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ColumnInfo` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `test_connection`, `get_table_indexes`, and `get_table_count` are never used [INFO] [stderr] --> src/database.rs:71:18 [INFO] [stderr] | [INFO] [stderr] 53 | impl DatabaseConnection { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 71 | pub async fn test_connection(&self) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 216 | pub async fn get_table_indexes(&self, schema: &str, table: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 326 | pub async fn get_table_count(&self, schema: &str, table: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_raw_numeric_value` is never used [INFO] [stderr] --> src/database.rs:403:4 [INFO] [stderr] | [INFO] [stderr] 403 | fn get_raw_numeric_value(row: &Row, index: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `explain_query`, `get_query_plan`, `get_database_version`, `get_current_database`, and `get_current_user` are never used [INFO] [stderr] --> src/database.rs:420:18 [INFO] [stderr] | [INFO] [stderr] 419 | impl DatabaseConnection { [INFO] [stderr] | ----------------------- methods in this implementation [INFO] [stderr] 420 | pub async fn explain_query(&self, sql: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 425 | pub async fn get_query_plan(&self, sql: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 441 | pub async fn get_database_version(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 449 | pub async fn get_current_database(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 457 | pub async fn get_current_user(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `and_where`, `join`, `group_by_column`, `having_clause`, and `offset` are never used [INFO] [stderr] --> src/query.rs:43:12 [INFO] [stderr] | [INFO] [stderr] 17 | impl QueryBuilder { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn and_where(mut self, condition: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | pub fn join(mut self, join_clause: &str) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 53 | pub fn group_by_column(mut self, column: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | pub fn having_clause(mut self, condition: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 74 | pub fn offset(mut self, offset: usize) -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `keywords` is never read [INFO] [stderr] --> src/query.rs:129:5 [INFO] [stderr] | [INFO] [stderr] 128 | pub struct NaturalLanguageParser { [INFO] [stderr] | --------------------- field in this struct [INFO] [stderr] 129 | keywords: HashMap, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `NaturalLanguageParser` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: function `build_table_info_query` is never used [INFO] [stderr] --> src/query.rs:438:8 [INFO] [stderr] | [INFO] [stderr] 438 | pub fn build_table_info_query(schema: &str, table: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_table_stats_query` is never used [INFO] [stderr] --> src/query.rs:455:8 [INFO] [stderr] | [INFO] [stderr] 455 | pub fn build_table_stats_query(schema: &str, table: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_sample_data_query` is never used [INFO] [stderr] --> src/query.rs:467:8 [INFO] [stderr] | [INFO] [stderr] 467 | pub fn build_sample_data_query(schema: &str, table: &str, limit: usize) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `build_search_query` is never used [INFO] [stderr] --> src/query.rs:471:8 [INFO] [stderr] | [INFO] [stderr] 471 | pub fn build_search_query(schema: &str, table: &str, column: &str, search_term: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `duplicates_by_column`, `empty_or_null_check`, and `column_statistics` are never used [INFO] [stderr] --> src/query.rs:499:12 [INFO] [stderr] | [INFO] [stderr] 484 | impl QueryTemplates { [INFO] [stderr] | ------------------- associated functions in this implementation [INFO] [stderr] ... [INFO] [stderr] 499 | pub fn duplicates_by_column(schema: &str, table: &str, column: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 512 | pub fn empty_or_null_check(schema: &str, table: &str, column: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 519 | pub fn column_statistics(schema: &str, table: &str, column: &str) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `list_state`, `schema_list_state`, and `table_list_state` are never read [INFO] [stderr] --> src/ui.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct UI { [INFO] [stderr] | -- fields in this struct [INFO] [stderr] 15 | table_state: TableState, [INFO] [stderr] 16 | list_state: ListState, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 17 | schema_list_state: ListState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 18 | table_list_state: ListState, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `pgpeek` (bin "pgpeek" test) generated 17 warnings (run `cargo fix --bin "pgpeek" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/pgpeek-ad81f44e2c1f4d57) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test config::tests::test_connection_string_generation ... ok [INFO] [stdout] test config::tests::test_database_config_from_url ... ok [INFO] [stdout] test database::tests::test_table_info_creation ... ok [INFO] [stdout] test config::tests::test_database_config_minimal_url ... ok [INFO] [stdout] test query::tests::test_natural_language_parser ... ok [INFO] [stdout] test database::tests::test_column_info_creation ... ok [INFO] [stdout] test database::tests::test_database_info_creation ... ok [INFO] [stdout] test database::tests::test_index_info_creation ... ok [INFO] [stdout] test database::tests::test_query_result_creation ... ok [INFO] [stdout] test config::tests::test_invalid_urls ... ok [INFO] [stdout] test query::tests::test_query_templates ... ok [INFO] [stdout] test query::tests::test_query_builder ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8f1e90121f2b3bb6817e9e0225501c64c2c8d40bd13fe79374fd8a83ad8c6869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f1e90121f2b3bb6817e9e0225501c64c2c8d40bd13fe79374fd8a83ad8c6869", kill_on_drop: false }` [INFO] [stdout] 8f1e90121f2b3bb6817e9e0225501c64c2c8d40bd13fe79374fd8a83ad8c6869