[INFO] cloning repository https://github.com/martinmares/postgres-explorer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/martinmares/postgres-explorer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinmares%2Fpostgres-explorer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinmares%2Fpostgres-explorer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa28fed508a339643e99e3a52d1d2c71f9b1b73a [INFO] checking martinmares/postgres-explorer against try#3248bace201b6227b0ff78eacc8b00d805551a86 for pr-153513 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinmares%2Fpostgres-explorer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/martinmares/postgres-explorer [INFO] finished tweaking git repo https://github.com/martinmares/postgres-explorer [INFO] tweaked toml for git repo https://github.com/martinmares/postgres-explorer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/martinmares/postgres-explorer on toolchain 3248bace201b6227b0ff78eacc8b00d805551a86 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3248bace201b6227b0ff78eacc8b00d805551a86" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/martinmares/postgres-explorer 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" "+3248bace201b6227b0ff78eacc8b00d805551a86" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3248bace201b6227b0ff78eacc8b00d805551a86" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2b21a47b6603470894917c2a874a5680cae20cf5cf40e4a72fe94492023120a [INFO] running `Command { std: "docker" "start" "-a" "e2b21a47b6603470894917c2a874a5680cae20cf5cf40e4a72fe94492023120a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2b21a47b6603470894917c2a874a5680cae20cf5cf40e4a72fe94492023120a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2b21a47b6603470894917c2a874a5680cae20cf5cf40e4a72fe94492023120a", kill_on_drop: false }` [INFO] [stdout] e2b21a47b6603470894917c2a874a5680cae20cf5cf40e4a72fe94492023120a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3248bace201b6227b0ff78eacc8b00d805551a86" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 693b2fa0d57011356531b5488bfb4acac6d6f0868184b2f45755aba24da02a2d [INFO] running `Command { std: "docker" "start" "-a" "693b2fa0d57011356531b5488bfb4acac6d6f0868184b2f45755aba24da02a2d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Compiling zerocopy v0.8.38 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling openssl-src v300.5.5+3.5.5 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling aws-lc-sys v0.37.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling aws-lc-rs v1.15.4 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking siphasher v1.0.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling time-macros v0.2.26 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking phf_shared v0.13.1 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking iri-string v0.7.10 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking postgres-protocol v0.6.10 [INFO] [stderr] Compiling askama_parser v0.15.4 [INFO] [stderr] Checking time v0.3.46 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking whoami v2.1.0 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking postgres-types v0.2.12 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tokio-postgres v0.7.16 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling askama_derive v0.15.4 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling askama_macros v0.15.4 [INFO] [stderr] Checking askama v0.15.4 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Checking axum-extra v0.12.5 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking reqwest v0.13.1 [INFO] [stderr] Checking postgres-openssl v0.5.2 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking postgres-explorer v0.7.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `IntoResponse` [INFO] [stdout] --> src/handlers/patroni.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::response::{Html, IntoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum_extra::extract::CookieJar` [INFO] [stdout] --> src/handlers/patroni.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use axum_extra::extract::CookieJar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoResponse` [INFO] [stdout] --> src/handlers/patroni.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | use axum::response::{Html, IntoResponse}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum_extra::extract::CookieJar` [INFO] [stdout] --> src/handlers/patroni.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use axum_extra::extract::CookieJar; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/handlers/blueprint.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/handlers/blueprint.rs:282:25 [INFO] [stdout] | [INFO] [stdout] 282 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/handlers/blueprint.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 285 | let idx = rng.gen_range(0..CHARSET.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/handlers/blueprint.rs:285:27 [INFO] [stdout] | [INFO] [stdout] 285 | let idx = rng.gen_range(0..CHARSET.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JOB_CLEANUP_AGE` is never used [INFO] [stdout] --> src/handlers/mod.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const JOB_CLEANUP_AGE: Duration = Duration::from_secs(60 * 60); // 1 hour [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 `job_id` is never read [INFO] [stdout] --> src/handlers/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ExportJob { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 61 | pub job_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportJob` 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: function `build_ctx` is never used [INFO] [stdout] --> src/handlers/mod.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn build_ctx(state: &Arc) -> AppContext { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/handlers/patroni.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - String(String), [INFO] [stdout] 46 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableDetailDb` is never constructed [INFO] [stdout] --> src/handlers/table_detail.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct TableDetailDb { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seq_scans` is never read [INFO] [stdout] --> src/handlers/tuning.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FullScanQuery { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub seq_scans: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullScanQuery` 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 `active_connections`, `max_connections`, and `databases` are never read [INFO] [stdout] --> src/templates/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DashboardTemplate { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub active_connections: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub max_connections: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub databases: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `allow_conn`, `is_template`, and `conn_limit` are never read [INFO] [stdout] --> src/templates/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct DatabaseInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub allow_conn: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | pub is_template: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | pub conn_limit: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/templates/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ConnectionInfo { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub options: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/templates/mod.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct TablesTemplate { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | pub filter: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub page: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub filtered_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 98 | pub total_pages: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | pub showing_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 100 | pub showing_end: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | pub tables: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub is_fetching: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx`, `schema`, `name`, and `per_page` are never read [INFO] [stdout] --> src/templates/mod.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct TableDataTemplate { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 167 | pub ctx: AppContext, [INFO] [stdout] | ^^^ [INFO] [stdout] 168 | pub schema: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 169 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub per_page: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/templates/mod.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct IndicesTemplate { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 197 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub sort_by: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | pub sort_order: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 205 | pub page: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 206 | pub per_page: usize, [INFO] [stdout] 207 | pub total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 208 | pub filtered_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 209 | pub total_pages: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 210 | pub showing_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 211 | pub showing_end: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `idx_tup_read_count` and `idx_tup_fetch_count` are never read [INFO] [stdout] --> src/templates/mod.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct IndexRow { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 318 | pub idx_tup_read_count: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 319 | pub idx_tup_fetch: String, [INFO] [stdout] 320 | pub idx_tup_fetch_count: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexRow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size_bytes` is never read [INFO] [stdout] --> src/templates/mod.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct TopTable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 387 | pub size_bytes: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopTable` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_path` is never read [INFO] [stdout] --> src/templates/mod.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct TuningTemplate { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 407 | pub base_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_pattern_expression` is never used [INFO] [stdout] --> src/utils/filter.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn parse_pattern_expression(input: &str) -> (Vec, Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `filter_names` is never used [INFO] [stdout] --> src/utils/filter.rs:132:8 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn filter_names(names: &[String], expression: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `JOB_CLEANUP_AGE` is never used [INFO] [stdout] --> src/handlers/mod.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const JOB_CLEANUP_AGE: Duration = Duration::from_secs(60 * 60); // 1 hour [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 `job_id` is never read [INFO] [stdout] --> src/handlers/mod.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct ExportJob { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 61 | pub job_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExportJob` 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: function `build_ctx` is never used [INFO] [stdout] --> src/handlers/mod.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn build_ctx(state: &Arc) -> AppContext { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/handlers/patroni.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 46 - String(String), [INFO] [stdout] 46 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TableDetailDb` is never constructed [INFO] [stdout] --> src/handlers/table_detail.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | struct TableDetailDb { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `seq_scans` is never read [INFO] [stdout] --> src/handlers/tuning.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct FullScanQuery { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub seq_scans: i64, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FullScanQuery` 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 `active_connections`, `max_connections`, and `databases` are never read [INFO] [stdout] --> src/templates/mod.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct DashboardTemplate { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 29 | pub active_connections: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub max_connections: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub databases: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `allow_conn`, `is_template`, and `conn_limit` are never read [INFO] [stdout] --> src/templates/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct DatabaseInfo { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub allow_conn: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | pub is_template: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | pub conn_limit: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DatabaseInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `options` is never read [INFO] [stdout] --> src/templates/mod.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct ConnectionInfo { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 72 | pub options: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ConnectionInfo` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/templates/mod.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct TablesTemplate { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 89 | pub filter: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub page: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub filtered_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 98 | pub total_pages: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 99 | pub showing_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 100 | pub showing_end: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 101 | pub tables: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub is_fetching: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ctx`, `schema`, `name`, and `per_page` are never read [INFO] [stdout] --> src/templates/mod.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 166 | pub struct TableDataTemplate { [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] 167 | pub ctx: AppContext, [INFO] [stdout] | ^^^ [INFO] [stdout] 168 | pub schema: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 169 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub per_page: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/templates/mod.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 194 | pub struct IndicesTemplate { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 197 | pub indices: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub sort_by: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 204 | pub sort_order: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 205 | pub page: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] 206 | pub per_page: usize, [INFO] [stdout] 207 | pub total_count: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 208 | pub filtered_count: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 209 | pub total_pages: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 210 | pub showing_start: usize, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 211 | pub showing_end: usize, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `idx_tup_read_count` and `idx_tup_fetch_count` are never read [INFO] [stdout] --> src/templates/mod.rs:318:9 [INFO] [stdout] | [INFO] [stdout] 309 | pub struct IndexRow { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 318 | pub idx_tup_read_count: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 319 | pub idx_tup_fetch: String, [INFO] [stdout] 320 | pub idx_tup_fetch_count: i64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IndexRow` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `size_bytes` is never read [INFO] [stdout] --> src/templates/mod.rs:387:9 [INFO] [stdout] | [INFO] [stdout] 383 | pub struct TopTable { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 387 | pub size_bytes: i64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TopTable` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `base_path` is never read [INFO] [stdout] --> src/templates/mod.rs:407:9 [INFO] [stdout] | [INFO] [stdout] 398 | pub struct TuningTemplate { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 407 | pub base_path: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 55s [INFO] running `Command { std: "docker" "inspect" "693b2fa0d57011356531b5488bfb4acac6d6f0868184b2f45755aba24da02a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "693b2fa0d57011356531b5488bfb4acac6d6f0868184b2f45755aba24da02a2d", kill_on_drop: false }` [INFO] [stdout] 693b2fa0d57011356531b5488bfb4acac6d6f0868184b2f45755aba24da02a2d