[INFO] cloning repository https://github.com/Filip-Macecek/mdnsexplorer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Filip-Macecek/mdnsexplorer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFilip-Macecek%2Fmdnsexplorer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFilip-Macecek%2Fmdnsexplorer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8eabb5bbd9a626da679823d84f5f1d90b007d327 [INFO] testing Filip-Macecek/mdnsexplorer against try#9f93af291970322f4f1c6315ccde4d7078201159 for pr-146098-6 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFilip-Macecek%2Fmdnsexplorer" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Filip-Macecek/mdnsexplorer [INFO] finished tweaking git repo https://github.com/Filip-Macecek/mdnsexplorer [INFO] tweaked toml for git repo https://github.com/Filip-Macecek/mdnsexplorer written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Filip-Macecek/mdnsexplorer on toolchain 9f93af291970322f4f1c6315ccde4d7078201159 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Filip-Macecek/mdnsexplorer 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" "+9f93af291970322f4f1c6315ccde4d7078201159" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ffa13205f9f4a5cca86115191fd4543dfa6521164d40784d8c6c2e09d91b4655 [INFO] running `Command { std: "docker" "start" "-a" "ffa13205f9f4a5cca86115191fd4543dfa6521164d40784d8c6c2e09d91b4655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ffa13205f9f4a5cca86115191fd4543dfa6521164d40784d8c6c2e09d91b4655", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffa13205f9f4a5cca86115191fd4543dfa6521164d40784d8c6c2e09d91b4655", kill_on_drop: false }` [INFO] [stdout] ffa13205f9f4a5cca86115191fd4543dfa6521164d40784d8c6c2e09d91b4655 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2846051234ec87a1e23c1a2e82eaa0232b649ba3d895020448a09dd97fa61776 [INFO] running `Command { std: "docker" "start" "-a" "2846051234ec87a1e23c1a2e82eaa0232b649ba3d895020448a09dd97fa61776", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling quick-xml v0.36.2 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling zvariant_utils v2.1.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling bytemuck_derive v1.8.0 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling wayland-client v0.31.7 [INFO] [stderr] Compiling futures-lite v2.5.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling xml-rs v0.8.23 [INFO] [stderr] Compiling accesskit v0.16.3 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling immutable-chunkmap v2.0.6 [INFO] [stderr] Compiling winit v0.30.5 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling epaint_default_fonts v0.29.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Compiling bytemuck v1.20.0 [INFO] [stderr] Compiling async-broadcast v0.7.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling accesskit_consumer v0.24.3 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling glutin_egl_sys v0.7.0 [INFO] [stderr] Compiling glutin_glx_sys v0.6.0 [INFO] [stderr] Compiling xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Compiling async-fs v2.1.2 [INFO] [stderr] Compiling emath v0.29.1 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling xdg-home v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling tiny-skia v0.11.4 [INFO] [stderr] Compiling ecolor v0.29.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling glutin v0.32.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling mime_guess2 v2.0.5 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling epaint v0.29.1 [INFO] [stderr] Compiling pnet_sys v0.35.0 [INFO] [stderr] Compiling fdeflate v0.3.6 [INFO] [stderr] Compiling glutin-winit v0.5.0 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling png v0.17.14 [INFO] [stderr] Compiling glow v0.14.2 [INFO] [stderr] Compiling zvariant_derive v4.2.0 [INFO] [stderr] Compiling zbus_macros v4.4.0 [INFO] [stderr] Compiling mdnsexplorer v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling time v0.3.37 [INFO] [stdout] warning: constant `APPLICATION_MANIFEST` is never used [INFO] [stdout] --> build.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const APPLICATION_MANIFEST: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling webbrowser v1.0.3 [INFO] [stderr] Compiling egui v0.29.1 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling x11rb v0.13.1 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling calloop v0.13.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling pnet_macros v0.35.0 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling enumflags2 v0.7.10 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling ipnetwork v0.20.0 [INFO] [stderr] Compiling enum-map v2.7.3 [INFO] [stderr] Compiling pnet_datalink v0.35.0 [INFO] [stderr] Compiling zvariant v4.2.0 [INFO] [stderr] Compiling pnet_packet v0.35.0 [INFO] [stderr] Compiling wayland-protocols v0.32.5 [INFO] [stderr] Compiling calloop-wayland-source v0.3.0 [INFO] [stderr] Compiling wayland-cursor v0.31.7 [INFO] [stderr] Compiling arboard v3.4.1 [INFO] [stderr] Compiling egui_glow v0.29.1 [INFO] [stderr] Compiling egui_extras v0.29.1 [INFO] [stderr] Compiling zbus_names v3.0.0 [INFO] [stderr] Compiling pnet_transport v0.35.0 [INFO] [stderr] Compiling pnet v0.35.0 [INFO] [stderr] Compiling zbus_xml v4.0.0 [INFO] [stderr] Compiling zbus v4.4.0 [INFO] [stderr] Compiling zbus-lockstep v0.4.4 [INFO] [stderr] Compiling zbus-lockstep-macros v0.4.4 [INFO] [stderr] Compiling wayland-protocols-wlr v0.3.5 [INFO] [stderr] Compiling wayland-protocols-plasma v0.3.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.19.2 [INFO] [stderr] Compiling sctk-adwaita v0.10.1 [INFO] [stderr] Compiling smithay-clipboard v0.7.2 [INFO] [stderr] Compiling atspi-common v0.6.0 [INFO] [stderr] Compiling atspi-proxies v0.6.0 [INFO] [stderr] Compiling accesskit_atspi_common v0.9.3 [INFO] [stderr] Compiling atspi-connection v0.6.0 [INFO] [stderr] Compiling atspi v0.22.0 [INFO] [stderr] Compiling accesskit_unix v0.12.3 [INFO] [stderr] Compiling accesskit_winit v0.22.4 [INFO] [stderr] Compiling egui-winit v0.29.1 [INFO] [stderr] Compiling eframe v0.29.1 [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/mdns/types.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{write, Display, Formatter}; [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: `IpAddr` [INFO] [stdout] --> src/mdns/mdns_message.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug` and `Display` [INFO] [stdout] --> src/mdns/parser.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Debug, Display}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mdnsexplorer_ui::confirmation_dialogue_ui::ConfirmationDialogueUi` [INFO] [stdout] --> src/mdnsexplorer_app/mdnsexplorer_app.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::mdnsexplorer_ui::confirmation_dialogue_ui::ConfirmationDialogueUi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pnet::packet::Packet` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pnet::packet::Packet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mdns/parser.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | for i in 0..answer_count [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_height` [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let row_height = 30f32; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/mdnsexplorer_ui/interface_chooser_ui.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | ... Err(e) => { panic!("Unable to lock picked interface."); } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/mdnsexplorer_app/mdnsexplorer_app.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | ... let duration = now.elapsed().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/mdns/types.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | OTHER { raw: Vec } // Others [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MDNSRData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NSEC` and `ANY` are never constructed [INFO] [stdout] --> src/mdns/types.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum MDNSRData { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 59 | NSEC { raw: Vec }, // Next domain name, Bitmap indicating available record types TODO: implement strongly typed NSEC data [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | ANY { raw: Vec }, // No specific RDATA; used in queries. [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MDNSRData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `question_class` is never read [INFO] [stdout] --> src/mdns/types.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct MDNSQuestion{ [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | pub question_class: MDNSQueryClass [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MDNSQuestion` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `answer_class`, `ttl_seconds`, and `rd_length` are never read [INFO] [stdout] --> src/mdns/types.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct MDNSAnswer{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 135 | pub answer_class: MDNSQueryClass, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 136 | pub ttl_seconds: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 137 | pub rd_length: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MDNSAnswer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `header` is never read [INFO] [stdout] --> src/mdns/mdns_message.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct MDNSMessage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 17 | pub header: MDNSMessageHeader, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MDNSMessage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `destination_ip` is never read [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MdnsMessageOverview { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | destination_ip: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdnsMessageOverview` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_rows`, `scroll_to_row_slider`, `scroll_to_row`, `selection`, `checked`, and `reversed` are never read [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MdnsMessageTable { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | num_rows: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | scroll_to_row_slider: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | scroll_to_row: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | selection: std::collections::HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | checked: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | reversed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toggle_row_selection` is never used [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl MdnsMessageTable { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn toggle_row_selection(&mut self, row_index: usize, row_response: &egui::Response) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expanding_content` is never used [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn expanding_content(ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `long_text` is never used [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn long_text(row_index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thick_row` is never used [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn thick_row(row_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfirmationDialogueUi` is never constructed [INFO] [stdout] --> src/mdnsexplorer_ui/confirmation_dialogue_ui.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ConfirmationDialogueUi { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/mdnsexplorer_ui/confirmation_dialogue_ui.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ConfirmationDialogueUi { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 9 | pub fn run(title: &str, message: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "2846051234ec87a1e23c1a2e82eaa0232b649ba3d895020448a09dd97fa61776", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2846051234ec87a1e23c1a2e82eaa0232b649ba3d895020448a09dd97fa61776", kill_on_drop: false }` [INFO] [stdout] 2846051234ec87a1e23c1a2e82eaa0232b649ba3d895020448a09dd97fa61776 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fa1295a3adb6a6777310897d41caab542ba1ce86dbf255ebe644f7eca244fc9 [INFO] running `Command { std: "docker" "start" "-a" "6fa1295a3adb6a6777310897d41caab542ba1ce86dbf255ebe644f7eca244fc9", kill_on_drop: false }` [INFO] [stderr] Compiling mdnsexplorer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: constant `APPLICATION_MANIFEST` is never used [INFO] [stdout] --> build.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const APPLICATION_MANIFEST: &str = r#" [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `write` [INFO] [stdout] --> src/mdns/types.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::{write, Display, Formatter}; [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: `IpAddr` [INFO] [stdout] --> src/mdns/mdns_message.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::net::{IpAddr, Ipv4Addr}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Debug` and `Display` [INFO] [stdout] --> src/mdns/parser.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Debug, Display}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp` [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mdnsexplorer_ui::confirmation_dialogue_ui::ConfirmationDialogueUi` [INFO] [stdout] --> src/mdnsexplorer_app/mdnsexplorer_app.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::mdnsexplorer_ui::confirmation_dialogue_ui::ConfirmationDialogueUi; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pnet::packet::Packet` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pnet::packet::Packet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/mdns/parser.rs:118:9 [INFO] [stdout] | [INFO] [stdout] 118 | for i in 0..answer_count [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/mdns/tests/parser_tests.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let header = result.unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/mdns/tests/parser_tests.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let result = parse_name(&mut reader); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_height` [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | let row_height = 30f32; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/mdnsexplorer_ui/interface_chooser_ui.rs:42:33 [INFO] [stdout] | [INFO] [stdout] 42 | ... Err(e) => { panic!("Unable to lock picked interface."); } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `duration` [INFO] [stdout] --> src/mdnsexplorer_app/mdnsexplorer_app.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | ... let duration = now.elapsed().unwrap(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `raw` is never read [INFO] [stdout] --> src/mdns/types.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | OTHER { raw: Vec } // Others [INFO] [stdout] | ----- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MDNSRData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `NSEC` and `ANY` are never constructed [INFO] [stdout] --> src/mdns/types.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 52 | pub enum MDNSRData { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 59 | NSEC { raw: Vec }, // Next domain name, Bitmap indicating available record types TODO: implement strongly typed NSEC data [INFO] [stdout] | ^^^^ [INFO] [stdout] 60 | ANY { raw: Vec }, // No specific RDATA; used in queries. [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MDNSRData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `question_class` is never read [INFO] [stdout] --> src/mdns/types.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 125 | pub struct MDNSQuestion{ [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | pub question_class: MDNSQueryClass [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MDNSQuestion` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `answer_class`, `ttl_seconds`, and `rd_length` are never read [INFO] [stdout] --> src/mdns/types.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 132 | pub struct MDNSAnswer{ [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 135 | pub answer_class: MDNSQueryClass, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 136 | pub ttl_seconds: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 137 | pub rd_length: u16, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MDNSAnswer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANSWER_MACHINE1_MDNS_PAYLOAD_ANSWERS_PART` is never used [INFO] [stdout] --> src/mdns/tests/parser_tests.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | const ANSWER_MACHINE1_MDNS_PAYLOAD_ANSWERS_PART: [u8; 34] = [5, 95, 104, 116, 116, 112, 4, 95, 116, 99, 112, 5, 108, 111, 99, 97, 108... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ANSWER_MACHINE1_MDNS_PAYLOAD_ANSWERS_WITH_REFERENCE_PART` is never used [INFO] [stdout] --> src/mdns/tests/parser_tests.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | const ANSWER_MACHINE1_MDNS_PAYLOAD_ANSWERS_WITH_REFERENCE_PART: [u8; 34] = [5, 95, 104, 116, 116, 112, 4, 95, 116, 99, 112, 5, 108, 1... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MDNS_ANSWER_2` is never used [INFO] [stdout] --> src/mdns/tests/parser_tests.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | const MDNS_ANSWER_2: [u8; 100] = [ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MDNS_ANSWER_3` is never used [INFO] [stdout] --> src/mdns/tests/parser_tests.rs:128:11 [INFO] [stdout] | [INFO] [stdout] 128 | const MDNS_ANSWER_3: [u8; 52] = [ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `destination_ip` is never read [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct MdnsMessageOverview { [INFO] [stdout] | ------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | destination_ip: Ipv4Addr, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MdnsMessageOverview` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `num_rows`, `scroll_to_row_slider`, `scroll_to_row`, `selection`, `checked`, and `reversed` are never read [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MdnsMessageTable { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | num_rows: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 28 | scroll_to_row_slider: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | scroll_to_row: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 30 | selection: std::collections::HashSet, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 31 | checked: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 32 | reversed: bool, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `toggle_row_selection` is never used [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl MdnsMessageTable { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | fn toggle_row_selection(&mut self, row_index: usize, row_response: &egui::Response) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expanding_content` is never used [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:158:4 [INFO] [stdout] | [INFO] [stdout] 158 | fn expanding_content(ui: &mut egui::Ui) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `long_text` is never used [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:162:4 [INFO] [stdout] | [INFO] [stdout] 162 | fn long_text(row_index: usize) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `thick_row` is never used [INFO] [stdout] --> src/mdnsexplorer_ui/mdns_message_table.rs:166:4 [INFO] [stdout] | [INFO] [stdout] 166 | fn thick_row(row_index: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConfirmationDialogueUi` is never constructed [INFO] [stdout] --> src/mdnsexplorer_ui/confirmation_dialogue_ui.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct ConfirmationDialogueUi { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `run` is never used [INFO] [stdout] --> src/mdnsexplorer_ui/confirmation_dialogue_ui.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl ConfirmationDialogueUi { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 9 | pub fn run(title: &str, message: &str) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_header__reads_the_header_and_only_the_header` should have a snake case name [INFO] [stdout] --> src/mdns/tests/parser_tests.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | fn parse_header__reads_the_header_and_only_the_header() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_header_reads_the_header_and_only_the_header` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_header__returns_empty_when_missing_bytes` should have a snake case name [INFO] [stdout] --> src/mdns/tests/parser_tests.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn parse_header__returns_empty_when_missing_bytes() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_header_returns_empty_when_missing_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_name__when_multiple_labels__parses_correctly` should have a snake case name [INFO] [stdout] --> src/mdns/tests/parser_tests.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | fn parse_name__when_multiple_labels__parses_correctly() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_name_when_multiple_labels_parses_correctly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_name__when_single_label__parses_correctly` should have a snake case name [INFO] [stdout] --> src/mdns/tests/parser_tests.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | fn parse_name__when_single_label__parses_correctly() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_name_when_single_label_parses_correctly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_name__when_pointer_is_present__parses_correctly` should have a snake case name [INFO] [stdout] --> src/mdns/tests/parser_tests.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | fn parse_name__when_pointer_is_present__parses_correctly() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_name_when_pointer_is_present_parses_correctly` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_name__reads_trailing_0` should have a snake case name [INFO] [stdout] --> src/mdns/tests/parser_tests.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn parse_name__reads_trailing_0() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_name_reads_trailing_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "6fa1295a3adb6a6777310897d41caab542ba1ce86dbf255ebe644f7eca244fc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fa1295a3adb6a6777310897d41caab542ba1ce86dbf255ebe644f7eca244fc9", kill_on_drop: false }` [INFO] [stdout] 6fa1295a3adb6a6777310897d41caab542ba1ce86dbf255ebe644f7eca244fc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+9f93af291970322f4f1c6315ccde4d7078201159" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1d9a58834eaba17227e4c742cbeac11fc4aa5d313fcb260d2039d34b8061b2af [INFO] running `Command { std: "docker" "start" "-a" "1d9a58834eaba17227e4c742cbeac11fc4aa5d313fcb260d2039d34b8061b2af", kill_on_drop: false }` [INFO] [stderr] warning: constant `APPLICATION_MANIFEST` is never used [INFO] [stderr] --> build.rs:1:7 [INFO] [stderr] | [INFO] [stderr] 1 | const APPLICATION_MANIFEST: &str = r#" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `mdnsexplorer` (build script) generated 1 warning [INFO] [stderr] warning: unused import: `write` [INFO] [stderr] --> src/mdns/types.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::{write, Display, Formatter}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `IpAddr` [INFO] [stderr] --> src/mdns/mdns_message.rs:1:16 [INFO] [stderr] | [INFO] [stderr] 1 | use std::net::{IpAddr, Ipv4Addr}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Debug` and `Display` [INFO] [stderr] --> src/mdns/parser.rs:3:16 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fmt::{Debug, Display}; [INFO] [stderr] | ^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::cmp` [INFO] [stderr] --> src/mdnsexplorer_ui/mdns_message_table.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::cmp; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::mdnsexplorer_ui::confirmation_dialogue_ui::ConfirmationDialogueUi` [INFO] [stderr] --> src/mdnsexplorer_app/mdnsexplorer_app.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use crate::mdnsexplorer_ui::confirmation_dialogue_ui::ConfirmationDialogueUi; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `pnet::packet::Packet` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use pnet::packet::Packet; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> src/mdns/parser.rs:118:9 [INFO] [stderr] | [INFO] [stderr] 118 | for i in 0..answer_count [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `header` [INFO] [stderr] --> src/mdns/tests/parser_tests.rs:17:13 [INFO] [stderr] | [INFO] [stderr] 17 | let header = result.unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `result` [INFO] [stderr] --> src/mdns/tests/parser_tests.rs:84:13 [INFO] [stderr] | [INFO] [stderr] 84 | let result = parse_name(&mut reader); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `row_height` [INFO] [stderr] --> src/mdnsexplorer_ui/mdns_message_table.rs:108:21 [INFO] [stderr] | [INFO] [stderr] 108 | let row_height = 30f32; [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_height` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/mdnsexplorer_ui/interface_chooser_ui.rs:42:33 [INFO] [stderr] | [INFO] [stderr] 42 | ... Err(e) => { panic!("Unable to lock picked interface."); } [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `duration` [INFO] [stderr] --> src/mdnsexplorer_app/mdnsexplorer_app.rs:50:33 [INFO] [stderr] | [INFO] [stderr] 50 | ... let duration = now.elapsed().unwrap(); [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_duration` [INFO] [stderr] [INFO] [stderr] warning: field `raw` is never read [INFO] [stderr] --> src/mdns/types.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | OTHER { raw: Vec } // Others [INFO] [stderr] | ----- ^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `MDNSRData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variants `NSEC` and `ANY` are never constructed [INFO] [stderr] --> src/mdns/types.rs:59:5 [INFO] [stderr] | [INFO] [stderr] 52 | pub enum MDNSRData { [INFO] [stderr] | --------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 59 | NSEC { raw: Vec }, // Next domain name, Bitmap indicating available record types TODO: implement strongly typed NSEC data [INFO] [stderr] | ^^^^ [INFO] [stderr] 60 | ANY { raw: Vec }, // No specific RDATA; used in queries. [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MDNSRData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `question_class` is never read [INFO] [stderr] --> src/mdns/types.rs:128:9 [INFO] [stderr] | [INFO] [stderr] 125 | pub struct MDNSQuestion{ [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 128 | pub question_class: MDNSQueryClass [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MDNSQuestion` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `answer_class`, `ttl_seconds`, and `rd_length` are never read [INFO] [stderr] --> src/mdns/types.rs:135:9 [INFO] [stderr] | [INFO] [stderr] 132 | pub struct MDNSAnswer{ [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 135 | pub answer_class: MDNSQueryClass, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 136 | pub ttl_seconds: u32, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 137 | pub rd_length: u16, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MDNSAnswer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: constant `ANSWER_MACHINE1_MDNS_PAYLOAD_ANSWERS_PART` is never used [INFO] [stderr] --> src/mdns/tests/parser_tests.rs:94:11 [INFO] [stderr] | [INFO] [stderr] 94 | const ANSWER_MACHINE1_MDNS_PAYLOAD_ANSWERS_PART: [u8; 34] = [5, 95, 104, 116, 116, 112, 4, 95, 116, 99, 112, 5, 108, 111, 99, 97, 108... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ANSWER_MACHINE1_MDNS_PAYLOAD_ANSWERS_WITH_REFERENCE_PART` is never used [INFO] [stderr] --> src/mdns/tests/parser_tests.rs:96:11 [INFO] [stderr] | [INFO] [stderr] 96 | const ANSWER_MACHINE1_MDNS_PAYLOAD_ANSWERS_WITH_REFERENCE_PART: [u8; 34] = [5, 95, 104, 116, 116, 112, 4, 95, 116, 99, 112, 5, 108, 1... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MDNS_ANSWER_2` is never used [INFO] [stderr] --> src/mdns/tests/parser_tests.rs:117:11 [INFO] [stderr] | [INFO] [stderr] 117 | const MDNS_ANSWER_2: [u8; 100] = [ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `MDNS_ANSWER_3` is never used [INFO] [stderr] --> src/mdns/tests/parser_tests.rs:128:11 [INFO] [stderr] | [INFO] [stderr] 128 | const MDNS_ANSWER_3: [u8; 52] = [ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `destination_ip` is never read [INFO] [stderr] --> src/mdnsexplorer_ui/mdns_message_table.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 10 | pub struct MdnsMessageOverview { [INFO] [stderr] | ------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 14 | destination_ip: Ipv4Addr, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MdnsMessageOverview` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `num_rows`, `scroll_to_row_slider`, `scroll_to_row`, `selection`, `checked`, and `reversed` are never read [INFO] [stderr] --> src/mdnsexplorer_ui/mdns_message_table.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 23 | pub struct MdnsMessageTable { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 27 | num_rows: usize, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 28 | scroll_to_row_slider: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 29 | scroll_to_row: Option, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 30 | selection: std::collections::HashSet, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 31 | checked: bool, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 32 | reversed: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `toggle_row_selection` is never used [INFO] [stderr] --> src/mdnsexplorer_ui/mdns_message_table.rs:137:8 [INFO] [stderr] | [INFO] [stderr] 53 | impl MdnsMessageTable { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 137 | fn toggle_row_selection(&mut self, row_index: usize, row_response: &egui::Response) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `expanding_content` is never used [INFO] [stderr] --> src/mdnsexplorer_ui/mdns_message_table.rs:158:4 [INFO] [stderr] | [INFO] [stderr] 158 | fn expanding_content(ui: &mut egui::Ui) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `long_text` is never used [INFO] [stderr] --> src/mdnsexplorer_ui/mdns_message_table.rs:162:4 [INFO] [stderr] | [INFO] [stderr] 162 | fn long_text(row_index: usize) -> String { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `thick_row` is never used [INFO] [stderr] --> src/mdnsexplorer_ui/mdns_message_table.rs:166:4 [INFO] [stderr] | [INFO] [stderr] 166 | fn thick_row(row_index: usize) -> bool { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ConfirmationDialogueUi` is never constructed [INFO] [stderr] --> src/mdnsexplorer_ui/confirmation_dialogue_ui.rs:4:12 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct ConfirmationDialogueUi { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `run` is never used [INFO] [stderr] --> src/mdnsexplorer_ui/confirmation_dialogue_ui.rs:9:12 [INFO] [stderr] | [INFO] [stderr] 8 | impl ConfirmationDialogueUi { [INFO] [stderr] | --------------------------- associated function in this implementation [INFO] [stderr] 9 | pub fn run(title: &str, message: &str) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function `parse_header__reads_the_header_and_only_the_header` should have a snake case name [INFO] [stderr] --> src/mdns/tests/parser_tests.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 6 | fn parse_header__reads_the_header_and_only_the_header() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_header_reads_the_header_and_only_the_header` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: function `parse_header__returns_empty_when_missing_bytes` should have a snake case name [INFO] [stderr] --> src/mdns/tests/parser_tests.rs:21:8 [INFO] [stderr] | [INFO] [stderr] 21 | fn parse_header__returns_empty_when_missing_bytes() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_header_returns_empty_when_missing_bytes` [INFO] [stderr] [INFO] [stderr] warning: function `parse_name__when_multiple_labels__parses_correctly` should have a snake case name [INFO] [stderr] --> src/mdns/tests/parser_tests.rs:35:8 [INFO] [stderr] | [INFO] [stderr] 35 | fn parse_name__when_multiple_labels__parses_correctly() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_name_when_multiple_labels_parses_correctly` [INFO] [stderr] [INFO] [stderr] warning: function `parse_name__when_single_label__parses_correctly` should have a snake case name [INFO] [stderr] --> src/mdns/tests/parser_tests.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | fn parse_name__when_single_label__parses_correctly() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_name_when_single_label_parses_correctly` [INFO] [stderr] [INFO] [stderr] warning: function `parse_name__when_pointer_is_present__parses_correctly` should have a snake case name [INFO] [stderr] --> src/mdns/tests/parser_tests.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | fn parse_name__when_pointer_is_present__parses_correctly() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_name_when_pointer_is_present_parses_correctly` [INFO] [stderr] [INFO] [stderr] warning: function `parse_name__reads_trailing_0` should have a snake case name [INFO] [stderr] --> src/mdns/tests/parser_tests.rs:77:8 [INFO] [stderr] | [INFO] [stderr] 77 | fn parse_name__reads_trailing_0() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_name_reads_trailing_0` [INFO] [stderr] [INFO] [stderr] warning: `mdnsexplorer` (bin "mdnsexplorer" test) generated 34 warnings (run `cargo fix --bin "mdnsexplorer" -p mdnsexplorer --tests` to apply 12 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/mdnsexplorer-d97c0189c2db1ee4) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test mdns::tests::parser_tests::parser_tests::parse_header__reads_the_header_and_only_the_header ... ok [INFO] [stdout] test mdns::tests::parser_tests::parser_tests::parse_header__returns_empty_when_missing_bytes ... ok [INFO] [stdout] test mdns::tests::parser_tests::parser_tests::parse_header_tests ... ok [INFO] [stdout] test mdns::tests::parser_tests::parser_tests::parse_name__when_multiple_labels__parses_correctly ... ok [INFO] [stdout] test mdns::tests::parser_tests::parser_tests::parse_name__when_pointer_is_present__parses_correctly ... ok [INFO] [stdout] test mdns::tests::parser_tests::parser_tests::parse_name__when_single_label__parses_correctly ... ok [INFO] [stdout] test mdns::tests::parser_tests::parser_tests::test_mdns_answer1 ... ok [INFO] [stdout] test mdns::tests::parser_tests::parser_tests::parse_name__reads_trailing_0 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1d9a58834eaba17227e4c742cbeac11fc4aa5d313fcb260d2039d34b8061b2af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d9a58834eaba17227e4c742cbeac11fc4aa5d313fcb260d2039d34b8061b2af", kill_on_drop: false }` [INFO] [stdout] 1d9a58834eaba17227e4c742cbeac11fc4aa5d313fcb260d2039d34b8061b2af