[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] cf6125e1925d698eb3e318ecbc3a9ab3ca337d6c [INFO] checking ccakes/patroni_exporter against master#c919f490bbcd2b29b74016101f7ec71aaa24bdbb for pr-79073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fccakes%2Fpatroni_exporter" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ccakes/patroni_exporter on toolchain c919f490bbcd2b29b74016101f7ec71aaa24bdbb [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-8/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" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3f8f8fa7cbe0e68a3614317796165fc9395ad3f708ee8787f9db3e6408404a6d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3f8f8fa7cbe0e68a3614317796165fc9395ad3f708ee8787f9db3e6408404a6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3f8f8fa7cbe0e68a3614317796165fc9395ad3f708ee8787f9db3e6408404a6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3f8f8fa7cbe0e68a3614317796165fc9395ad3f708ee8787f9db3e6408404a6d", kill_on_drop: false }` [INFO] [stdout] 3f8f8fa7cbe0e68a3614317796165fc9395ad3f708ee8787f9db3e6408404a6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+c919f490bbcd2b29b74016101f7ec71aaa24bdbb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 358aab14d643ade81af0159d3bd794bcfa340ca6bb55da19c3ef17abfdf32836 [INFO] running `Command { std: "docker" "start" "-a" "358aab14d643ade81af0159d3bd794bcfa340ca6bb55da19c3ef17abfdf32836", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking rle-decode-fast v1.0.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling protobuf v2.18.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling prometheus v0.9.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking hex v0.4.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking tinyvec v1.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking sharded-slab v0.1.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking net2 v0.2.35 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking signal-hook-registry v1.2.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking findshlibs v0.7.0 [INFO] [stderr] Checking uname v0.1.1 [INFO] [stderr] Checking socket2 v0.3.17 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Checking libflate v1.0.3 [INFO] [stderr] Compiling sentry v0.18.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling im v14.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking tracing-log v0.1.1 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xoshiro v0.4.0 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Checking regex-automata v0.1.9 [INFO] [stderr] Checking procfs v0.7.9 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking matchers v0.0.1 [INFO] [stderr] Checking sized-chunks v0.5.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling structopt-derive v0.4.13 [INFO] [stderr] Checking tokio v0.2.23 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking structopt v0.3.20 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking serde v1.0.117 [INFO] [stderr] Checking uuid v0.8.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking tracing-serde v0.1.2 [INFO] [stderr] Checking debugid v0.7.2 [INFO] [stderr] Checking hyper v0.13.9 [INFO] [stderr] Checking sentry-types v0.14.1 [INFO] [stderr] Checking tracing-subscriber v0.2.15 [INFO] [stderr] Checking patroni-exporter v0.2.2 (/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] = note: `#[warn(dead_code)]` on by default [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: 2 warnings emitted [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] = note: `#[warn(dead_code)]` on by default [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 46s [INFO] running `Command { std: "docker" "inspect" "358aab14d643ade81af0159d3bd794bcfa340ca6bb55da19c3ef17abfdf32836", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "358aab14d643ade81af0159d3bd794bcfa340ca6bb55da19c3ef17abfdf32836", kill_on_drop: false }` [INFO] [stdout] 358aab14d643ade81af0159d3bd794bcfa340ca6bb55da19c3ef17abfdf32836