[INFO] cloning repository https://github.com/nju-echo/adaptive_frame_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nju-echo/adaptive_frame_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnju-echo%2Fadaptive_frame_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnju-echo%2Fadaptive_frame_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 584758bfddec8c40db392e68de40ce54ef9e2a59 [INFO] checking nju-echo/adaptive_frame_rs against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnju-echo%2Fadaptive_frame_rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nju-echo/adaptive_frame_rs on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nju-echo/adaptive_frame_rs [INFO] finished tweaking git repo https://github.com/nju-echo/adaptive_frame_rs [INFO] tweaked toml for git repo https://github.com/nju-echo/adaptive_frame_rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nju-echo/adaptive_frame_rs 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded grep-matcher v0.1.7 [INFO] [stderr] Downloaded grep-searcher v0.1.13 [INFO] [stderr] Downloaded tokei v13.0.0-alpha.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2af9870c0df4896b991fb6cb488cea51cd4716a985498c2aeea315237b1421d3 [INFO] running `Command { std: "docker" "start" "-a" "2af9870c0df4896b991fb6cb488cea51cd4716a985498c2aeea315237b1421d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2af9870c0df4896b991fb6cb488cea51cd4716a985498c2aeea315237b1421d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af9870c0df4896b991fb6cb488cea51cd4716a985498c2aeea315237b1421d3", kill_on_drop: false }` [INFO] [stdout] 2af9870c0df4896b991fb6cb488cea51cd4716a985498c2aeea315237b1421d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6917733e04db5908bd74d1ddb1197d7dc00c684d05d765dd962462aaff9a6974 [INFO] running `Command { std: "docker" "start" "-a" "6917733e04db5908bd74d1ddb1197d7dc00c684d05d765dd962462aaff9a6974", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling getrandom v0.2.11 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling bstr v1.9.1 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling unic-char-range v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling serde v1.0.193 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling unic-common v0.9.0 [INFO] [stderr] Compiling unic-ucd-version v0.9.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Compiling walkdir v2.4.0 [INFO] [stderr] Compiling unic-char-property v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling unic-ucd-segment v0.9.0 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Compiling chrono v0.4.34 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling deunicode v1.4.3 [INFO] [stderr] Compiling slug v0.1.5 [INFO] [stderr] Compiling humansize v2.1.3 [INFO] [stderr] Compiling unic-segment v0.9.0 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Checking termcolor v1.4.0 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling globset v0.4.14 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking terminal_size v0.2.6 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling ignore v0.4.22 [INFO] [stderr] Compiling serde_derive v1.0.193 [INFO] [stderr] Compiling chrono-tz-build v0.2.1 [INFO] [stderr] Compiling globwalk v0.8.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking linux-raw-sys v0.4.12 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking encoding_rs_io v0.1.7 [INFO] [stderr] Compiling derive_arbitrary v1.3.2 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Compiling chrono-tz v0.8.6 [INFO] [stderr] Compiling pest v2.7.7 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Checking grep-matcher v0.1.7 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking grep-searcher v0.1.13 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Compiling pest_meta v2.7.7 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking term_size v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.5.11 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Checking env_logger v0.10.1 [INFO] [stderr] Compiling pest_generator v2.7.7 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking concurrent-queue v2.3.0 [INFO] [stderr] Checking webserver v0.1.0 (/opt/rustwide/workdir/webserver) [INFO] [stderr] Compiling pest_derive v2.7.7 [INFO] [stderr] Compiling tera v1.19.1 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Compiling tokei v13.0.0-alpha.0 [INFO] [stderr] Checking common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: the item `SensorData` is imported redundantly [INFO] [stdout] --> common/src/structs/sync/synchronous_sensor_data.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | use crate::structs::sensor_data::SensorData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | [INFO] [stdout] 56 | use super::*; [INFO] [stdout] | -------- the item `SensorData` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Arc` is imported redundantly [INFO] [stdout] --> common/src/structs/time_line.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | use super::*; [INFO] [stdout] | -------- the item `Arc` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `fs` is imported redundantly [INFO] [stdout] --> common/src/util/util.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | use super::*; [INFO] [stdout] | -------- the item `fs` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Path` is imported redundantly [INFO] [stdout] --> common/src/util/util.rs:195:9 [INFO] [stdout] | [INFO] [stdout] 195 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 196 | [INFO] [stdout] 197 | use super::*; [INFO] [stdout] | -------- the item `Path` is already imported here [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking platform v0.1.0 (/opt/rustwide/workdir/platform) [INFO] [stderr] Checking wrapper v0.1.0 (/opt/rustwide/workdir/wrapper) [INFO] [stderr] Checking app v0.1.0 (/opt/rustwide/workdir/app) [INFO] [stdout] warning: unused import: `serde_json::value::Index` [INFO] [stdout] --> wrapper/src/wrapper_remote_connector.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::value::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> wrapper/src/wrapper_remote_connector/wrapper_remote_connector_tcp.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SyncWrapperRemoteConnector`, `WeakWrapperRemoteConnector` [INFO] [stdout] --> wrapper/src/wrapper_remote_connector/wrapper_remote_connector_tcp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | SyncWrapperRemoteConnector, SyncWrapperString, WeakWrapperRemoteConnector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::value::Index` [INFO] [stdout] --> wrapper/src/wrapper_remote_connector.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::value::Index; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> wrapper/src/wrapper_remote_connector/wrapper_remote_connector_tcp.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::{Arc, RwLock}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SyncWrapperRemoteConnector`, `WeakWrapperRemoteConnector` [INFO] [stdout] --> wrapper/src/wrapper_remote_connector/wrapper_remote_connector_tcp.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | SyncWrapperRemoteConnector, SyncWrapperString, WeakWrapperRemoteConnector, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::linux::raw::stat` [INFO] [stdout] --> app/src/app_remote_connector.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::RwLockOptionSyncAbstractApp` [INFO] [stdout] --> app/src/app_remote_connector/app_remote_connector_tcp.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::app::RwLockOptionSyncAbstractApp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> app/src/app_remote_connector.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/tests/socket_test.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | let mut tcp = AbstractTCP::new(stream, true); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/tests/socket_test.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | let mut tcp = AbstractTCP::new(stream, false); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::os::linux::raw::stat` [INFO] [stdout] --> app/src/app_remote_connector.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::app::RwLockOptionSyncAbstractApp` [INFO] [stdout] --> app/src/app_remote_connector/app_remote_connector_tcp.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::app::RwLockOptionSyncAbstractApp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated struct `std::os::linux::raw::stat`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> app/src/app_remote_connector.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::linux::raw::stat; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> platform/src/app/app_driver.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> platform/src/app/app_driver.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, error, info, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::error::Category::Eof` [INFO] [stdout] --> platform/src/app/app_driver.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::error::Category::Eof; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SyncIpString` [INFO] [stdout] --> platform/src/app/app_driver.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::app::app_mgr_thread::{AppPort, IpString, SyncIpString, APP_MGR_THREAD}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> platform/src/app/app_mgr_thread.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> platform/src/app/app_mgr_thread.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> platform/src/resource/resource_driver.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `udp_port` [INFO] [stdout] --> app/src/abstract_app.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | fn start_get_value_thread(&self, udp_port: u16) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> platform/src/app/app_driver.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> platform/src/app/app_driver.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{debug, error, info, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::error::Category::Eof` [INFO] [stdout] --> platform/src/app/app_driver.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::error::Category::Eof; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SyncIpString` [INFO] [stdout] --> platform/src/app/app_driver.rs:23:53 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::app::app_mgr_thread::{AppPort, IpString, SyncIpString, APP_MGR_THREAD}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::format` [INFO] [stdout] --> platform/src/app/app_mgr_thread.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::format; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> platform/src/app/app_mgr_thread.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, trace}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToString` is imported redundantly [INFO] [stdout] --> platform/src/resource/resource_driver.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::string::ToString; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToString` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `udp_port` [INFO] [stdout] --> app/src/abstract_app.rs:54:38 [INFO] [stdout] | [INFO] [stdout] 54 | fn start_get_value_thread(&self, udp_port: u16) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_udp_port` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | sensor_name: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> app/src/app_remote_connector.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | mode: SensorMode, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frequency` [INFO] [stdout] --> app/src/app_remote_connector.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | frequency: FrequencyType, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frequency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:338:33 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn cancel_sensor(&self, sensor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:351:35 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn get_sensor_data(&self, sensor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> app/src/app_remote_connector.rs:365:34 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn get_msg_thread(&self, cmd: CmdType) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:393:34 [INFO] [stdout] | [INFO] [stdout] 393 | pub fn register_actor(&self, actor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:400:32 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn cancel_actor(&self, actor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:413:33 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn set_actor_cmd(&self, actor_name: String, action: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> app/src/app_remote_connector.rs:413:53 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn set_actor_cmd(&self, actor_name: String, action: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:423:35 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn get_sensor_info(&self, sensor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:436:44 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn get_sensor_info_and_data(&self, sensor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:449:34 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn get_actor_info(&self, actor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> app/src/app_remote_connector.rs:486:33 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn is_service_on(&self, service: ServiceType) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> app/src/app_remote_connector.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | service: ServiceType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> app/src/app_remote_connector.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | config: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> app/src/app_remote_connector.rs:504:32 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn service_stop(&self, service: ServiceType) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> app/src/app_remote_connector.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | service: ServiceType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> app/src/app_remote_connector.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | cmd: CmdType, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> app/src/app_remote_connector.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | config: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `get_value_thread` is never read [INFO] [stdout] --> app/src/abstract_app.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AbstractApp { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | get_value_thread: RwLockOptionGetValueThread, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cnt` is assigned to, but never used [INFO] [stdout] --> wrapper/examples/wrapper_demo_1_yellow_car.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | let mut cnt = 0; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_cnt` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:328:9 [INFO] [stdout] | [INFO] [stdout] 328 | sensor_name: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mode` [INFO] [stdout] --> app/src/app_remote_connector.rs:329:9 [INFO] [stdout] | [INFO] [stdout] 329 | mode: SensorMode, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `frequency` [INFO] [stdout] --> app/src/app_remote_connector.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | frequency: FrequencyType, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_frequency` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:338:33 [INFO] [stdout] | [INFO] [stdout] 338 | pub fn cancel_sensor(&self, sensor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:351:35 [INFO] [stdout] | [INFO] [stdout] 351 | pub fn get_sensor_data(&self, sensor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> app/src/app_remote_connector.rs:365:34 [INFO] [stdout] | [INFO] [stdout] 365 | pub fn get_msg_thread(&self, cmd: CmdType) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:393:34 [INFO] [stdout] | [INFO] [stdout] 393 | pub fn register_actor(&self, actor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:400:32 [INFO] [stdout] | [INFO] [stdout] 400 | pub fn cancel_actor(&self, actor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:413:33 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn set_actor_cmd(&self, actor_name: String, action: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> app/src/app_remote_connector.rs:413:53 [INFO] [stdout] | [INFO] [stdout] 413 | pub fn set_actor_cmd(&self, actor_name: String, action: String) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:423:35 [INFO] [stdout] | [INFO] [stdout] 423 | pub fn get_sensor_info(&self, sensor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:436:44 [INFO] [stdout] | [INFO] [stdout] 436 | pub fn get_sensor_info_and_data(&self, sensor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> app/src/app_remote_connector.rs:449:34 [INFO] [stdout] | [INFO] [stdout] 449 | pub fn get_actor_info(&self, actor_name: String) -> Result { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> app/src/app_remote_connector.rs:486:33 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn is_service_on(&self, service: ServiceType) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> app/src/app_remote_connector.rs:495:9 [INFO] [stdout] | [INFO] [stdout] 495 | service: ServiceType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> app/src/app_remote_connector.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | config: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> app/src/app_remote_connector.rs:504:32 [INFO] [stdout] | [INFO] [stdout] 504 | pub fn service_stop(&self, service: ServiceType) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> app/src/app_remote_connector.rs:513:9 [INFO] [stdout] | [INFO] [stdout] 513 | service: ServiceType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> app/src/app_remote_connector.rs:514:9 [INFO] [stdout] | [INFO] [stdout] 514 | cmd: CmdType, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> app/src/app_remote_connector.rs:515:9 [INFO] [stdout] | [INFO] [stdout] 515 | config: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `get_value_thread` is never read [INFO] [stdout] --> app/src/abstract_app.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct AbstractApp { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | get_value_thread: RwLockOptionGetValueThread, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> app/examples/connect_platform_app.rs:29:23 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_msg(&self, sensor_name: String, value: SensorData) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> app/examples/connect_platform_app.rs:29:44 [INFO] [stdout] | [INFO] [stdout] 29 | fn get_msg(&self, sensor_name: String, value: SensorData) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> platform/src/app/app_driver.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 228 | / match api.to_ascii_lowercase().as_str() { [INFO] [stdout] 229 | | "connect" => { [INFO] [stdout] 230 | | return Ok(driver.connect_platform()); [INFO] [stdout] 231 | | } [INFO] [stdout] ... | [INFO] [stdout] 568 | | } [INFO] [stdout] 569 | | } [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] ... [INFO] [stdout] 577 | Ok("".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> platform/src/app/app_driver.rs:577:9 [INFO] [stdout] | [INFO] [stdout] 228 | / match api.to_ascii_lowercase().as_str() { [INFO] [stdout] 229 | | "connect" => { [INFO] [stdout] 230 | | return Ok(driver.connect_platform()); [INFO] [stdout] 231 | | } [INFO] [stdout] ... | [INFO] [stdout] 568 | | } [INFO] [stdout] 569 | | } [INFO] [stdout] | |_____________- any code following this `match` expression is unreachable, as all arms diverge [INFO] [stdout] ... [INFO] [stdout] 577 | Ok("".to_string()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> platform/src/app/app_driver.rs:615:21 [INFO] [stdout] | [INFO] [stdout] 615 | if let Some(app) = self.app_mgr.read().expect("read app mgr fail").as_ref() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> platform/src/app/app_driver.rs:635:21 [INFO] [stdout] | [INFO] [stdout] 635 | if let Some(app) = app_option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:750:38 [INFO] [stdout] | [INFO] [stdout] 750 | fn get_registered_sensors(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:756:45 [INFO] [stdout] | [INFO] [stdout] 756 | fn get_registered_sensors_status(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:763:9 [INFO] [stdout] | [INFO] [stdout] 763 | app_name: SyncAppName, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | sensor_name: SyncSensorName, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_mode` [INFO] [stdout] --> platform/src/app/app_driver.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 765 | sensor_mode: SensorMode, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `freq` [INFO] [stdout] --> platform/src/app/app_driver.rs:766:9 [INFO] [stdout] | [INFO] [stdout] 766 | freq: FrequencyType, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:775:9 [INFO] [stdout] | [INFO] [stdout] 775 | app_name: SyncAppName, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | sensor_name: SyncSensorName, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_mode` [INFO] [stdout] --> platform/src/app/app_driver.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | sensor_mode: SensorMode, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `freq` [INFO] [stdout] --> platform/src/app/app_driver.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 778 | freq: FrequencyType, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:784:30 [INFO] [stdout] | [INFO] [stdout] 784 | fn _cancel_sensor(&self, app_name: &SyncAppName, sensor_name: &SyncSensorName) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:784:54 [INFO] [stdout] | [INFO] [stdout] 784 | fn _cancel_sensor(&self, app_name: &SyncAppName, sensor_name: &SyncSensorName) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:790:29 [INFO] [stdout] | [INFO] [stdout] 790 | fn cancel_sensor(&self, app_name: &SyncAppName, sensor_name: &SyncSensorName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:790:53 [INFO] [stdout] | [INFO] [stdout] 790 | fn cancel_sensor(&self, app_name: &SyncAppName, sensor_name: &SyncSensorName) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:796:34 [INFO] [stdout] | [INFO] [stdout] 796 | fn cancel_all_sensors(&self, app_name: &SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:802:31 [INFO] [stdout] | [INFO] [stdout] 802 | fn get_sensor_data(&self, app_name: SyncAppName, sensor_name: SyncSensorName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:802:54 [INFO] [stdout] | [INFO] [stdout] 802 | fn get_sensor_data(&self, app_name: SyncAppName, sensor_name: SyncSensorName) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:808:35 [INFO] [stdout] | [INFO] [stdout] 808 | fn get_all_sensor_data(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:815:30 [INFO] [stdout] | [INFO] [stdout] 815 | fn get_msg_thread(&self, app_name: SyncAppName, cmd: CmdType) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> platform/src/app/app_driver.rs:815:53 [INFO] [stdout] | [INFO] [stdout] 815 | fn get_msg_thread(&self, app_name: SyncAppName, cmd: CmdType) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:830:37 [INFO] [stdout] | [INFO] [stdout] 830 | fn get_registered_actors(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:836:44 [INFO] [stdout] | [INFO] [stdout] 836 | fn get_registered_actors_status(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:842:30 [INFO] [stdout] | [INFO] [stdout] 842 | fn register_actor(&self, app_name: SyncAppName, actor_name: SyncActorName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:842:53 [INFO] [stdout] | [INFO] [stdout] 842 | fn register_actor(&self, app_name: SyncAppName, actor_name: SyncActorName) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:848:28 [INFO] [stdout] | [INFO] [stdout] 848 | fn cancel_actor(&self, app_name: &SyncAppName, actor_name: &SyncActorName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:848:52 [INFO] [stdout] | [INFO] [stdout] 848 | fn cancel_actor(&self, app_name: &SyncAppName, actor_name: &SyncActorName) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:854:33 [INFO] [stdout] | [INFO] [stdout] 854 | fn cancel_all_actors(&self, app_name: &SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:862:9 [INFO] [stdout] | [INFO] [stdout] 862 | app_name: SyncAppName, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:863:9 [INFO] [stdout] | [INFO] [stdout] 863 | actor_name: SyncActorName, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> platform/src/app/app_driver.rs:864:9 [INFO] [stdout] | [INFO] [stdout] 864 | action: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:876:31 [INFO] [stdout] | [INFO] [stdout] 876 | fn get_sensor_info(&self, sensor_name: SyncSensorName) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:882:40 [INFO] [stdout] | [INFO] [stdout] 882 | fn get_sensor_info_and_data(&self, sensor_name: SyncSensorName) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:894:30 [INFO] [stdout] | [INFO] [stdout] 894 | fn get_actor_info(&self, actor_name: SyncActorName) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:902:28 [INFO] [stdout] | [INFO] [stdout] 902 | fn get_app_info(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:914:32 [INFO] [stdout] | [INFO] [stdout] 914 | fn get_service_info(&self, app_name: SyncAppName, service: ServiceType) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> platform/src/app/app_driver.rs:914:55 [INFO] [stdout] | [INFO] [stdout] 914 | fn get_service_info(&self, app_name: SyncAppName, service: ServiceType) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:920:36 [INFO] [stdout] | [INFO] [stdout] 920 | fn get_all_service_info(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:929:29 [INFO] [stdout] | [INFO] [stdout] 929 | fn is_service_on(&self, app_name: SyncAppName, service: ServiceType) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> platform/src/app/app_driver.rs:929:52 [INFO] [stdout] | [INFO] [stdout] 929 | fn is_service_on(&self, app_name: SyncAppName, service: ServiceType) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | app_name: SyncAppName, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> platform/src/app/app_driver.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 938 | service: ServiceType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> platform/src/app/app_driver.rs:939:9 [INFO] [stdout] | [INFO] [stdout] 939 | cmd: CmdType, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> platform/src/app/app_driver.rs:940:9 [INFO] [stdout] | [INFO] [stdout] 940 | config: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:947:23 [INFO] [stdout] | [INFO] [stdout] 947 | fn monitor(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objs` [INFO] [stdout] --> platform/src/app/app_driver.rs:947:46 [INFO] [stdout] | [INFO] [stdout] 947 | fn monitor(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_objs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:953:28 [INFO] [stdout] | [INFO] [stdout] 953 | fn is_monitored(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objs` [INFO] [stdout] --> platform/src/app/app_driver.rs:953:51 [INFO] [stdout] | [INFO] [stdout] 953 | fn is_monitored(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_objs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:959:21 [INFO] [stdout] | [INFO] [stdout] 959 | fn check(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objs` [INFO] [stdout] --> platform/src/app/app_driver.rs:959:44 [INFO] [stdout] | [INFO] [stdout] 959 | fn check(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_objs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:965:20 [INFO] [stdout] | [INFO] [stdout] 965 | fn save(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:971:20 [INFO] [stdout] | [INFO] [stdout] 971 | fn load(&self, app_name: SyncAppName, content: String) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> platform/src/app/app_driver.rs:971:43 [INFO] [stdout] | [INFO] [stdout] 971 | fn load(&self, app_name: SyncAppName, content: String) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:977:31 [INFO] [stdout] | [INFO] [stdout] 977 | fn check_generated(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:988:9 [INFO] [stdout] | [INFO] [stdout] 988 | app_name: SyncAppName, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:989:9 [INFO] [stdout] | [INFO] [stdout] 989 | table_name: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `primary_key` [INFO] [stdout] --> platform/src/app/app_driver.rs:990:9 [INFO] [stdout] | [INFO] [stdout] 990 | primary_key: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_primary_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> platform/src/app/app_driver.rs:991:9 [INFO] [stdout] | [INFO] [stdout] 991 | header: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_limit` [INFO] [stdout] --> platform/src/app/app_driver.rs:992:9 [INFO] [stdout] | [INFO] [stdout] 992 | row_limit: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:999:29 [INFO] [stdout] | [INFO] [stdout] 999 | fn database_drop(&self, app_name: SyncAppName, table_name: String) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:999:52 [INFO] [stdout] | [INFO] [stdout] 999 | fn database_drop(&self, app_name: SyncAppName, table_name: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> platform/src/app/app_driver.rs:1014:19 [INFO] [stdout] | [INFO] [stdout] 1014 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> platform/src/app/app_driver.rs:1025:26 [INFO] [stdout] | [INFO] [stdout] 1025 | fn on_message(&self, channel: SyncString, msg: SyncString) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> platform/src/app/app_driver.rs:1025:47 [INFO] [stdout] | [INFO] [stdout] 1025 | fn on_message(&self, channel: SyncString, msg: SyncString) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_mgr.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn add_sensor(&self, sensor_name: SyncAppName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_mgr.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn remove_sensor(&self, sensor_name: &SyncAppName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> platform/src/app/app_mgr.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn add_actor(&self, actor_name: SyncAppName) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> platform/src/app/app_mgr.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn remove_actor(&self, actor_name: &SyncAppName) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx_service_config` [INFO] [stdout] --> platform/src/app/app_mgr.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn set_ctx_service_config(&self, ctx_service_config: CtxServiceConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_service_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> platform/src/app/app_mgr.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 160 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> platform/src/app/app_driver.rs:615:21 [INFO] [stdout] | [INFO] [stdout] 615 | if let Some(app) = self.app_mgr.read().expect("read app mgr fail").as_ref() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> platform/src/app/app_driver.rs:635:21 [INFO] [stdout] | [INFO] [stdout] 635 | if let Some(app) = app_option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:750:38 [INFO] [stdout] | [INFO] [stdout] 750 | fn get_registered_sensors(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:756:45 [INFO] [stdout] | [INFO] [stdout] 756 | fn get_registered_sensors_status(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:763:9 [INFO] [stdout] | [INFO] [stdout] 763 | app_name: SyncAppName, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:764:9 [INFO] [stdout] | [INFO] [stdout] 764 | sensor_name: SyncSensorName, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_mode` [INFO] [stdout] --> platform/src/app/app_driver.rs:765:9 [INFO] [stdout] | [INFO] [stdout] 765 | sensor_mode: SensorMode, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `freq` [INFO] [stdout] --> platform/src/app/app_driver.rs:766:9 [INFO] [stdout] | [INFO] [stdout] 766 | freq: FrequencyType, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:775:9 [INFO] [stdout] | [INFO] [stdout] 775 | app_name: SyncAppName, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:776:9 [INFO] [stdout] | [INFO] [stdout] 776 | sensor_name: SyncSensorName, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_mode` [INFO] [stdout] --> platform/src/app/app_driver.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | sensor_mode: SensorMode, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `freq` [INFO] [stdout] --> platform/src/app/app_driver.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 778 | freq: FrequencyType, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_freq` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:784:30 [INFO] [stdout] | [INFO] [stdout] 784 | fn _cancel_sensor(&self, app_name: &SyncAppName, sensor_name: &SyncSensorName) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:784:54 [INFO] [stdout] | [INFO] [stdout] 784 | fn _cancel_sensor(&self, app_name: &SyncAppName, sensor_name: &SyncSensorName) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:790:29 [INFO] [stdout] | [INFO] [stdout] 790 | fn cancel_sensor(&self, app_name: &SyncAppName, sensor_name: &SyncSensorName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:790:53 [INFO] [stdout] | [INFO] [stdout] 790 | fn cancel_sensor(&self, app_name: &SyncAppName, sensor_name: &SyncSensorName) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:796:34 [INFO] [stdout] | [INFO] [stdout] 796 | fn cancel_all_sensors(&self, app_name: &SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:802:31 [INFO] [stdout] | [INFO] [stdout] 802 | fn get_sensor_data(&self, app_name: SyncAppName, sensor_name: SyncSensorName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:802:54 [INFO] [stdout] | [INFO] [stdout] 802 | fn get_sensor_data(&self, app_name: SyncAppName, sensor_name: SyncSensorName) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:808:35 [INFO] [stdout] | [INFO] [stdout] 808 | fn get_all_sensor_data(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:815:30 [INFO] [stdout] | [INFO] [stdout] 815 | fn get_msg_thread(&self, app_name: SyncAppName, cmd: CmdType) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> platform/src/app/app_driver.rs:815:53 [INFO] [stdout] | [INFO] [stdout] 815 | fn get_msg_thread(&self, app_name: SyncAppName, cmd: CmdType) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:830:37 [INFO] [stdout] | [INFO] [stdout] 830 | fn get_registered_actors(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:836:44 [INFO] [stdout] | [INFO] [stdout] 836 | fn get_registered_actors_status(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:842:30 [INFO] [stdout] | [INFO] [stdout] 842 | fn register_actor(&self, app_name: SyncAppName, actor_name: SyncActorName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:842:53 [INFO] [stdout] | [INFO] [stdout] 842 | fn register_actor(&self, app_name: SyncAppName, actor_name: SyncActorName) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:848:28 [INFO] [stdout] | [INFO] [stdout] 848 | fn cancel_actor(&self, app_name: &SyncAppName, actor_name: &SyncActorName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:848:52 [INFO] [stdout] | [INFO] [stdout] 848 | fn cancel_actor(&self, app_name: &SyncAppName, actor_name: &SyncActorName) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:854:33 [INFO] [stdout] | [INFO] [stdout] 854 | fn cancel_all_actors(&self, app_name: &SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:862:9 [INFO] [stdout] | [INFO] [stdout] 862 | app_name: SyncAppName, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:863:9 [INFO] [stdout] | [INFO] [stdout] 863 | actor_name: SyncActorName, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> platform/src/app/app_driver.rs:864:9 [INFO] [stdout] | [INFO] [stdout] 864 | action: String, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:876:31 [INFO] [stdout] | [INFO] [stdout] 876 | fn get_sensor_info(&self, sensor_name: SyncSensorName) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:882:40 [INFO] [stdout] | [INFO] [stdout] 882 | fn get_sensor_info_and_data(&self, sensor_name: SyncSensorName) -> String { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:894:30 [INFO] [stdout] | [INFO] [stdout] 894 | fn get_actor_info(&self, actor_name: SyncActorName) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:902:28 [INFO] [stdout] | [INFO] [stdout] 902 | fn get_app_info(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:914:32 [INFO] [stdout] | [INFO] [stdout] 914 | fn get_service_info(&self, app_name: SyncAppName, service: ServiceType) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> platform/src/app/app_driver.rs:914:55 [INFO] [stdout] | [INFO] [stdout] 914 | fn get_service_info(&self, app_name: SyncAppName, service: ServiceType) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:920:36 [INFO] [stdout] | [INFO] [stdout] 920 | fn get_all_service_info(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:929:29 [INFO] [stdout] | [INFO] [stdout] 929 | fn is_service_on(&self, app_name: SyncAppName, service: ServiceType) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> platform/src/app/app_driver.rs:929:52 [INFO] [stdout] | [INFO] [stdout] 929 | fn is_service_on(&self, app_name: SyncAppName, service: ServiceType) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:937:9 [INFO] [stdout] | [INFO] [stdout] 937 | app_name: SyncAppName, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `service` [INFO] [stdout] --> platform/src/app/app_driver.rs:938:9 [INFO] [stdout] | [INFO] [stdout] 938 | service: ServiceType, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> platform/src/app/app_driver.rs:939:9 [INFO] [stdout] | [INFO] [stdout] 939 | cmd: CmdType, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> platform/src/app/app_driver.rs:940:9 [INFO] [stdout] | [INFO] [stdout] 940 | config: T, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:947:23 [INFO] [stdout] | [INFO] [stdout] 947 | fn monitor(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objs` [INFO] [stdout] --> platform/src/app/app_driver.rs:947:46 [INFO] [stdout] | [INFO] [stdout] 947 | fn monitor(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_objs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:953:28 [INFO] [stdout] | [INFO] [stdout] 953 | fn is_monitored(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objs` [INFO] [stdout] --> platform/src/app/app_driver.rs:953:51 [INFO] [stdout] | [INFO] [stdout] 953 | fn is_monitored(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_objs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:959:21 [INFO] [stdout] | [INFO] [stdout] 959 | fn check(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `objs` [INFO] [stdout] --> platform/src/app/app_driver.rs:959:44 [INFO] [stdout] | [INFO] [stdout] 959 | fn check(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_objs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:965:20 [INFO] [stdout] | [INFO] [stdout] 965 | fn save(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:971:20 [INFO] [stdout] | [INFO] [stdout] 971 | fn load(&self, app_name: SyncAppName, content: String) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> platform/src/app/app_driver.rs:971:43 [INFO] [stdout] | [INFO] [stdout] 971 | fn load(&self, app_name: SyncAppName, content: String) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:977:31 [INFO] [stdout] | [INFO] [stdout] 977 | fn check_generated(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:988:9 [INFO] [stdout] | [INFO] [stdout] 988 | app_name: SyncAppName, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:989:9 [INFO] [stdout] | [INFO] [stdout] 989 | table_name: String, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `primary_key` [INFO] [stdout] --> platform/src/app/app_driver.rs:990:9 [INFO] [stdout] | [INFO] [stdout] 990 | primary_key: String, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_primary_key` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> platform/src/app/app_driver.rs:991:9 [INFO] [stdout] | [INFO] [stdout] 991 | header: Vec, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `row_limit` [INFO] [stdout] --> platform/src/app/app_driver.rs:992:9 [INFO] [stdout] | [INFO] [stdout] 992 | row_limit: i32, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_row_limit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:999:29 [INFO] [stdout] | [INFO] [stdout] 999 | fn database_drop(&self, app_name: SyncAppName, table_name: String) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_app_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `table_name` [INFO] [stdout] --> platform/src/app/app_driver.rs:999:52 [INFO] [stdout] | [INFO] [stdout] 999 | fn database_drop(&self, app_name: SyncAppName, table_name: String) -> String { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_table_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> platform/src/app/app_driver.rs:1014:19 [INFO] [stdout] | [INFO] [stdout] 1014 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `channel` [INFO] [stdout] --> platform/src/app/app_driver.rs:1025:26 [INFO] [stdout] | [INFO] [stdout] 1025 | fn on_message(&self, channel: SyncString, msg: SyncString) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> platform/src/app/app_driver.rs:1025:47 [INFO] [stdout] | [INFO] [stdout] 1025 | fn on_message(&self, channel: SyncString, msg: SyncString) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_mgr.rs:91:30 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn add_sensor(&self, sensor_name: SyncAppName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_name` [INFO] [stdout] --> platform/src/app/app_mgr.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | pub fn remove_sensor(&self, sensor_name: &SyncAppName) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> platform/src/app/app_mgr.rs:117:29 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn add_actor(&self, actor_name: SyncAppName) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `actor_name` [INFO] [stdout] --> platform/src/app/app_mgr.rs:124:32 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn remove_actor(&self, actor_name: &SyncAppName) -> bool { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_actor_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx_service_config` [INFO] [stdout] --> platform/src/app/app_mgr.rs:146:42 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn set_ctx_service_config(&self, ctx_service_config: CtxServiceConfig) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx_service_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> platform/src/app/app_mgr.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 160 | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> platform/src/resource/actor_mgr.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn add_app(&self, app: SyncAppMgr) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> platform/src/resource/actor_mgr.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn remove_app(&self, app: SyncAppMgr) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_mgr` [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(sensor_mgr: SyncSensorMgr) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_mgr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_stop` [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(should_stop: SyncMutexStop, stopped: SyncMutexStop, sensor_mgr: SyncSensorMgr) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stopped` [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(should_stop: SyncMutexStop, stopped: SyncMutexStop, sensor_mgr: SyncSensorMgr) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stopped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_mgr` [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(should_stop: SyncMutexStop, stopped: SyncMutexStop, sensor_mgr: SyncSensorMgr) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_mgr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_mgr` [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn stop_thread(&self, sensor_mgr: SyncSensorMgr) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_mgr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> platform/src/resource/actor_mgr.rs:59:27 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn add_app(&self, app: SyncAppMgr) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `app` [INFO] [stdout] --> platform/src/resource/actor_mgr.rs:64:30 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn remove_app(&self, app: SyncAppMgr) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_app` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> platform/src/resource/res_mgr_thread.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | let mut stream = TcpStream::connect("127.0.0.1:9091").unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> platform/src/resource/res_mgr_thread.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | let mut stream = TcpStream::connect("127.0.0.1:9091").unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> platform/src/app/app_driver.rs:935:8 [INFO] [stdout] | [INFO] [stdout] 926 | impl AppDriver { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 935 | fn service_call( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 947 | fn monitor(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 953 | fn is_monitored(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 959 | fn check(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 965 | fn save(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 971 | fn load(&self, app_name: SyncAppName, content: String) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 977 | fn check_generated(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `database_create`, `database_drop`, and `database_insert` are never used [INFO] [stdout] --> platform/src/app/app_driver.rs:986:8 [INFO] [stdout] | [INFO] [stdout] 983 | impl AppDriver { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 986 | fn database_create( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 999 | fn database_drop(&self, app_name: SyncAppName, table_name: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1005 | fn database_insert() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `apps` is never read [INFO] [stdout] --> platform/src/resource/actor_mgr.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ActorMgr { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | apps: SyncAppNameSet, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActorMgr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `apps` is never read [INFO] [stdout] --> platform/src/resource/sensor_mgr.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct SensorMgr { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | apps: SyncAppNameSet, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SensorMgr` 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 `should_stop`, `stopped`, and `thread` are never read [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ValueThread { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 19 | should_stop: SyncMutexStop, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | stopped: SyncMutexStop, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | //sensor_mgr_weak: WeakSensorMgr, [INFO] [stdout] 22 | thread: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueThread` 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 function `run` is never used [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl ValueThread { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | fn run(should_stop: SyncMutexStop, stopped: SyncMutexStop, sensor_mgr: SyncSensorMgr) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_mgr` [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:28:16 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn new(sensor_mgr: SyncSensorMgr) -> Self { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_mgr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `should_stop` [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(should_stop: SyncMutexStop, stopped: SyncMutexStop, sensor_mgr: SyncSensorMgr) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_should_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stopped` [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:43:40 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(should_stop: SyncMutexStop, stopped: SyncMutexStop, sensor_mgr: SyncSensorMgr) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stopped` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_mgr` [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | fn run(should_stop: SyncMutexStop, stopped: SyncMutexStop, sensor_mgr: SyncSensorMgr) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_mgr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sensor_mgr` [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn stop_thread(&self, sensor_mgr: SyncSensorMgr) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sensor_mgr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 92 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> platform/src/app/app_driver.rs:935:8 [INFO] [stdout] | [INFO] [stdout] 926 | impl AppDriver { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 935 | fn service_call( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 947 | fn monitor(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 953 | fn is_monitored(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 959 | fn check(&self, app_name: SyncAppName, objs: Value) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 965 | fn save(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 971 | fn load(&self, app_name: SyncAppName, content: String) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 977 | fn check_generated(&self, app_name: SyncAppName) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `database_create`, `database_drop`, and `database_insert` are never used [INFO] [stdout] --> platform/src/app/app_driver.rs:986:8 [INFO] [stdout] | [INFO] [stdout] 983 | impl AppDriver { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 986 | fn database_create( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 999 | fn database_drop(&self, app_name: SyncAppName, table_name: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1005 | fn database_insert() -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `apps` is never read [INFO] [stdout] --> platform/src/resource/actor_mgr.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct ActorMgr { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | apps: SyncAppNameSet, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActorMgr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `apps` is never read [INFO] [stdout] --> platform/src/resource/sensor_mgr.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct SensorMgr { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 51 | apps: SyncAppNameSet, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SensorMgr` 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 `should_stop`, `stopped`, and `thread` are never read [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct ValueThread { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 19 | should_stop: SyncMutexStop, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 20 | stopped: SyncMutexStop, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 21 | //sensor_mgr_weak: WeakSensorMgr, [INFO] [stdout] 22 | thread: Option>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueThread` 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 function `run` is never used [INFO] [stdout] --> platform/src/resource/sensor_mgr/value_thread.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl ValueThread { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | fn run(should_stop: SyncMutexStop, stopped: SyncMutexStop, sensor_mgr: SyncSensorMgr) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> platform/src/resource/res_mgr_thread.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | aa.join(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 102 | let _ = aa.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 95 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `super_reference` [INFO] [stdout] --> platform/tests/test_pubsub.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | impl Subscriber for TestSubscriber1 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `super_reference` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn super_reference(&self) -> &AbstractSubscriber { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `super_reference` [INFO] [stdout] --> platform/tests/test_pubsub.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | impl Subscriber for TestSubscriber2 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `super_reference` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn super_reference(&self) -> &AbstractSubscriber { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `super_reference` [INFO] [stdout] --> platform/tests/test_pubsub.rs:140:1 [INFO] [stdout] | [INFO] [stdout] 140 | impl Subscriber for TestSubscriber3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `super_reference` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn super_reference(&self) -> &AbstractSubscriber { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `super_reference` [INFO] [stdout] --> platform/tests/test_pubsub.rs:192:1 [INFO] [stdout] | [INFO] [stdout] 192 | impl Subscriber for TestSubscriber4 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `super_reference` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn super_reference(&self) -> &AbstractSubscriber { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `platform` (test "test_pubsub") due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "6917733e04db5908bd74d1ddb1197d7dc00c684d05d765dd962462aaff9a6974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6917733e04db5908bd74d1ddb1197d7dc00c684d05d765dd962462aaff9a6974", kill_on_drop: false }` [INFO] [stdout] 6917733e04db5908bd74d1ddb1197d7dc00c684d05d765dd962462aaff9a6974 [INFO] checking nju-echo/adaptive_frame_rs against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnju-echo%2Fadaptive_frame_rs" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nju-echo/adaptive_frame_rs on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nju-echo/adaptive_frame_rs [INFO] finished tweaking git repo https://github.com/nju-echo/adaptive_frame_rs [INFO] tweaked toml for git repo https://github.com/nju-echo/adaptive_frame_rs written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/nju-echo/adaptive_frame_rs 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77f70280e6ecd02f8d13af0e90e926a49038eefa156fc406741d31b108fe2bdb [INFO] running `Command { std: "docker" "start" "-a" "77f70280e6ecd02f8d13af0e90e926a49038eefa156fc406741d31b108fe2bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77f70280e6ecd02f8d13af0e90e926a49038eefa156fc406741d31b108fe2bdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77f70280e6ecd02f8d13af0e90e926a49038eefa156fc406741d31b108fe2bdb", kill_on_drop: false }` [INFO] [stdout] 77f70280e6ecd02f8d13af0e90e926a49038eefa156fc406741d31b108fe2bdb [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91a39c8fa151f2dfe84f4e6926df60b712f241cb3c9352b4cca08cd2437cf9b6 [INFO] running `Command { std: "docker" "start" "-a" "91a39c8fa151f2dfe84f4e6926df60b712f241cb3c9352b4cca08cd2437cf9b6", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] no edition found in manifest, probably 2015, skipping [INFO] running `Command { std: "docker" "inspect" "91a39c8fa151f2dfe84f4e6926df60b712f241cb3c9352b4cca08cd2437cf9b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91a39c8fa151f2dfe84f4e6926df60b712f241cb3c9352b4cca08cd2437cf9b6", kill_on_drop: false }` [INFO] [stdout] 91a39c8fa151f2dfe84f4e6926df60b712f241cb3c9352b4cca08cd2437cf9b6