[INFO] cloning repository https://github.com/r0bin-dood/lilap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/r0bin-dood/lilap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0bin-dood%2Flilap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0bin-dood%2Flilap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f4b53867fe93106f311d03199b384e3ce718aa32 [INFO] checking r0bin-dood/lilap against try#5785402183672f7786e9dc343d7b435bdaf4a4bc for pr-138001 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fr0bin-dood%2Flilap" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/r0bin-dood/lilap on toolchain 5785402183672f7786e9dc343d7b435bdaf4a4bc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/r0bin-dood/lilap [INFO] finished tweaking git repo https://github.com/r0bin-dood/lilap [INFO] tweaked toml for git repo https://github.com/r0bin-dood/lilap written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/r0bin-dood/lilap 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" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35c3274eacc4bbb9cf0f3bdd87c49dcf1021407447cc217b49762c62586a7c75 [INFO] running `Command { std: "docker" "start" "-a" "35c3274eacc4bbb9cf0f3bdd87c49dcf1021407447cc217b49762c62586a7c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35c3274eacc4bbb9cf0f3bdd87c49dcf1021407447cc217b49762c62586a7c75", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35c3274eacc4bbb9cf0f3bdd87c49dcf1021407447cc217b49762c62586a7c75", kill_on_drop: false }` [INFO] [stdout] 35c3274eacc4bbb9cf0f3bdd87c49dcf1021407447cc217b49762c62586a7c75 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+5785402183672f7786e9dc343d7b435bdaf4a4bc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9ddf583d524f9f33ff34074b7692eae10eda94426b3910d63af3676b110e123e [INFO] running `Command { std: "docker" "start" "-a" "9ddf583d524f9f33ff34074b7692eae10eda94426b3910d63af3676b110e123e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking confee v0.1.2 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling getset v0.1.3 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.11.2 [INFO] [stderr] Compiling derive_builder_macro v0.11.2 [INFO] [stderr] Checking derive_builder v0.11.2 [INFO] [stderr] Compiling neli-proc-macros v0.2.0-rc2 [INFO] [stderr] Checking neli v0.7.0-rc2 [INFO] [stderr] Checking lilap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Cursor`, `Read`, and `Write` [INFO] [stdout] --> src/server/dhcp/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Cursor, Write, Read}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer`, `GenlBuffer`, `GenlmsghdrBuilder`, `Genlmsghdr`, `NlPayload`, `Nlattr`, `NlmsghdrBuilder`, `Nlmsghdr`, `genl::*`, and `nl::*` [INFO] [stdout] --> src/server/link/mod.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | consts::{genl::*, nl::*, socket::*}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] 6 | genl::{Genlmsghdr, Nlattr, GenlmsghdrBuilder}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | nl::{Nlmsghdr, NlPayload, NlmsghdrBuilder}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | router::synchronous::NlRouter, [INFO] [stdout] 9 | types::{Buffer, GenlBuffer}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cursor`, `Read`, and `Write` [INFO] [stdout] --> src/server/dhcp/mod.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::{self, Cursor, Write, Read}; [INFO] [stdout] | ^^^^^^ ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer`, `GenlBuffer`, `GenlmsghdrBuilder`, `Genlmsghdr`, `NlPayload`, `Nlattr`, `NlmsghdrBuilder`, `Nlmsghdr`, `genl::*`, and `nl::*` [INFO] [stdout] --> src/server/link/mod.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | consts::{genl::*, nl::*, socket::*}, [INFO] [stdout] | ^^^^^^^ ^^^^^ [INFO] [stdout] 6 | genl::{Genlmsghdr, Nlattr, GenlmsghdrBuilder}, [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | nl::{Nlmsghdr, NlPayload, NlmsghdrBuilder}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 8 | router::synchronous::NlRouter, [INFO] [stdout] 9 | types::{Buffer, GenlBuffer}, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut $var = $lock.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/server/web/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | / lock!(receiver!(self), rx => { [INFO] [stdout] 36 | | if let Ok(_) = rx.try_recv() { [INFO] [stdout] 37 | | self.log("Stop signal received. Shutting down."); [INFO] [stdout] 38 | | break; [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut $var = $lock.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/server/dns/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | / lock!(receiver!(self), rx => { [INFO] [stdout] 32 | | if let Ok(_) = rx.try_recv() { [INFO] [stdout] 33 | | self.log("Stop signal received. Shutting down."); [INFO] [stdout] 34 | | break; [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/server/dns/mod.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | fn create_response(&self, request: &[u8], size: usize) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut $var = $lock.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/server/dhcp/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | / lock!(receiver!(self), rx => { [INFO] [stdout] 35 | | if let Ok(_) = rx.try_recv() { [INFO] [stdout] 36 | | self.log("Stop signal received. Shutting down."); [INFO] [stdout] 37 | | break; [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/server/link/mod.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut socket = NlRouter::connect(NlFamily::Generic, None, Groups::empty()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/link/mod.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut socket = NlRouter::connect(NlFamily::Generic, None, Groups::empty()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut $var = $lock.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/server/link/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | / lock!(receiver!(self), rx => { [INFO] [stdout] 53 | | if let Ok(_) = rx.try_recv() { [INFO] [stdout] 54 | | self.log("Stop signal received. Shutting down."); [INFO] [stdout] 55 | | break; [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_state_mut` is never used [INFO] [stdout] --> src/server/mod.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub trait HasServerState { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 63 | fn get_state(&self) -> &ServerState; [INFO] [stdout] 64 | fn get_state_mut(&mut self) -> &mut ServerState; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NL80211_CMD_NEW_INTERFACE` is never used [INFO] [stdout] --> src/server/link/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const NL80211_CMD_NEW_INTERFACE: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr`, `iface_name`, and `ssid` are never read [INFO] [stdout] --> src/server/link/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Link { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 22 | addr: IpAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | parent_iface_name: String, [INFO] [stdout] 24 | iface_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | ssid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut $var = $lock.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/server/web/mod.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | / lock!(receiver!(self), rx => { [INFO] [stdout] 36 | | if let Ok(_) = rx.try_recv() { [INFO] [stdout] 37 | | self.log("Stop signal received. Shutting down."); [INFO] [stdout] 38 | | break; [INFO] [stdout] 39 | | } [INFO] [stdout] 40 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut $var = $lock.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/server/dns/mod.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | / lock!(receiver!(self), rx => { [INFO] [stdout] 32 | | if let Ok(_) = rx.try_recv() { [INFO] [stdout] 33 | | self.log("Stop signal received. Shutting down."); [INFO] [stdout] 34 | | break; [INFO] [stdout] 35 | | } [INFO] [stdout] 36 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/server/dns/mod.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | fn create_response(&self, request: &[u8], size: usize) -> Vec { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut $var = $lock.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/server/dhcp/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | / lock!(receiver!(self), rx => { [INFO] [stdout] 35 | | if let Ok(_) = rx.try_recv() { [INFO] [stdout] 36 | | self.log("Stop signal received. Shutting down."); [INFO] [stdout] 37 | | break; [INFO] [stdout] 38 | | } [INFO] [stdout] 39 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `socket` [INFO] [stdout] --> src/server/link/mod.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | let mut socket = NlRouter::connect(NlFamily::Generic, None, Groups::empty()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_socket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/link/mod.rs:43:13 [INFO] [stdout] | [INFO] [stdout] 43 | let mut socket = NlRouter::connect(NlFamily::Generic, None, Groups::empty()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/server/mod.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 38 | let mut $var = $lock.lock().unwrap(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/server/link/mod.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | / lock!(receiver!(self), rx => { [INFO] [stdout] 53 | | if let Ok(_) = rx.try_recv() { [INFO] [stdout] 54 | | self.log("Stop signal received. Shutting down."); [INFO] [stdout] 55 | | break; [INFO] [stdout] 56 | | } [INFO] [stdout] 57 | | }); [INFO] [stdout] | |______________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lock` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_state_mut` is never used [INFO] [stdout] --> src/server/mod.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub trait HasServerState { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 63 | fn get_state(&self) -> &ServerState; [INFO] [stdout] 64 | fn get_state_mut(&mut self) -> &mut ServerState; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NL80211_CMD_NEW_INTERFACE` is never used [INFO] [stdout] --> src/server/link/mod.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const NL80211_CMD_NEW_INTERFACE: u8 = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `addr`, `iface_name`, and `ssid` are never read [INFO] [stdout] --> src/server/link/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Link { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 22 | addr: IpAddr, [INFO] [stdout] | ^^^^ [INFO] [stdout] 23 | parent_iface_name: String, [INFO] [stdout] 24 | iface_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 25 | ssid: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.56s [INFO] running `Command { std: "docker" "inspect" "9ddf583d524f9f33ff34074b7692eae10eda94426b3910d63af3676b110e123e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ddf583d524f9f33ff34074b7692eae10eda94426b3910d63af3676b110e123e", kill_on_drop: false }` [INFO] [stdout] 9ddf583d524f9f33ff34074b7692eae10eda94426b3910d63af3676b110e123e