[INFO] cloning repository https://github.com/RainerGewalt/MonitorFlux
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RainerGewalt/MonitorFlux" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainerGewalt%2FMonitorFlux", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainerGewalt%2FMonitorFlux'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 73dba5d30550c415270b49a983685dbe684e4f16
[INFO] building RainerGewalt/MonitorFlux against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainerGewalt%2FMonitorFlux" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/RainerGewalt/MonitorFlux
[INFO] finished tweaking git repo https://github.com/RainerGewalt/MonitorFlux
[INFO] tweaked toml for git repo https://github.com/RainerGewalt/MonitorFlux written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/RainerGewalt/MonitorFlux on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/RainerGewalt/MonitorFlux 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" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 09e83b677ced48657bdb9f214af8d18bc4870cb32bb48308577baf586463c6c1
[INFO] running `Command { std: "docker" "start" "-a" "09e83b677ced48657bdb9f214af8d18bc4870cb32bb48308577baf586463c6c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "09e83b677ced48657bdb9f214af8d18bc4870cb32bb48308577baf586463c6c1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "09e83b677ced48657bdb9f214af8d18bc4870cb32bb48308577baf586463c6c1", kill_on_drop: false }`
[INFO] [stdout] 09e83b677ced48657bdb9f214af8d18bc4870cb32bb48308577baf586463c6c1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f2935c138366799d54505772ef9ac97ae242b9b0ad1134babe05b1ba1c99fe23
[INFO] running `Command { std: "docker" "start" "-a" "f2935c138366799d54505772ef9ac97ae242b9b0ad1134babe05b1ba1c99fe23", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.167
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling openssl-src v300.4.1+3.4.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling openssl-sys v0.9.104
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling pear_codegen v0.2.9
[INFO] [stderr]    Compiling ring v0.17.8
[INFO] [stderr]    Compiling inlinable_string v0.1.15
[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 parking_lot v0.12.3
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling miniz_oxide v0.8.0
[INFO] [stderr]    Compiling time-macros v0.2.19
[INFO] [stderr]    Compiling tokio v1.42.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling rayon-core v1.12.1
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling ref-cast v1.0.23
[INFO] [stderr]    Compiling openssl v0.10.68
[INFO] [stderr]    Compiling serde v1.0.217
[INFO] [stderr]    Compiling anyhow v1.0.95
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling time v0.3.37
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling libz-sys v1.1.20
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling ref-cast-impl v1.0.23
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling uncased v0.9.10
[INFO] [stderr]    Compiling aligned-vec v0.5.0
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling built v0.7.5
[INFO] [stderr]    Compiling devise_core v0.4.2
[INFO] [stderr]    Compiling rav1e v0.7.1
[INFO] [stderr]    Compiling num-rational v0.4.2
[INFO] [stderr]    Compiling icu_normalizer v1.5.0
[INFO] [stderr]    Compiling v_frame v0.3.8
[INFO] [stderr]    Compiling indexmap v2.7.0
[INFO] [stderr]    Compiling serde_spanned v0.6.8
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling flate2 v1.0.35
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]    Compiling tokio-util v0.7.13
[INFO] [stderr]    Compiling rayon v1.10.0
[INFO] [stderr]    Compiling libsqlite3-sys v0.30.1
[INFO] [stderr]    Compiling profiling-procmacros v1.0.16
[INFO] [stderr]    Compiling h2 v0.4.7
[INFO] [stderr]    Compiling stable-pattern v0.1.0
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling winnow v0.6.22
[INFO] [stderr]    Compiling state v0.6.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.6
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling serde_json v1.0.134
[INFO] [stderr]    Compiling rustix v0.38.42
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling profiling v1.0.16
[INFO] [stderr]    Compiling h2 v0.3.26
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling toml_edit v0.22.22
[INFO] [stderr]    Compiling av1-grain v0.2.3
[INFO] [stderr]    Compiling maybe-rayon v0.1.1
[INFO] [stderr]    Compiling pear v0.2.9
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling idna_adapter v1.2.0
[INFO] [stderr]    Compiling devise_codegen v0.4.2
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling hyper v1.5.2
[INFO] [stderr]    Compiling arg_enum_proc_macro v0.3.4
[INFO] [stderr]    Compiling num-derive v0.4.2
[INFO] [stderr]    Compiling libssh2-sys v0.3.0
[INFO] [stderr]    Compiling simd_helpers v0.1.0
[INFO] [stderr]    Compiling figment v0.10.19
[INFO] [stderr]    Compiling instant v0.1.13
[INFO] [stderr]    Compiling multer v3.1.0
[INFO] [stderr]    Compiling weezl v0.1.8
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling rocket_http v0.5.1
[INFO] [stderr]    Compiling devise v0.4.2
[INFO] [stderr]    Compiling toml v0.8.19
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]    Compiling hashlink v0.9.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling avif-serialize v0.8.2
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling pin-project-internal v1.1.7
[INFO] [stderr]    Compiling half v2.4.1
[INFO] [stderr]    Compiling rocket v0.5.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling glob v0.3.2
[INFO] [stderr]    Compiling thiserror v2.0.9
[INFO] [stderr]    Compiling jpeg-decoder v0.3.1
[INFO] [stderr]    Compiling bytemuck v1.21.0
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling rgb v0.8.50
[INFO] [stderr]    Compiling fallible-iterator v0.3.0
[INFO] [stderr]    Compiling rocket_codegen v0.5.1
[INFO] [stderr]    Compiling rusqlite v0.32.1
[INFO] [stderr]    Compiling pin-project v1.1.7
[INFO] [stderr]    Compiling tiff v0.9.1
[INFO] [stderr]    Compiling qoi v0.4.1
[INFO] [stderr]    Compiling exr v1.73.0
[INFO] [stderr]    Compiling ravif v0.11.11
[INFO] [stderr]    Compiling image-webp v0.2.0
[INFO] [stderr]    Compiling zune-jpeg v0.4.14
[INFO] [stderr]    Compiling gif v0.13.1
[INFO] [stderr]    Compiling tempfile v3.15.0
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling png v0.17.16
[INFO] [stderr]    Compiling tokio-rustls v0.25.0
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling axum-core v0.5.0
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling rustls-native-certs v0.7.3
[INFO] [stderr]    Compiling uuid v1.11.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling serde_path_to_error v0.1.16
[INFO] [stderr]    Compiling ubyte v0.10.4
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling time v0.1.45
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.9
[INFO] [stderr]    Compiling async-trait v0.1.84
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling atomic v0.5.3
[INFO] [stderr]    Compiling binascii v0.1.4
[INFO] [stderr]    Compiling matchit v0.8.4
[INFO] [stderr]    Compiling debug-builders v0.1.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stderr]    Compiling r2d2 v0.6.0
[INFO] [stderr]    Compiling axum v0.8.1
[INFO] [stderr]    Compiling rumqttc v0.24.0
[INFO] [stderr]    Compiling r2d2_sqlite v0.25.0
[INFO] [stderr]    Compiling image v0.25.5
[INFO] [stderr]    Compiling tokio-retry v0.3.0
[INFO] [stderr]    Compiling async-compression v0.4.18
[INFO] [stderr]    Compiling tower-http v0.6.2
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.12
[INFO] [stderr]    Compiling ssh2 v0.9.4
[INFO] [stderr]    Compiling MonitorFlux v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `add_or_update_topic` and `update_broker_for_topics` are never used
[INFO] [stdout]    --> src/db.rs:79:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | impl DatabaseService {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub fn add_or_update_topic(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 190 |     pub fn update_broker_for_topics(&self, old_broker_name: &str, new_broker_name: &str) -> Result<()> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `total_size`, `uploaded_size`, and `mqtt_service` are never read
[INFO] [stdout]   --> src/progress_tracker.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ProgressTracker {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 13 |     pub(crate) total_size: Mutex<u64>,
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] 14 |     pub(crate) uploaded_size: Mutex<u64>,
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout] 15 |     mqtt_service: Arc<MqttService>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_cancelled`, `stop`, `set_total_size`, and `update_progress` are never used
[INFO] [stdout]   --> src/progress_tracker.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl ProgressTracker {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn is_cancelled(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub async fn stop(&self) {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub async fn set_total_size(&self, size: u64) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub async fn update_progress(&self, bytes_uploaded: u64) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Broker` is never constructed
[INFO] [stdout]  --> src/models.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Broker {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Topic` is never constructed
[INFO] [stdout]   --> src/models.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Topic {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Subscription` is never constructed
[INFO] [stdout]   --> src/models.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Subscription {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]   --> src/rest_server.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct ApiRequest {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] 15 |     action: String,
[INFO] [stdout] 16 |     data: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/config.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub max_api_requests_per_minute: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 39 |     pub rest_api_auth_enabled: bool,
[INFO] [stdout] 40 |     pub rest_api_username: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 41 |     pub rest_api_password: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     pub jwt_auth_enabled: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |     pub jwt_secret_key: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 44 |     pub jwt_expiration_minutes: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 45 |     pub cors_enabled: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` 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: function `publish_analytics` is never used
[INFO] [stdout]   --> src/service_utils.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn publish_analytics(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `publish_progress` is never used
[INFO] [stdout]   --> src/service_utils.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn publish_progress(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_multiple_mqtt_services` is never used
[INFO] [stdout]    --> src/service_utils.rs:163:8
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub fn start_multiple_mqtt_services(services: Vec<(Arc<MqttService>, &str)>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/mqtt_service.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Error(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClientState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -     Error(String),
[INFO] [stdout] 16 +     Error(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `progress_topic` and `analytics_topic` are never read
[INFO] [stdout]   --> src/mqtt_service.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct MqttConfig {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub progress_topic: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     pub analytics_topic: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MqttConfig` 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 `state` is never read
[INFO] [stdout]   --> src/mqtt_service.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct MqttService {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     state: SharedState,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 9m 10s
[INFO] running `Command { std: "docker" "inspect" "f2935c138366799d54505772ef9ac97ae242b9b0ad1134babe05b1ba1c99fe23", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2935c138366799d54505772ef9ac97ae242b9b0ad1134babe05b1ba1c99fe23", kill_on_drop: false }`
[INFO] [stdout] f2935c138366799d54505772ef9ac97ae242b9b0ad1134babe05b1ba1c99fe23
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1d53f6b8a444cd349ea55b0cfbab88098a1afdbc2095d0226460a380dc2a0842
[INFO] running `Command { std: "docker" "start" "-a" "1d53f6b8a444cd349ea55b0cfbab88098a1afdbc2095d0226460a380dc2a0842", kill_on_drop: false }`
[INFO] [stderr]    Compiling MonitorFlux v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: methods `add_or_update_topic` and `update_broker_for_topics` are never used
[INFO] [stdout]    --> src/db.rs:79:12
[INFO] [stdout]     |
[INFO] [stdout]   9 | impl DatabaseService {
[INFO] [stdout]     | -------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  79 |     pub fn add_or_update_topic(
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 190 |     pub fn update_broker_for_topics(&self, old_broker_name: &str, new_broker_name: &str) -> Result<()> {
[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 `Broker` is never constructed
[INFO] [stdout]  --> src/models.rs:2:12
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub struct Broker {
[INFO] [stdout]   |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Topic` is never constructed
[INFO] [stdout]   --> src/models.rs:13:12
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub struct Topic {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Subscription` is never constructed
[INFO] [stdout]   --> src/models.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct Subscription {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> src/mqtt_service.rs:16:11
[INFO] [stdout]    |
[INFO] [stdout] 16 |     Error(String),
[INFO] [stdout]    |     ----- ^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `ClientState` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]    |
[INFO] [stdout] 16 -     Error(String),
[INFO] [stdout] 16 +     Error(()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `progress_topic` and `analytics_topic` are never read
[INFO] [stdout]   --> src/mqtt_service.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct MqttConfig {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub progress_topic: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 30 |     pub analytics_topic: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MqttConfig` 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 `state` is never read
[INFO] [stdout]   --> src/mqtt_service.rs:38:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub struct MqttService {
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     state: SharedState,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `data` is never read
[INFO] [stdout]   --> src/rest_server.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct ApiRequest {
[INFO] [stdout]    |        ---------- field in this struct
[INFO] [stdout] 15 |     action: String,
[INFO] [stdout] 16 |     data: Option<String>,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `publish_analytics` is never used
[INFO] [stdout]   --> src/service_utils.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn publish_analytics(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `publish_progress` is never used
[INFO] [stdout]   --> src/service_utils.rs:55:8
[INFO] [stdout]    |
[INFO] [stdout] 55 | pub fn publish_progress(
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `start_multiple_mqtt_services` is never used
[INFO] [stdout]    --> src/service_utils.rs:163:8
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub fn start_multiple_mqtt_services(services: Vec<(Arc<MqttService>, &str)>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]   --> src/config.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub struct Config {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 38 |     pub max_api_requests_per_minute: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 39 |     pub rest_api_auth_enabled: bool,
[INFO] [stdout] 40 |     pub rest_api_username: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 41 |     pub rest_api_password: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 42 |     pub jwt_auth_enabled: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 43 |     pub jwt_secret_key: Option<String>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] 44 |     pub jwt_expiration_minutes: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 45 |     pub cors_enabled: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Config` 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: fields `total_size`, `uploaded_size`, and `mqtt_service` are never read
[INFO] [stdout]   --> src/progress_tracker.rs:13:16
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct ProgressTracker {
[INFO] [stdout]    |            --------------- fields in this struct
[INFO] [stdout] 13 |     pub(crate) total_size: Mutex<u64>,
[INFO] [stdout]    |                ^^^^^^^^^^
[INFO] [stdout] 14 |     pub(crate) uploaded_size: Mutex<u64>,
[INFO] [stdout]    |                ^^^^^^^^^^^^^
[INFO] [stdout] 15 |     mqtt_service: Arc<MqttService>,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `is_cancelled`, `stop`, `set_total_size`, and `update_progress` are never used
[INFO] [stdout]   --> src/progress_tracker.rs:21:12
[INFO] [stdout]    |
[INFO] [stdout] 20 | impl ProgressTracker {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 21 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 36 |     pub fn is_cancelled(&self) -> bool {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 41 |     pub async fn stop(&self) {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 49 |     pub async fn set_total_size(&self, size: u64) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub async fn update_progress(&self, bytes_uploaded: u64) {
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 7.26s
[INFO] running `Command { std: "docker" "inspect" "1d53f6b8a444cd349ea55b0cfbab88098a1afdbc2095d0226460a380dc2a0842", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1d53f6b8a444cd349ea55b0cfbab88098a1afdbc2095d0226460a380dc2a0842", kill_on_drop: false }`
[INFO] [stdout] 1d53f6b8a444cd349ea55b0cfbab88098a1afdbc2095d0226460a380dc2a0842
