[INFO] fetching crate prometheus_wireguard_exporter 3.6.3... [INFO] testing prometheus_wireguard_exporter-3.6.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate prometheus_wireguard_exporter 3.6.3 into /workspace/builds/worker-90/source [INFO] validating manifest of crates.io crate prometheus_wireguard_exporter 3.6.3 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-90/source/.cargo/config.toml [INFO] started tweaking crates.io crate prometheus_wireguard_exporter 3.6.3 [INFO] finished tweaking crates.io crate prometheus_wireguard_exporter 3.6.3 [INFO] tweaked toml for crates.io crate prometheus_wireguard_exporter 3.6.3 written to /workspace/builds/worker-90/source/Cargo.toml [INFO] crate crates.io crate prometheus_wireguard_exporter 3.6.3 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 num v0.2.1 [INFO] [stderr] Downloaded ct-logs v0.8.0 [INFO] [stderr] Downloaded prometheus_exporter_base v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef0632773f98376a98bc94ddefe5e0fc443221d5810013417923e1df421bfca6 [INFO] running `Command { std: "docker" "start" "-a" "ef0632773f98376a98bc94ddefe5e0fc443221d5810013417923e1df421bfca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef0632773f98376a98bc94ddefe5e0fc443221d5810013417923e1df421bfca6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef0632773f98376a98bc94ddefe5e0fc443221d5810013417923e1df421bfca6", kill_on_drop: false }` [INFO] [stdout] ef0632773f98376a98bc94ddefe5e0fc443221d5810013417923e1df421bfca6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fff63a7f727eb3e7ac2748b9c9cef7aaac6710e74c2c3db6d060ab260c93be0 [INFO] running `Command { std: "docker" "start" "-a" "6fff63a7f727eb3e7ac2748b9c9cef7aaac6710e74c2c3db6d060ab260c93be0", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.119 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling tracing-core v0.1.23 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling tracing v0.1.32 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [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 indexmap v1.8.0 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling clap v3.1.6 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling num v0.2.1 [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 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 rustls-native-certs v0.5.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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 29.27s [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6fff63a7f727eb3e7ac2748b9c9cef7aaac6710e74c2c3db6d060ab260c93be0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fff63a7f727eb3e7ac2748b9c9cef7aaac6710e74c2c3db6d060ab260c93be0", kill_on_drop: false }` [INFO] [stdout] 6fff63a7f727eb3e7ac2748b9c9cef7aaac6710e74c2c3db6d060ab260c93be0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89989aa7674108748285f42d01f9a8e4945142cba346e25c2d09dcfbe16fd6f8 [INFO] running `Command { std: "docker" "start" "-a" "89989aa7674108748285f42d01f9a8e4945142cba346e25c2d09dcfbe16fd6f8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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.71s [INFO] running `Command { std: "docker" "inspect" "89989aa7674108748285f42d01f9a8e4945142cba346e25c2d09dcfbe16fd6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89989aa7674108748285f42d01f9a8e4945142cba346e25c2d09dcfbe16fd6f8", kill_on_drop: false }` [INFO] [stdout] 89989aa7674108748285f42d01f9a8e4945142cba346e25c2d09dcfbe16fd6f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-90/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5e03be4792ca5bb76ba0f165f8958c151d35da224b0f6bcd4e4bbea60dde8d99 [INFO] running `Command { std: "docker" "start" "-a" "5e03be4792ca5bb76ba0f165f8958c151d35da224b0f6bcd4e4bbea60dde8d99", 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.55s [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_parse_and_serialize ... ok [INFO] [stdout] test friendly_description::tests::test_no_escape_friendly_name ... ok [INFO] [stdout] test wireguard::tests::test_parse ... ok [INFO] [stdout] test wireguard::tests::test_render_to_prometheus_simple ... ok [INFO] [stdout] test wireguard::tests::test_render_to_prometheus_complex ... ok [INFO] [stdout] test wireguard_config::tests::test_parse_friendly_description_name ... ok [INFO] [stdout] test wireguard_config::tests::test_parse_ok ... ok [INFO] [stdout] test wireguard_config::tests::test_from_pound_line_to_key_value ... ok [INFO] [stdout] test wireguard_config::tests::test_parse_friendly_description_json ... 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.22s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "5e03be4792ca5bb76ba0f165f8958c151d35da224b0f6bcd4e4bbea60dde8d99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e03be4792ca5bb76ba0f165f8958c151d35da224b0f6bcd4e4bbea60dde8d99", kill_on_drop: false }` [INFO] [stdout] 5e03be4792ca5bb76ba0f165f8958c151d35da224b0f6bcd4e4bbea60dde8d99