[INFO] fetching crate patroni-exporter 0.2.0... [INFO] testing patroni-exporter-0.2.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate patroni-exporter 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate patroni-exporter 0.2.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/rust-toolchain [INFO] started tweaking crates.io crate patroni-exporter 0.2.0 [INFO] finished tweaking crates.io crate patroni-exporter 0.2.0 [INFO] tweaked toml for crates.io crate patroni-exporter 0.2.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate patroni-exporter 0.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f96205bb1ff544445c626cfe4408f752ea1539c39caae48b984856e70ee9bb41 [INFO] running `Command { std: "docker" "start" "-a" "f96205bb1ff544445c626cfe4408f752ea1539c39caae48b984856e70ee9bb41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f96205bb1ff544445c626cfe4408f752ea1539c39caae48b984856e70ee9bb41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f96205bb1ff544445c626cfe4408f752ea1539c39caae48b984856e70ee9bb41", kill_on_drop: false }` [INFO] [stdout] f96205bb1ff544445c626cfe4408f752ea1539c39caae48b984856e70ee9bb41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa14c319b9c78e314287ac5ea029b2474838ccf76cdc00717d2fb71357014717 [INFO] running `Command { std: "docker" "start" "-a" "fa14c319b9c78e314287ac5ea029b2474838ccf76cdc00717d2fb71357014717", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.72 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [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 serde_derive v1.0.114 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling smallvec v0.6.12 [INFO] [stderr] Compiling matches v0.1.8 [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 regex-syntax v0.6.18 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling unicode-segmentation v1.5.0 [INFO] [stderr] Compiling libflate_lz77 v1.0.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling adler32 v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling protobuf v2.8.1 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling prometheus v0.9.0 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling smallvec v1.4.1 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling heck v0.3.1 [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 want v0.3.0 [INFO] [stderr] Compiling libflate v1.0.2 [INFO] [stderr] Compiling tracing-log v0.1.1 [INFO] [stderr] Compiling im v14.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling bitmaps v2.1.0 [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 atty v0.2.13 [INFO] [stderr] Compiling findshlibs v0.7.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling uname v0.1.1 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling procfs v0.7.9 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling backtrace v0.3.50 [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 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 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 chrono v0.4.13 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling tracing-serde v0.1.1 [INFO] [stderr] Compiling debugid v0.7.2 [INFO] [stderr] Compiling sentry-types v0.14.1 [INFO] [stderr] Compiling tracing-subscriber v0.2.7 [INFO] [stderr] Compiling patroni-exporter v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/patroni.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn status(&self) -> String { self.state.to_string() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn is_master(&self) -> bool { self.role == PatroniRole::Master } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "fa14c319b9c78e314287ac5ea029b2474838ccf76cdc00717d2fb71357014717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa14c319b9c78e314287ac5ea029b2474838ccf76cdc00717d2fb71357014717", kill_on_drop: false }` [INFO] [stdout] fa14c319b9c78e314287ac5ea029b2474838ccf76cdc00717d2fb71357014717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 043c3d43322c90514ace728fe9afad81999e5c00deb1bb273220db9e7539b11e [INFO] running `Command { std: "docker" "start" "-a" "043c3d43322c90514ace728fe9afad81999e5c00deb1bb273220db9e7539b11e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/patroni.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn status(&self) -> String { self.state.to_string() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling patroni-exporter v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `is_master` [INFO] [stdout] --> src/patroni.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn is_master(&self) -> bool { self.role == PatroniRole::Master } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `status` [INFO] [stdout] --> src/patroni.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn status(&self) -> String { self.state.to_string() } [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = 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:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn is_master(&self) -> bool { self.role == PatroniRole::Master } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.79s [INFO] running `Command { std: "docker" "inspect" "043c3d43322c90514ace728fe9afad81999e5c00deb1bb273220db9e7539b11e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "043c3d43322c90514ace728fe9afad81999e5c00deb1bb273220db9e7539b11e", kill_on_drop: false }` [INFO] [stdout] 043c3d43322c90514ace728fe9afad81999e5c00deb1bb273220db9e7539b11e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0015d20240e70ca44b07bef687f6f6c5984c87364efce7ab29f173db5f5d404b [INFO] running `Command { std: "docker" "start" "-a" "0015d20240e70ca44b07bef687f6f6c5984c87364efce7ab29f173db5f5d404b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: associated function is never used: `status` [INFO] [stderr] --> src/patroni.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn status(&self) -> String { self.state.to_string() } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_master` [INFO] [stderr] --> src/patroni.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn is_master(&self) -> bool { self.role == PatroniRole::Master } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `status` [INFO] [stderr] --> src/patroni.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn status(&self) -> String { self.state.to_string() } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `is_master` [INFO] [stderr] --> src/patroni.rs:77:12 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn is_master(&self) -> bool { self.role == PatroniRole::Master } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/patroni_exporter-99ccae00393ddf66) [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-2664f90be2c76c0b) [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" "0015d20240e70ca44b07bef687f6f6c5984c87364efce7ab29f173db5f5d404b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0015d20240e70ca44b07bef687f6f6c5984c87364efce7ab29f173db5f5d404b", kill_on_drop: false }` [INFO] [stdout] 0015d20240e70ca44b07bef687f6f6c5984c87364efce7ab29f173db5f5d404b