[INFO] cloning repository https://github.com/aginrocks/agin-sensors [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aginrocks/agin-sensors" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faginrocks%2Fagin-sensors", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faginrocks%2Fagin-sensors'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 416b9537aed9f3fa0b97cc0c68da3ad3d14c5ff2 [INFO] building aginrocks/agin-sensors against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faginrocks%2Fagin-sensors" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/aginrocks/agin-sensors [INFO] finished tweaking git repo https://github.com/aginrocks/agin-sensors [INFO] tweaked toml for git repo https://github.com/aginrocks/agin-sensors written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/aginrocks/agin-sensors 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/aginrocks/agin-sensors 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 ordered-float v3.9.2 [INFO] [stderr] Downloaded schemars_derive v1.0.4 [INFO] [stderr] Downloaded socketioxide-core v0.17.0 [INFO] [stderr] Downloaded snafu-derive v0.6.10 [INFO] [stderr] Downloaded tokio-modbus v0.16.1 [INFO] [stderr] Downloaded go-parse-duration v0.1.1 [INFO] [stderr] Downloaded influxdb2-derive v0.1.1 [INFO] [stderr] Downloaded array-init v2.1.0 [INFO] [stderr] Downloaded binrw_derive v0.15.0 [INFO] [stderr] Downloaded engineioxide-core v0.2.0 [INFO] [stderr] Downloaded socketioxide-parser-common v0.17.0 [INFO] [stderr] Downloaded influxdb2-structmap v0.2.0 [INFO] [stderr] Downloaded fallible-iterator v0.2.0 [INFO] [stderr] Downloaded engineioxide v0.17.0 [INFO] [stderr] Downloaded socketioxide v0.17.2 [INFO] [stderr] Downloaded binrw v0.15.0 [INFO] [stderr] Downloaded secrecy v0.8.0 [INFO] [stderr] Downloaded influxdb2 v0.5.2 [INFO] [stderr] Downloaded dyn-clone v1.0.20 [INFO] [stderr] Downloaded snafu v0.6.10 [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] 1b91f70cf52acd475b5560d97c0156f2c53f9b4cf5a9e96c10566c5fd80e29b1 [INFO] running `Command { std: "docker" "start" "-a" "1b91f70cf52acd475b5560d97c0156f2c53f9b4cf5a9e96c10566c5fd80e29b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b91f70cf52acd475b5560d97c0156f2c53f9b4cf5a9e96c10566c5fd80e29b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b91f70cf52acd475b5560d97c0156f2c53f9b4cf5a9e96c10566c5fd80e29b1", kill_on_drop: false }` [INFO] [stdout] 1b91f70cf52acd475b5560d97c0156f2c53f9b4cf5a9e96c10566c5fd80e29b1 [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] ef59ac19a09053f6a01236571db45242ac6d119973c5fe62df4c455735d06003 [INFO] running `Command { std: "docker" "start" "-a" "ef59ac19a09053f6a01236571db45242ac6d119973c5fe62df4c455735d06003", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling matchers v0.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling eyre v0.6.12 [INFO] [stderr] Compiling color-spantrace v0.3.0 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling rustc-demangle v0.1.25 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling secrecy v0.8.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling fallible-iterator v0.2.0 [INFO] [stderr] Compiling dyn-clone v1.0.20 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling go-parse-duration v0.1.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling binrw_derive v0.15.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling binrw v0.15.0 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling array-init v2.1.0 [INFO] [stderr] Compiling bytemuck v1.23.1 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling backtrace v0.3.75 [INFO] [stderr] Compiling snafu-derive v0.6.10 [INFO] [stderr] Compiling influxdb2-derive v0.1.1 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive_internals v0.29.1 [INFO] [stderr] Compiling snafu v0.6.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling enum_dispatch v0.3.13 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling schemars_derive v1.0.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling serde_yaml v0.9.34+deprecated [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling tokio v1.47.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling engineioxide-core v0.2.0 [INFO] [stderr] Compiling socketioxide-core v0.17.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling schemars v1.0.4 [INFO] [stderr] Compiling socketioxide-parser-common v0.17.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling influxdb2-structmap v0.2.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling tungstenite v0.26.2 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling tracing-error v0.2.1 [INFO] [stderr] Compiling color-eyre v0.6.5 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tokio-tungstenite v0.26.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling rumqttc v0.24.0 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-modbus v0.16.1 [INFO] [stderr] Compiling hyper-util v0.1.16 [INFO] [stderr] Compiling engineioxide v0.17.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling socketioxide v0.17.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling influxdb2 v0.5.2 [INFO] [stderr] Compiling aginsensors_core v0.1.0 (/opt/rustwide/workdir/aginsensors_core) [INFO] [stderr] Compiling connector_mqtt v0.1.0 (/opt/rustwide/workdir/connector_mqtt) [INFO] [stderr] Compiling database_influx v0.1.0 (/opt/rustwide/workdir/database_influx) [INFO] [stderr] Compiling modifier_template v0.1.0 (/opt/rustwide/workdir/modifier_template) [INFO] [stderr] Compiling connector_modbus v0.1.0 (/opt/rustwide/workdir/connector_modbus) [INFO] [stdout] warning: unused variable: `time_ms` [INFO] [stdout] --> connector_mqtt/src/beanair.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let time_ms = (data.reference_time as u64) * 1000 - 3600000; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_ms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimal_value` [INFO] [stdout] --> connector_mqtt/src/beanair.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let decimal_value = if sign_bit == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimal_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_REGISTER` is never used [INFO] [stdout] --> connector_modbus/src/lib.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const TIME_REGISTER: u16 = 0x0201; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_START_REGISTER` is never used [INFO] [stdout] --> connector_modbus/src/lib.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const TIME_START_REGISTER: u16 = 264; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_STOP_REGISTER` is never used [INFO] [stdout] --> connector_modbus/src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const TIME_STOP_REGISTER: u16 = 267; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serial_number` is never read [INFO] [stdout] --> connector_modbus/src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct ModbusMetadata { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 118 | serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModbusMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `counter` is never read [INFO] [stdout] --> connector_modbus/src/lib.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 124 | struct ReadResult { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | counter: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling connector_socketio v0.1.0 (/opt/rustwide/workdir/connector_socketio) [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> connector_socketio/src/middleware.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::error; [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: `color_eyre::eyre::ContextCompat` [INFO] [stdout] --> connector_socketio/src/socket/handle_batch.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use color_eyre::eyre::ContextCompat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Data` [INFO] [stdout] --> connector_socketio/src/socket/read_request.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use socketioxide::extract::{Data, SocketRef, State}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `socket::handle_single::SingleMeasurement` [INFO] [stdout] --> connector_socketio/src/socket/read_request.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{SocketIo, middleware::extract_token, socket::handle_single::SingleMeasurement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoEvents` [INFO] [stdout] --> connector_socketio/src/socket/handle_batch.rs:3:66 [INFO] [stdout] | [INFO] [stdout] 3 | use aginsensors_core::connector::{ConnectorEvent, EventMetadata, IntoEvents, Measurement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoEvents` [INFO] [stdout] --> connector_socketio/src/socket/handle_single.rs:3:66 [INFO] [stdout] | [INFO] [stdout] 3 | use aginsensors_core::connector::{ConnectorEvent, EventMetadata, IntoEvents, Measurement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bucket` is never read [INFO] [stdout] --> connector_socketio/src/socket/handle_batch.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Batch { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | #[serde(rename = "b")] [INFO] [stdout] 14 | pub bucket: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Batch` has derived impls for the traits `Clone` and `Debug`, but these are 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: field `bucket` is never read [INFO] [stdout] --> connector_socketio/src/socket/handle_single.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SingleMeasurement { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 12 | pub bucket: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleMeasurement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling modules v0.1.0 (/opt/rustwide/workdir/modules) [INFO] [stderr] Compiling daemon v0.1.0 (/opt/rustwide/workdir/daemon) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `Command { std: "docker" "inspect" "ef59ac19a09053f6a01236571db45242ac6d119973c5fe62df4c455735d06003", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef59ac19a09053f6a01236571db45242ac6d119973c5fe62df4c455735d06003", kill_on_drop: false }` [INFO] [stdout] ef59ac19a09053f6a01236571db45242ac6d119973c5fe62df4c455735d06003 [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] 72a07f1e43bdd4c887edc3c155f31a37c6a025d3cb9d298f2923317af7f61b9a [INFO] running `Command { std: "docker" "start" "-a" "72a07f1e43bdd4c887edc3c155f31a37c6a025d3cb9d298f2923317af7f61b9a", kill_on_drop: false }` [INFO] [stderr] Compiling aginsensors_core v0.1.0 (/opt/rustwide/workdir/aginsensors_core) [INFO] [stdout] warning: constant `TIME_REGISTER` is never used [INFO] [stdout] --> connector_modbus/src/lib.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const TIME_REGISTER: u16 = 0x0201; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_START_REGISTER` is never used [INFO] [stdout] --> connector_modbus/src/lib.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const TIME_START_REGISTER: u16 = 264; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_STOP_REGISTER` is never used [INFO] [stdout] --> connector_modbus/src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const TIME_STOP_REGISTER: u16 = 267; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serial_number` is never read [INFO] [stdout] --> connector_modbus/src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct ModbusMetadata { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 118 | serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModbusMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `counter` is never read [INFO] [stdout] --> connector_modbus/src/lib.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 124 | struct ReadResult { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | counter: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling connector_modbus v0.1.0 (/opt/rustwide/workdir/connector_modbus) [INFO] [stderr] Compiling modifier_template v0.1.0 (/opt/rustwide/workdir/modifier_template) [INFO] [stderr] Compiling database_influx v0.1.0 (/opt/rustwide/workdir/database_influx) [INFO] [stdout] warning: unused variable: `time_ms` [INFO] [stdout] --> connector_mqtt/src/beanair.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let time_ms = (data.reference_time as u64) * 1000 - 3600000; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_ms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimal_value` [INFO] [stdout] --> connector_mqtt/src/beanair.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let decimal_value = if sign_bit == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimal_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> connector_socketio/src/middleware.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::error; [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: `color_eyre::eyre::ContextCompat` [INFO] [stdout] --> connector_socketio/src/socket/handle_batch.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use color_eyre::eyre::ContextCompat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling connector_mqtt v0.1.0 (/opt/rustwide/workdir/connector_mqtt) [INFO] [stdout] warning: unused import: `Data` [INFO] [stdout] --> connector_socketio/src/socket/read_request.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use socketioxide::extract::{Data, SocketRef, State}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling connector_socketio v0.1.0 (/opt/rustwide/workdir/connector_socketio) [INFO] [stdout] warning: unused import: `socket::handle_single::SingleMeasurement` [INFO] [stdout] --> connector_socketio/src/socket/read_request.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{SocketIo, middleware::extract_token, socket::handle_single::SingleMeasurement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling modules v0.1.0 (/opt/rustwide/workdir/modules) [INFO] [stdout] warning: unused import: `IntoEvents` [INFO] [stdout] --> connector_socketio/src/socket/handle_batch.rs:3:66 [INFO] [stdout] | [INFO] [stdout] 3 | use aginsensors_core::connector::{ConnectorEvent, EventMetadata, IntoEvents, Measurement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling daemon v0.1.0 (/opt/rustwide/workdir/daemon) [INFO] [stdout] warning: unused import: `IntoEvents` [INFO] [stdout] --> connector_socketio/src/socket/handle_single.rs:3:66 [INFO] [stdout] | [INFO] [stdout] 3 | use aginsensors_core::connector::{ConnectorEvent, EventMetadata, IntoEvents, Measurement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bucket` is never read [INFO] [stdout] --> connector_socketio/src/socket/handle_batch.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Batch { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | #[serde(rename = "b")] [INFO] [stdout] 14 | pub bucket: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Batch` has derived impls for the traits `Clone` and `Debug`, but these are 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: field `bucket` is never read [INFO] [stdout] --> connector_socketio/src/socket/handle_single.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SingleMeasurement { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 12 | pub bucket: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleMeasurement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> connector_socketio/src/middleware.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use tracing::error; [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: `color_eyre::eyre::ContextCompat` [INFO] [stdout] --> connector_socketio/src/socket/handle_batch.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use color_eyre::eyre::ContextCompat; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Data` [INFO] [stdout] --> connector_socketio/src/socket/read_request.rs:4:29 [INFO] [stdout] | [INFO] [stdout] 4 | use socketioxide::extract::{Data, SocketRef, State}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `socket::handle_single::SingleMeasurement` [INFO] [stdout] --> connector_socketio/src/socket/read_request.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::{SocketIo, middleware::extract_token, socket::handle_single::SingleMeasurement}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time_ms` [INFO] [stdout] --> connector_mqtt/src/beanair.rs:113:21 [INFO] [stdout] | [INFO] [stdout] 113 | let time_ms = (data.reference_time as u64) * 1000 - 3600000; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_time_ms` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `decimal_value` [INFO] [stdout] --> connector_mqtt/src/beanair.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | let decimal_value = if sign_bit == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decimal_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoEvents` [INFO] [stdout] --> connector_socketio/src/socket/handle_batch.rs:3:66 [INFO] [stdout] | [INFO] [stdout] 3 | use aginsensors_core::connector::{ConnectorEvent, EventMetadata, IntoEvents, Measurement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IntoEvents` [INFO] [stdout] --> connector_socketio/src/socket/handle_single.rs:3:66 [INFO] [stdout] | [INFO] [stdout] 3 | use aginsensors_core::connector::{ConnectorEvent, EventMetadata, IntoEvents, Measurement}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_REGISTER` is never used [INFO] [stdout] --> connector_modbus/src/lib.rs:44:7 [INFO] [stdout] | [INFO] [stdout] 44 | const TIME_REGISTER: u16 = 0x0201; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_START_REGISTER` is never used [INFO] [stdout] --> connector_modbus/src/lib.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | const TIME_START_REGISTER: u16 = 264; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TIME_STOP_REGISTER` is never used [INFO] [stdout] --> connector_modbus/src/lib.rs:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | const TIME_STOP_REGISTER: u16 = 267; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serial_number` is never read [INFO] [stdout] --> connector_modbus/src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 117 | struct ModbusMetadata { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 118 | serial_number: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ModbusMetadata` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bucket` is never read [INFO] [stdout] --> connector_socketio/src/socket/handle_batch.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Batch { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | #[serde(rename = "b")] [INFO] [stdout] 14 | pub bucket: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Batch` has derived impls for the traits `Clone` and `Debug`, but these are 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: field `counter` is never read [INFO] [stdout] --> connector_modbus/src/lib.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 124 | struct ReadResult { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 128 | counter: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadResult` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bucket` is never read [INFO] [stdout] --> connector_socketio/src/socket/handle_single.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SingleMeasurement { [INFO] [stdout] | ----------------- field in this struct [INFO] [stdout] 12 | pub bucket: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SingleMeasurement` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.63s [INFO] running `Command { std: "docker" "inspect" "72a07f1e43bdd4c887edc3c155f31a37c6a025d3cb9d298f2923317af7f61b9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72a07f1e43bdd4c887edc3c155f31a37c6a025d3cb9d298f2923317af7f61b9a", kill_on_drop: false }` [INFO] [stdout] 72a07f1e43bdd4c887edc3c155f31a37c6a025d3cb9d298f2923317af7f61b9a