[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework-sys v2.6.1 [INFO] [stderr] Downloaded rustls-native-certs v0.5.0 [INFO] [stderr] Downloaded clippy v0.0.302 [INFO] [stderr] Downloaded blake2b_simd v0.5.11 [INFO] [stderr] Downloaded rust-argon2 v0.8.3 [INFO] [stderr] Downloaded term v0.5.2 [INFO] [stderr] Downloaded hyper v0.14.17 [INFO] [stderr] Downloaded prometheus_exporter_base v1.3.0 [INFO] [stderr] Downloaded ct-logs v0.8.0 [INFO] [stderr] Downloaded httparse v1.6.0 [INFO] [stderr] Downloaded mio v0.8.1 [INFO] [stderr] Downloaded security-framework v2.6.1 [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" "+1.60.0" "metadata" "--no-deps" "--format-version=1", 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] 397b898cfbe5f8883bf97094d0bb9345a6f03ccaf454bd1d775b5ba0e6ecc795 [INFO] running `Command { std: "docker" "start" "-a" "397b898cfbe5f8883bf97094d0bb9345a6f03ccaf454bd1d775b5ba0e6ecc795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "397b898cfbe5f8883bf97094d0bb9345a6f03ccaf454bd1d775b5ba0e6ecc795", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "397b898cfbe5f8883bf97094d0bb9345a6f03ccaf454bd1d775b5ba0e6ecc795", kill_on_drop: false }` [INFO] [stdout] 397b898cfbe5f8883bf97094d0bb9345a6f03ccaf454bd1d775b5ba0e6ecc795 [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" "+1.60.0" "build" "--frozen" "--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] 898e91a62b0637c6544e09a67c220ea1ad6c9ad0beaa3921eaf09bf1573d63a2 [INFO] running `Command { std: "docker" "start" "-a" "898e91a62b0637c6544e09a67c220ea1ad6c9ad0beaa3921eaf09bf1573d63a2", 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-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational 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 39s [INFO] running `Command { std: "docker" "inspect" "898e91a62b0637c6544e09a67c220ea1ad6c9ad0beaa3921eaf09bf1573d63a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "898e91a62b0637c6544e09a67c220ea1ad6c9ad0beaa3921eaf09bf1573d63a2", kill_on_drop: false }` [INFO] [stdout] 898e91a62b0637c6544e09a67c220ea1ad6c9ad0beaa3921eaf09bf1573d63a2 [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" "+1.60.0" "test" "--frozen" "--no-run" "--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] c3f2356d5374a782618fdbb6a22b035b097e71b334621d0dc3f5e93a19bcdecc [INFO] running `Command { std: "docker" "start" "-a" "c3f2356d5374a782618fdbb6a22b035b097e71b334621d0dc3f5e93a19bcdecc", 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 7.00s [INFO] running `Command { std: "docker" "inspect" "c3f2356d5374a782618fdbb6a22b035b097e71b334621d0dc3f5e93a19bcdecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3f2356d5374a782618fdbb6a22b035b097e71b334621d0dc3f5e93a19bcdecc", kill_on_drop: false }` [INFO] [stdout] c3f2356d5374a782618fdbb6a22b035b097e71b334621d0dc3f5e93a19bcdecc [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" "+1.60.0" "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] 9ddf0a07b81e060144acacfa7b88b9196ab500ca95081a18ea397f055c3779d9 [INFO] running `Command { std: "docker" "start" "-a" "9ddf0a07b81e060144acacfa7b88b9196ab500ca95081a18ea397f055c3779d9", 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.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/prometheus_wireguard_exporter-eda4dd64d5e13792) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test friendly_description::tests::test_escape_friendly_name ... ok [INFO] [stdout] test wireguard::tests::test_render_to_prometheus_complex ... ok [INFO] [stdout] test friendly_description::tests::test_no_escape_friendly_name ... 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_render_to_prometheus_simple ... ok [INFO] [stdout] test wireguard_config::tests::test_from_pound_line_to_key_value ... ok [INFO] [stdout] test wireguard_config::tests::test_parse_ok ... ok [INFO] [stdout] test wireguard::tests::test_parse ... ok [INFO] [stdout] test wireguard::tests::test_parse_and_serialize ... ok [INFO] [stdout] test wireguard::tests::test_parse_issue_19 ... ok [INFO] [stdout] test wireguard_config::tests::test_parse_no_public_key - should panic ... ok [INFO] [stdout] test wireguard_config::tests::test_parse_no_allowed_ips - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.12s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9ddf0a07b81e060144acacfa7b88b9196ab500ca95081a18ea397f055c3779d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ddf0a07b81e060144acacfa7b88b9196ab500ca95081a18ea397f055c3779d9", kill_on_drop: false }` [INFO] [stdout] 9ddf0a07b81e060144acacfa7b88b9196ab500ca95081a18ea397f055c3779d9