[INFO] cloning repository https://github.com/Czichy/power-meter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Czichy/power-meter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCzichy%2Fpower-meter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCzichy%2Fpower-meter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f507e967bf377f9279490bf8c27d38a308c0d86d [INFO] building Czichy/power-meter against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCzichy%2Fpower-meter" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Czichy/power-meter [INFO] finished tweaking git repo https://github.com/Czichy/power-meter [INFO] tweaked toml for git repo https://github.com/Czichy/power-meter written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Czichy/power-meter on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Czichy/power-meter 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-serial v5.4.5 [INFO] [stderr] Downloaded mio-serial v5.0.6 [INFO] [stderr] Downloaded cron v0.12.1 [INFO] [stderr] Downloaded terminal_size v0.4.1 [INFO] [stderr] Downloaded syslog v6.1.1 [INFO] [stderr] Downloaded anyhow v1.0.94 [INFO] [stderr] Downloaded uuid v1.13.1 [INFO] [stderr] Downloaded serialport v4.6.1 [INFO] [stderr] Downloaded sqlite v0.34.0 [INFO] [stderr] Downloaded tokio-cron-scheduler v0.10.2 [INFO] [stderr] Downloaded sml-rs v0.3.0 [INFO] [stderr] Downloaded clap_builder v4.5.22 [INFO] [stderr] Downloaded sqlite3-sys v0.16.0 [INFO] [stderr] Downloaded rumqttc v0.24.0 [INFO] [stderr] Downloaded clap v4.5.22 [INFO] [stderr] Downloaded cc v1.2.2 [INFO] [stderr] Downloaded sqlite3-src v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddbd230e3132933cb8b9345a071be34fc44948db9247aa82493e70eaa8f20db4 [INFO] running `Command { std: "docker" "start" "-a" "ddbd230e3132933cb8b9345a071be34fc44948db9247aa82493e70eaa8f20db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddbd230e3132933cb8b9345a071be34fc44948db9247aa82493e70eaa8f20db4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddbd230e3132933cb8b9345a071be34fc44948db9247aa82493e70eaa8f20db4", kill_on_drop: false }` [INFO] [stdout] ddbd230e3132933cb8b9345a071be34fc44948db9247aa82493e70eaa8f20db4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a328a22516d69e9339beddbd8907e6fb61957773d107192d26db0aa5e6aff48b [INFO] running `Command { std: "docker" "start" "-a" "a328a22516d69e9339beddbd8907e6fb61957773d107192d26db0aa5e6aff48b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cc v1.2.2 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling getrandom v0.3.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.133 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling chrono v0.4.39 [INFO] [stderr] Compiling anyhow v1.0.94 [INFO] [stderr] Compiling tokio-cron-scheduler v0.10.2 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling sml-rs v0.3.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling cron v0.12.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling terminal_size v0.4.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap_builder v4.5.22 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling sqlite3-src v0.6.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling libudev v0.3.0 [INFO] [stderr] Compiling sqlite3-sys v0.16.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling uuid v1.13.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling sqlite v0.34.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling syslog v6.1.1 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.215 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling unescaper v0.1.5 [INFO] [stderr] Compiling serialport v4.6.1 [INFO] [stderr] Compiling mio-serial v5.0.6 [INFO] [stderr] Compiling clap v4.5.22 [INFO] [stderr] Compiling serde v1.0.215 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling axum-core v0.4.5 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v1.5.1 [INFO] [stderr] Compiling tower v0.5.1 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tokio-serial v5.4.5 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling rumqttc v0.24.0 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.7.9 [INFO] [stderr] Compiling power-meter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clap::Command` [INFO] [stdout] --> src/cli/root_command.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Command; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/cli/start.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/cli/root_command.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | Commands::ListPorts(command) => Ok(()), // command.run().await, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/meter_reading.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | let mut to_process = buf.to_vec(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reading` [INFO] [stdout] --> src/server/gauge.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | Some(reading) => [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reading` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/cli/ports.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ListPortsCommand { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 8 | pub fn run(self) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidLastByte` is never constructed [INFO] [stdout] --> src/obis_code.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub enum ObisParseError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 132 | InvalidLastByte, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObisParseError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/server/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create` and `enter` are never used [INFO] [stdout] --> src/server/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Server { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 20 | pub fn create(port: u16, latest_reading_cell: Arc>>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn enter(self) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handler` is never used [INFO] [stdout] --> src/server/gauge.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn handler(latest_reading_cell: Arc>>) -> Response { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handler` is never used [INFO] [stdout] --> src/server/now.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn handler(latest_reading_cell: Arc>>) -> Response { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_handler` is never used [INFO] [stdout] --> src/server/root.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get_handler() -> Response { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/meter_reading.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | emit_message(&mut decoder, &buf[..n], tx.clone()).await; [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 339 | let _ = emit_message(&mut decoder, &buf[..n], tx.clone()).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.64s [INFO] running `Command { std: "docker" "inspect" "a328a22516d69e9339beddbd8907e6fb61957773d107192d26db0aa5e6aff48b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a328a22516d69e9339beddbd8907e6fb61957773d107192d26db0aa5e6aff48b", kill_on_drop: false }` [INFO] [stdout] a328a22516d69e9339beddbd8907e6fb61957773d107192d26db0aa5e6aff48b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29f12ca7f2d9ae154667e15ebc6c6991cc155dc97f962ba4965a4a3b96769ec1 [INFO] running `Command { std: "docker" "start" "-a" "29f12ca7f2d9ae154667e15ebc6c6991cc155dc97f962ba4965a4a3b96769ec1", kill_on_drop: false }` [INFO] [stderr] Compiling power-meter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `clap::Command` [INFO] [stdout] --> src/cli/root_command.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::Command; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chrono::Utc` [INFO] [stdout] --> src/cli/start.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command` [INFO] [stdout] --> src/cli/root_command.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | Commands::ListPorts(command) => Ok(()), // command.run().await, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/meter_reading.rs:351:9 [INFO] [stdout] | [INFO] [stdout] 351 | let mut to_process = buf.to_vec(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reading` [INFO] [stdout] --> src/server/gauge.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | Some(reading) => [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reading` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/cli/ports.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl ListPortsCommand { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 8 | pub fn run(self) -> Result<(), Error> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `InvalidLastByte` is never constructed [INFO] [stdout] --> src/obis_code.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub enum ObisParseError { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 132 | InvalidLastByte, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ObisParseError` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/server/mod.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Server { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create` and `enter` are never used [INFO] [stdout] --> src/server/mod.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Server { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 20 | pub fn create(port: u16, latest_reading_cell: Arc>>) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn enter(self) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handler` is never used [INFO] [stdout] --> src/server/gauge.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn handler(latest_reading_cell: Arc>>) -> Response { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handler` is never used [INFO] [stdout] --> src/server/now.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | pub async fn handler(latest_reading_cell: Arc>>) -> Response { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_handler` is never used [INFO] [stdout] --> src/server/root.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn get_handler() -> Response { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/meter_reading.rs:339:13 [INFO] [stdout] | [INFO] [stdout] 339 | emit_message(&mut decoder, &buf[..n], tx.clone()).await; [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 339 | let _ = emit_message(&mut decoder, &buf[..n], tx.clone()).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.45s [INFO] running `Command { std: "docker" "inspect" "29f12ca7f2d9ae154667e15ebc6c6991cc155dc97f962ba4965a4a3b96769ec1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29f12ca7f2d9ae154667e15ebc6c6991cc155dc97f962ba4965a4a3b96769ec1", kill_on_drop: false }` [INFO] [stdout] 29f12ca7f2d9ae154667e15ebc6c6991cc155dc97f962ba4965a4a3b96769ec1