[INFO] fetching crate patroni-exporter 0.2.0... [INFO] testing patroni-exporter-0.2.0 against try#c3758fdc4730d7700b25a13cccff296a08f42c00 for pr-91743 [INFO] extracting crate patroni-exporter 0.2.0 into /workspace/builds/worker-91/source [INFO] validating manifest of crates.io crate patroni-exporter 0.2.0 on toolchain c3758fdc4730d7700b25a13cccff296a08f42c00 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-91/source/rust-toolchain [INFO] started tweaking crates.io crate patroni-exporter 0.2.0 [INFO] finished tweaking crates.io crate patroni-exporter 0.2.0 [INFO] tweaked toml for crates.io crate patroni-exporter 0.2.0 written to /workspace/builds/worker-91/source/Cargo.toml [INFO] crate crates.io crate patroni-exporter 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d70fbf685f80778310c721b4594da7f7824cc1410b341809a8135b66ba7e0058 [INFO] running `Command { std: "docker" "start" "-a" "d70fbf685f80778310c721b4594da7f7824cc1410b341809a8135b66ba7e0058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d70fbf685f80778310c721b4594da7f7824cc1410b341809a8135b66ba7e0058", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d70fbf685f80778310c721b4594da7f7824cc1410b341809a8135b66ba7e0058", kill_on_drop: false }` [INFO] [stdout] d70fbf685f80778310c721b4594da7f7824cc1410b341809a8135b66ba7e0058 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e5beca3a6f88fbb561d07a1a427094851c6af24fb319907ba2ea833154bb3c5a [INFO] running `Command { std: "docker" "start" "-a" "e5beca3a6f88fbb561d07a1a427094851c6af24fb319907ba2ea833154bb3c5a", kill_on_drop: false }` [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] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling smallvec v0.6.12 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling arc-swap v0.4.3 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling protobuf v2.8.1 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.5.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling libflate_lz77 v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling prometheus v0.9.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tracing-core v0.1.7 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling sharded-slab v0.0.9 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling libflate v1.0.2 [INFO] [stderr] Compiling im v14.3.0 [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 aho-corasick v0.7.6 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling signal-hook-registry v1.1.1 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling uname v0.1.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling findshlibs v0.7.0 [INFO] [stderr] Compiling sentry v0.18.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_xoshiro v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling procfs v0.7.9 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling 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] Compiling tokio v0.2.21 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling tracing v0.1.10 [INFO] [stderr] Compiling structopt v0.3.3 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling tracing-serde v0.1.1 [INFO] [stderr] Compiling debugid v0.7.2 [INFO] [stderr] Compiling sentry-types v0.14.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.7 [INFO] [stderr] Compiling patroni-exporter v0.2.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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | 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:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[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:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | 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:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[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:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | 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:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[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:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn status(&self) -> String { self.state.to_string() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_master` [INFO] [stdout] --> src/patroni.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn is_master(&self) -> bool { self.role == PatroniRole::Master } [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 45.03s [INFO] running `Command { std: "docker" "inspect" "e5beca3a6f88fbb561d07a1a427094851c6af24fb319907ba2ea833154bb3c5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5beca3a6f88fbb561d07a1a427094851c6af24fb319907ba2ea833154bb3c5a", kill_on_drop: false }` [INFO] [stdout] e5beca3a6f88fbb561d07a1a427094851c6af24fb319907ba2ea833154bb3c5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f311aa35af527d6b3ac69a95800d325ee795a957b95f1a688cd3e5b595a0b40b [INFO] running `Command { std: "docker" "start" "-a" "f311aa35af527d6b3ac69a95800d325ee795a957b95f1a688cd3e5b595a0b40b", 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] Blocking waiting for file lock on package cache [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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | 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:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[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:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | 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:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[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] [stderr] Compiling patroni-exporter v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `xlog` [INFO] [stdout] --> src/patroni.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | 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:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[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:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn status(&self) -> String { self.state.to_string() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_master` [INFO] [stdout] --> src/patroni.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn is_master(&self) -> bool { self.role == PatroniRole::Master } [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:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | 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:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | #[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:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | 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:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | #[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:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | 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:49:10 [INFO] [stdout] | [INFO] [stdout] 49 | #[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:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | 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:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[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:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | 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:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | #[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:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn status(&self) -> String { self.state.to_string() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_master` [INFO] [stdout] --> src/patroni.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn is_master(&self) -> bool { self.role == PatroniRole::Master } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.10s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/patroni_exporter-9532d74e8754e2da) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/patroni_exporter-91517973adc50a31) [INFO] running `Command { std: "docker" "inspect" "f311aa35af527d6b3ac69a95800d325ee795a957b95f1a688cd3e5b595a0b40b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f311aa35af527d6b3ac69a95800d325ee795a957b95f1a688cd3e5b595a0b40b", kill_on_drop: false }` [INFO] [stdout] f311aa35af527d6b3ac69a95800d325ee795a957b95f1a688cd3e5b595a0b40b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-91/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+c3758fdc4730d7700b25a13cccff296a08f42c00" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] df729deb949c8adf9938a964cb3dd40a3c1c4235bba05f738d4e1cbd1c8700ac [INFO] running `Command { std: "docker" "start" "-a" "df729deb949c8adf9938a964cb3dd40a3c1c4235bba05f738d4e1cbd1c8700ac", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `id` [INFO] [stderr] --> src/consul.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | id: Uuid, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `ConsulService` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/consul.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `datacenter` [INFO] [stderr] --> src/consul.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | datacenter: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ConsulService` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/consul.rs:10:10 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `token` [INFO] [stderr] --> src/consul.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | token: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `ConsulClient` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/consul.rs:22:10 [INFO] [stderr] | [INFO] [stderr] 22 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `usename` [INFO] [stderr] --> src/patroni.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | usename: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PatroniReplConn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/patroni.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `client_addr` [INFO] [stderr] --> src/patroni.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | client_addr: IpAddr, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PatroniReplConn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/patroni.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `state` [INFO] [stderr] --> src/patroni.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 45 | state: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PatroniReplConn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/patroni.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `sync_state` [INFO] [stderr] --> src/patroni.rs:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | sync_state: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PatroniReplConn` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/patroni.rs:41:10 [INFO] [stderr] | [INFO] [stderr] 41 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `scope` [INFO] [stderr] --> src/patroni.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | scope: String, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PatroniInfo` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/patroni.rs:49:10 [INFO] [stderr] | [INFO] [stderr] 49 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `cluster_unlocked` [INFO] [stderr] --> src/patroni.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 62 | cluster_unlocked: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PatroniStatus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/patroni.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `xlog` [INFO] [stderr] --> src/patroni.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | xlog: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `PatroniStatus` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/patroni.rs:55:10 [INFO] [stderr] | [INFO] [stderr] 55 | #[derive(Clone, Debug, Deserialize)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `status` [INFO] [stderr] --> src/patroni.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn status(&self) -> String { self.state.to_string() } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_master` [INFO] [stderr] --> src/patroni.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn is_master(&self) -> bool { self.role == PatroniRole::Master } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `patroni-exporter` (lib) generated 12 warnings [INFO] [stderr] warning: `patroni-exporter` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/patroni_exporter-9532d74e8754e2da) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/patroni_exporter-91517973adc50a31) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests patroni-exporter [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "df729deb949c8adf9938a964cb3dd40a3c1c4235bba05f738d4e1cbd1c8700ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df729deb949c8adf9938a964cb3dd40a3c1c4235bba05f738d4e1cbd1c8700ac", kill_on_drop: false }` [INFO] [stdout] df729deb949c8adf9938a964cb3dd40a3c1c4235bba05f738d4e1cbd1c8700ac