[INFO] cloning repository https://github.com/alexsikomas/mannd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexsikomas/mannd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexsikomas%2Fmannd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexsikomas%2Fmannd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 613475b5cef03be1d85a487ffe086329e897beb2 [INFO] testing alexsikomas/mannd against 1.97.0-beta.1 for beta-1.97-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexsikomas%2Fmannd" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/alexsikomas/mannd [INFO] finished tweaking git repo https://github.com/alexsikomas/mannd [INFO] tweaked toml for git repo https://github.com/alexsikomas/mannd written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/alexsikomas/mannd on toolchain 1.97.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/alexsikomas/mannd 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" "+1.97.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/mannd/Cargo.toml: unused manifest key: target.cfg(target_os = "linux").rustflags [INFO] [stderr] warning: /workspace/builds/worker-5-tc2/source/tui/Cargo.toml: unused manifest key: target.cfg(target_os = "linux").rustflags [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f036e000be716c5688cdbcb3ad997683c78e5d07011177f8824f08f398eda7b0 [INFO] running `Command { std: "docker" "start" "-a" "f036e000be716c5688cdbcb3ad997683c78e5d07011177f8824f08f398eda7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f036e000be716c5688cdbcb3ad997683c78e5d07011177f8824f08f398eda7b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f036e000be716c5688cdbcb3ad997683c78e5d07011177f8824f08f398eda7b0", kill_on_drop: false }` [INFO] [stdout] f036e000be716c5688cdbcb3ad997683c78e5d07011177f8824f08f398eda7b0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a3543ba5886d09ebe22e8ad98dbf293ec2fc5d776d10b6f42f5eed2fcd812f4 [INFO] running `Command { std: "docker" "start" "-a" "5a3543ba5886d09ebe22e8ad98dbf293ec2fc5d776d10b6f42f5eed2fcd812f4", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/tui/Cargo.toml: unused manifest key: target.cfg(target_os = "linux").rustflags [INFO] [stderr] warning: /opt/rustwide/workdir/mannd/Cargo.toml: unused manifest key: target.cfg(target_os = "linux").rustflags [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling winnow v0.7.14 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling bytes v1.11.0 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling async-task v4.7.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling foldhash v0.2.0 [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling anstyle-parse v1.0.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling anstyle-query v1.1.5 [INFO] [stderr] Compiling colorchoice v1.0.5 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling signal-hook v0.3.18 [INFO] [stderr] Compiling anstyle v1.0.14 [INFO] [stderr] Compiling zerocopy v0.8.35 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling castaway v0.2.4 [INFO] [stderr] Compiling anstream v1.0.0 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling convert_case v0.10.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling clap_lex v1.1.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling instability v0.3.11 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling ryu v1.0.22 [INFO] [stderr] Compiling redb v3.1.0 [INFO] [stderr] Compiling nu-ansi-term v0.50.3 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling compact_str v0.9.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling lru v0.16.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling mannd v0.1.0 (/opt/rustwide/workdir/mannd) [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling uuid v1.20.0 [INFO] [stderr] Compiling litrs v1.0.0 [INFO] [stderr] Compiling unicode-truncate v2.0.1 [INFO] [stderr] Compiling deranged v0.5.8 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling signal-hook-mio v0.2.5 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling line-clipping v0.3.5 [INFO] [stderr] Compiling rtoolbox v0.0.3 [INFO] [stderr] Compiling document-features v0.2.12 [INFO] [stderr] Compiling rpassword v7.4.0 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling time v0.3.47 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling darling_core v0.23.0 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling strum_macros v0.27.2 [INFO] [stderr] Compiling clap_derive v4.6.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling derive_more-impl v2.1.1 [INFO] [stderr] Compiling getset v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling nyquest-interface v0.4.0 [INFO] [stderr] Compiling kasuari v0.4.11 [INFO] [stderr] Compiling cobs v0.3.0 [INFO] [stderr] Compiling derive_more v2.1.1 [INFO] [stderr] Compiling nyquest v0.4.0 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling darling_macro v0.23.0 [INFO] [stderr] Compiling clap v4.6.0 [INFO] [stderr] Compiling darling v0.23.0 [INFO] [stderr] Compiling strum v0.27.2 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling ratatui-core v0.1.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stderr] Compiling crossterm v0.29.0 [INFO] [stderr] Compiling zvariant_utils v3.3.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling ron v0.12.1 [INFO] [stderr] Compiling postcard v1.1.3 [INFO] [stderr] Compiling neli-proc-macros v0.2.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ratatui-widgets v0.3.0 [INFO] [stderr] Compiling ratatui-crossterm v0.1.0 [INFO] [stderr] Compiling zvariant_derive v5.9.2 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling zvariant v5.9.2 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling neli v0.7.4 [INFO] [stderr] Compiling ratatui v0.30.0 [INFO] [stderr] Compiling zbus_names v4.3.1 [INFO] [stderr] Compiling zbus_macros v5.13.2 [INFO] [stderr] Compiling zbus v5.13.2 [INFO] [stderr] Compiling zbus_systemd v0.25701.0 [INFO] [stdout] warning: unused import: `store::NetworkInfo` [INFO] [stdout] --> mannd/src/state/actor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | store::NetworkInfo, [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 import: `PermissionsExt` [INFO] [stdout] --> mannd/src/utils.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | os::unix::fs::{PermissionsExt, chown}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NoSubscriber` and `with_default` [INFO] [stdout] --> mannd/src/wireless/iwd.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | subscriber::{NoSubscriber, with_default}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mannd/src/wireless/iwd.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | _ => Err(ManndError::DeviceNotFound( [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> mannd/src/wireless/iwd.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 217 | Ok(path) => Ok(Self { [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 223 | Err(e) => Err(ManndError::DeviceNotFound(format!( [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 226 | _ => Err(ManndError::DeviceNotFound( [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iwd` [INFO] [stdout] --> mannd/src/controller.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | Some(WirelessAdapter::Iwd($iwd)) => $iwd_expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | / dispatch_wifi!(&self.wifi, [INFO] [stdout] 213 | | iwd => Ok(()), [INFO] [stdout] 214 | | wpa => wpa.update_nearby_networks(networks).await, [INFO] [stdout] ... | [INFO] [stdout] 217 | | Ok(()) [INFO] [stdout] 218 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `iwd` is captured in macro and introduced a unused variable [INFO] [stdout] --> mannd/src/controller.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | Some(WirelessAdapter::Iwd($iwd)) => $iwd_expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | / dispatch_wifi!(&self.wifi, [INFO] [stdout] 213 | | iwd => Ok(()), [INFO] [stdout] 214 | | wpa => wpa.update_nearby_networks(networks).await, [INFO] [stdout] ... | [INFO] [stdout] 217 | | Ok(()) [INFO] [stdout] 218 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `dispatch_wifi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `should_refresh_ifaces` is assigned to, but never used [INFO] [stdout] --> mannd/src/state/actor.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut should_refresh_ifaces = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_should_refresh_ifaces` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `should_refresh_ifaces` is never read [INFO] [stdout] --> mannd/src/state/actor.rs:266:35 [INFO] [stdout] | [INFO] [stdout] 266 | Ok(()) => should_refresh_ifaces = true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `should_refresh_ifaces` is never read [INFO] [stdout] --> mannd/src/state/actor.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 280 | Ok(()) => should_refresh_ifaces = true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_root` is assigned to, but never used [INFO] [stdout] --> mannd/src/utils.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut in_root: Option = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_in_root` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `in_root` is never read [INFO] [stdout] --> mannd/src/utils.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | in_root = Some(is_path_root(parent)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Section` is never constructed [INFO] [stdout] --> mannd/src/systemd/networkd.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Section { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_wg_fwmark`, `add_ip_fwmark`, and `prevent_default_route` are never used [INFO] [stdout] --> mannd/src/wireguard/network.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 29 | impl Wireguard { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | async fn add_wg_fwmark(&self) -> Result<(), ManndError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | async fn add_ip_fwmark(&self) -> Result<(), ManndError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | async fn prevent_default_route(&self) -> Result<(), ManndError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_adapter_path` is never used [INFO] [stdout] --> mannd/src/wireless/iwd.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 260 | impl Iwd { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 301 | async fn find_adapter_path( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tui v0.1.0 (/opt/rustwide/workdir/tui) [INFO] [stdout] warning: unused import: `process::id` [INFO] [stdout] --> tui/src/app.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::min, process::id, time::Duration}; [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 import: `TerminalOptions` [INFO] [stdout] --> tui/src/app.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use ratatui::{TerminalOptions, layout::Rect}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursor::DisableBlinking` [INFO] [stdout] --> tui/src/app.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | cursor::DisableBlinking, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wifi_config::WifiUiSort` [INFO] [stdout] --> tui/src/app.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | wireless::{common::NetworkFlags, wifi_config::WifiUiSort, wpa_supplicant::WpaInterface}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Margin` [INFO] [stdout] --> tui/src/components/wireguard_ui.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | layout::{Constraint, Flex, Layout, Margin, Rect}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> tui/src/components/wpa_interface_ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context` [INFO] [stdout] --> tui/src/keys.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use mannd::{context, error::ManndError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::networkd_ui::NetworkdMenu` [INFO] [stdout] --> tui/src/state/menu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | components::networkd_ui::NetworkdMenu, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> tui/src/state/prompts.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wireguard::network::Wireguard` [INFO] [stdout] --> tui/src/state/vpn.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | wireguard::network::Wireguard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context` [INFO] [stdout] --> tui/src/ui.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use mannd::{config::ThemePalette, context, error::ManndError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> tui/src/components/main_menu.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | style::{Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> tui/src/components/popup_prompt.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | style::{Color, Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> tui/src/components/wpa_interface_ui.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | style::{Modifier, Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> tui/src/state/wifi.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | ... _ => StateResult::Consumed, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> tui/src/state/wifi.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 123 | ... NetworkSecurity::Open | NetworkSecurity::Owe => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 130 | / ... NetworkSecurity::Wpa2 { .. } [INFO] [stdout] 131 | | ... | NetworkSecurity::Wpa2Hex { .. } [INFO] [stdout] 132 | | ... | NetworkSecurity::Wpa3Sae { .. } [INFO] [stdout] 133 | | ... | NetworkSecurity::Wpa3Transition { .. } => { [INFO] [stdout] | |______________________________________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 142 | ... _ => StateResult::Consumed, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `configs` are never read [INFO] [stdout] --> tui/src/components/networkd_ui.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct NetworkdMenu<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | state: &'a NetworkdState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | configs: &'a [PathBuf], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `select` are never read [INFO] [stdout] --> tui/src/components/networkd_ui.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct NetdAreas { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 61 | outer: Rect, [INFO] [stdout] 62 | config: Rect, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | select: Rect, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> tui/src/components/wpa_interface_ui.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct InterfaceAreas { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 217 | outer: Rect, [INFO] [stdout] 218 | inner: Rect, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sync::OnceLock` [INFO] [stdout] --> tui/src/main.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{path::PathBuf, process::Stdio, str::FromStr, sync::OnceLock, time::Duration}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "5a3543ba5886d09ebe22e8ad98dbf293ec2fc5d776d10b6f42f5eed2fcd812f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a3543ba5886d09ebe22e8ad98dbf293ec2fc5d776d10b6f42f5eed2fcd812f4", kill_on_drop: false }` [INFO] [stdout] 5a3543ba5886d09ebe22e8ad98dbf293ec2fc5d776d10b6f42f5eed2fcd812f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2e5a2ec610c1fa2e12c7cd418ff35dab171c837adb3d9b1d0dc345037ab2f3b [INFO] running `Command { std: "docker" "start" "-a" "b2e5a2ec610c1fa2e12c7cd418ff35dab171c837adb3d9b1d0dc345037ab2f3b", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/tui/Cargo.toml: unused manifest key: target.cfg(target_os = "linux").rustflags [INFO] [stderr] warning: /opt/rustwide/workdir/mannd/Cargo.toml: unused manifest key: target.cfg(target_os = "linux").rustflags [INFO] [stdout] warning: unused import: `store::NetworkInfo` [INFO] [stdout] --> mannd/src/state/actor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | store::NetworkInfo, [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 import: `PermissionsExt` [INFO] [stdout] --> mannd/src/utils.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | os::unix::fs::{PermissionsExt, chown}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NoSubscriber` and `with_default` [INFO] [stdout] --> mannd/src/wireless/iwd.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | subscriber::{NoSubscriber, with_default}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mannd/src/wireless/iwd.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | _ => Err(ManndError::DeviceNotFound( [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> mannd/src/wireless/iwd.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 217 | Ok(path) => Ok(Self { [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 223 | Err(e) => Err(ManndError::DeviceNotFound(format!( [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 226 | _ => Err(ManndError::DeviceNotFound( [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iwd` [INFO] [stdout] --> mannd/src/controller.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | Some(WirelessAdapter::Iwd($iwd)) => $iwd_expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | / dispatch_wifi!(&self.wifi, [INFO] [stdout] 213 | | iwd => Ok(()), [INFO] [stdout] 214 | | wpa => wpa.update_nearby_networks(networks).await, [INFO] [stdout] ... | [INFO] [stdout] 217 | | Ok(()) [INFO] [stdout] 218 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `iwd` is captured in macro and introduced a unused variable [INFO] [stdout] --> mannd/src/controller.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | Some(WirelessAdapter::Iwd($iwd)) => $iwd_expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | / dispatch_wifi!(&self.wifi, [INFO] [stdout] 213 | | iwd => Ok(()), [INFO] [stdout] 214 | | wpa => wpa.update_nearby_networks(networks).await, [INFO] [stdout] ... | [INFO] [stdout] 217 | | Ok(()) [INFO] [stdout] 218 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `dispatch_wifi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `should_refresh_ifaces` is assigned to, but never used [INFO] [stdout] --> mannd/src/state/actor.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut should_refresh_ifaces = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_should_refresh_ifaces` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `should_refresh_ifaces` is never read [INFO] [stdout] --> mannd/src/state/actor.rs:266:35 [INFO] [stdout] | [INFO] [stdout] 266 | Ok(()) => should_refresh_ifaces = true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `should_refresh_ifaces` is never read [INFO] [stdout] --> mannd/src/state/actor.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 280 | Ok(()) => should_refresh_ifaces = true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_root` is assigned to, but never used [INFO] [stdout] --> mannd/src/utils.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut in_root: Option = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_in_root` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `in_root` is never read [INFO] [stdout] --> mannd/src/utils.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | in_root = Some(is_path_root(parent)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Section` is never constructed [INFO] [stdout] --> mannd/src/systemd/networkd.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Section { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_wg_fwmark`, `add_ip_fwmark`, and `prevent_default_route` are never used [INFO] [stdout] --> mannd/src/wireguard/network.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 29 | impl Wireguard { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | async fn add_wg_fwmark(&self) -> Result<(), ManndError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | async fn add_ip_fwmark(&self) -> Result<(), ManndError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | async fn prevent_default_route(&self) -> Result<(), ManndError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_adapter_path` is never used [INFO] [stdout] --> mannd/src/wireless/iwd.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 260 | impl Iwd { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 301 | async fn find_adapter_path( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mockall_derive v0.14.0 [INFO] [stderr] Compiling predicates-core v1.0.10 [INFO] [stderr] Compiling mockall v0.14.0 [INFO] [stderr] Compiling termtree v0.5.1 [INFO] [stderr] Compiling downcast v0.11.0 [INFO] [stderr] Compiling fragile v2.0.1 [INFO] [stdout] warning: unused import: `process::id` [INFO] [stdout] --> tui/src/app.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::min, process::id, time::Duration}; [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 import: `TerminalOptions` [INFO] [stdout] --> tui/src/app.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use ratatui::{TerminalOptions, layout::Rect}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursor::DisableBlinking` [INFO] [stdout] --> tui/src/app.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | cursor::DisableBlinking, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wifi_config::WifiUiSort` [INFO] [stdout] --> tui/src/app.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | wireless::{common::NetworkFlags, wifi_config::WifiUiSort, wpa_supplicant::WpaInterface}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Margin` [INFO] [stdout] --> tui/src/components/wireguard_ui.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | layout::{Constraint, Flex, Layout, Margin, Rect}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> tui/src/components/wpa_interface_ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context` [INFO] [stdout] --> tui/src/keys.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use mannd::{context, error::ManndError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::networkd_ui::NetworkdMenu` [INFO] [stdout] --> tui/src/state/menu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | components::networkd_ui::NetworkdMenu, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> tui/src/state/prompts.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wireguard::network::Wireguard` [INFO] [stdout] --> tui/src/state/vpn.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | wireguard::network::Wireguard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context` [INFO] [stdout] --> tui/src/ui.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use mannd::{config::ThemePalette, context, error::ManndError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> tui/src/components/main_menu.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | style::{Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> tui/src/components/popup_prompt.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | style::{Color, Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> tui/src/components/wpa_interface_ui.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | style::{Modifier, Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> tui/src/state/wifi.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | ... _ => StateResult::Consumed, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> tui/src/state/wifi.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 123 | ... NetworkSecurity::Open | NetworkSecurity::Owe => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 130 | / ... NetworkSecurity::Wpa2 { .. } [INFO] [stdout] 131 | | ... | NetworkSecurity::Wpa2Hex { .. } [INFO] [stdout] 132 | | ... | NetworkSecurity::Wpa3Sae { .. } [INFO] [stdout] 133 | | ... | NetworkSecurity::Wpa3Transition { .. } => { [INFO] [stdout] | |______________________________________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 142 | ... _ => StateResult::Consumed, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `configs` are never read [INFO] [stdout] --> tui/src/components/networkd_ui.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct NetworkdMenu<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | state: &'a NetworkdState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | configs: &'a [PathBuf], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tui v0.1.0 (/opt/rustwide/workdir/tui) [INFO] [stdout] warning: fields `config` and `select` are never read [INFO] [stdout] --> tui/src/components/networkd_ui.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct NetdAreas { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 61 | outer: Rect, [INFO] [stdout] 62 | config: Rect, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | select: Rect, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> tui/src/components/wpa_interface_ui.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct InterfaceAreas { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 217 | outer: Rect, [INFO] [stdout] 218 | inner: Rect, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling predicates v3.1.4 [INFO] [stderr] Compiling predicates-tree v1.0.13 [INFO] [stdout] warning: unused import: `sync::OnceLock` [INFO] [stdout] --> tui/src/main.rs:6:56 [INFO] [stdout] | [INFO] [stdout] 6 | use std::{path::PathBuf, process::Stdio, str::FromStr, sync::OnceLock, time::Duration}; [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 import: `process::id` [INFO] [stdout] --> tui/src/app.rs:1:21 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{cmp::min, process::id, time::Duration}; [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 import: `TerminalOptions` [INFO] [stdout] --> tui/src/app.rs:4:15 [INFO] [stdout] | [INFO] [stdout] 4 | use ratatui::{TerminalOptions, layout::Rect}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cursor::DisableBlinking` [INFO] [stdout] --> tui/src/app.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | cursor::DisableBlinking, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wifi_config::WifiUiSort` [INFO] [stdout] --> tui/src/app.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | wireless::{common::NetworkFlags, wifi_config::WifiUiSort, wpa_supplicant::WpaInterface}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Margin` [INFO] [stdout] --> tui/src/components/wireguard_ui.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 4 | layout::{Constraint, Flex, Layout, Margin, Rect}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> tui/src/components/wpa_interface_ui.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context` [INFO] [stdout] --> tui/src/keys.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use mannd::{context, error::ManndError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `components::networkd_ui::NetworkdMenu` [INFO] [stdout] --> tui/src/state/menu.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | components::networkd_ui::NetworkdMenu, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> tui/src/state/prompts.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `wireguard::network::Wireguard` [INFO] [stdout] --> tui/src/state/vpn.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | wireguard::network::Wireguard, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `context` [INFO] [stdout] --> tui/src/ui.rs:1:35 [INFO] [stdout] | [INFO] [stdout] 1 | use mannd::{config::ThemePalette, context, error::ManndError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> tui/src/components/main_menu.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | style::{Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> tui/src/components/popup_prompt.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | style::{Color, Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stylize` [INFO] [stdout] --> tui/src/components/wpa_interface_ui.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | style::{Modifier, Style, Stylize}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> tui/src/state/wifi.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | ... _ => StateResult::Consumed, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> tui/src/state/wifi.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 123 | ... NetworkSecurity::Open | NetworkSecurity::Owe => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 130 | / ... NetworkSecurity::Wpa2 { .. } [INFO] [stdout] 131 | | ... | NetworkSecurity::Wpa2Hex { .. } [INFO] [stdout] 132 | | ... | NetworkSecurity::Wpa3Sae { .. } [INFO] [stdout] 133 | | ... | NetworkSecurity::Wpa3Transition { .. } => { [INFO] [stdout] | |______________________________________________________________- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 142 | ... _ => StateResult::Consumed, [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `configs` are never read [INFO] [stdout] --> tui/src/components/networkd_ui.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct NetworkdMenu<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 14 | state: &'a NetworkdState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 15 | configs: &'a [PathBuf], [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `config` and `select` are never read [INFO] [stdout] --> tui/src/components/networkd_ui.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct NetdAreas { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 61 | outer: Rect, [INFO] [stdout] 62 | config: Rect, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 63 | select: Rect, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> tui/src/components/wpa_interface_ui.rs:218:5 [INFO] [stdout] | [INFO] [stdout] 216 | pub struct InterfaceAreas { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 217 | outer: Rect, [INFO] [stdout] 218 | inner: Rect, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mannd v0.1.0 (/opt/rustwide/workdir/mannd) [INFO] [stdout] warning: unused import: `store::NetworkInfo` [INFO] [stdout] --> mannd/src/state/actor.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | store::NetworkInfo, [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 import: `PermissionsExt` [INFO] [stdout] --> mannd/src/utils.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 12 | os::unix::fs::{PermissionsExt, chown}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NoSubscriber` and `with_default` [INFO] [stdout] --> mannd/src/wireless/iwd.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | subscriber::{NoSubscriber, with_default}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> mannd/src/wireless/iwd.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | _ => Err(ManndError::DeviceNotFound( [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> mannd/src/wireless/iwd.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 217 | Ok(path) => Ok(Self { [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 223 | Err(e) => Err(ManndError::DeviceNotFound(format!( [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 226 | _ => Err(ManndError::DeviceNotFound( [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iwd` [INFO] [stdout] --> mannd/src/controller.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | Some(WirelessAdapter::Iwd($iwd)) => $iwd_expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | / dispatch_wifi!(&self.wifi, [INFO] [stdout] 213 | | iwd => Ok(()), [INFO] [stdout] 214 | | wpa => wpa.update_nearby_networks(networks).await, [INFO] [stdout] ... | [INFO] [stdout] 217 | | Ok(()) [INFO] [stdout] 218 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `iwd` is captured in macro and introduced a unused variable [INFO] [stdout] --> mannd/src/controller.rs:58:39 [INFO] [stdout] | [INFO] [stdout] 58 | Some(WirelessAdapter::Iwd($iwd)) => $iwd_expr, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | / dispatch_wifi!(&self.wifi, [INFO] [stdout] 213 | | iwd => Ok(()), [INFO] [stdout] 214 | | wpa => wpa.update_nearby_networks(networks).await, [INFO] [stdout] ... | [INFO] [stdout] 217 | | Ok(()) [INFO] [stdout] 218 | | }) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `dispatch_wifi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `should_refresh_ifaces` is assigned to, but never used [INFO] [stdout] --> mannd/src/state/actor.rs:244:13 [INFO] [stdout] | [INFO] [stdout] 244 | let mut should_refresh_ifaces = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_should_refresh_ifaces` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `should_refresh_ifaces` is never read [INFO] [stdout] --> mannd/src/state/actor.rs:266:35 [INFO] [stdout] | [INFO] [stdout] 266 | Ok(()) => should_refresh_ifaces = true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `should_refresh_ifaces` is never read [INFO] [stdout] --> mannd/src/state/actor.rs:280:35 [INFO] [stdout] | [INFO] [stdout] 280 | Ok(()) => should_refresh_ifaces = true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `in_root` is assigned to, but never used [INFO] [stdout] --> mannd/src/utils.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | let mut in_root: Option = None; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_in_root` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `in_root` is never read [INFO] [stdout] --> mannd/src/utils.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | in_root = Some(is_path_root(parent)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Section` is never constructed [INFO] [stdout] --> mannd/src/systemd/networkd.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct Section { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_wg_fwmark`, `add_ip_fwmark`, and `prevent_default_route` are never used [INFO] [stdout] --> mannd/src/wireguard/network.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 29 | impl Wireguard { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 109 | async fn add_wg_fwmark(&self) -> Result<(), ManndError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | async fn add_ip_fwmark(&self) -> Result<(), ManndError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | async fn prevent_default_route(&self) -> Result<(), ManndError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `find_adapter_path` is never used [INFO] [stdout] --> mannd/src/wireless/iwd.rs:301:14 [INFO] [stdout] | [INFO] [stdout] 260 | impl Iwd { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 301 | async fn find_adapter_path( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.88s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b2e5a2ec610c1fa2e12c7cd418ff35dab171c837adb3d9b1d0dc345037ab2f3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2e5a2ec610c1fa2e12c7cd418ff35dab171c837adb3d9b1d0dc345037ab2f3b", kill_on_drop: false }` [INFO] [stdout] b2e5a2ec610c1fa2e12c7cd418ff35dab171c837adb3d9b1d0dc345037ab2f3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.97.0-beta.1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fc921f79d3f5339fcf5fc1903637072bfac5000aa96e212e81a0766bb7a82265 [INFO] running `Command { std: "docker" "start" "-a" "fc921f79d3f5339fcf5fc1903637072bfac5000aa96e212e81a0766bb7a82265", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/mannd/Cargo.toml: unused manifest key: target.cfg(target_os = "linux").rustflags [INFO] [stderr] warning: /opt/rustwide/workdir/tui/Cargo.toml: unused manifest key: target.cfg(target_os = "linux").rustflags [INFO] [stderr] warning: unused import: `store::NetworkInfo` [INFO] [stderr] --> mannd/src/state/actor.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | store::NetworkInfo, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `PermissionsExt` [INFO] [stderr] --> mannd/src/utils.rs:12:20 [INFO] [stderr] | [INFO] [stderr] 12 | os::unix::fs::{PermissionsExt, chown}, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `NoSubscriber` and `with_default` [INFO] [stderr] --> mannd/src/wireless/iwd.rs:8:18 [INFO] [stderr] | [INFO] [stderr] 8 | subscriber::{NoSubscriber, with_default}, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> mannd/src/wireless/iwd.rs:226:13 [INFO] [stderr] | [INFO] [stderr] 226 | _ => Err(ManndError::DeviceNotFound( [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> mannd/src/wireless/iwd.rs:226:13 [INFO] [stderr] | [INFO] [stderr] 217 | Ok(path) => Ok(Self { [INFO] [stderr] | -------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 223 | Err(e) => Err(ManndError::DeviceNotFound(format!( [INFO] [stderr] | ------ matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 226 | _ => Err(ManndError::DeviceNotFound( [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `iwd` [INFO] [stderr] --> mannd/src/controller.rs:58:39 [INFO] [stderr] | [INFO] [stderr] 58 | Some(WirelessAdapter::Iwd($iwd)) => $iwd_expr, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 212 | / dispatch_wifi!(&self.wifi, [INFO] [stderr] 213 | | iwd => Ok(()), [INFO] [stderr] 214 | | wpa => wpa.update_nearby_networks(networks).await, [INFO] [stderr] ... | [INFO] [stderr] 217 | | Ok(()) [INFO] [stderr] 218 | | }) [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] | [INFO] [stderr] help: `iwd` is captured in macro and introduced a unused variable [INFO] [stderr] --> mannd/src/controller.rs:58:39 [INFO] [stderr] | [INFO] [stderr] 58 | Some(WirelessAdapter::Iwd($iwd)) => $iwd_expr, [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 212 | / dispatch_wifi!(&self.wifi, [INFO] [stderr] 213 | | iwd => Ok(()), [INFO] [stderr] 214 | | wpa => wpa.update_nearby_networks(networks).await, [INFO] [stderr] ... | [INFO] [stderr] 217 | | Ok(()) [INFO] [stderr] 218 | | }) [INFO] [stderr] | |__________- in this macro invocation [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `dispatch_wifi` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable `should_refresh_ifaces` is assigned to, but never used [INFO] [stderr] --> mannd/src/state/actor.rs:244:13 [INFO] [stderr] | [INFO] [stderr] 244 | let mut should_refresh_ifaces = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_should_refresh_ifaces` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `should_refresh_ifaces` is never read [INFO] [stderr] --> mannd/src/state/actor.rs:266:35 [INFO] [stderr] | [INFO] [stderr] 266 | Ok(()) => should_refresh_ifaces = true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `should_refresh_ifaces` is never read [INFO] [stderr] --> mannd/src/state/actor.rs:280:35 [INFO] [stderr] | [INFO] [stderr] 280 | Ok(()) => should_refresh_ifaces = true, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variable `in_root` is assigned to, but never used [INFO] [stderr] --> mannd/src/utils.rs:45:9 [INFO] [stderr] | [INFO] [stderr] 45 | let mut in_root: Option = None; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider using `_in_root` instead [INFO] [stderr] [INFO] [stderr] warning: value assigned to `in_root` is never read [INFO] [stderr] --> mannd/src/utils.rs:52:13 [INFO] [stderr] | [INFO] [stderr] 52 | in_root = Some(is_path_root(parent)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: struct `Section` is never constructed [INFO] [stderr] --> mannd/src/systemd/networkd.rs:10:8 [INFO] [stderr] | [INFO] [stderr] 10 | struct Section { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: methods `add_wg_fwmark`, `add_ip_fwmark`, and `prevent_default_route` are never used [INFO] [stderr] --> mannd/src/wireguard/network.rs:109:14 [INFO] [stderr] | [INFO] [stderr] 29 | impl Wireguard { [INFO] [stderr] | ------------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 109 | async fn add_wg_fwmark(&self) -> Result<(), ManndError> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 117 | async fn add_ip_fwmark(&self) -> Result<(), ManndError> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 146 | async fn prevent_default_route(&self) -> Result<(), ManndError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `find_adapter_path` is never used [INFO] [stderr] --> mannd/src/wireless/iwd.rs:301:14 [INFO] [stderr] | [INFO] [stderr] 260 | impl Iwd { [INFO] [stderr] | -------- associated function in this implementation [INFO] [stderr] ... [INFO] [stderr] 301 | async fn find_adapter_path( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `mannd` (lib) generated 13 warnings (run `cargo fix --lib -p mannd` to apply 3 suggestions) [INFO] [stderr] warning: unused import: `process::id` [INFO] [stderr] --> tui/src/app.rs:1:21 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{cmp::min, process::id, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `TerminalOptions` [INFO] [stderr] --> tui/src/app.rs:4:15 [INFO] [stderr] | [INFO] [stderr] 4 | use ratatui::{TerminalOptions, layout::Rect}; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `cursor::DisableBlinking` [INFO] [stderr] --> tui/src/app.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | cursor::DisableBlinking, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `wifi_config::WifiUiSort` [INFO] [stderr] --> tui/src/app.rs:24:38 [INFO] [stderr] | [INFO] [stderr] 24 | wireless::{common::NetworkFlags, wifi_config::WifiUiSort, wpa_supplicant::WpaInterface}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Margin` [INFO] [stderr] --> tui/src/components/wireguard_ui.rs:4:40 [INFO] [stderr] | [INFO] [stderr] 4 | layout::{Constraint, Flex, Layout, Margin, Rect}, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::format` [INFO] [stderr] --> tui/src/components/wpa_interface_ui.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::format; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `context` [INFO] [stderr] --> tui/src/keys.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use mannd::{context, error::ManndError}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `components::networkd_ui::NetworkdMenu` [INFO] [stderr] --> tui/src/state/menu.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | components::networkd_ui::NetworkdMenu, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::info` [INFO] [stderr] --> tui/src/state/prompts.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use tracing::info; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `wireguard::network::Wireguard` [INFO] [stderr] --> tui/src/state/vpn.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | wireguard::network::Wireguard, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `context` [INFO] [stderr] --> tui/src/ui.rs:1:35 [INFO] [stderr] | [INFO] [stderr] 1 | use mannd::{config::ThemePalette, context, error::ManndError}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stylize` [INFO] [stderr] --> tui/src/components/main_menu.rs:4:20 [INFO] [stderr] | [INFO] [stderr] 4 | style::{Style, Stylize}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stylize` [INFO] [stderr] --> tui/src/components/popup_prompt.rs:4:27 [INFO] [stderr] | [INFO] [stderr] 4 | style::{Color, Style, Stylize}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Stylize` [INFO] [stderr] --> tui/src/components/wpa_interface_ui.rs:6:30 [INFO] [stderr] | [INFO] [stderr] 6 | style::{Modifier, Style, Stylize}, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> tui/src/state/wifi.rs:142:37 [INFO] [stderr] | [INFO] [stderr] 142 | ... _ => StateResult::Consumed, [INFO] [stderr] | ^ no value can reach this [INFO] [stderr] | [INFO] [stderr] note: multiple earlier patterns match some of the same values [INFO] [stderr] --> tui/src/state/wifi.rs:142:37 [INFO] [stderr] | [INFO] [stderr] 123 | ... NetworkSecurity::Open | NetworkSecurity::Owe => { [INFO] [stderr] | -------------------------------------------- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 130 | / ... NetworkSecurity::Wpa2 { .. } [INFO] [stderr] 131 | | ... | NetworkSecurity::Wpa2Hex { .. } [INFO] [stderr] 132 | | ... | NetworkSecurity::Wpa3Sae { .. } [INFO] [stderr] 133 | | ... | NetworkSecurity::Wpa3Transition { .. } => { [INFO] [stderr] | |______________________________________________________________- matches some of the same values [INFO] [stderr] ... [INFO] [stderr] 142 | ... _ => StateResult::Consumed, [INFO] [stderr] | ^ collectively making this unreachable [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `state` and `configs` are never read [INFO] [stderr] --> tui/src/components/networkd_ui.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 13 | pub struct NetworkdMenu<'a> { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 14 | state: &'a NetworkdState, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 15 | configs: &'a [PathBuf], [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `config` and `select` are never read [INFO] [stderr] --> tui/src/components/networkd_ui.rs:62:5 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct NetdAreas { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 61 | outer: Rect, [INFO] [stderr] 62 | config: Rect, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 63 | select: Rect, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `inner` is never read [INFO] [stderr] --> tui/src/components/wpa_interface_ui.rs:218:5 [INFO] [stderr] | [INFO] [stderr] 216 | pub struct InterfaceAreas { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] 217 | outer: Rect, [INFO] [stderr] 218 | inner: Rect, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `tui` (lib) generated 18 warnings (run `cargo fix --lib -p tui` to apply 11 suggestions) [INFO] [stderr] warning: `mannd` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] warning: `tui` (lib test) generated 18 warnings (18 duplicates) [INFO] [stderr] warning: unused import: `sync::OnceLock` [INFO] [stderr] --> tui/src/main.rs:6:56 [INFO] [stderr] | [INFO] [stderr] 6 | use std::{path::PathBuf, process::Stdio, str::FromStr, sync::OnceLock, time::Duration}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `tui` (bin "tui" test) generated 1 warning (run `cargo fix --bin "tui" -p tui --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: proc-macro-error2 v2.0.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/mannd-4ee372d67227d621) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test controller::tests::test_new ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- controller::tests::test_new stdout ---- [INFO] [stdout] Error: Zbus(InputOutput(Os { code: 2, kind: NotFound, message: "No such file or directory" })) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] controller::tests::test_new [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p mannd --lib` [INFO] running `Command { std: "docker" "inspect" "fc921f79d3f5339fcf5fc1903637072bfac5000aa96e212e81a0766bb7a82265", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc921f79d3f5339fcf5fc1903637072bfac5000aa96e212e81a0766bb7a82265", kill_on_drop: false }` [INFO] [stdout] fc921f79d3f5339fcf5fc1903637072bfac5000aa96e212e81a0766bb7a82265