substrate-prometheus-endpoint 0.8.1

Endpoint to expose Prometheus metrics
Documentation
Build #336064 2021-01-11T15:09:09.664847+00:00
# rustc version
rustc 1.51.0-nightly (c97f11af7 2021-01-10)# docs.rs version
docsrs 0.6.0 (505a375 2021-01-11)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace/builds/substrate-prometheus-endpoint-0.8.1/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace/builds/substrate-prometheus-endpoint-0.8.1/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--cpus" "2" "--user" "1001:1001" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs\"" "-j2" "--" "-Z" "unstable-options" "--resource-suffix" "-20210110-1.51.0-nightly-c97f11af7" "--static-root-path" "/" "--cap-lints" "warn" "--disable-per-crate-search", kill_on_drop: false }`
[INFO] [stdout] 94a268b9245cd258f613a1d4292e4349b618a92fa03af6dcbe77eb932514cdb7
[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" "94a268b9245cd258f613a1d4292e4349b618a92fa03af6dcbe77eb932514cdb7", kill_on_drop: false }`
[INFO] [stderr] /opt/crates-build-env/entrypoint.sh: line 7: /etc/hosts: Permission denied
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking futures-core v0.3.9
[INFO] [stderr]    Compiling log v0.4.13
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.58
[INFO] [stderr]     Checking pin-project-lite v0.2.4
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking once_cell v1.5.2
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking futures-io v0.3.9
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]     Checking cache-padded v1.1.1
[INFO] [stderr]     Checking waker-fn v1.1.0
[INFO] [stderr]     Checking parking v2.0.0
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]     Checking fastrand v1.4.0
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking event-listener v2.5.1
[INFO] [stderr]     Checking vec-arena v1.0.0
[INFO] [stderr]     Checking itoa v0.4.7
[INFO] [stderr]     Checking pin-project-lite v0.1.11
[INFO] [stderr]     Checking bytes v1.0.0
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking async-task v4.0.3
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking futures-sink v0.3.9
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking smallvec v1.6.1
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]     Checking atomic-waker v1.0.0
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking regex-syntax v0.6.22
[INFO] [stderr]    Compiling prometheus v0.10.0
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking tower-service v0.3.0
[INFO] [stderr]     Checking futures-channel v0.3.9
[INFO] [stderr]     Checking tracing-core v0.1.17
[INFO] [stderr]     Checking thread_local v1.1.0
[INFO] [stderr]     Checking futures-task v0.3.9
[INFO] [stderr]     Checking instant v0.1.9
[INFO] [stderr]     Checking concurrent-queue v1.2.2
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.1
[INFO] [stderr]     Checking async-mutex v1.4.0
[INFO] [stderr]     Checking http v0.2.3
[INFO] [stderr]     Checking lock_api v0.4.2
[INFO] [stderr]     Checking async-channel v1.5.1
[INFO] [stderr]     Checking futures-lite v1.11.3
[INFO] [stderr]     Checking tokio v0.2.24
[INFO] [stderr]     Checking futures-util v0.3.9
[INFO] [stderr]     Checking aho-corasick v0.7.15
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking tracing v0.1.22
[INFO] [stderr]     Checking kv-log-macro v1.0.7
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking polling v2.0.2
[INFO] [stderr]     Checking nb-connect v1.0.2
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking parking_lot_core v0.8.2
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking async-executor v1.4.0
[INFO] [stderr]     Checking blocking v1.0.2
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking regex v1.4.3
[INFO] [stderr]     Checking async-io v1.3.1
[INFO] [stderr]     Checking signal-hook v0.1.17
[INFO] [stderr]     Checking parking_lot v0.11.1
[INFO] [stderr]     Checking async-global-executor v1.4.3
[INFO] [stderr]     Checking async-process v1.0.1
[INFO] [stderr]     Checking async-std v1.8.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.23
[INFO] [stderr]    Compiling pin-project-internal v1.0.4
[INFO] [stderr]    Compiling derive_more v0.99.11
[INFO] [stderr]     Checking thiserror v1.0.23
[INFO] [stderr]     Checking pin-project v0.4.27
[INFO] [stderr]     Checking pin-project v1.0.4
[INFO] [stderr]     Checking tracing-futures v0.2.4
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking hyper v0.13.9
[INFO] [stderr]  Documenting substrate-prometheus-endpoint v0.8.1 (/opt/rustwide/workdir)
[INFO] [stderr] warning: public documentation for `MetricSource` links to private item `SourcedMetric`
[INFO] [stderr]   --> src/sourced.rs:50:31
[INFO] [stderr]    |
[INFO] [stderr] 50 | /// A source of values for a [`SourcedMetric`].
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(private_intra_doc_links)]` on by default
[INFO] [stderr]    = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: public documentation for `MetricSource` links to private item `SourcedMetric`
[INFO] [stderr]   --> src/sourced.rs:50:31
[INFO] [stderr]    |
[INFO] [stderr] 50 | /// A source of values for a [`SourcedMetric`].
[INFO] [stderr]    |                               ^^^^^^^^^^^^^^^ this item is private
[INFO] [stderr]    |
[INFO] [stderr]    = note: this link will resolve properly if you pass `--document-private-items`
[INFO] [stderr] 
[INFO] [stderr] warning: 2 warnings emitted
[INFO] [stderr] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 56.25s
[INFO] running `Command { std: "docker" "inspect" "94a268b9245cd258f613a1d4292e4349b618a92fa03af6dcbe77eb932514cdb7", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94a268b9245cd258f613a1d4292e4349b618a92fa03af6dcbe77eb932514cdb7", kill_on_drop: false }`
[INFO] [stdout] 94a268b9245cd258f613a1d4292e4349b618a92fa03af6dcbe77eb932514cdb7