[INFO] cloning repository https://github.com/ccakes/patroni_exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ccakes/patroni_exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fccakes%2Fpatroni_exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fccakes%2Fpatroni_exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da0c8750192dc2cc649a0f2bb7027683bcb9d284 [INFO] checking ccakes/patroni_exporter against master#df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e for pr-95474 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fccakes%2Fpatroni_exporter" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ccakes/patroni_exporter on toolchain df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/rust-toolchain [INFO] started tweaking git repo https://github.com/ccakes/patroni_exporter [INFO] finished tweaking git repo https://github.com/ccakes/patroni_exporter [INFO] tweaked toml for git repo https://github.com/ccakes/patroni_exporter written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/ccakes/patroni_exporter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v0.6.12 [INFO] [stderr] Downloaded libflate v1.0.2 [INFO] [stderr] Downloaded findshlibs v0.7.0 [INFO] [stderr] Downloaded sentry-types v0.14.1 [INFO] [stderr] Downloaded sentry v0.18.1 [INFO] [stderr] Downloaded im v14.3.0 [INFO] [stderr] Downloaded protobuf v2.8.1 [INFO] [stderr] Downloaded unicode-segmentation v1.5.0 [INFO] [stderr] Downloaded sized-chunks v0.5.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17ecb770f1118cd29440fa225d5794aceae021eb1bd9f8df41b1089b5ba4ac4b [INFO] running `Command { std: "docker" "start" "-a" "17ecb770f1118cd29440fa225d5794aceae021eb1bd9f8df41b1089b5ba4ac4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17ecb770f1118cd29440fa225d5794aceae021eb1bd9f8df41b1089b5ba4ac4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17ecb770f1118cd29440fa225d5794aceae021eb1bd9f8df41b1089b5ba4ac4b", kill_on_drop: false }` [INFO] [stdout] 17ecb770f1118cd29440fa225d5794aceae021eb1bd9f8df41b1089b5ba4ac4b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+df20355fa9fa5e9fb89be4e4bfee8a643bb7a23e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e69c68ae0298278466da3438fbd530064fec1a58d2739b207e82697bd2ee0552 [INFO] running `Command { std: "docker" "start" "-a" "e69c68ae0298278466da3438fbd530064fec1a58d2739b207e82697bd2ee0552", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Checking bytes v0.5.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking ppv-lite86 v0.2.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking futures-core v0.3.5 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking arc-swap v0.4.3 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking gimli v0.22.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking smallvec v0.6.12 [INFO] [stderr] Checking regex-syntax v0.6.18 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.20.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking pin-project-lite v0.1.7 [INFO] [stderr] Checking futures-sink v0.3.5 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling unicode-segmentation v1.5.0 [INFO] [stderr] Checking libflate_lz77 v1.0.0 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling protobuf v2.8.1 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Compiling prometheus v0.9.0 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking smallvec v1.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking futures-channel v0.3.5 [INFO] [stderr] Checking miniz_oxide v0.4.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing-core v0.1.7 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking sharded-slab v0.0.9 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling im v14.3.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling sentry v0.18.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking signal-hook-registry v1.1.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking findshlibs v0.7.0 [INFO] [stderr] Checking uname v0.1.1 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking libflate v1.0.2 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking procfs v0.7.9 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking regex-automata v0.1.8 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking addr2line v0.13.0 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking backtrace v0.3.50 [INFO] [stderr] Checking sized-chunks v0.5.3 [INFO] [stderr] Compiling synstructure v0.12.1 [INFO] [stderr] Compiling proc-macro-error v0.2.6 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling tracing-attributes v0.1.5 [INFO] [stderr] Compiling structopt-derive v0.3.3 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking tracing v0.1.10 [INFO] [stderr] Checking thiserror v1.0.20 [INFO] [stderr] Checking structopt v0.3.3 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.5 [INFO] [stderr] Checking hyper v0.13.6 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking chrono v0.4.13 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking tracing-serde v0.1.1 [INFO] [stderr] Checking debugid v0.7.2 [INFO] [stderr] Checking tracing-subscriber v0.2.7 [INFO] [stderr] Checking sentry-types v0.14.1 [INFO] [stderr] Checking patroni-exporter v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/consul.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ConsulService` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/consul.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `datacenter` [INFO] [stdout] --> src/consul.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | datacenter: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConsulService` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/consul.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/consul.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConsulClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/consul.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `usename` [INFO] [stdout] --> src/patroni.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | usename: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniReplConn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_addr` [INFO] [stdout] --> src/patroni.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | client_addr: IpAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniReplConn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/patroni.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | state: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniReplConn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sync_state` [INFO] [stdout] --> src/patroni.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | sync_state: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniReplConn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scope` [INFO] [stdout] --> src/patroni.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | scope: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cluster_unlocked` [INFO] [stdout] --> src/patroni.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | cluster_unlocked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniStatus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `xlog` [INFO] [stdout] --> src/patroni.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | xlog: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniStatus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/patroni.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn status(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_master` [INFO] [stdout] --> src/patroni.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn is_master(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/consul.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | id: Uuid, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `ConsulService` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/consul.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `datacenter` [INFO] [stdout] --> src/consul.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | datacenter: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConsulService` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/consul.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/consul.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | token: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ConsulClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/consul.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `usename` [INFO] [stdout] --> src/patroni.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | usename: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniReplConn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_addr` [INFO] [stdout] --> src/patroni.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | client_addr: IpAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniReplConn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/patroni.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | state: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniReplConn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sync_state` [INFO] [stdout] --> src/patroni.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | sync_state: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniReplConn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scope` [INFO] [stdout] --> src/patroni.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | scope: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:52:10 [INFO] [stdout] | [INFO] [stdout] 52 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cluster_unlocked` [INFO] [stdout] --> src/patroni.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | cluster_unlocked: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniStatus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `xlog` [INFO] [stdout] --> src/patroni.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | xlog: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PatroniStatus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/patroni.rs:58:10 [INFO] [stdout] | [INFO] [stdout] 58 | #[derive(Clone, Debug, Deserialize)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/patroni.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn status(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_master` [INFO] [stdout] --> src/patroni.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn is_master(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "e69c68ae0298278466da3438fbd530064fec1a58d2739b207e82697bd2ee0552", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e69c68ae0298278466da3438fbd530064fec1a58d2739b207e82697bd2ee0552", kill_on_drop: false }` [INFO] [stdout] e69c68ae0298278466da3438fbd530064fec1a58d2739b207e82697bd2ee0552