>>> prometheus-wireguard-exporter: Building community/prometheus-wireguard-exporter 3.6.3-r0 (using abuild 3.10.0_rc1-r2) started Wed, 02 Nov 2022 06:20:06 +0000 >>> prometheus-wireguard-exporter: Checking sanity of /home/buildozer/aports/community/prometheus-wireguard-exporter/APKBUILD... >>> prometheus-wireguard-exporter: Analyzing dependencies... >>> prometheus-wireguard-exporter: Installing for build: build-base cargo (1/8) Installing rust-stdlib (1.64.0-r2) (2/8) Installing libffi (3.4.4-r0) (3/8) Installing xz-libs (5.2.7-r0) (4/8) Installing libxml2 (2.10.3-r1) (5/8) Installing llvm15-libs (15.0.3-r1) (6/8) Installing rust (1.64.0-r2) (7/8) Installing cargo (1.64.0-r2) (8/8) Installing .makedepends-prometheus-wireguard-exporter (20221102.062012) Executing busybox-1.35.0-r27.trigger OK: 1086 MiB in 100 packages >>> prometheus-wireguard-exporter: Cleaning up srcdir >>> prometheus-wireguard-exporter: Cleaning up pkgdir >>> prometheus-wireguard-exporter: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/prometheus_wireguard_exporter-3.6.3.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 232k 100 232k 0 0 1431k 0 --:--:-- --:--:-- --:--:-- 1428k >>> prometheus-wireguard-exporter: Fetching https://distfiles.alpinelinux.org/distfiles/v3.17/prometheus_wireguard_exporter-3.6.3.tar.gz >>> prometheus-wireguard-exporter: Checking sha512sums... prometheus_wireguard_exporter-3.6.3.tar.gz: OK prometheus-wireguard-exporter.initd: OK prometheus-wireguard-exporter.confd: OK >>> prometheus-wireguard-exporter: Unpacking /var/cache/distfiles/v3.17/prometheus_wireguard_exporter-3.6.3.tar.gz... Downloading crates ... Downloaded hyper v0.14.17 Downloaded clippy v0.0.302 Downloaded mio v0.8.1 Downloaded prometheus_exporter_base v1.3.0 Compiling autocfg v1.1.0 Compiling libc v0.2.119 Compiling proc-macro2 v1.0.36 Compiling log v0.4.14 Compiling unicode-xid v0.2.2 Compiling cfg-if v1.0.0 Compiling syn v1.0.86 Compiling cc v1.0.73 Compiling spin v0.5.2 Compiling untrusted v0.7.1 Compiling memchr v2.4.1 Compiling once_cell v1.10.0 Compiling pin-project-lite v0.2.8 Compiling futures-core v0.3.21 Compiling itoa v1.0.1 Compiling lazy_static v1.4.0 Compiling futures-task v0.3.21 Compiling bytes v1.1.0 Compiling base64 v0.13.0 Compiling futures-channel v0.3.21 Compiling fnv v1.0.7 Compiling httparse v1.6.0 Compiling futures-util v0.3.21 Compiling pin-utils v0.1.0 Compiling serde v1.0.136 Compiling slab v0.4.5 Compiling regex-syntax v0.6.25 Compiling try-lock v0.2.3 Compiling termcolor v1.1.3 Compiling openssl-probe v0.1.5 Compiling quick-error v1.2.3 Compiling httpdate v1.0.2 Compiling unicode-width v0.1.9 Compiling serde_json v1.0.79 Compiling bitflags v1.3.2 Compiling tower-service v0.3.1 Compiling vec_map v0.8.2 Compiling ryu v1.0.9 Compiling hashbrown v0.11.2 Compiling anyhow v1.0.56 Compiling ansi_term v0.12.1 Compiling strsim v0.8.0 Compiling humantime v2.1.0 Compiling textwrap v0.15.0 Compiling strsim v0.10.0 Compiling tracing-core v0.1.23 Compiling humantime v1.3.0 Compiling textwrap v0.11.0 Compiling http v0.2.6 Compiling want v0.3.0 Compiling num-traits v0.2.14 Compiling num-integer v0.1.44 Compiling num-bigint v0.2.6 Compiling num-iter v0.1.42 Compiling num-complex v0.2.4 Compiling num-rational v0.2.4 Compiling indexmap v1.8.0 Compiling aho-corasick v0.7.18 Compiling os_str_bytes v6.0.0 Compiling tracing v0.1.32 Compiling quote v1.0.15 Compiling ring v0.16.20 Compiling mio v0.8.1 Compiling socket2 v0.4.4 Compiling atty v0.2.14 Compiling clap v2.34.0 Compiling clap v3.1.6 Compiling regex v1.5.5 Compiling http-body v0.4.4 Compiling env_logger v0.7.1 Compiling env_logger v0.9.0 Compiling num v0.2.1 Compiling sct v0.6.1 Compiling webpki v0.21.4 Compiling ct-logs v0.8.0 Compiling rustls v0.19.1 Compiling tokio-macros v1.7.0 Compiling futures-macro v0.3.21 Compiling thiserror-impl v1.0.30 Compiling tokio v1.17.0 Compiling thiserror v1.0.30 Compiling rustls-native-certs v0.5.0 Compiling tokio-rustls v0.22.0 Compiling hyper v0.14.17 Compiling hyper-rustls v0.22.1 Compiling prometheus_exporter_base v1.3.0 Compiling prometheus_wireguard_exporter v3.6.3 (/home/buildozer/aports/community/prometheus-wireguard-exporter/src/prometheus_wireguard_exporter-3.6.3) warning: fields `public_key`, `private_key`, `local_port` and `persistent_keepalive` are never read --> src/wireguard.rs:39:9 | 38 | pub(crate) struct LocalEndpoint { | ------------- fields in this struct 39 | pub public_key: String, | ^^^^^^^^^^ 40 | pub private_key: SecureString, | ^^^^^^^^^^^ 41 | pub local_port: u16, | ^^^^^^^^^^ 42 | pub persistent_keepalive: bool, | ^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default = note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `persistent_keepalive` is never read --> src/wireguard.rs:54:9 | 46 | pub(crate) struct RemoteEndpoint { | -------------- field in this struct ... 54 | pub persistent_keepalive: bool, | ^^^^^^^^^^^^^^^^^^^^ | = note: `RemoteEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `allowed_ips` is never read --> src/wireguard_config.rs:11:9 | 9 | pub(crate) struct PeerEntry<'a> { | --------- field in this struct 10 | pub public_key: &'a str, 11 | pub allowed_ips: &'a str, | ^^^^^^^^^^^ | = note: `PeerEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: `prometheus_wireguard_exporter` (bin "prometheus_wireguard_exporter") generated 3 warnings Finished release [optimized] target(s) in 1m 22s warning: prometheus_wireguard_exporter v3.6.3 (/home/buildozer/aports/community/prometheus-wireguard-exporter/src/prometheus_wireguard_exporter-3.6.3) ignoring invalid dependency `clippy` which is missing a lib target Compiling autocfg v1.1.0 Compiling libc v0.2.119 Compiling proc-macro2 v1.0.36 Compiling cfg-if v1.0.0 Compiling log v0.4.14 Compiling unicode-xid v0.2.2 Compiling syn v1.0.86 Compiling cc v1.0.73 Compiling memchr v2.4.1 Compiling untrusted v0.7.1 Compiling spin v0.5.2 Compiling once_cell v1.10.0 Compiling pin-project-lite v0.2.8 Compiling futures-core v0.3.21 Compiling futures-task v0.3.21 Compiling itoa v1.0.1 Compiling lazy_static v1.4.0 Compiling httparse v1.6.0 Compiling futures-channel v0.3.21 Compiling base64 v0.13.0 Compiling fnv v1.0.7 Compiling futures-util v0.3.21 Compiling bytes v1.1.0 Compiling serde v1.0.136 Compiling pin-utils v0.1.0 Compiling regex-syntax v0.6.25 Compiling slab v0.4.5 Compiling termcolor v1.1.3 Compiling try-lock v0.2.3 Compiling openssl-probe v0.1.5 Compiling bitflags v1.3.2 Compiling tower-service v0.3.1 Compiling quick-error v1.2.3 Compiling httpdate v1.0.2 Compiling serde_json v1.0.79 Compiling unicode-width v0.1.9 Compiling vec_map v0.8.2 Compiling anyhow v1.0.56 Compiling ansi_term v0.12.1 Compiling ryu v1.0.9 Compiling strsim v0.8.0 Compiling hashbrown v0.11.2 Compiling textwrap v0.15.0 Compiling strsim v0.10.0 Compiling humantime v2.1.0 Compiling tracing-core v0.1.23 Compiling humantime v1.3.0 Compiling textwrap v0.11.0 Compiling http v0.2.6 Compiling want v0.3.0 Compiling tracing v0.1.32 Compiling num-traits v0.2.14 Compiling num-integer v0.1.44 Compiling num-bigint v0.2.6 Compiling num-iter v0.1.42 Compiling num-complex v0.2.4 Compiling num-rational v0.2.4 Compiling indexmap v1.8.0 Compiling aho-corasick v0.7.18 Compiling os_str_bytes v6.0.0 Compiling quote v1.0.15 Compiling atty v0.2.14 Compiling socket2 v0.4.4 Compiling mio v0.8.1 Compiling clap v2.34.0 Compiling ring v0.16.20 Compiling clap v3.1.6 Compiling regex v1.5.5 Compiling http-body v0.4.4 Compiling env_logger v0.7.1 Compiling env_logger v0.9.0 Compiling num v0.2.1 Compiling sct v0.6.1 Compiling webpki v0.21.4 Compiling ct-logs v0.8.0 Compiling rustls v0.19.1 Compiling tokio-macros v1.7.0 Compiling futures-macro v0.3.21 Compiling thiserror-impl v1.0.30 Compiling tokio v1.17.0 Compiling rustls-native-certs v0.5.0 Compiling thiserror v1.0.30 Compiling tokio-rustls v0.22.0 Compiling hyper v0.14.17 Compiling hyper-rustls v0.22.1 Compiling prometheus_exporter_base v1.3.0 Compiling prometheus_wireguard_exporter v3.6.3 (/home/buildozer/aports/community/prometheus-wireguard-exporter/src/prometheus_wireguard_exporter-3.6.3) warning: fields `public_key`, `private_key`, `local_port` and `persistent_keepalive` are never read --> src/wireguard.rs:39:9 | 38 | pub(crate) struct LocalEndpoint { | ------------- fields in this struct 39 | pub public_key: String, | ^^^^^^^^^^ 40 | pub private_key: SecureString, | ^^^^^^^^^^^ 41 | pub local_port: u16, | ^^^^^^^^^^ 42 | pub persistent_keepalive: bool, | ^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default = note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: field `persistent_keepalive` is never read --> src/wireguard.rs:54:9 | 46 | pub(crate) struct RemoteEndpoint { | -------------- field in this struct ... 54 | pub persistent_keepalive: bool, | ^^^^^^^^^^^^^^^^^^^^ | = note: `RemoteEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis warning: `prometheus_wireguard_exporter` (bin "prometheus_wireguard_exporter" test) generated 2 warnings Finished test [unoptimized + debuginfo] target(s) in 34.85s Running unittests src/main.rs (target/debug/deps/prometheus_wireguard_exporter-63ebd803071d3833) running 13 tests test friendly_description::tests::test_no_escape_friendly_name ... ok test friendly_description::tests::test_escape_friendly_name ... ok test wireguard_config::tests::test_from_pound_line_to_key_value ... ok test wireguard::tests::test_render_to_prometheus_simple ... ok test wireguard_config::tests::test_parse_friendly_description_name ... ok test wireguard_config::tests::test_parse_friendly_description_json ... ok test wireguard_config::tests::test_parse_ok ... ok test wireguard::tests::test_render_to_prometheus_complex ... ok test wireguard::tests::test_parse ... ok test wireguard::tests::test_parse_and_serialize ... ok test wireguard_config::tests::test_parse_no_public_key - should panic ... ok test wireguard_config::tests::test_parse_no_allowed_ips - should panic ... ok test wireguard::tests::test_parse_issue_19 ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s >>> prometheus-wireguard-exporter: Entering fakeroot... >>> prometheus-wireguard-exporter-openrc*: Running split function openrc... >>> prometheus-wireguard-exporter-openrc*: Preparing subpackage prometheus-wireguard-exporter-openrc... >>> prometheus-wireguard-exporter-openrc*: Running postcheck for prometheus-wireguard-exporter-openrc >>> prometheus-wireguard-exporter*: Running postcheck for prometheus-wireguard-exporter >>> prometheus-wireguard-exporter*: Preparing package prometheus-wireguard-exporter... >>> prometheus-wireguard-exporter*: Stripping binaries >>> prometheus-wireguard-exporter-openrc*: Scanning shared objects >>> prometheus-wireguard-exporter*: Scanning shared objects >>> prometheus-wireguard-exporter-openrc*: Tracing dependencies... >>> prometheus-wireguard-exporter-openrc*: Package size: 24.0 KB >>> prometheus-wireguard-exporter-openrc*: Compressing data... >>> prometheus-wireguard-exporter-openrc*: Create checksum... >>> prometheus-wireguard-exporter-openrc*: Create prometheus-wireguard-exporter-openrc-3.6.3-r0.apk >>> prometheus-wireguard-exporter*: Tracing dependencies... so:libc.musl-x86_64.so.1 so:libgcc_s.so.1 >>> prometheus-wireguard-exporter*: Package size: 1.8 MB >>> prometheus-wireguard-exporter*: Compressing data... >>> prometheus-wireguard-exporter*: Create checksum... >>> prometheus-wireguard-exporter*: Create prometheus-wireguard-exporter-3.6.3-r0.apk >>> prometheus-wireguard-exporter: Build complete at Wed, 02 Nov 2022 06:22:18 +0000 elapsed time 0h 2m 12s >>> prometheus-wireguard-exporter: Cleaning up srcdir >>> prometheus-wireguard-exporter: Cleaning up pkgdir >>> prometheus-wireguard-exporter: Uninstalling dependencies... (1/8) Purging .makedepends-prometheus-wireguard-exporter (20221102.062012) (2/8) Purging cargo (1.64.0-r2) (3/8) Purging rust (1.64.0-r2) (4/8) Purging rust-stdlib (1.64.0-r2) (5/8) Purging llvm15-libs (15.0.3-r1) (6/8) Purging libffi (3.4.4-r0) (7/8) Purging libxml2 (2.10.3-r1) (8/8) Purging xz-libs (5.2.7-r0) Executing busybox-1.35.0-r27.trigger OK: 267 MiB in 92 packages >>> prometheus-wireguard-exporter: Updating the community/x86_64 repository index... >>> prometheus-wireguard-exporter: Signing the index...