[INFO] cloning repository https://github.com/a-givertzman/fr-service [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a-givertzman/fr-service" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-givertzman%2Ffr-service", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-givertzman%2Ffr-service'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e35e6d7b2720f0937be2a367c7c00f2a157092b9 [INFO] checking a-givertzman/fr-service against try#342ed2e8608ee307743c341962b427652cdb06e9 for pr-146562-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa-givertzman%2Ffr-service" "/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/a-givertzman/fr-service [INFO] finished tweaking git repo https://github.com/a-givertzman/fr-service [INFO] tweaked toml for git repo https://github.com/a-givertzman/fr-service written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/a-givertzman/fr-service on toolchain 342ed2e8608ee307743c341962b427652cdb06e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/a-givertzman/fr-service 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" "+342ed2e8608ee307743c341962b427652cdb06e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fdd042f32f762962d8a67ad2b387b6dda833c3cdfdd6741ba4dfc818c61f230 [INFO] running `Command { std: "docker" "start" "-a" "3fdd042f32f762962d8a67ad2b387b6dda833c3cdfdd6741ba4dfc818c61f230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fdd042f32f762962d8a67ad2b387b6dda833c3cdfdd6741ba4dfc818c61f230", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fdd042f32f762962d8a67ad2b387b6dda833c3cdfdd6741ba4dfc818c61f230", kill_on_drop: false }` [INFO] [stdout] 3fdd042f32f762962d8a67ad2b387b6dda833c3cdfdd6741ba4dfc818c61f230 [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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+342ed2e8608ee307743c341962b427652cdb06e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61de59d47f5e788a9a463660cc6125674620de121d307c2d04f98522c15b0159 [INFO] running `Command { std: "docker" "start" "-a" "61de59d47f5e788a9a463660cc6125674620de121d307c2d04f98522c15b0159", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling cc v1.1.18 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling wayland-sys v0.31.5 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking subtle v2.6.1 [INFO] [stderr] Compiling quick-xml v0.36.1 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling wayland-client v0.31.6 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking cpufeatures v0.2.14 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling wayland-scanner v0.31.5 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling wayland-backend v0.3.7 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling thiserror v1.0.63 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking tinyvec v1.8.0 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking ttf-parser v0.24.1 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking owned_ttf_parser v0.24.0 [INFO] [stderr] Checking ab_glyph v0.2.28 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling xml-rs v0.8.22 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Compiling zvariant_utils v1.0.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling bytemuck_derive v1.7.1 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling async-trait v0.1.82 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling zvariant_derive v3.15.2 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Compiling enumn v0.1.14 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling zbus_macros v3.15.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking wayland-cursor v0.31.6 [INFO] [stderr] Checking wayland-protocols v0.31.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking wayland-csd-frame v0.3.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking async-broadcast v0.5.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking xdg-home v1.3.0 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking calloop v0.12.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking arrayref v0.3.8 [INFO] [stderr] Checking miniz_oxide v0.8.0 [INFO] [stderr] Checking tiny-skia-path v0.11.4 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking calloop-wayland-source v0.2.0 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking unicode-properties v0.1.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Checking x11rb v0.13.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking tiny-skia v0.11.4 [INFO] [stderr] Checking stringprep v0.1.5 [INFO] [stderr] Checking wayland-protocols-wlr v0.2.0 [INFO] [stderr] Checking miniz_oxide v0.7.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking flate2 v1.0.33 [INFO] [stderr] Checking fdeflate v0.3.4 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking accesskit v0.12.3 [INFO] [stderr] Checking emath v0.28.1 [INFO] [stderr] Checking zvariant v3.15.2 [INFO] [stderr] Checking smithay-client-toolkit v0.18.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ecolor v0.28.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking epaint v0.28.1 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking fallible-iterator v0.2.0 [INFO] [stderr] Checking postgres-protocol v0.6.7 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking sctk-adwaita v0.8.3 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking png v0.17.13 [INFO] [stderr] Checking zbus_names v2.6.1 [INFO] [stderr] Compiling pathfinder_simd v0.5.4 [INFO] [stderr] Checking wayland-protocols-plasma v0.2.0 [INFO] [stderr] Checking zbus v3.15.2 [INFO] [stderr] Checking calloop v0.13.0 [INFO] [stderr] Checking wayland-protocols v0.32.4 [INFO] [stderr] Checking egui v0.28.1 [INFO] [stderr] Compiling glutin_egl_sys v0.6.0 [INFO] [stderr] Compiling glutin_glx_sys v0.5.0 [INFO] [stderr] Checking xkbcommon-dl v0.4.2 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking winit v0.29.15 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking calloop-wayland-source v0.3.0 [INFO] [stderr] Checking postgres-types v0.2.7 [INFO] [stderr] Checking accesskit_consumer v0.16.1 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Checking tokio-util v0.7.12 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Checking whoami v1.5.2 [INFO] [stderr] Checking async-once-cell v0.5.3 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking tokio-postgres v0.7.11 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Checking atspi-common v0.3.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.3.4 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Compiling mime_guess2 v2.0.5 [INFO] [stderr] Checking smithay-client-toolkit v0.19.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Compiling font-kit v0.14.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Checking webbrowser v1.0.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking postgres v0.19.8 [INFO] [stderr] Checking glutin v0.31.3 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking testing v0.0.2 (https://github.com/a-givertzman/rust-testing.git?tag=0.0.2#b810ec56) [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking smithay-clipboard v0.7.2 [INFO] [stderr] Checking debugging v0.0.1 (https://github.com/a-givertzman/rust-debuging.git?tag=0.0.1#18c3318a) [INFO] [stderr] Checking arboard v3.4.0 [INFO] [stderr] Compiling enum-map-derive v0.17.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling rustfft v6.2.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking unsafe-libyaml v0.2.11 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking strength_reduce v0.2.4 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking enum-map v2.7.3 [INFO] [stderr] Checking image v0.25.2 [INFO] [stderr] Checking transpose v0.2.3 [INFO] [stderr] Checking clap_builder v4.5.17 [INFO] [stderr] Compiling document-features v0.2.10 [INFO] [stderr] Checking serde_yaml v0.9.34+deprecated [INFO] [stderr] Checking egui_glow v0.28.1 [INFO] [stderr] Checking glutin-winit v0.4.2 [INFO] [stderr] Checking hashers v1.0.1 [INFO] [stderr] Checking api-tools v0.0.6 (https://github.com/a-givertzman/rust-api-tools.git?tag=0.0.6#78057d82) [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Checking lexical v6.1.1 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking atspi-proxies v0.3.0 [INFO] [stderr] Checking primal-check v0.3.4 [INFO] [stderr] Checking testing v0.1.1 (https://github.com/a-givertzman/rust-testing.git#f18b3370) [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Compiling cma-server v0.1.3 (/opt/rustwide/workdir) [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking concat-in-place v1.1.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking concat-string v1.0.1 [INFO] [stderr] Checking sal-sync v0.0.1 (https://github.com/a-givertzman/rust-sal-sync.git#5ffba64f) [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Checking egui_extras v0.28.1 [INFO] [stderr] Checking egui_plot v0.28.1 [INFO] [stderr] Checking hsl v0.1.1 [INFO] [stderr] Checking uid v0.1.8 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking atspi-connection v0.3.0 [INFO] [stderr] Checking atspi v0.19.0 [INFO] [stderr] Checking accesskit_unix v0.6.2 [INFO] [stderr] Checking clap v4.5.17 [INFO] [stderr] Compiling snap7-sys v0.1.5 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking accesskit_winit v0.16.1 [INFO] [stderr] Checking egui-winit v0.28.1 [INFO] [stderr] Checking eframe v0.28.1 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/services/safe_lock/rwlock.rs:30:78 [INFO] [stdout] | [INFO] [stdout] 30 | fn rlock<'a>(&'a self, parent: impl Into) -> RwLockReadGuard<'a, (dyn Service + 'static)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - fn rlock<'a>(&'a self, parent: impl Into) -> RwLockReadGuard<'a, (dyn Service + 'static)> { [INFO] [stdout] 30 + fn rlock<'a>(&'a self, parent: impl Into) -> RwLockReadGuard<'a, dyn Service + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/services/safe_lock/rwlock.rs:40:79 [INFO] [stdout] | [INFO] [stdout] 40 | fn wlock<'a>(&'a self, parent: impl Into) -> RwLockWriteGuard<'a, (dyn Service + 'static)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - fn wlock<'a>(&'a self, parent: impl Into) -> RwLockWriteGuard<'a, (dyn Service + 'static)> { [INFO] [stdout] 40 + fn wlock<'a>(&'a self, parent: impl Into) -> RwLockWriteGuard<'a, dyn Service + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/services/safe_lock/rwlock.rs:54:78 [INFO] [stdout] | [INFO] [stdout] 54 | fn rlock<'a>(&'a self, parent: impl Into) -> RwLockReadGuard<'a, (dyn Service + Send + 'static)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - fn rlock<'a>(&'a self, parent: impl Into) -> RwLockReadGuard<'a, (dyn Service + Send + 'static)> { [INFO] [stdout] 54 + fn rlock<'a>(&'a self, parent: impl Into) -> RwLockReadGuard<'a, dyn Service + Send + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/services/safe_lock/rwlock.rs:64:79 [INFO] [stdout] | [INFO] [stdout] 64 | fn wlock<'a>(&'a self, parent: impl Into) -> RwLockWriteGuard<'a, (dyn Service + Send + 'static)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - fn wlock<'a>(&'a self, parent: impl Into) -> RwLockWriteGuard<'a, (dyn Service + Send + 'static)> { [INFO] [stdout] 64 + fn wlock<'a>(&'a self, parent: impl Into) -> RwLockWriteGuard<'a, dyn Service + Send + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/services/safe_lock/rwlock.rs:30:78 [INFO] [stdout] | [INFO] [stdout] 30 | fn rlock<'a>(&'a self, parent: impl Into) -> RwLockReadGuard<'a, (dyn Service + 'static)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 30 - fn rlock<'a>(&'a self, parent: impl Into) -> RwLockReadGuard<'a, (dyn Service + 'static)> { [INFO] [stdout] 30 + fn rlock<'a>(&'a self, parent: impl Into) -> RwLockReadGuard<'a, dyn Service + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/services/safe_lock/rwlock.rs:40:79 [INFO] [stdout] | [INFO] [stdout] 40 | fn wlock<'a>(&'a self, parent: impl Into) -> RwLockWriteGuard<'a, (dyn Service + 'static)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 40 - fn wlock<'a>(&'a self, parent: impl Into) -> RwLockWriteGuard<'a, (dyn Service + 'static)> { [INFO] [stdout] 40 + fn wlock<'a>(&'a self, parent: impl Into) -> RwLockWriteGuard<'a, dyn Service + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/services/safe_lock/rwlock.rs:54:78 [INFO] [stdout] | [INFO] [stdout] 54 | fn rlock<'a>(&'a self, parent: impl Into) -> RwLockReadGuard<'a, (dyn Service + Send + 'static)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 54 - fn rlock<'a>(&'a self, parent: impl Into) -> RwLockReadGuard<'a, (dyn Service + Send + 'static)> { [INFO] [stdout] 54 + fn rlock<'a>(&'a self, parent: impl Into) -> RwLockReadGuard<'a, dyn Service + Send + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/services/safe_lock/rwlock.rs:64:79 [INFO] [stdout] | [INFO] [stdout] 64 | fn wlock<'a>(&'a self, parent: impl Into) -> RwLockWriteGuard<'a, (dyn Service + Send + 'static)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 64 - fn wlock<'a>(&'a self, parent: impl Into) -> RwLockWriteGuard<'a, (dyn Service + Send + 'static)> { [INFO] [stdout] 64 + fn wlock<'a>(&'a self, parent: impl Into) -> RwLockWriteGuard<'a, dyn Service + Send + 'static> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/services/udp_client/udp_client_db.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | &[UdpClient::SYN, addr, type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 85 | &[UdpClient::SYN, _addr, type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `JDS_END_OF_TRANSMISSION` [INFO] [stdout] | [INFO] [stdout] 85 - &[UdpClient::SYN, addr, type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] 85 + &[UdpClient::SYN, core_::net::protocols::jds::jds_define::JDS_END_OF_TRANSMISSION, type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_` [INFO] [stdout] --> src/services/udp_client/udp_client_db.rs:85:37 [INFO] [stdout] | [INFO] [stdout] 85 | &[UdpClient::SYN, addr, type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 85 | &[UdpClient::SYN, addr, _type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `JDS_END_OF_TRANSMISSION` [INFO] [stdout] | [INFO] [stdout] 85 - &[UdpClient::SYN, addr, type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] 85 + &[UdpClient::SYN, addr, core_::net::protocols::jds::jds_define::JDS_END_OF_TRANSMISSION, c1,c2,c3, c4, ..] => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notify` [INFO] [stdout] --> src/services/udp_client/udp_client.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | let mut notify: ChangeNotify<_, String> = ChangeNotify::new(self_id, NotifyState::Start, vec![ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_notify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/udp_client/udp_client.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | let mut notify: ChangeNotify<_, String> = ChangeNotify::new(self_id, NotifyState::Start, vec![ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `AproxEq` is never used [INFO] [stdout] --> src/core_/aprox_eq/aprox_eq.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait AproxEq { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ErrorString` is never used [INFO] [stdout] --> src/core_/failure/error_string.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type ErrorString = String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `limit` and `errors` are never used [INFO] [stdout] --> src/core_/failure/errors_limit.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ErrorLimit { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn limit(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn errors(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_max` is never used [INFO] [stdout] --> src/core_/state/switch_state.rs:87:12 [INFO] [stdout] | [INFO] [stdout] 48 | impl SwitchState { [INFO] [stdout] | ---------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn is_max(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SwitchStateChanged` is never constructed [INFO] [stdout] --> src/core_/state/switch_state_changed.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct SwitchStateChanged { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `state`, `reset`, `changed`, and `is_max` are never used [INFO] [stdout] --> src/core_/state/switch_state_changed.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl SwitchStateChanged { [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn new(switch_state: SwitchState) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn add(& mut self, value: TInput) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn state(&self) -> TState { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 37 | pub fn changed(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn is_max(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core_/state/exit_notify.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ExitNotify { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `exit_parent`, `exit_all`, `reset`, and `reset_parent` are never used [INFO] [stdout] --> src/core_/state/exit_notify.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ExitNotify { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn exit_parent(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn exit_all(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn reset_parent(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Active` is never constructed [INFO] [stdout] --> src/core_/net/connection_status.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum SocketState { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 11 | Active, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core_/retain_buffer/retain_buffer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RetainBuffer { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 11 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RetainBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `store` is never used [INFO] [stdout] --> src/core_/retain_buffer/retain_buffer.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl RetainBuffer { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn store(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_changed` is never used [INFO] [stdout] --> src/core_/filter/filter.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Filter: std::fmt::Debug { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn is_changed(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Debug3` is never used [INFO] [stdout] --> src/core_/testing/partial_debug.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Debug3: Debug { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `points` is never used [INFO] [stdout] --> src/conf/fn_/metric_config.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl MetricConfig { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn points(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_yaml` and `read` are never used [INFO] [stdout] --> src/conf/api_client_config.rs:78:19 [INFO] [stdout] | [INFO] [stdout] 30 | impl ApiClientConfig { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub(crate) fn from_yaml(parent: impl Into, value: &serde_yaml::Value) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn read(parent: impl Into, path: &str) -> ApiClientConfig { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first` and `subscribe` are never used [INFO] [stdout] --> src/conf/service_config.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl ServiceConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn first(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn subscribe(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prefix` is never used [INFO] [stdout] --> src/conf/profinet_client_config/keywd.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Keywd { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 56 | pub fn prefix(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `points` is never used [INFO] [stdout] --> src/conf/jds_service_config/jds_service_config.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl JdsServiceConfig { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn points(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prefix` is never used [INFO] [stdout] --> src/conf/slmp_client_config/keywd.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Keywd { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 56 | pub fn prefix(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `points` is never used [INFO] [stdout] --> src/conf/udp_client_config/udp_client_config.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl UdpClientConfig { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn points(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `points` is never used [INFO] [stdout] --> src/conf/udp_client_config/udp_client_db_config.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl UdpClientDbConfig { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn points(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prefix` is never used [INFO] [stdout] --> src/conf/udp_client_config/keywd.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Keywd { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 56 | pub fn prefix(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `description` are never read [INFO] [stdout] --> src/services/profinet_client/profinet_db.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ProfinetDb { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 23 | id: String, [INFO] [stdout] 24 | pub name: Name, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/services/profinet_client/s7/s7_error.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | Inner(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `S7Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 - Inner(String), [INFO] [stdout] 63 + Inner(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/profinet_client/s7/s7_parse_bool.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct S7ParseBool { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `S7ParseBool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_raw_simple` is never used [INFO] [stdout] --> src/services/profinet_client/s7/s7_parse_bool.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl S7ParseBool { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | fn add_raw_simple(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/profinet_client/s7/s7_parse_int.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct S7ParseInt { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `S7ParseInt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_raw_simple` is never used [INFO] [stdout] --> src/services/profinet_client/s7/s7_parse_int.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl S7ParseInt { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn add_raw_simple(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/profinet_client/s7/s7_parse_real.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct S7ParseReal { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `S7ParseReal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_raw_simple` is never used [INFO] [stdout] --> src/services/profinet_client/s7/s7_parse_real.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl S7ParseReal { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | fn add_raw_simple(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_simple` and `is_changed` are never used [INFO] [stdout] --> src/services/profinet_client/parse_point.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ParsePoint { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn next_simple(&mut self, bytes: &[u8]) -> Option; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn is_changed(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/services/task/nested_function/fn_.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub trait FnOut: std::fmt::Debug { [INFO] [stdout] | ----- method in this trait [INFO] [stdout] ... [INFO] [stdout] 51 | fn reset(&mut self); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `initial` is never read [INFO] [stdout] --> src/services/task/nested_function/fn_input.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct FnInput { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 16 | initial: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnInput` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/services/task/nested_function/io/fn_retain.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct FnRetain { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 30 | id: String, [INFO] [stdout] 31 | name: Name, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnRetain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sampl_freq` and `delta_t` are never read [INFO] [stdout] --> src/services/task/nested_function/va/fft_buff.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct FftBuf { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 6 | fft_size: usize, [INFO] [stdout] 7 | sampl_freq: usize, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | delta_t: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sampl_freq`, `reset`, and `time` are never used [INFO] [stdout] --> src/services/task/nested_function/va/fft_buff.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl FftBuf { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn sampl_freq(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn time(&self) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gi` is never used [INFO] [stdout] --> src/services/services.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Services { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn gi(&self, _service: &str, _points: &[SubscriptionCriteria]) -> Receiver { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history` and `alarm` are never read [INFO] [stdout] --> src/services/history/producer_service.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct PointGen { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 187 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 188 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointGen` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_status` and `is_changed` are never used [INFO] [stdout] --> src/services/history/producer_service.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 330 | pub trait ParsePoint { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 336 | fn next_status(&mut self, status: Status) -> Option; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | fn is_changed(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SlmpCpuError` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_cpu_error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SlmpCpuError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `text` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_cpu_error.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl SlmpCpuError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 34 | pub fn text(code: i32) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SlmpEthError` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_eth_error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SlmpEthError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `text` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_eth_error.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl SlmpEthError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 29 | pub fn text(code: i32) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_parse_bool.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SlmpParseBool { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 19 | id: String, [INFO] [stdout] 20 | pub type_: PointConfigType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlmpParseBool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_raw_simple` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_parse_bool.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl SlmpParseBool { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | fn add_raw_simple(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_parse_int.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SlmpParseInt { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] 17 | pub type_: PointConfigType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlmpParseInt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_raw_simple` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_parse_int.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl SlmpParseInt { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn add_raw_simple(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_parse_real.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SlmpParseReal { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] 17 | pub type_: PointConfigType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlmpParseReal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_raw_simple` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_parse_real.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl SlmpParseReal { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn add_raw_simple(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `type_`, `next_simple`, and `is_changed` are never used [INFO] [stdout] --> src/services/slmp_client/parse_point.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ParsePoint: Send { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn type_(&self) -> PointConfigType; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn next_simple(&mut self, bytes: &[u8]) -> Option; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn is_changed(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/services/udp_client/parse_point.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ParsePoint: Send { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn type_(&self) -> PointConfigType; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn add(&mut self, bytes: &[u8], status: Status, timestamp: DateTime); [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | fn next(&mut self) -> Option; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn is_changed(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn address(&self) -> PointConfigAddress; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn to_bytes(&self, point: &Point) -> Result, String>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Start`, `Exit`, `UdpBindError`, `UdpRecvError`, `WouldBlock`, and `TimedOut` are never constructed [INFO] [stdout] --> src/services/udp_client/udp_client_db.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum State { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 18 | Start, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | Exit, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | UdpBindError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | UdpRecvError, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 22 | WouldBlock, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 23 | TimedOut, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `State` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `name`, `description`, `mtu`, `points`, and `notify` are never read [INFO] [stdout] --> src/services/udp_client/udp_client_db.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct UdpClientDb { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 28 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] 29 | pub name: Name, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 31 | mtu: usize, [INFO] [stdout] | ^^^ [INFO] [stdout] 32 | pub points: IndexMap>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | notify: ChangeNotify, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `parse`, `read`, `configure_parse_points`, and `box_i16` are never used [INFO] [stdout] --> src/services/udp_client/udp_client_db.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl UdpClientDb { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn new(parent_id: impl Into, tx_id: usize, conf: &UdpClientDbConfig, mtu: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn parse(&mut self, buf: &[u8], timestamp: DateTime, tx_send: &Sender) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub fn read(&mut self, socket: &UdpSocket, bytes: Vec, tx_send: &Sender) -> Result<(), String> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn configure_parse_points(self_id: &str, tx_id: usize, conf: &UdpClientDbConfig) -> IndexMap> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | fn box_i16(tx_id: usize, name: String, config: &PointConfig) -> Box { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Dbs` is never used [INFO] [stdout] --> src/services/udp_client/udp_client.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Dbs { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UdpClient` is never constructed [INFO] [stdout] --> src/services/udp_client/udp_client.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub struct UdpClient { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/services/udp_client/udp_client.rs:65:15 [INFO] [stdout] | [INFO] [stdout] 63 | impl UdpClient { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 64 | /// Message starts with [INFO] [stdout] 65 | pub const SYN: u8 = 22; [INFO] [stdout] | ^^^ [INFO] [stdout] 66 | /// Start message ends with [INFO] [stdout] 67 | pub const EOT: u8 = 4; [INFO] [stdout] | ^^^ [INFO] [stdout] 68 | /// Header length in bytes [INFO] [stdout] 69 | pub const HEAD_LEN: usize = 7; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn new(conf: UdpClientConfig, services: Arc>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn build_dbs(self_id: &str, tx_id: usize, conf: &UdpClientConfig) -> IndexMapFxHasher { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn handshake(self_id: &str, socket: UdpSocket, conf: &UdpClientConfig, exit: Arc) -> Result<(UdpSocket, SocketAddr, Vec) -> Result<(UdpSocket, SocketAddr, Vec), String> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `NotifyState` is never used [INFO] [stdout] --> src/services/udp_client/udp_client.rs:224:6 [INFO] [stdout] | [INFO] [stdout] 224 | enum NotifyState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `State` is never used [INFO] [stdout] --> src/services/udp_client/udp_client.rs:233:6 [INFO] [stdout] | [INFO] [stdout] 233 | enum State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SELF_ID` is never used [INFO] [stdout] --> src/services/udp_client/udp_client.rs:240:8 [INFO] [stdout] | [INFO] [stdout] 240 | static SELF_ID: std::sync::LazyLock> = std::sync::LazyLock::new(|| RwLock::new(String::new())); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UdpcParseI16` is never constructed [INFO] [stdout] --> src/services/udp_client/udpc_parse_i16.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct UdpcParseI16 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `SIZE`, `new`, `convert`, `to_point`, and `add` are never used [INFO] [stdout] --> src/services/udp_client/udpc_parse_i16.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 33 | impl UdpcParseI16 { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | const SIZE: usize = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn convert( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | fn to_point(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn add(&mut self, bytes: &[u8], status: Status, timestamp: DateTime) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exit` is never used [INFO] [stdout] --> src/tcp/tcp_write_alive.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl TcpWriteAlive { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn exit(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exit` is never used [INFO] [stdout] --> src/tcp/tcp_read_alive.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl TcpReadAlive { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn exit(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/services/task/nested_function/plot/fn_plot.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | SINGLETON.write(singleton); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/services/task/nested_function/plot/fn_plot.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | SINGLETON.assume_init_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/tests/unit/services/udp_client/mock_udp_server.rs:91:28 [INFO] [stdout] | [INFO] [stdout] 91 | fn get_link(&mut self, name: &str) -> Sender { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/services/udp_client/udp_client_db.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | &[UdpClient::SYN, addr, type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 85 | &[UdpClient::SYN, _addr, type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `JDS_END_OF_TRANSMISSION` [INFO] [stdout] | [INFO] [stdout] 85 - &[UdpClient::SYN, addr, type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] 85 + &[UdpClient::SYN, core_::net::protocols::jds::jds_define::JDS_END_OF_TRANSMISSION, type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `type_` [INFO] [stdout] --> src/services/udp_client/udp_client_db.rs:85:37 [INFO] [stdout] | [INFO] [stdout] 85 | &[UdpClient::SYN, addr, type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 85 | &[UdpClient::SYN, addr, _type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `JDS_END_OF_TRANSMISSION` [INFO] [stdout] | [INFO] [stdout] 85 - &[UdpClient::SYN, addr, type_, c1,c2,c3, c4, ..] => { [INFO] [stdout] 85 + &[UdpClient::SYN, addr, core_::net::protocols::jds::jds_define::JDS_END_OF_TRANSMISSION, c1,c2,c3, c4, ..] => { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `notify` [INFO] [stdout] --> src/services/udp_client/udp_client.rs:257:21 [INFO] [stdout] | [INFO] [stdout] 257 | let mut notify: ChangeNotify<_, String> = ChangeNotify::new(self_id, NotifyState::Start, vec![ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_notify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/services/udp_client/udp_client.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | let mut notify: ChangeNotify<_, String> = ChangeNotify::new(self_id, NotifyState::Start, vec![ [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `T` is never constructed [INFO] [stdout] --> src/tests/unit/services/task/functions/fn_retain_test.rs:402:16 [INFO] [stdout] | [INFO] [stdout] 402 | struct T(()); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `plot` is never used [INFO] [stdout] --> src/tests/unit/services/task/functions/va/plot.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn plot>(path: P, x_lables: usize, series: Vec>) -> Result<(), Box> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `colors` is never used [INFO] [stdout] --> src/tests/unit/services/task/functions/va/plot.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | fn colors(sat: usize) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hex_to_rgb` is never used [INFO] [stdout] --> src/tests/unit/services/task/functions/va/plot.rs:92:8 [INFO] [stdout] | [INFO] [stdout] 92 | fn hex_to_rgb(s: &str) -> RGBColor { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MockTcpServer` is never constructed [INFO] [stdout] --> src/tests/unit/services/multi_queue/mock_tcp_server.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct MockTcpServer { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `received` are never used [INFO] [stdout] --> src/tests/unit/services/multi_queue/mock_tcp_server.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl MockTcpServer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 25 | pub fn new(parent: impl Into, multi_queue: &str, services: Arc>, test_data: Vec, recv_limit: Option Arc>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `COUNT` is never used [INFO] [stdout] --> src/tests/unit/services/multi_queue/mock_tcp_server.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | static COUNT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `id` is never used [INFO] [stdout] --> src/tests/unit/services/tcp_server/emulated_tcp_client_send.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl EmulatedTcpClientSend { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn id(&self) -> String { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `services` is never read [INFO] [stdout] --> src/tests/unit/services/udp_client/mock_udp_server.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct MockUdpServer { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | services: Arc>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `ErrorString` is never used [INFO] [stdout] --> src/core_/failure/error_string.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type ErrorString = String; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `errors` is never used [INFO] [stdout] --> src/core_/failure/errors_limit.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ErrorLimit { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn errors(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `reset` is never used [INFO] [stdout] --> src/core_/state/switch_state_changed.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl SwitchStateChanged { [INFO] [stdout] | --------------------------------------------------------------------------------------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn reset(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core_/state/exit_notify.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ExitNotify { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 10 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `exit_parent`, `exit_all`, `reset`, and `reset_parent` are never used [INFO] [stdout] --> src/core_/state/exit_notify.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ExitNotify { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn exit_parent(&self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn exit_all(&self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn reset(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn reset_parent(&self) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Active` is never constructed [INFO] [stdout] --> src/core_/net/connection_status.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum SocketState { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] 11 | Active, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/core_/retain_buffer/retain_buffer.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct RetainBuffer { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 11 | id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RetainBuffer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `store` is never used [INFO] [stdout] --> src/core_/retain_buffer/retain_buffer.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl RetainBuffer { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn store(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_changed` is never used [INFO] [stdout] --> src/core_/filter/filter.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Filter: std::fmt::Debug { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn is_changed(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Debug3` is never used [INFO] [stdout] --> src/core_/testing/partial_debug.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 6 | trait Debug3: Debug { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `points` is never used [INFO] [stdout] --> src/conf/fn_/metric_config.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl MetricConfig { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn points(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `first` and `subscribe` are never used [INFO] [stdout] --> src/conf/service_config.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 35 | impl ServiceConfig { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn first(&self) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | pub fn subscribe(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prefix` is never used [INFO] [stdout] --> src/conf/profinet_client_config/keywd.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Keywd { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 56 | pub fn prefix(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `points` is never used [INFO] [stdout] --> src/conf/jds_service_config/jds_service_config.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl JdsServiceConfig { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn points(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prefix` is never used [INFO] [stdout] --> src/conf/slmp_client_config/keywd.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Keywd { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 56 | pub fn prefix(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `points` is never used [INFO] [stdout] --> src/conf/udp_client_config/udp_client_config.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl UdpClientConfig { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn points(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `points` is never used [INFO] [stdout] --> src/conf/udp_client_config/udp_client_db_config.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl UdpClientDbConfig { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn points(&self) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prefix` is never used [INFO] [stdout] --> src/conf/udp_client_config/keywd.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Keywd { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 56 | pub fn prefix(&self) -> String { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `description` are never read [INFO] [stdout] --> src/services/profinet_client/profinet_db.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct ProfinetDb { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 23 | id: String, [INFO] [stdout] 24 | pub name: Name, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/services/profinet_client/s7/s7_error.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | Inner(String), [INFO] [stdout] | ----- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `S7Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 - Inner(String), [INFO] [stdout] 63 + Inner(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/profinet_client/s7/s7_parse_bool.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct S7ParseBool { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 23 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `S7ParseBool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_raw_simple` is never used [INFO] [stdout] --> src/services/profinet_client/s7/s7_parse_bool.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl S7ParseBool { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 91 | fn add_raw_simple(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/profinet_client/s7/s7_parse_int.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct S7ParseInt { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 18 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 20 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `S7ParseInt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_raw_simple` is never used [INFO] [stdout] --> src/services/profinet_client/s7/s7_parse_int.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 26 | impl S7ParseInt { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | fn add_raw_simple(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/profinet_client/s7/s7_parse_real.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct S7ParseReal { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 21 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `S7ParseReal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_raw_simple` is never used [INFO] [stdout] --> src/services/profinet_client/s7/s7_parse_real.rs:84:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl S7ParseReal { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 84 | fn add_raw_simple(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_simple` and `is_changed` are never used [INFO] [stdout] --> src/services/profinet_client/parse_point.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ParsePoint { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn next_simple(&mut self, bytes: &[u8]) -> Option; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn is_changed(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/services/task/nested_function/io/fn_retain.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct FnRetain { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 30 | id: String, [INFO] [stdout] 31 | name: Name, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FnRetain` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `gi` is never used [INFO] [stdout] --> src/services/services.rs:326:12 [INFO] [stdout] | [INFO] [stdout] 47 | impl Services { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 326 | pub fn gi(&self, _service: &str, _points: &[SubscriptionCriteria]) -> Receiver { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `history` and `alarm` are never read [INFO] [stdout] --> src/services/history/producer_service.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 180 | pub struct PointGen { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 187 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 188 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PointGen` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `next_status` and `is_changed` are never used [INFO] [stdout] --> src/services/history/producer_service.rs:336:8 [INFO] [stdout] | [INFO] [stdout] 330 | pub trait ParsePoint { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 336 | fn next_status(&mut self, status: Status) -> Option; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | fn is_changed(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SlmpCpuError` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_cpu_error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SlmpCpuError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `text` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_cpu_error.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl SlmpCpuError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 34 | pub fn text(code: i32) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `SlmpEthError` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_eth_error.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum SlmpEthError { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `text` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_eth_error.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl SlmpEthError { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 29 | pub fn text(code: i32) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_parse_bool.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct SlmpParseBool { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 19 | id: String, [INFO] [stdout] 20 | pub type_: PointConfigType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 28 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlmpParseBool` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_raw_simple` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_parse_bool.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl SlmpParseBool { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | fn add_raw_simple(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_parse_int.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SlmpParseInt { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] 17 | pub type_: PointConfigType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlmpParseInt` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_raw_simple` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_parse_int.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl SlmpParseInt { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn add_raw_simple(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_parse_real.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct SlmpParseReal { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 16 | id: String, [INFO] [stdout] 17 | pub type_: PointConfigType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 24 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 25 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SlmpParseReal` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_raw_simple` is never used [INFO] [stdout] --> src/services/slmp_client/slmp/slmp_parse_real.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl SlmpParseReal { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | fn add_raw_simple(&mut self, bytes: &[u8]) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `type_`, `next_simple`, and `is_changed` are never used [INFO] [stdout] --> src/services/slmp_client/parse_point.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ParsePoint: Send { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn type_(&self) -> PointConfigType; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn next_simple(&mut self, bytes: &[u8]) -> Option; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn is_changed(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `type_`, `is_changed`, `address`, `size`, and `to_bytes` are never used [INFO] [stdout] --> src/services/udp_client/parse_point.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait ParsePoint: Send { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 8 | fn type_(&self) -> PointConfigType; [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn is_changed(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn address(&self) -> PointConfigAddress; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn size(&self) -> usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn to_bytes(&self, point: &Point) -> Result, String>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/services/udp_client/udp_client_db.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct UdpClientDb { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 30 | pub description: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Unknown` is never constructed [INFO] [stdout] --> src/services/udp_client/udp_client.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 47 | pub enum Dbs { [INFO] [stdout] | --- variant in this enum [INFO] [stdout] 48 | Data, [INFO] [stdout] 49 | Unknown(String), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dbs` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `type_`, `history`, `alarm`, and `comment` are never read [INFO] [stdout] --> src/services/udp_client/udpc_parse_i16.rs:18:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct UdpcParseI16 { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 17 | id: String, [INFO] [stdout] 18 | pub type_: PointConfigType, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub history: PointConfigHistory, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | pub alarm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 26 | pub comment: Option, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UdpcParseI16` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `SIZE` is never used [INFO] [stdout] --> src/services/udp_client/udpc_parse_i16.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 33 | impl UdpcParseI16 { [INFO] [stdout] | ----------------- associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | const SIZE: usize = 2; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exit` is never used [INFO] [stdout] --> src/tcp/tcp_write_alive.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl TcpWriteAlive { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn exit(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `exit` is never used [INFO] [stdout] --> src/tcp/tcp_read_alive.rs:105:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl TcpReadAlive { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn exit(&self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/services/task/nested_function/plot/fn_plot.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | SINGLETON.write(singleton); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/services/task/nested_function/plot/fn_plot.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | SINGLETON.assume_init_ref() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 15s [INFO] running `Command { std: "docker" "inspect" "61de59d47f5e788a9a463660cc6125674620de121d307c2d04f98522c15b0159", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61de59d47f5e788a9a463660cc6125674620de121d307c2d04f98522c15b0159", kill_on_drop: false }` [INFO] [stdout] 61de59d47f5e788a9a463660cc6125674620de121d307c2d04f98522c15b0159