[INFO] cloning repository https://github.com/MindFlavor/prometheus_wireguard_exporter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MindFlavor/prometheus_wireguard_exporter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fprometheus_wireguard_exporter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fprometheus_wireguard_exporter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f8222bc5ab29b6df12c2208ccb7597300fe30170 [INFO] testing MindFlavor/prometheus_wireguard_exporter against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMindFlavor%2Fprometheus_wireguard_exporter" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MindFlavor/prometheus_wireguard_exporter on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/MindFlavor/prometheus_wireguard_exporter [INFO] finished tweaking git repo https://github.com/MindFlavor/prometheus_wireguard_exporter [INFO] tweaked toml for git repo https://github.com/MindFlavor/prometheus_wireguard_exporter written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/MindFlavor/prometheus_wireguard_exporter already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 529eadfd464b3c9ef6300aa0dbd47a9a1b693c331cd50e8ae789b6b3a94e94b4 [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" "529eadfd464b3c9ef6300aa0dbd47a9a1b693c331cd50e8ae789b6b3a94e94b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "529eadfd464b3c9ef6300aa0dbd47a9a1b693c331cd50e8ae789b6b3a94e94b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "529eadfd464b3c9ef6300aa0dbd47a9a1b693c331cd50e8ae789b6b3a94e94b4", kill_on_drop: false }` [INFO] [stdout] 529eadfd464b3c9ef6300aa0dbd47a9a1b693c331cd50e8ae789b6b3a94e94b4 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37ea7e2fc0fb416bafa53500a8e32b7d21bb64adf19bb5ef30f477fcaf147d6c [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" "37ea7e2fc0fb416bafa53500a8e32b7d21bb64adf19bb5ef30f477fcaf147d6c", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling mio v0.8.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling ct-logs v0.8.0 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling hyper v0.14.17 [INFO] [stderr] Compiling hyper-rustls v0.22.1 [INFO] [stderr] Compiling prometheus_exporter_base v1.3.0 [INFO] [stderr] Compiling prometheus_wireguard_exporter v3.6.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `public_key` [INFO] [stdout] --> src/wireguard.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub public_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/wireguard.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Default, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `private_key` [INFO] [stdout] --> src/wireguard.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub private_key: SecureString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/wireguard.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Default, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_port` [INFO] [stdout] --> src/wireguard.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub local_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/wireguard.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Default, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `persistent_keepalive` [INFO] [stdout] --> src/wireguard.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub persistent_keepalive: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/wireguard.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Default, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `persistent_keepalive` [INFO] [stdout] --> src/wireguard.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub persistent_keepalive: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RemoteEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/wireguard.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `allowed_ips` [INFO] [stdout] --> src/wireguard_config.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub allowed_ips: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `PeerEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/wireguard_config.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(Debug, Default, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "37ea7e2fc0fb416bafa53500a8e32b7d21bb64adf19bb5ef30f477fcaf147d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37ea7e2fc0fb416bafa53500a8e32b7d21bb64adf19bb5ef30f477fcaf147d6c", kill_on_drop: false }` [INFO] [stdout] 37ea7e2fc0fb416bafa53500a8e32b7d21bb64adf19bb5ef30f477fcaf147d6c [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8e1dd65bdef5fa23331887b4585f5a43d1a46ee1472cf81488923d972b98c730 [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" "8e1dd65bdef5fa23331887b4585f5a43d1a46ee1472cf81488923d972b98c730", kill_on_drop: false }` [INFO] [stderr] warning: prometheus_wireguard_exporter v3.6.3 (/opt/rustwide/workdir) ignoring invalid dependency `clippy` which is missing a lib target [INFO] [stderr] Compiling prometheus_wireguard_exporter v3.6.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `public_key` [INFO] [stdout] --> src/wireguard.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub public_key: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/wireguard.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Default, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `private_key` [INFO] [stdout] --> src/wireguard.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub private_key: SecureString, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/wireguard.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Default, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `local_port` [INFO] [stdout] --> src/wireguard.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub local_port: u16, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/wireguard.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Default, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `persistent_keepalive` [INFO] [stdout] --> src/wireguard.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub persistent_keepalive: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/wireguard.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Default, Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `persistent_keepalive` [INFO] [stdout] --> src/wireguard.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | pub persistent_keepalive: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RemoteEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] --> src/wireguard.rs:45:10 [INFO] [stdout] | [INFO] [stdout] 45 | #[derive(Debug, Clone)] [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.36s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/prometheus_wireguard_exporter-34f420795f2fb35e) [INFO] running `Command { std: "docker" "inspect" "8e1dd65bdef5fa23331887b4585f5a43d1a46ee1472cf81488923d972b98c730", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e1dd65bdef5fa23331887b4585f5a43d1a46ee1472cf81488923d972b98c730", kill_on_drop: false }` [INFO] [stdout] 8e1dd65bdef5fa23331887b4585f5a43d1a46ee1472cf81488923d972b98c730 [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=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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", 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] 33a67df32de034121c34ef77199805a6e7329358b2ad771cf71319d045174598 [INFO] running `Command { std: "docker" "start" "-a" "33a67df32de034121c34ef77199805a6e7329358b2ad771cf71319d045174598", kill_on_drop: false }` [INFO] [stderr] warning: prometheus_wireguard_exporter v3.6.3 (/opt/rustwide/workdir) ignoring invalid dependency `clippy` which is missing a lib target [INFO] [stderr] warning: field is never read: `public_key` [INFO] [stderr] --> src/wireguard.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | pub public_key: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/wireguard.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Default, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `private_key` [INFO] [stderr] --> src/wireguard.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | pub private_key: SecureString, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/wireguard.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Default, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `local_port` [INFO] [stderr] --> src/wireguard.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | pub local_port: u16, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/wireguard.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Default, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `persistent_keepalive` [INFO] [stderr] --> src/wireguard.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | pub persistent_keepalive: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `LocalEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/wireguard.rs:37:19 [INFO] [stderr] | [INFO] [stderr] 37 | #[derive(Default, Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `persistent_keepalive` [INFO] [stderr] --> src/wireguard.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 54 | pub persistent_keepalive: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RemoteEndpoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] --> src/wireguard.rs:45:10 [INFO] [stderr] | [INFO] [stderr] 45 | #[derive(Debug, Clone)] [INFO] [stderr] | ^^^^^ ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `prometheus_wireguard_exporter` (bin "prometheus_wireguard_exporter" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/prometheus_wireguard_exporter-34f420795f2fb35e) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test wireguard::tests::test_render_to_prometheus_complex ... ok [INFO] [stdout] test wireguard::tests::test_parse ... ok [INFO] [stdout] test friendly_description::tests::test_escape_friendly_name ... ok [INFO] [stdout] test friendly_description::tests::test_no_escape_friendly_name ... ok [INFO] [stdout] test wireguard_config::tests::test_from_pound_line_to_key_value ... ok [INFO] [stdout] test wireguard::tests::test_render_to_prometheus_simple ... ok [INFO] [stdout] test wireguard_config::tests::test_parse_friendly_description_json ... ok [INFO] [stdout] test wireguard_config::tests::test_parse_friendly_description_name ... ok [INFO] [stdout] test wireguard::tests::test_parse_and_serialize ... ok [INFO] [stdout] test wireguard_config::tests::test_parse_ok ... ok [INFO] [stdout] test wireguard::tests::test_parse_issue_19 ... ok [INFO] [stdout] test wireguard_config::tests::test_parse_no_allowed_ips - should panic ... ok [INFO] [stdout] test wireguard_config::tests::test_parse_no_public_key - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "33a67df32de034121c34ef77199805a6e7329358b2ad771cf71319d045174598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33a67df32de034121c34ef77199805a6e7329358b2ad771cf71319d045174598", kill_on_drop: false }` [INFO] [stdout] 33a67df32de034121c34ef77199805a6e7329358b2ad771cf71319d045174598