[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 beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fccakes%2Fpatroni_exporter" "/workspace/builds/worker-113/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-113/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ccakes/patroni_exporter on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-113/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-113/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rand_xoshiro v0.4.0 [INFO] [stderr] Downloaded bitmaps v2.1.0 [INFO] [stderr] Downloaded protobuf v2.8.1 [INFO] [stderr] Downloaded debugid v0.7.2 [INFO] [stderr] Downloaded sized-chunks v0.5.3 [INFO] [stderr] Downloaded libflate v1.0.2 [INFO] [stderr] Downloaded im v14.3.0 [INFO] [stderr] Downloaded sentry v0.18.1 [INFO] [stderr] Downloaded tracing-subscriber v0.2.7 [INFO] [stderr] Downloaded sentry-types v0.14.1 [INFO] [stderr] Downloaded findshlibs v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebff2ab7f8cd610049b9f32508645b07f07b59c78c538baad278dc22fcbdc649 [INFO] running `Command { std: "docker" "start" "-a" "ebff2ab7f8cd610049b9f32508645b07f07b59c78c538baad278dc22fcbdc649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebff2ab7f8cd610049b9f32508645b07f07b59c78c538baad278dc22fcbdc649", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebff2ab7f8cd610049b9f32508645b07f07b59c78c538baad278dc22fcbdc649", kill_on_drop: false }` [INFO] [stdout] ebff2ab7f8cd610049b9f32508645b07f07b59c78c538baad278dc22fcbdc649 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c23238dbaa6fdb649808ccf1b6c383375ce9906e4c77e2518e51e0cc8bff5fff [INFO] running `Command { std: "docker" "start" "-a" "c23238dbaa6fdb649808ccf1b6c383375ce9906e4c77e2518e51e0cc8bff5fff", 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 log v0.4.8 [INFO] [stderr] Compiling serde v1.0.114 [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 pin-project-internal v0.4.22 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling smallvec v0.6.12 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling arc-swap v0.4.3 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling protobuf v2.8.1 [INFO] [stderr] Compiling unicode-segmentation v1.5.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling libflate_lz77 v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling prometheus v0.9.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling try-lock v0.2.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 futures-channel v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [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 sharded-slab v0.0.9 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling http v0.2.1 [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 want v0.3.0 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling libflate v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling sentry v0.18.1 [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 hostname v0.3.1 [INFO] [stderr] Compiling findshlibs v0.7.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling uname v0.1.1 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling procfs v0.7.9 [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 http-body v0.3.1 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling matchers v0.0.1 [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 tracing v0.1.10 [INFO] [stderr] Compiling thiserror v1.0.20 [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 30.35s [INFO] running `Command { std: "docker" "inspect" "c23238dbaa6fdb649808ccf1b6c383375ce9906e4c77e2518e51e0cc8bff5fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c23238dbaa6fdb649808ccf1b6c383375ce9906e4c77e2518e51e0cc8bff5fff", kill_on_drop: false }` [INFO] [stdout] c23238dbaa6fdb649808ccf1b6c383375ce9906e4c77e2518e51e0cc8bff5fff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a37b3d09acd21aeca2b552db78ec702286b5c74c244414c469c7ebb6cd9b4f3d [INFO] running `Command { std: "docker" "start" "-a" "a37b3d09acd21aeca2b552db78ec702286b5c74c244414c469c7ebb6cd9b4f3d", 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] [stderr] Compiling patroni-exporter v0.3.0 (/opt/rustwide/workdir) [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 test [unoptimized + debuginfo] target(s) in 3.25s [INFO] running `Command { std: "docker" "inspect" "a37b3d09acd21aeca2b552db78ec702286b5c74c244414c469c7ebb6cd9b4f3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a37b3d09acd21aeca2b552db78ec702286b5c74c244414c469c7ebb6cd9b4f3d", kill_on_drop: false }` [INFO] [stdout] a37b3d09acd21aeca2b552db78ec702286b5c74c244414c469c7ebb6cd9b4f3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-113/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bfa3a39ead71a80d4b07f052f6f7cce86ad236c8def36a70ed5b1c8d4ce5b96d [INFO] running `Command { std: "docker" "start" "-a" "bfa3a39ead71a80d4b07f052f6f7cce86ad236c8def36a70ed5b1c8d4ce5b96d", 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] [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 1.75s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/patroni_exporter-2b70bfce624b82fd) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/patroni_exporter-a52f9fe89d4cc3b1) [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] [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" "bfa3a39ead71a80d4b07f052f6f7cce86ad236c8def36a70ed5b1c8d4ce5b96d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfa3a39ead71a80d4b07f052f6f7cce86ad236c8def36a70ed5b1c8d4ce5b96d", kill_on_drop: false }` [INFO] [stdout] bfa3a39ead71a80d4b07f052f6f7cce86ad236c8def36a70ed5b1c8d4ce5b96d