[INFO] cloning repository https://github.com/zy97/modbus_demo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zy97/modbus_demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzy97%2Fmodbus_demo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzy97%2Fmodbus_demo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f1a2f96998d346a172c6a3cde51cb406467135a5
[INFO] checking zy97/modbus_demo against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzy97%2Fmodbus_demo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/zy97/modbus_demo
[INFO] finished tweaking git repo https://github.com/zy97/modbus_demo
[INFO] tweaked toml for git repo https://github.com/zy97/modbus_demo written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/zy97/modbus_demo on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 285 packages to latest compatible versions
[INFO] [stderr]       Adding deadpool v0.12.3 (available: v0.13.0)
[INFO] [stderr]       Adding opentelemetry v0.27.1 (available: v0.32.0)
[INFO] [stderr]       Adding opentelemetry-appender-tracing v0.27.0 (available: v0.32.0)
[INFO] [stderr]       Adding opentelemetry-otlp v0.27.0 (available: v0.32.0)
[INFO] [stderr]       Adding opentelemetry-semantic-conventions v0.27.0 (available: v0.32.1)
[INFO] [stderr]       Adding opentelemetry_sdk v0.27.1 (available: v0.32.1)
[INFO] [stderr]       Adding tokio-modbus v0.16.1 (available: v0.17.0)
[INFO] [stderr]       Adding tracing-opentelemetry v0.28.0 (available: v0.33.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 85f7b12b24f682ee2adee15d374530d814d1d9318651f2ed3ca983da88dc452e
[INFO] running `Command { std: "docker" "start" "85f7b12b24f682ee2adee15d374530d814d1d9318651f2ed3ca983da88dc452e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "85f7b12b24f682ee2adee15d374530d814d1d9318651f2ed3ca983da88dc452e", 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" "85f7b12b24f682ee2adee15d374530d814d1d9318651f2ed3ca983da88dc452e" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "85f7b12b24f682ee2adee15d374530d814d1d9318651f2ed3ca983da88dc452e", 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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "85f7b12b24f682ee2adee15d374530d814d1d9318651f2ed3ca983da88dc452e" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.107
[INFO] [stderr]    Compiling quote v1.0.47
[INFO] [stderr]     Checking futures-core v0.3.33
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking bytes v1.12.1
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]     Checking futures-sink v0.3.33
[INFO] [stderr]     Checking memchr v2.8.3
[INFO] [stderr]     Checking futures-task v0.3.33
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling libc v0.2.189
[INFO] [stderr]    Compiling zerocopy v0.8.56
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking mio v1.2.2
[INFO] [stderr]     Checking socket2 v0.6.5
[INFO] [stderr]    Compiling zmij v1.0.23
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking futures-channel v0.3.33
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]     Checking typenum v1.20.1
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling num-conv v0.2.2
[INFO] [stderr]    Compiling time-core v0.1.9
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]    Compiling getrandom v0.4.3
[INFO] [stderr]    Compiling rustversion v1.0.23
[INFO] [stderr]     Checking http v1.5.0
[INFO] [stderr]     Checking foldhash v0.2.0
[INFO] [stderr]     Checking aho-corasick v1.1.5
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling anyhow v1.0.104
[INFO] [stderr]     Checking thread_local v1.1.10
[INFO] [stderr]    Compiling time-macros v0.2.32
[INFO] [stderr]    Compiling either v1.17.0
[INFO] [stderr]    Compiling typeid v1.0.3
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking local-waker v0.1.4
[INFO] [stderr]    Compiling zstd-safe v7.2.4
[INFO] [stderr]     Checking deranged v0.5.8
[INFO] [stderr]    Compiling unicode-segmentation v1.13.3
[INFO] [stderr]    Compiling once_cell v1.21.4
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]    Compiling syn v3.0.3
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling itertools v0.14.0
[INFO] [stderr]     Checking alloc-stdlib v0.2.4
[INFO] [stderr]    Compiling jobserver v0.1.35
[INFO] [stderr]     Checking hybrid-array v0.4.14
[INFO] [stderr]    Compiling pest v2.8.8
[INFO] [stderr]    Compiling cc v1.4.0
[INFO] [stderr]    Compiling convert_case v0.10.0
[INFO] [stderr]     Checking http-body v1.1.0
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]     Checking http-body-util v0.1.4
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]    Compiling log v0.4.33
[INFO] [stderr]     Checking glob v0.3.4
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]     Checking const-oid v0.10.2
[INFO] [stderr]     Checking regex-automata v0.4.18
[INFO] [stderr]     Checking simd-adler32 v0.3.10
[INFO] [stderr]    Compiling bytestring v1.5.1
[INFO] [stderr]     Checking crypto-common v0.2.2
[INFO] [stderr]     Checking time v0.3.55
[INFO] [stderr]     Checking block-buffer v0.12.1
[INFO] [stderr]    Compiling tracing v0.1.44
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking brotli-decompressor v5.0.3
[INFO] [stderr]     Checking chacha20 v0.10.1
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling zstd-sys v2.0.16+zstd.1.5.7
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]     Checking actix-service v2.0.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling erased-serde v0.4.10
[INFO] [stderr]    Compiling regex-lite v0.1.9
[INFO] [stderr]    Compiling getrandom v0.3.4
[INFO] [stderr]     Checking matchit v0.7.3
[INFO] [stderr]     Checking flate2 v1.1.9
[INFO] [stderr]    Compiling pest_meta v2.8.8
[INFO] [stderr]     Checking rand v0.10.2
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]     Checking serde_json v1.0.151
[INFO] [stderr]     Checking bitflags v2.13.1
[INFO] [stderr]     Checking brotli v8.0.4
[INFO] [stderr]     Checking hashbrown v0.16.1
[INFO] [stderr]     Checking sha1 v0.11.0
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]     Checking language-tags v0.3.2
[INFO] [stderr]     Checking winnow v1.0.4
[INFO] [stderr]     Checking hashlink v0.11.1
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]     Checking toml_datetime v1.1.1+spec-1.1.0
[INFO] [stderr]     Checking serde_spanned v1.1.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking impl-more v0.3.5
[INFO] [stderr]     Checking yaml-rust2 v0.11.0
[INFO] [stderr]     Checking rust-ini v0.21.3
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking uuid v1.24.0
[INFO] [stderr]     Checking crossbeam-channel v0.5.16
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking regex v1.13.1
[INFO] [stderr]     Checking serde-untagged v0.1.9
[INFO] [stderr]     Checking rand v0.8.7
[INFO] [stderr]     Checking gethostname v0.2.3
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]     Checking tracing-log v0.1.4
[INFO] [stderr]     Checking symlink v0.1.0
[INFO] [stderr]     Checking mutually_exclusive_features v0.1.0
[INFO] [stderr]     Checking deadpool-runtime v0.1.4
[INFO] [stderr]     Checking opentelemetry-semantic-conventions v0.27.0
[INFO] [stderr]    Compiling actix-router v0.5.4
[INFO] [stderr]     Checking toml_parser v1.1.3+spec-1.1.0
[INFO] [stderr]     Checking toml v1.1.4+spec-1.1.0
[INFO] [stderr]    Compiling tokio-macros v2.7.2
[INFO] [stderr]    Compiling serde_derive v1.0.229
[INFO] [stderr]    Compiling displaydoc v0.2.7
[INFO] [stderr]    Compiling async-trait v0.1.91
[INFO] [stderr]    Compiling thiserror-impl v2.0.19
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]     Checking tokio v1.53.1
[INFO] [stderr]    Compiling pest_generator v2.8.8
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling futures-macro v0.3.33
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling pin-project-internal v1.1.13
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling prost-derive v0.13.5
[INFO] [stderr]    Compiling derive_more-impl v2.1.1
[INFO] [stderr]     Checking thiserror v2.0.19
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]     Checking async-stream v0.3.6
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]    Compiling pest_derive v2.8.8
[INFO] [stderr]     Checking futures-util v0.3.33
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking opentelemetry v0.27.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking pin-project v1.1.13
[INFO] [stderr]     Checking prost v0.13.5
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking ron v0.12.2
[INFO] [stderr]     Checking derive_more v2.1.1
[INFO] [stderr]     Checking tracing-appender v0.2.5
[INFO] [stderr]     Checking opentelemetry-appender-tracing v0.27.0
[INFO] [stderr]     Checking tracing-bunyan-formatter v0.3.10
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking futures-executor v0.3.33
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking axum-core v0.4.5
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]     Checking config v0.15.25
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]     Checking tokio-util v0.7.19
[INFO] [stderr]     Checking tokio-stream v0.1.19
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking deadpool v0.12.3
[INFO] [stderr]     Checking actix-server v2.7.0
[INFO] [stderr]     Checking axum v0.7.9
[INFO] [stderr]     Checking opentelemetry_sdk v0.27.1
[INFO] [stderr]     Checking h2 v0.4.15
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking h2 v0.3.27
[INFO] [stderr]     Checking tokio-modbus v0.16.1
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking tracing-opentelemetry v0.28.0
[INFO] [stderr]     Checking actix-http v3.13.1
[INFO] [stderr]     Checking hyper v1.11.0
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking actix-web v4.14.0
[INFO] [stderr]     Checking hyper-timeout v0.5.2
[INFO] [stderr]     Checking tonic v0.12.3
[INFO] [stderr]     Checking opentelemetry-proto v0.27.0
[INFO] [stderr]     Checking tracing-actix-web v0.7.22
[INFO] [stderr]     Checking opentelemetry-otlp v0.27.0
[INFO] [stderr]     Checking modbus v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/modbus_manager.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info};
[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: `Manager`
[INFO] [stdout]  --> src/server_router.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | use deadpool::managed::{Manager, Object};
[INFO] [stdout]   |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::error::Elapsed`
[INFO] [stdout]   --> src/server_router.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::time::error::Elapsed;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_modbus::client::Client`
[INFO] [stdout]   --> src/server_router.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio_modbus::client::Client;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExceptionCode`
[INFO] [stdout]   --> src/server_router.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio_modbus::{client::Reader, ExceptionCode};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/server_router.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tracing::{error, info};
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]   --> src/trace_middleware.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tracing::info;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::dev::Service`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::dev::Service;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::middleware::from_fn`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use actix_web::middleware::from_fn;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ObjectSafeTracerProvider`
[INFO] [stdout]   --> src/main.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | use opentelemetry::global::{self, ObjectSafeTracerProvider};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `opentelemetry::KeyValue`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use opentelemetry::KeyValue;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `opentelemetry_otlp::WithExportConfig`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use opentelemetry_otlp::WithExportConfig;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `opentelemetry_sdk::logs::LoggerProvider`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use opentelemetry_sdk::logs::LoggerProvider;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Resource`, `runtime::TokioCurrentThread`, and `trace::Config`
[INFO] [stdout]   --> src/main.rs:19:42
[INFO] [stdout]    |
[INFO] [stdout] 19 |     propagation::TraceContextPropagator, runtime::TokioCurrentThread, trace::Config, Resource,
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `opentelemetry_semantic_conventions::resource`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use opentelemetry_semantic_conventions::resource;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SERVICE_NAME`
[INFO] [stdout]   --> src/main.rs:22:36
[INFO] [stdout]    |
[INFO] [stdout] 22 | use otlp::{init_logs, init_traces, SERVICE_NAME};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Error`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::fmt::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trace_middleware::trace_middleware`
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use trace_middleware::trace_middleware;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Registry`
[INFO] [stdout]   --> src/main.rs:33:59
[INFO] [stdout]    |
[INFO] [stdout] 33 | use tracing_subscriber::{layer::SubscriberExt, EnvFilter, Registry};
[INFO] [stdout]    |                                                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]  --> src/modbus_manager.rs:6:29
[INFO] [stdout]   |
[INFO] [stdout] 6 | use tracing::{debug, error, info};
[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: `Manager`
[INFO] [stdout]  --> src/server_router.rs:9:25
[INFO] [stdout]   |
[INFO] [stdout] 9 | use deadpool::managed::{Manager, Object};
[INFO] [stdout]   |                         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::time::error::Elapsed`
[INFO] [stdout]   --> src/server_router.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use tokio::time::error::Elapsed;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio_modbus::client::Client`
[INFO] [stdout]   --> src/server_router.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use tokio_modbus::client::Client;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ExceptionCode`
[INFO] [stdout]   --> src/server_router.rs:13:36
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio_modbus::{client::Reader, ExceptionCode};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `info`
[INFO] [stdout]   --> src/server_router.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tracing::{error, info};
[INFO] [stdout]    |                      ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tracing::info`
[INFO] [stdout]   --> src/trace_middleware.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use tracing::info;
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::dev::Service`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use actix_web::dev::Service;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `actix_web::middleware::from_fn`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use actix_web::middleware::from_fn;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ObjectSafeTracerProvider`
[INFO] [stdout]   --> src/main.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | use opentelemetry::global::{self, ObjectSafeTracerProvider};
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `opentelemetry::KeyValue`
[INFO] [stdout]   --> src/main.rs:14:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | use opentelemetry::KeyValue;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `opentelemetry_otlp::WithExportConfig`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use opentelemetry_otlp::WithExportConfig;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `opentelemetry_sdk::logs::LoggerProvider`
[INFO] [stdout]   --> src/main.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use opentelemetry_sdk::logs::LoggerProvider;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Resource`, `runtime::TokioCurrentThread`, and `trace::Config`
[INFO] [stdout]   --> src/main.rs:19:42
[INFO] [stdout]    |
[INFO] [stdout] 19 |     propagation::TraceContextPropagator, runtime::TokioCurrentThread, trace::Config, Resource,
[INFO] [stdout]    |                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `opentelemetry_semantic_conventions::resource`
[INFO] [stdout]   --> src/main.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 | use opentelemetry_semantic_conventions::resource;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `SERVICE_NAME`
[INFO] [stdout]   --> src/main.rs:22:36
[INFO] [stdout]    |
[INFO] [stdout] 22 | use otlp::{init_logs, init_traces, SERVICE_NAME};
[INFO] [stdout]    |                                    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fmt::Error`
[INFO] [stdout]   --> src/main.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | use std::fmt::Error;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `trace_middleware::trace_middleware`
[INFO] [stdout]   --> src/main.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use trace_middleware::trace_middleware;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Registry`
[INFO] [stdout]   --> src/main.rs:33:59
[INFO] [stdout]    |
[INFO] [stdout] 33 | use tracing_subscriber::{layer::SubscriberExt, EnvFilter, Registry};
[INFO] [stdout]    |                                                           ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::FutureExt`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures_util::FutureExt as _;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `futures_util::FutureExt`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use futures_util::FutureExt as _;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tracer_provider`
[INFO] [stdout]   --> src/main.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let tracer_provider = init_traces().unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tracer_provider`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tracer_provider`
[INFO] [stdout]   --> src/main.rs:69:9
[INFO] [stdout]    |
[INFO] [stdout] 69 |     let tracer_provider = init_traces().unwrap();
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tracer_provider`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `addr` and `slave` are never read
[INFO] [stdout]   --> src/modbus_manager.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Modbus {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 15 |     pub addr: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 16 |     pub slave: u8,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Modbus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_connection_alive` is never used
[INFO] [stdout]   --> src/modbus_manager.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | async fn is_connection_alive(context: &mut Context) -> bool {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_metrics` is never used
[INFO] [stdout]   --> src/otlp.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn init_metrics() -> Result<opentelemetry_sdk::metrics::SdkMeterProvider, MetricError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Trace` is never constructed
[INFO] [stdout]   --> src/trace_middleware.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Trace;
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TraceMiddleware` is never constructed
[INFO] [stdout]   --> src/trace_middleware.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct TraceMiddleware<S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trace_middleware` is never used
[INFO] [stdout]   --> src/trace_middleware.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub async fn trace_middleware(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `addr` and `slave` are never read
[INFO] [stdout]   --> src/modbus_manager.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 14 | pub struct Modbus {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 15 |     pub addr: String,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 16 |     pub slave: u8,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Modbus` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `is_connection_alive` is never used
[INFO] [stdout]   --> src/modbus_manager.rs:74:10
[INFO] [stdout]    |
[INFO] [stdout] 74 | async fn is_connection_alive(context: &mut Context) -> bool {
[INFO] [stdout]    |          ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_metrics` is never used
[INFO] [stdout]   --> src/otlp.rs:31:8
[INFO] [stdout]    |
[INFO] [stdout] 31 | pub fn init_metrics() -> Result<opentelemetry_sdk::metrics::SdkMeterProvider, MetricError> {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Trace` is never constructed
[INFO] [stdout]   --> src/trace_middleware.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Trace;
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TraceMiddleware` is never constructed
[INFO] [stdout]   --> src/trace_middleware.rs:36:12
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub struct TraceMiddleware<S> {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trace_middleware` is never used
[INFO] [stdout]   --> src/trace_middleware.rs:64:14
[INFO] [stdout]    |
[INFO] [stdout] 64 | pub async fn trace_middleware(
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 22s
[INFO] running `Command { std: "docker" "inspect" "85f7b12b24f682ee2adee15d374530d814d1d9318651f2ed3ca983da88dc452e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85f7b12b24f682ee2adee15d374530d814d1d9318651f2ed3ca983da88dc452e", kill_on_drop: false }`
[INFO] [stdout] 85f7b12b24f682ee2adee15d374530d814d1d9318651f2ed3ca983da88dc452e
