[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] testing ccakes/patroni_exporter against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fccakes%2Fpatroni_exporter" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ccakes/patroni_exporter on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-20/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-20/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" "+1.60.0" "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 structopt-derive v0.3.3 [INFO] [stderr] Downloaded sentry v0.18.1 [INFO] [stderr] Downloaded sentry-types v0.14.1 [INFO] [stderr] Downloaded im v14.3.0 [INFO] [stderr] Downloaded findshlibs v0.7.0 [INFO] [stderr] Downloaded structopt v0.3.3 [INFO] [stderr] Downloaded libflate v1.0.2 [INFO] [stderr] Downloaded sized-chunks v0.5.3 [INFO] [stderr] Downloaded tracing-subscriber v0.2.7 [INFO] [stderr] Downloaded unicode-segmentation v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] be05fad718acc36ff5c12c79181e8e6ed08530e753e7ae9f58e9120e4b5b216b [INFO] running `Command { std: "docker" "start" "-a" "be05fad718acc36ff5c12c79181e8e6ed08530e753e7ae9f58e9120e4b5b216b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "be05fad718acc36ff5c12c79181e8e6ed08530e753e7ae9f58e9120e4b5b216b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be05fad718acc36ff5c12c79181e8e6ed08530e753e7ae9f58e9120e4b5b216b", kill_on_drop: false }` [INFO] [stdout] be05fad718acc36ff5c12c79181e8e6ed08530e753e7ae9f58e9120e4b5b216b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb6d0b1821c029386e38e594f5531b8f61340d651880e880aef3d5a5d7a5da02 [INFO] running `Command { std: "docker" "start" "-a" "cb6d0b1821c029386e38e594f5531b8f61340d651880e880aef3d5a5d7a5da02", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling smallvec v0.6.12 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling arc-swap v0.4.3 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling protobuf v2.8.1 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-segmentation v1.5.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling libflate_lz77 v1.0.0 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling prometheus v0.9.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling lazy_static v1.4.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 addr2line v0.13.0 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling im v14.3.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling sentry v0.18.1 [INFO] [stderr] Compiling tracing-core v0.1.7 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling sharded-slab v0.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling libflate v1.0.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling getrandom v0.1.14 [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 backtrace v0.3.50 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling uname v0.1.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling findshlibs v0.7.0 [INFO] [stderr] Compiling procfs v0.7.9 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand_core v0.5.1 [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 matchers v0.0.1 [INFO] [stderr] Compiling mio-uds v0.6.7 [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 structopt-derive v0.3.3 [INFO] [stderr] Compiling tracing-attributes v0.1.5 [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.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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.18s [INFO] running `Command { std: "docker" "inspect" "cb6d0b1821c029386e38e594f5531b8f61340d651880e880aef3d5a5d7a5da02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb6d0b1821c029386e38e594f5531b8f61340d651880e880aef3d5a5d7a5da02", kill_on_drop: false }` [INFO] [stdout] cb6d0b1821c029386e38e594f5531b8f61340d651880e880aef3d5a5d7a5da02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3b17fb0d4b0234f3c0cfa96f7a9fbabf4c8f89b63f0e63a8c3d2db5ebfcc1ca0 [INFO] running `Command { std: "docker" "start" "-a" "3b17fb0d4b0234f3c0cfa96f7a9fbabf4c8f89b63f0e63a8c3d2db5ebfcc1ca0", kill_on_drop: false }` [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: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] [stderr] Compiling patroni-exporter v0.3.0 (/opt/rustwide/workdir) [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 test [unoptimized + debuginfo] target(s) in 2.58s [INFO] running `Command { std: "docker" "inspect" "3b17fb0d4b0234f3c0cfa96f7a9fbabf4c8f89b63f0e63a8c3d2db5ebfcc1ca0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b17fb0d4b0234f3c0cfa96f7a9fbabf4c8f89b63f0e63a8c3d2db5ebfcc1ca0", kill_on_drop: false }` [INFO] [stdout] 3b17fb0d4b0234f3c0cfa96f7a9fbabf4c8f89b63f0e63a8c3d2db5ebfcc1ca0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 69a643965ff111ad826b4c1bf3721b6423d1c9def84daee73b1b2dccd8ed4562 [INFO] running `Command { std: "docker" "start" "-a" "69a643965ff111ad826b4c1bf3721b6423d1c9def84daee73b1b2dccd8ed4562", 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:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | 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:21:10 [INFO] [stderr] | [INFO] [stderr] 21 | #[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:46:5 [INFO] [stderr] | [INFO] [stderr] 46 | 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:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[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:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | 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:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[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:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | 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:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[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:49:5 [INFO] [stderr] | [INFO] [stderr] 49 | 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:44:10 [INFO] [stderr] | [INFO] [stderr] 44 | #[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:55:5 [INFO] [stderr] | [INFO] [stderr] 55 | 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:52:10 [INFO] [stderr] | [INFO] [stderr] 52 | #[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:65:5 [INFO] [stderr] | [INFO] [stderr] 65 | 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:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[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:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | 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:58:10 [INFO] [stderr] | [INFO] [stderr] 58 | #[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:82:12 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn status(&self) -> String { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_master` [INFO] [stderr] --> src/patroni.rs:88:12 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn is_master(&self) -> bool { [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 0.11s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/patroni_exporter-657fe6629e5df60c) [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] [stderr] Running unittests (/opt/rustwide/target/debug/deps/patroni_exporter-ca9d24ff56cc07ad) [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] [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] running `Command { std: "docker" "inspect" "69a643965ff111ad826b4c1bf3721b6423d1c9def84daee73b1b2dccd8ed4562", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69a643965ff111ad826b4c1bf3721b6423d1c9def84daee73b1b2dccd8ed4562", kill_on_drop: false }` [INFO] [stdout] 69a643965ff111ad826b4c1bf3721b6423d1c9def84daee73b1b2dccd8ed4562