[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 master#f8463896a9b36a04899c013bd8825a7fd29dd7a4 for pr-151920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmartinmares%2Fpostgres-explorer" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/martinmares/postgres-explorer on toolchain f8463896a9b36a04899c013bd8825a7fd29dd7a4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "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" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasite v1.0.2 [INFO] [stderr] Downloaded postgres-types v0.2.12 [INFO] [stderr] Downloaded tokio-openssl v0.6.5 [INFO] [stderr] Downloaded home v0.5.12 [INFO] [stderr] Downloaded phf_shared v0.13.1 [INFO] [stderr] Downloaded redox_syscall v0.7.0 [INFO] [stderr] Downloaded whoami v2.1.0 [INFO] [stderr] Downloaded askama_macros v0.15.4 [INFO] [stderr] Downloaded postgres-protocol v0.6.10 [INFO] [stderr] Downloaded sqlx-macros-core v0.8.6 [INFO] [stderr] Downloaded askama v0.15.4 [INFO] [stderr] Downloaded askama_parser v0.15.4 [INFO] [stderr] Downloaded basic-toml v0.1.10 [INFO] [stderr] Downloaded askama_derive v0.15.4 [INFO] [stderr] Downloaded num-bigint-dig v0.8.6 [INFO] [stderr] Downloaded sqlx-core v0.8.6 [INFO] [stderr] Downloaded sqlx-postgres v0.8.6 [INFO] [stderr] Downloaded rsa v0.9.10 [INFO] [stderr] Downloaded sqlx-sqlite v0.8.6 [INFO] [stderr] Downloaded sqlx v0.8.6 [INFO] [stderr] Downloaded unicode-normalization v0.1.25 [INFO] [stderr] Downloaded zerocopy-derive v0.8.38 [INFO] [stderr] Downloaded tokio-postgres v0.7.16 [INFO] [stderr] Downloaded axum-extra v0.12.5 [INFO] [stderr] Downloaded zerocopy v0.8.38 [INFO] [stderr] Downloaded sqlx-mysql v0.8.6 [INFO] [stderr] Downloaded postgres-openssl v0.5.2 [INFO] [stderr] Downloaded sqlx-macros v0.8.6 [INFO] [stderr] Downloaded phf v0.13.1 [INFO] [stderr] Downloaded openssl-src v300.5.5+3.5.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab671b0c7696449f8ee2423f231b60a40f11c8d23ab5c2a52e9f62a41398f3e0 [INFO] running `Command { std: "docker" "start" "-a" "ab671b0c7696449f8ee2423f231b60a40f11c8d23ab5c2a52e9f62a41398f3e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab671b0c7696449f8ee2423f231b60a40f11c8d23ab5c2a52e9f62a41398f3e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab671b0c7696449f8ee2423f231b60a40f11c8d23ab5c2a52e9f62a41398f3e0", kill_on_drop: false }` [INFO] [stdout] ab671b0c7696449f8ee2423f231b60a40f11c8d23ab5c2a52e9f62a41398f3e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+f8463896a9b36a04899c013bd8825a7fd29dd7a4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e22ebf05f3b1f41ec22c5e605da6b6d2c8864a316b70e599e38b2f9ce8fcdc4c [INFO] running `Command { std: "docker" "start" "-a" "e22ebf05f3b1f41ec22c5e605da6b6d2c8864a316b70e599e38b2f9ce8fcdc4c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Checking bytes v1.11.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking log v0.4.29 [INFO] [stderr] Compiling zmij v1.0.19 [INFO] [stderr] Compiling zerocopy v0.8.38 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Checking indexmap v2.13.0 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling cc v1.2.55 [INFO] [stderr] Compiling openssl v0.10.75 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking chrono v0.4.43 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Checking unicode-properties v0.1.4 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling openssl-src v300.5.5+3.5.5 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Checking siphasher v1.0.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Checking regex-syntax v0.8.9 [INFO] [stderr] Compiling openssl-sys v0.9.111 [INFO] [stderr] Compiling aws-lc-sys v0.37.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Checking deranged v0.5.5 [INFO] [stderr] Checking phf_shared v0.13.1 [INFO] [stderr] Compiling time-macros v0.2.26 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking uuid v1.20.0 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking atoi v2.0.0 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling tokio-openssl v0.6.5 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking phf v0.13.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking time v0.3.46 [INFO] [stderr] Checking whoami v2.1.0 [INFO] [stderr] Checking dotenvy v0.15.7 [INFO] [stderr] Checking clap_builder v4.5.57 [INFO] [stderr] Checking dirs-sys v0.5.0 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking dirs v6.0.0 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking cookie v0.18.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking postgres-protocol v0.6.10 [INFO] [stderr] Checking postgres-types v0.2.12 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Checking clap v4.5.57 [INFO] [stderr] Checking icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [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 askama_parser v0.15.4 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Compiling basic-toml v0.1.10 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Compiling askama_derive v0.15.4 [INFO] [stderr] Compiling aws-lc-rs v1.15.4 [INFO] [stderr] Compiling rustls v0.23.36 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking tokio-postgres v0.7.16 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Checking rustls-webpki v0.103.9 [INFO] [stderr] Compiling askama_macros v0.15.4 [INFO] [stderr] Checking askama v0.15.4 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking rustls-platform-verifier v0.6.2 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking hyper-rustls v0.27.7 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking reqwest v0.13.1 [INFO] [stderr] Checking axum-extra v0.12.5 [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: 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 42s [INFO] running `Command { std: "docker" "inspect" "e22ebf05f3b1f41ec22c5e605da6b6d2c8864a316b70e599e38b2f9ce8fcdc4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e22ebf05f3b1f41ec22c5e605da6b6d2c8864a316b70e599e38b2f9ce8fcdc4c", kill_on_drop: false }` [INFO] [stdout] e22ebf05f3b1f41ec22c5e605da6b6d2c8864a316b70e599e38b2f9ce8fcdc4c