[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 master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRainerGewalt%2FMonitorFlux" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/RainerGewalt/MonitorFlux 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/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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-retry v0.3.0 [INFO] [stderr] Downloaded r2d2_sqlite v0.25.0 [INFO] [stderr] Downloaded thiserror-impl v2.0.9 [INFO] [stderr] Downloaded thiserror v2.0.9 [INFO] [stderr] Downloaded ssh2 v0.9.4 [INFO] [stderr] Downloaded debug-builders v0.1.0 [INFO] [stderr] Downloaded async-trait v0.1.84 [INFO] [stderr] Downloaded log v0.3.9 [INFO] [stderr] Downloaded serde_json v1.0.134 [INFO] [stderr] Downloaded rumqttc v0.24.0 [INFO] [stderr] Downloaded async-compression v0.4.18 [INFO] [stderr] Downloaded h2 v0.4.7 [INFO] [stderr] Downloaded security-framework-sys v2.13.0 [INFO] [stderr] Downloaded rusqlite v0.32.1 [INFO] [stderr] Downloaded libssh2-sys v0.3.0 [INFO] [stderr] Downloaded rustls v0.23.20 [INFO] [stderr] Downloaded winnow v0.6.22 [INFO] [stderr] Downloaded libc v0.2.167 [INFO] [stderr] Downloaded libz-sys v1.1.20 [INFO] [stderr] Downloaded r2d2 v0.6.0 [INFO] [stderr] Downloaded openssl-src v300.4.1+3.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 4f89a086c73150750dafe90bfd09a3d5733234e887b683dba6c0f84082a8fa8f [INFO] running `Command { std: "docker" "start" "-a" "4f89a086c73150750dafe90bfd09a3d5733234e887b683dba6c0f84082a8fa8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f89a086c73150750dafe90bfd09a3d5733234e887b683dba6c0f84082a8fa8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f89a086c73150750dafe90bfd09a3d5733234e887b683dba6c0f84082a8fa8f", kill_on_drop: false }` [INFO] [stdout] 4f89a086c73150750dafe90bfd09a3d5733234e887b683dba6c0f84082a8fa8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 7e88f6fafe415db1bfcc816de491011c69883385b91c3959e2fb63524c00e778 [INFO] running `Command { std: "docker" "start" "-a" "7e88f6fafe415db1bfcc816de491011c69883385b91c3959e2fb63524c00e778", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Compiling pin-project-lite v0.2.15 [INFO] [stderr] Compiling bytes v1.9.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling httparse v1.9.5 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling litemap v0.7.4 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling rustls-pki-types v1.10.1 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.8.0 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling http v1.2.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling winnow v0.6.22 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling syn v2.0.89 [INFO] [stderr] Compiling openssl-src v300.4.1+3.4.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling libz-sys v1.1.20 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling tokio v1.42.0 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling libssh2-sys v0.3.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling thiserror v2.0.9 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling image-webp v0.2.0 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling ipnet v2.10.1 [INFO] [stderr] Compiling debug-builders v0.1.0 [INFO] [stderr] Compiling binascii v0.1.4 [INFO] [stderr] Compiling atomic v0.5.3 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling r2d2 v0.6.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling devise_core v0.4.2 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.2 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling profiling v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling devise v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pin-project-internal v1.1.7 [INFO] [stderr] Compiling thiserror-impl v2.0.9 [INFO] [stderr] Compiling async-trait v0.1.84 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling zerofrom v0.1.5 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pin-project v1.1.7 [INFO] [stderr] Compiling hashlink v0.9.1 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling uuid v1.11.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling rusqlite v0.32.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Compiling r2d2_sqlite v0.25.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling axum-core v0.5.0 [INFO] [stderr] Compiling tower-http v0.6.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling tokio-util v0.7.13 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-rustls v0.25.0 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling async-compression v0.4.18 [INFO] [stderr] Compiling tokio-retry v0.3.0 [INFO] [stderr] Compiling rumqttc v0.24.0 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling h2 v0.4.7 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling ravif v0.11.11 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling image v0.25.5 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling hyper v1.5.2 [INFO] [stderr] Compiling hyper-util v0.1.10 [INFO] [stderr] Compiling axum v0.8.1 [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: 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, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub rest_api_password: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub jwt_auth_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub jwt_secret_key: Option, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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: 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, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub(crate) uploaded_size: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | mqtt_service: Arc, [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: 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, &str)>) { [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, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [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] [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 56s [INFO] running `Command { std: "docker" "inspect" "7e88f6fafe415db1bfcc816de491011c69883385b91c3959e2fb63524c00e778", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e88f6fafe415db1bfcc816de491011c69883385b91c3959e2fb63524c00e778", kill_on_drop: false }` [INFO] [stdout] 7e88f6fafe415db1bfcc816de491011c69883385b91c3959e2fb63524c00e778 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] b3cecdad40835fb2c982fe0ed78903d40038081a5453b804421194229fad5a51 [INFO] running `Command { std: "docker" "start" "-a" "b3cecdad40835fb2c982fe0ed78903d40038081a5453b804421194229fad5a51", kill_on_drop: false }` [INFO] [stderr] Compiling MonitorFlux v0.1.0 (/opt/rustwide/workdir) [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, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub rest_api_password: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub jwt_auth_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub jwt_secret_key: Option, [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] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [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: 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, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 14 | pub(crate) uploaded_size: Mutex, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | mqtt_service: Arc, [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: 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, &str)>) { [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, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [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] [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.04s [INFO] running `Command { std: "docker" "inspect" "b3cecdad40835fb2c982fe0ed78903d40038081a5453b804421194229fad5a51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3cecdad40835fb2c982fe0ed78903d40038081a5453b804421194229fad5a51", kill_on_drop: false }` [INFO] [stdout] b3cecdad40835fb2c982fe0ed78903d40038081a5453b804421194229fad5a51