[INFO] cloning repository https://github.com/ITOKIANA-LABS/iot_server_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ITOKIANA-LABS/iot_server_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FITOKIANA-LABS%2Fiot_server_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FITOKIANA-LABS%2Fiot_server_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 24b02406165c86e40fda78b21bb10ee3f061ddbd [INFO] testing ITOKIANA-LABS/iot_server_rust against 1.99.0-beta.8 for beta-1.100-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FITOKIANA-LABS%2Fiot_server_rust" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ITOKIANA-LABS/iot_server_rust [INFO] finished tweaking git repo https://github.com/ITOKIANA-LABS/iot_server_rust [INFO] tweaked toml for git repo https://github.com/ITOKIANA-LABS/iot_server_rust written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ITOKIANA-LABS/iot_server_rust on toolchain 1.99.0-beta.8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ITOKIANA-LABS/iot_server_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.99.0-beta.8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded data-encoding v2.5.0 [INFO] [stderr] Downloaded uuid-macro-internal v1.8.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.58 [INFO] [stderr] Downloaded thiserror v1.0.58 [INFO] [stderr] Downloaded cc v1.0.94 [INFO] [stderr] Downloaded event-listener-strategy v0.5.1 [INFO] [stderr] Downloaded async-executor v1.11.0 [INFO] [stderr] Downloaded axum-extra v0.9.3 [INFO] [stderr] Downloaded redis v0.25.3 [INFO] [stderr] Downloaded serde_json v1.0.116 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610 [INFO] running `Command { std: "docker" "start" "a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling value-bag v1.8.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking v2.2.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling concurrent-queue v2.4.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling event-listener v4.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling event-listener-strategy v0.4.0 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling event-listener v5.3.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling event-listener-strategy v0.5.1 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling async-lock v3.3.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling async-task v4.7.0 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling piper v0.2.1 [INFO] [stderr] Compiling async-channel v2.2.0 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling waker-fn v1.1.1 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling nix v0.28.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling async-executor v1.11.0 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling headers-core v0.3.0 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling headers v0.4.0 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling http-range-header v0.4.0 [INFO] [stderr] Compiling mac_address v1.1.7 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling polling v3.6.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling blocking v1.5.1 [INFO] [stderr] Compiling async-io v2.3.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling uuid-macro-internal v1.8.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling async-std v1.12.0 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling redis v0.25.3 [INFO] [stderr] Compiling axum-extra v0.9.3 [INFO] [stderr] Compiling iot_server_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_manager/channels/secnav/mod.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_manager/channels/secnav/mod.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | pub_con.publish(&channel, message)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 88 | pub_con.publish::<_, _, ()>(&channel, message)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_manager/channels/secsrv/mod.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_manager/channels/secsrv/mod.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub_con.publish(&channel, message)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 78 | pub_con.publish::<_, _, ()>(&channel, message)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_manager/channels/rpmgnt/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_manager/channels/rpmgnt/mod.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | pub_con.publish(&channel, message)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 97 | pub_con.publish::<_, _, ()>(&channel, message)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_manager/channels/secmgnt/mod.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_manager/channels/secmgnt/mod.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | pub_con.publish(&channel, message)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 113 | pub_con.publish::<_, _, ()>(&channel, message)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_manager/utils/set_redis_value/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn function(key: &str, value: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_manager/utils/set_redis_value/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | con.set(key, value)?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 7 | con.set::<_, _, ()>(key, value)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_session` [INFO] [stdout] --> src/ws/iot_server_rust.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | ... let struct_session = WsSession { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_session_bo` [INFO] [stdout] --> src/ws/iot_server_rust.rs:230:37 [INFO] [stdout] | [INFO] [stdout] 230 | ... let struct_session_bo = WsSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_session_bo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kp007` [INFO] [stdout] --> src/ws/iot_server_rust.rs:233:37 [INFO] [stdout] | [INFO] [stdout] 233 | ... let kp007 = "KP007"; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kp007bo` [INFO] [stdout] --> src/ws/iot_server_rust.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | ... let kp007bo = "KP007bo"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007bo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_data` [INFO] [stdout] --> src/ws/iot_server_rust.rs:250:35 [INFO] [stdout] | [INFO] [stdout] 250 | ... let send_data = serde_json::to_string(&send_to_channel).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kp007` [INFO] [stdout] --> src/ws/iot_server_rust.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | let kp007 = "KP007".to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_session` [INFO] [stdout] --> src/ws/iot_server_rust.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let struct_session = WsSession { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kp007` [INFO] [stdout] --> src/ws/iot_server_rust.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let kp007 = "KP007".to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kp007bo` [INFO] [stdout] --> src/ws/iot_server_rust.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let kp007bo = "KP007bo".to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007bo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_session_bo` [INFO] [stdout] --> src/ws/iot_server_rust.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let struct_session_bo = WsSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_session_bo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender4` [INFO] [stdout] --> src/ws/iot_server_rust.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let sender4: Arc>> = Arc::clone(&o_socket); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock_id_clone5` [INFO] [stdout] --> src/ws/iot_server_rust.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let sock_id_clone5 = sock_id.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sock_id_clone5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PingKP007` is never constructed [INFO] [stdout] --> src/ws/iot_server_rust.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct PingKP007 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PongKP009` is never constructed [INFO] [stdout] --> src/ws/iot_server_rust.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct PongKP009 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InfoSystemData` is never constructed [INFO] [stdout] --> src/ws/iot_server_rust.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct InfoSystemData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish` is never used [INFO] [stdout] --> src/redis_manager/channels/secnav/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MsgChannel` is never constructed [INFO] [stdout] --> src/redis_manager/channels/rpmgnt/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct MsgChannel { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataExchange` is never constructed [INFO] [stdout] --> src/redis_manager/channels/rpmgnt/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct DataExchange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subscribe` is never used [INFO] [stdout] --> src/redis_manager/channels/rpmgnt/mod.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn subscribe(sock_id: String, channel: &str, socket: Arc src/redis_manager/channels/secmgnt/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct ReceivedDataWsock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish` is never used [INFO] [stdout] --> src/redis_manager/channels/secmgnt/mod.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/redis_manager/utils/set_redis_value/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn function(key: &str, value: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 51s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: iot_server_rust v0.1.0 (/opt/rustwide/workdir), redis v0.25.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling iot_server_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_manager/channels/secnav/mod.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_manager/channels/secnav/mod.rs:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | pub_con.publish(&channel, message)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 88 | pub_con.publish::<_, _, ()>(&channel, message)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_manager/channels/secsrv/mod.rs:67:1 [INFO] [stdout] | [INFO] [stdout] 67 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_manager/channels/secsrv/mod.rs:78:11 [INFO] [stdout] | [INFO] [stdout] 78 | pub_con.publish(&channel, message)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 78 | pub_con.publish::<_, _, ()>(&channel, message)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_manager/channels/rpmgnt/mod.rs:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_manager/channels/rpmgnt/mod.rs:97:11 [INFO] [stdout] | [INFO] [stdout] 97 | pub_con.publish(&channel, message)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 97 | pub_con.publish::<_, _, ()>(&channel, message)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_manager/channels/secmgnt/mod.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_manager/channels/secmgnt/mod.rs:113:11 [INFO] [stdout] | [INFO] [stdout] 113 | pub_con.publish(&channel, message)?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 113 | pub_con.publish::<_, _, ()>(&channel, message)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this function depends on never type fallback being `()` [INFO] [stdout] --> src/redis_manager/utils/set_redis_value/mod.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn function(key: &str, value: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stdout] --> src/redis_manager/utils/set_redis_value/mod.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | con.set(key, value)?; [INFO] [stdout] | ^^^ [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 7 | con.set::<_, _, ()>(key, value)?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_session` [INFO] [stdout] --> src/ws/iot_server_rust.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 227 | ... let struct_session = WsSession { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_session` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_session_bo` [INFO] [stdout] --> src/ws/iot_server_rust.rs:230:37 [INFO] [stdout] | [INFO] [stdout] 230 | ... let struct_session_bo = WsSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_session_bo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kp007` [INFO] [stdout] --> src/ws/iot_server_rust.rs:233:37 [INFO] [stdout] | [INFO] [stdout] 233 | ... let kp007 = "KP007"; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kp007bo` [INFO] [stdout] --> src/ws/iot_server_rust.rs:234:37 [INFO] [stdout] | [INFO] [stdout] 234 | ... let kp007bo = "KP007bo"; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007bo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `send_data` [INFO] [stdout] --> src/ws/iot_server_rust.rs:250:35 [INFO] [stdout] | [INFO] [stdout] 250 | ... let send_data = serde_json::to_string(&send_to_channel).unwrap(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kp007` [INFO] [stdout] --> src/ws/iot_server_rust.rs:180:17 [INFO] [stdout] | [INFO] [stdout] 180 | let kp007 = "KP007".to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_session` [INFO] [stdout] --> src/ws/iot_server_rust.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let struct_session = WsSession { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kp007` [INFO] [stdout] --> src/ws/iot_server_rust.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let kp007 = "KP007".to_string(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kp007bo` [INFO] [stdout] --> src/ws/iot_server_rust.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | let kp007bo = "KP007bo".to_string(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007bo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `struct_session_bo` [INFO] [stdout] --> src/ws/iot_server_rust.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | let struct_session_bo = WsSession { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_session_bo` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sender4` [INFO] [stdout] --> src/ws/iot_server_rust.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | let sender4: Arc>> = Arc::clone(&o_socket); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sock_id_clone5` [INFO] [stdout] --> src/ws/iot_server_rust.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | let sock_id_clone5 = sock_id.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sock_id_clone5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PingKP007` is never constructed [INFO] [stdout] --> src/ws/iot_server_rust.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | struct PingKP007 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PongKP009` is never constructed [INFO] [stdout] --> src/ws/iot_server_rust.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct PongKP009 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InfoSystemData` is never constructed [INFO] [stdout] --> src/ws/iot_server_rust.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | struct InfoSystemData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish` is never used [INFO] [stdout] --> src/redis_manager/channels/secnav/mod.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MsgChannel` is never constructed [INFO] [stdout] --> src/redis_manager/channels/rpmgnt/mod.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct MsgChannel { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DataExchange` is never constructed [INFO] [stdout] --> src/redis_manager/channels/rpmgnt/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct DataExchange { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `subscribe` is never used [INFO] [stdout] --> src/redis_manager/channels/rpmgnt/mod.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | pub async fn subscribe(sock_id: String, channel: &str, socket: Arc src/redis_manager/channels/secmgnt/mod.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | struct ReceivedDataWsock { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `publish` is never used [INFO] [stdout] --> src/redis_manager/channels/secmgnt/mod.rs:103:14 [INFO] [stdout] | [INFO] [stdout] 103 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `function` is never used [INFO] [stdout] --> src/redis_manager/utils/set_redis_value/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn function(key: &str, value: &str) -> Result<(), RedisError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: iot_server_rust v0.1.0 (/opt/rustwide/workdir), redis v0.25.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610" "/opt/rustwide/cargo-home/bin/cargo" "+1.99.0-beta.8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/redis_manager/channels/secnav/mod.rs:78:1 [INFO] [stderr] | [INFO] [stderr] 78 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/redis_manager/channels/secnav/mod.rs:88:11 [INFO] [stderr] | [INFO] [stderr] 88 | pub_con.publish(&channel, message)?; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(dependency_on_unit_never_type_fallback)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 88 | pub_con.publish::<_, _, ()>(&channel, message)?; [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/redis_manager/channels/secsrv/mod.rs:67:1 [INFO] [stderr] | [INFO] [stderr] 67 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/redis_manager/channels/secsrv/mod.rs:78:11 [INFO] [stderr] | [INFO] [stderr] 78 | pub_con.publish(&channel, message)?; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 78 | pub_con.publish::<_, _, ()>(&channel, message)?; [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/redis_manager/channels/rpmgnt/mod.rs:87:1 [INFO] [stderr] | [INFO] [stderr] 87 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/redis_manager/channels/rpmgnt/mod.rs:97:11 [INFO] [stderr] | [INFO] [stderr] 97 | pub_con.publish(&channel, message)?; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 97 | pub_con.publish::<_, _, ()>(&channel, message)?; [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/redis_manager/channels/secmgnt/mod.rs:103:1 [INFO] [stderr] | [INFO] [stderr] 103 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/redis_manager/channels/secmgnt/mod.rs:113:11 [INFO] [stderr] | [INFO] [stderr] 113 | pub_con.publish(&channel, message)?; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 113 | pub_con.publish::<_, _, ()>(&channel, message)?; [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: this function depends on never type fallback being `()` [INFO] [stderr] --> src/redis_manager/utils/set_redis_value/mod.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn function(key: &str, value: &str) -> Result<(), RedisError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: specify the types explicitly [INFO] [stderr] note: in edition 2024, the requirement `!: FromRedisValue` will fail [INFO] [stderr] --> src/redis_manager/utils/set_redis_value/mod.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | con.set(key, value)?; [INFO] [stderr] | ^^^ [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `()` annotations to avoid fallback changes [INFO] [stderr] | [INFO] [stderr] 7 | con.set::<_, _, ()>(key, value)?; [INFO] [stderr] | ++++++++++++ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `struct_session` [INFO] [stderr] --> src/ws/iot_server_rust.rs:227:37 [INFO] [stderr] | [INFO] [stderr] 227 | ... let struct_session = WsSession { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_session` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `struct_session_bo` [INFO] [stderr] --> src/ws/iot_server_rust.rs:230:37 [INFO] [stderr] | [INFO] [stderr] 230 | ... let struct_session_bo = WsSession { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_session_bo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `kp007` [INFO] [stderr] --> src/ws/iot_server_rust.rs:233:37 [INFO] [stderr] | [INFO] [stderr] 233 | ... let kp007 = "KP007"; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `kp007bo` [INFO] [stderr] --> src/ws/iot_server_rust.rs:234:37 [INFO] [stderr] | [INFO] [stderr] 234 | ... let kp007bo = "KP007bo"; [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007bo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `send_data` [INFO] [stderr] --> src/ws/iot_server_rust.rs:250:35 [INFO] [stderr] | [INFO] [stderr] 250 | ... let send_data = serde_json::to_string(&send_to_channel).unwrap(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_send_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `kp007` [INFO] [stderr] --> src/ws/iot_server_rust.rs:180:17 [INFO] [stderr] | [INFO] [stderr] 180 | let kp007 = "KP007".to_string(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `struct_session` [INFO] [stderr] --> src/ws/iot_server_rust.rs:194:17 [INFO] [stderr] | [INFO] [stderr] 194 | let struct_session = WsSession { [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_session` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `kp007` [INFO] [stderr] --> src/ws/iot_server_rust.rs:101:9 [INFO] [stderr] | [INFO] [stderr] 101 | let kp007 = "KP007".to_string(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `kp007bo` [INFO] [stderr] --> src/ws/iot_server_rust.rs:102:9 [INFO] [stderr] | [INFO] [stderr] 102 | let kp007bo = "KP007bo".to_string(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kp007bo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `struct_session_bo` [INFO] [stderr] --> src/ws/iot_server_rust.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | let struct_session_bo = WsSession { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_struct_session_bo` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sender4` [INFO] [stderr] --> src/ws/iot_server_rust.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | let sender4: Arc>> = Arc::clone(&o_socket); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sender4` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `sock_id_clone5` [INFO] [stderr] --> src/ws/iot_server_rust.rs:129:9 [INFO] [stderr] | [INFO] [stderr] 129 | let sock_id_clone5 = sock_id.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sock_id_clone5` [INFO] [stderr] [INFO] [stderr] warning: struct `PingKP007` is never constructed [INFO] [stderr] --> src/ws/iot_server_rust.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 25 | struct PingKP007 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: struct `PongKP009` is never constructed [INFO] [stderr] --> src/ws/iot_server_rust.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | struct PongKP009 { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `InfoSystemData` is never constructed [INFO] [stderr] --> src/ws/iot_server_rust.rs:57:8 [INFO] [stderr] | [INFO] [stderr] 57 | struct InfoSystemData { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `publish` is never used [INFO] [stderr] --> src/redis_manager/channels/secnav/mod.rs:78:14 [INFO] [stderr] | [INFO] [stderr] 78 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `MsgChannel` is never constructed [INFO] [stderr] --> src/redis_manager/channels/rpmgnt/mod.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | struct MsgChannel { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `DataExchange` is never constructed [INFO] [stderr] --> src/redis_manager/channels/rpmgnt/mod.rs:24:8 [INFO] [stderr] | [INFO] [stderr] 24 | struct DataExchange { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `subscribe` is never used [INFO] [stderr] --> src/redis_manager/channels/rpmgnt/mod.rs:39:14 [INFO] [stderr] | [INFO] [stderr] 39 | pub async fn subscribe(sock_id: String, channel: &str, socket: Arc src/redis_manager/channels/secmgnt/mod.rs:41:8 [INFO] [stderr] | [INFO] [stderr] 41 | struct ReceivedDataWsock { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `publish` is never used [INFO] [stderr] --> src/redis_manager/channels/secmgnt/mod.rs:103:14 [INFO] [stderr] | [INFO] [stderr] 103 | pub async fn publish(channel: &str, message: &str) -> Result<(), RedisError> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `function` is never used [INFO] [stderr] --> src/redis_manager/utils/set_redis_value/mod.rs:3:8 [INFO] [stderr] | [INFO] [stderr] 3 | pub fn function(key: &str, value: &str) -> Result<(), RedisError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `iot_server_rust` (bin "iot_server_rust" test) generated 27 warnings (run `cargo fix --bin "iot_server_rust" -p iot_server_rust --tests` to apply 17 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stdout] [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: iot_server_rust v0.1.0 (/opt/rustwide/workdir), redis v0.25.3 [INFO] [stdout] running 0 tests [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/iot_server_rust-696f8e100cddeb09) [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610", kill_on_drop: false }` [INFO] [stdout] a2f09a4779fcb06949639d515b82e677f98f7bd768a0dd516249b68f3174c610