[INFO] cloning repository https://github.com/ssahani/netevd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ssahani/netevd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssahani%2Fnetevd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssahani%2Fnetevd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 560b8099650a638359680308cc0405c363c5a236 [INFO] checking ssahani/netevd against 615014f15745532730b9ce7a1d9309f8b4756f93 for pr-160491 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fssahani%2Fnetevd" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ssahani/netevd [INFO] finished tweaking git repo https://github.com/ssahani/netevd [INFO] tweaked toml for git repo https://github.com/ssahani/netevd written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ssahani/netevd on toolchain 615014f15745532730b9ce7a1d9309f8b4756f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ssahani/netevd already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a8b9678eade6c5f95c6d2bb696a88dcbf76830e17ac3a1c2c0674be84f01063e [INFO] running `Command { std: "docker" "start" "a8b9678eade6c5f95c6d2bb696a88dcbf76830e17ac3a1c2c0674be84f01063e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8b9678eade6c5f95c6d2bb696a88dcbf76830e17ac3a1c2c0674be84f01063e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a8b9678eade6c5f95c6d2bb696a88dcbf76830e17ac3a1c2c0674be84f01063e" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8b9678eade6c5f95c6d2bb696a88dcbf76830e17ac3a1c2c0674be84f01063e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a8b9678eade6c5f95c6d2bb696a88dcbf76830e17ac3a1c2c0674be84f01063e" "/opt/rustwide/cargo-home/bin/cargo" "+615014f15745532730b9ce7a1d9309f8b4756f93" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking bitflags v2.11.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking mio v1.2.0 [INFO] [stderr] Checking socket2 v0.6.3 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Checking typenum v1.20.0 [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Compiling unicase v2.9.0 [INFO] [stderr] Compiling toml_edit v0.25.11+spec-1.1.0 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Checking winnow v1.0.3 [INFO] [stderr] Checking regex-syntax v0.8.10 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking syn v2.0.117 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking netlink-packet-core v0.8.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling signal-hook v0.4.4 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking sync_wrapper v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking ryu v1.0.23 [INFO] [stderr] Checking rustix v0.38.44 [INFO] [stderr] Checking procfs-core v0.17.0 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Compiling nix v0.31.3 [INFO] [stderr] Checking piper v0.2.5 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Checking clap_lex v1.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Checking clap_builder v4.6.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking inotify v0.11.1 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Checking uuid v1.23.1 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Checking netlink-packet-route v0.30.0 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking configparser v1.0.0 [INFO] [stderr] Checking http-range-header v0.4.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking ini v1.3.0 [INFO] [stderr] Checking caps v0.5.6 [INFO] [stderr] Checking ipnetwork v0.21.1 [INFO] [stderr] Checking procfs v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling axum-macros v0.5.1 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling clap_derive v4.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking rand v0.9.4 [INFO] [stderr] Checking protobuf-support v3.7.2 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Checking protobuf v3.7.2 [INFO] [stderr] Checking tungstenite v0.29.0 [INFO] [stderr] Checking async-io v2.6.0 [INFO] [stderr] Checking clap v4.6.1 [INFO] [stderr] Checking async-signal v0.2.14 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking zvariant_utils v3.3.1 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking notify-types v2.1.0 [INFO] [stderr] Checking chrono v0.4.44 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking futures-executor v0.3.32 [INFO] [stderr] Compiling zvariant_derive v5.11.0 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking notify v8.2.0 [INFO] [stderr] Compiling zvariant v5.11.0 [INFO] [stderr] Checking prometheus v0.14.0 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking netlink-sys v0.8.8 [INFO] [stderr] Checking tokio-tungstenite v0.29.0 [INFO] [stderr] Checking tokio-stream v0.1.18 [INFO] [stderr] Checking signal-hook-tokio v0.4.0 [INFO] [stderr] Checking netlink-proto v0.12.0 [INFO] [stderr] Checking rtnetlink v0.21.0 [INFO] [stderr] Checking h2 v0.4.14 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Checking zbus_names v4.3.2 [INFO] [stderr] Compiling zbus_macros v5.15.0 [INFO] [stderr] Checking hyper v1.9.0 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Checking zbus v5.15.0 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking netevd v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listeners/networkd/api.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut state = LinkState { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listeners/networkd/api.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut state = LinkState { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> tests/integration_test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> tests/integration_test.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | let state = NetworkState::new(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listeners/networkd/api.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut state = LinkState { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/listeners/networkd/api.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | let mut state = LinkState { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_script_execution`, `log_api_request`, `log_route_change`, and `log_routing_rule_change` are never used [INFO] [stdout] --> src/audit/mod.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl AuditLogger { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn log_script_execution( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn log_api_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn log_route_change(&self, action: &str, destination: &str, gateway: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn log_routing_rule_change(&self, action: &str, source: &str, table: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_args` is never used [INFO] [stdout] --> src/cli/mod.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Cli { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 172 | pub fn parse_args() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CONFIG_PATH` is never used [INFO] [stdout] --> src/config/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DEFAULT_CONFIG_PATH: &str = "/etc/netevd/netevd.yaml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `networkmanager` is never read [INFO] [stdout] --> src/config/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct BackendsConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub networkmanager: NetworkManagerConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackendsConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tls` is never read [INFO] [stdout] --> src/config/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct ApiConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 120 | pub tls: TlsConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enabled`, `cert_file`, and `key_file` are never read [INFO] [stdout] --> src/config/mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct TlsConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 126 | #[serde(default)] [INFO] [stdout] 127 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub cert_file: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub key_file: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TlsConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `retention_days` is never read [INFO] [stdout] --> src/config/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct AuditConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | pub retention_days: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuditConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_interfaces` is never used [INFO] [stdout] --> src/config/mod.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl MonitoringConfig { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 215 | /// Get interfaces as a vector [INFO] [stdout] 216 | pub fn get_interfaces(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse` is never used [INFO] [stdout] --> src/config/mod.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 260 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 261 | /// Parse configuration from file and environment variables [INFO] [stdout] 262 | pub fn parse() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_scripts_for_event` is never used [INFO] [stdout] --> src/filters/mod.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl EventFilter { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_scripts_for_event(&self, event: &NetworkEvent) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYSTEMD_NETIF_STATE` is never used [INFO] [stdout] --> src/listeners/networkd/api.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SYSTEMD_NETIF_STATE: &str = "/run/systemd/netif/state"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManagerState` is never constructed [INFO] [stdout] --> src/listeners/networkd/api.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ManagerState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_manager_state_file` is never used [INFO] [stdout] --> src/listeners/networkd/api.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn parse_manager_state_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/metrics/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Metrics { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pub registry: Registry, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub uptime_seconds: Gauge, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub events_total: CounterVec, [INFO] [stdout] 10 | pub events_duration: HistogramVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub interfaces_total: Gauge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub routing_rules_total: Gauge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub routes_total: Gauge, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub script_executions_total: CounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub script_duration: HistogramVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub script_failures_total: CounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub dbus_calls_total: CounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub dbus_errors_total: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub netlink_messages_total: CounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub netlink_errors_total: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gather` is never used [INFO] [stdout] --> src/metrics/mod.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Metrics { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn gather(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_global_metrics` is never used [INFO] [stdout] --> src/metrics/mod.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_global_metrics() -> Option<&'static MetricsHandle> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ifindex`, `gateway`, and `table` are never read [INFO] [stdout] --> src/network/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RouteEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | pub ifindex: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | pub gateway: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | pub table: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_ipv6_routing_rule` is never used [INFO] [stdout] --> src/network/ipv6.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn add_ipv6_routing_rule( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_ipv6_routing_rule` is never used [INFO] [stdout] --> src/network/ipv6.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn remove_ipv6_routing_rule( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_ipv6_default_route` is never used [INFO] [stdout] --> src/network/ipv6.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn add_ipv6_default_route( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_ipv6_default_route` is never used [INFO] [stdout] --> src/network/ipv6.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn remove_ipv6_default_route( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_FILE` is never used [INFO] [stdout] --> src/system/paths.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const CONFIG_FILE: &str = "/etc/netevd/netevd.yaml"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DHCLIENT_LEASE_PATH` is never used [INFO] [stdout] --> src/system/paths.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const DHCLIENT_LEASE_PATH: &str = "/var/lib/dhclient/dhclient.leases"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYSTEMD_NETIF_LINKS` is never used [INFO] [stdout] --> src/system/paths.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const SYSTEMD_NETIF_LINKS: &str = "/run/systemd/netif/links"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYSTEMD_NETIF_STATE` is never used [INFO] [stdout] --> src/system/paths.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const SYSTEMD_NETIF_STATE: &str = "/run/systemd/netif/state"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_script_execution`, `log_config_reload`, `log_api_request`, `log_route_change`, and `log_routing_rule_change` are never used [INFO] [stdout] --> src/audit/mod.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl AuditLogger { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn log_script_execution( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn log_config_reload(&self, success: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn log_api_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn log_route_change(&self, action: &str, destination: &str, gateway: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn log_routing_rule_change(&self, action: &str, source: &str, table: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `parse_args` is never used [INFO] [stdout] --> src/cli/mod.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Cli { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 172 | pub fn parse_args() -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CONFIG_PATH` is never used [INFO] [stdout] --> src/config/mod.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const DEFAULT_CONFIG_PATH: &str = "/etc/netevd/netevd.yaml"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `networkmanager` is never read [INFO] [stdout] --> src/config/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct BackendsConfig { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 78 | pub networkmanager: NetworkManagerConfig, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BackendsConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tls` is never read [INFO] [stdout] --> src/config/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 109 | pub struct ApiConfig { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 120 | pub tls: TlsConfig, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ApiConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enabled`, `cert_file`, and `key_file` are never read [INFO] [stdout] --> src/config/mod.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct TlsConfig { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 126 | #[serde(default)] [INFO] [stdout] 127 | pub enabled: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub cert_file: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub key_file: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TlsConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `retention_days` is never read [INFO] [stdout] --> src/config/mod.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 148 | pub struct AuditConfig { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 156 | pub retention_days: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AuditConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_interfaces` is never used [INFO] [stdout] --> src/config/mod.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 214 | impl MonitoringConfig { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 215 | /// Get interfaces as a vector [INFO] [stdout] 216 | pub fn get_interfaces(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `parse`, `get_links`, `get_routing_policy_links`, `should_monitor_link`, and `should_configure_routing_rules` are never used [INFO] [stdout] --> src/config/mod.rs:262:12 [INFO] [stdout] | [INFO] [stdout] 260 | impl Config { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 261 | /// Parse configuration from file and environment variables [INFO] [stdout] 262 | pub fn parse() -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 321 | pub fn get_links(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn get_routing_policy_links(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 331 | pub fn should_monitor_link(&self, link_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 337 | pub fn should_configure_routing_rules(&self, link_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_yaml` and `get_scripts_for_event` are never used [INFO] [stdout] --> src/filters/mod.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 67 | impl EventFilter { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn from_yaml(yaml: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_scripts_for_event(&self, event: &NetworkEvent) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYSTEMD_NETIF_STATE` is never used [INFO] [stdout] --> src/listeners/networkd/api.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | const SYSTEMD_NETIF_STATE: &str = "/run/systemd/netif/state"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ManagerState` is never constructed [INFO] [stdout] --> src/listeners/networkd/api.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct ManagerState { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_manager_state_file` is never used [INFO] [stdout] --> src/listeners/networkd/api.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn parse_manager_state_file() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/metrics/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Metrics { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pub registry: Registry, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub uptime_seconds: Gauge, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 9 | pub events_total: CounterVec, [INFO] [stdout] 10 | pub events_duration: HistogramVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub interfaces_total: Gauge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub routing_rules_total: Gauge, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub routes_total: Gauge, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub script_executions_total: CounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub script_duration: HistogramVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | pub script_failures_total: CounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub dbus_calls_total: CounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub dbus_errors_total: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub netlink_messages_total: CounterVec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub netlink_errors_total: Counter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gather` is never used [INFO] [stdout] --> src/metrics/mod.rs:170:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl Metrics { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 170 | pub fn gather(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_global_metrics` is never used [INFO] [stdout] --> src/metrics/mod.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | pub fn get_global_metrics() -> Option<&'static MetricsHandle> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ifindex`, `gateway`, and `table` are never read [INFO] [stdout] --> src/network/mod.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct RouteEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 26 | pub ifindex: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 27 | pub gateway: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | pub table: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RouteEntry` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `remove_route`, `remove_routing_rules`, and `has_routing_rules` are never used [INFO] [stdout] --> src/network/mod.rs:90:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl NetworkState { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn remove_route(&mut self, ifindex: u32, table: u32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn remove_routing_rules(&mut self, address: &IpAddr) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn has_routing_rules(&self, address: &IpAddr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_ipv6_routing_rule` is never used [INFO] [stdout] --> src/network/ipv6.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn add_ipv6_routing_rule( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_ipv6_routing_rule` is never used [INFO] [stdout] --> src/network/ipv6.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | pub async fn remove_ipv6_routing_rule( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_ipv6_default_route` is never used [INFO] [stdout] --> src/network/ipv6.rs:43:14 [INFO] [stdout] | [INFO] [stdout] 43 | pub async fn add_ipv6_default_route( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `remove_ipv6_default_route` is never used [INFO] [stdout] --> src/network/ipv6.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn remove_ipv6_default_route( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_link_local` is never used [INFO] [stdout] --> src/network/ipv6.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn is_link_local(addr: &Ipv6Addr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_unique_local` is never used [INFO] [stdout] --> src/network/ipv6.rs:82:8 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn is_unique_local(addr: &Ipv6Addr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_global_unicast` is never used [INFO] [stdout] --> src/network/ipv6.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn is_global_unicast(addr: &Ipv6Addr) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `select_source_address` is never used [INFO] [stdout] --> src/network/ipv6.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn select_source_address(addresses: &[Ipv6Addr]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `has_capability` is never used [INFO] [stdout] --> src/system/capability.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn has_capability(cap: Capability) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_FILE` is never used [INFO] [stdout] --> src/system/paths.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const CONFIG_FILE: &str = "/etc/netevd/netevd.yaml"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DHCLIENT_LEASE_PATH` is never used [INFO] [stdout] --> src/system/paths.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const DHCLIENT_LEASE_PATH: &str = "/var/lib/dhclient/dhclient.leases"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYSTEMD_NETIF_LINKS` is never used [INFO] [stdout] --> src/system/paths.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const SYSTEMD_NETIF_LINKS: &str = "/run/systemd/netif/links"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SYSTEMD_NETIF_STATE` is never used [INFO] [stdout] --> src/system/paths.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const SYSTEMD_NETIF_STATE: &str = "/run/systemd/netif/state"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 18s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nix v0.30.1, nix v0.31.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a8b9678eade6c5f95c6d2bb696a88dcbf76830e17ac3a1c2c0674be84f01063e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8b9678eade6c5f95c6d2bb696a88dcbf76830e17ac3a1c2c0674be84f01063e", kill_on_drop: false }` [INFO] [stdout] a8b9678eade6c5f95c6d2bb696a88dcbf76830e17ac3a1c2c0674be84f01063e