[INFO] cloning repository https://github.com/wangchengpei/ota_backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wangchengpei/ota_backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangchengpei%2Fota_backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangchengpei%2Fota_backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 13ee988934dc7f154781abf932950e328746e4f5
[INFO] testing wangchengpei/ota_backend against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangchengpei%2Fota_backend" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc2/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/wangchengpei/ota_backend
[INFO] finished tweaking git repo https://github.com/wangchengpei/ota_backend
[INFO] tweaked toml for git repo https://github.com/wangchengpei/ota_backend written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wangchengpei/ota_backend on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/wangchengpei/ota_backend 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 299ad14575895601e9cde6aa0cec98fefcafdf4d1dfaab29f2ff6630e529b916
[INFO] running `Command { std: "docker" "start" "-a" "299ad14575895601e9cde6aa0cec98fefcafdf4d1dfaab29f2ff6630e529b916", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "299ad14575895601e9cde6aa0cec98fefcafdf4d1dfaab29f2ff6630e529b916", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "299ad14575895601e9cde6aa0cec98fefcafdf4d1dfaab29f2ff6630e529b916", kill_on_drop: false }`
[INFO] [stdout] 299ad14575895601e9cde6aa0cec98fefcafdf4d1dfaab29f2ff6630e529b916
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d35e4449f2aebcb920e263386d94ebc78d93b30e71cee760c569917b8923cea4
[INFO] running `Command { std: "docker" "start" "-a" "d35e4449f2aebcb920e263386d94ebc78d93b30e71cee760c569917b8923cea4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling find-msvc-tools v0.1.1
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling serde_core v1.0.225
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling cc v1.2.37
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling serde v1.0.225
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling utf8parse v0.2.2
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling anstyle-parse v0.2.7
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling anstyle-query v1.1.4
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling is_terminal_polyfill v1.70.1
[INFO] [stderr]    Compiling indexmap v2.11.3
[INFO] [stderr]    Compiling anstyle v1.0.11
[INFO] [stderr]    Compiling colorchoice v1.0.4
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling deranged v0.5.3
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling libz-sys v1.1.22
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling libssh2-sys v0.3.1
[INFO] [stderr]    Compiling libsqlite3-sys v0.26.0
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling anstream v0.6.20
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling clap_lex v0.7.5
[INFO] [stderr]    Compiling nu-ansi-term v0.50.1
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling inotify v0.9.6
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling clap_builder v4.5.47
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling time v0.3.43
[INFO] [stderr]    Compiling rustls-native-certs v0.7.3
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling filetime v0.2.26
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling fallible-iterator v0.2.0
[INFO] [stderr]    Compiling notify v5.2.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling sysinfo v0.29.11
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.225
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling ssh2 v0.9.5
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling clap v4.5.47
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling tracing-appender v0.2.3
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.25.0
[INFO] [stderr]    Compiling rumqttc v0.24.0
[INFO] [stderr]    Compiling rusqlite v0.29.0
[INFO] [stderr]    Compiling h2 v0.3.27
[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 ota_backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/business/message_handler.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub async fn handle_message(&self, message: &str) -> Result<()> {
[INFO] [stdout]    |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/business/logic.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         db: Database,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mqtt_client`
[INFO] [stdout]   --> src/business/logic.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         mqtt_client: crate::pkg::MqttClient,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mqtt_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `http_client`
[INFO] [stdout]   --> src/business/logic.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         http_client: crate::common::http::client::HttpClient,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/business/logic.rs:19:40
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub async fn handle_message(&self, message: &str) -> Result<()> {
[INFO] [stdout]    |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]  --> src/map/handler.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn process_map_data(&self, data: &[u8]) -> Result<()> {
[INFO] [stdout]   |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> src/map/handler.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn update_map_version(&self, version: &str) -> Result<()> {
[INFO] [stdout]    |                                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slave_address`
[INFO] [stdout]  --> src/map/slave.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn sync_with_slave(&self, slave_address: &str) -> Result<()> {
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slave_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `package_path`
[INFO] [stdout]  --> src/pkg/system.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn install_package(&self, package_path: &str) -> Result<()> {
[INFO] [stdout]   |                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `package_path`
[INFO] [stdout]   --> src/pkg/system.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn verify_package(&self, package_path: &str) -> Result<bool> {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]   --> src/pkg/downloader.rs:10:34
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub async fn download(&self, url: &str, path: &str) -> Result<()> {
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/pkg/downloader.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub async fn download(&self, url: &str, path: &str) -> Result<()> {
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/utils/file.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn calculate_md5(path: &str) -> Result<String> {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/common/http/client.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn new(config: &crate::config::types::Config) -> Result<Self> {
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `route`
[INFO] [stdout]  --> src/common/database/operations.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn insert_route(route: &Route) -> Result<()> {
[INFO] [stdout]   |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_route`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `station`
[INFO] [stdout]  --> src/common/database/operations.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn insert_station(station: &Station) -> Result<()> {
[INFO] [stdout]   |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_station`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `server_url` is never read
[INFO] [stdout]    --> src/pkg/uos_pkg_handler.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct OtaUosPkgHandler {
[INFO] [stdout]     |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 153 |     server_url: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `process_message` and `parse_uos_message` are never used
[INFO] [stdout]    --> src/pkg/mqtt_client.rs:42:14
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl MqttClient {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  42 |     async fn process_message(topic: String, payload: Vec<u8>, uos_handler_sender: &Sender<Value>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn parse_uos_message(payload: &[u8]) -> Result<Value, Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `conn` is never read
[INFO] [stdout]  --> src/common/database/connection.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Database {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] 5 |     conn: Connection,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 27s
[INFO] running `Command { std: "docker" "inspect" "d35e4449f2aebcb920e263386d94ebc78d93b30e71cee760c569917b8923cea4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d35e4449f2aebcb920e263386d94ebc78d93b30e71cee760c569917b8923cea4", kill_on_drop: false }`
[INFO] [stdout] d35e4449f2aebcb920e263386d94ebc78d93b30e71cee760c569917b8923cea4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f18536bb6611a64ba11a638b590df9364387b53d18265fd55cb4f458f1fee21c
[INFO] running `Command { std: "docker" "start" "-a" "f18536bb6611a64ba11a638b590df9364387b53d18265fd55cb4f458f1fee21c", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling linux-raw-sys v0.11.0
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling ssh2 v0.9.5
[INFO] [stderr]    Compiling rusqlite v0.29.0
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling tempfile v3.22.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tokio-rustls v0.25.0
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling rumqttc v0.24.0
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling h2 v0.3.27
[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 ota_backend v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/business/message_handler.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub async fn handle_message(&self, message: &str) -> Result<()> {
[INFO] [stdout]    |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/business/logic.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         db: Database,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mqtt_client`
[INFO] [stdout]   --> src/business/logic.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         mqtt_client: crate::pkg::MqttClient,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mqtt_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `http_client`
[INFO] [stdout]   --> src/business/logic.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         http_client: crate::common::http::client::HttpClient,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/business/logic.rs:19:40
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub async fn handle_message(&self, message: &str) -> Result<()> {
[INFO] [stdout]    |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]  --> src/map/handler.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn process_map_data(&self, data: &[u8]) -> Result<()> {
[INFO] [stdout]   |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> src/map/handler.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn update_map_version(&self, version: &str) -> Result<()> {
[INFO] [stdout]    |                                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slave_address`
[INFO] [stdout]  --> src/map/slave.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn sync_with_slave(&self, slave_address: &str) -> Result<()> {
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slave_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `package_path`
[INFO] [stdout]  --> src/pkg/system.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn install_package(&self, package_path: &str) -> Result<()> {
[INFO] [stdout]   |                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `package_path`
[INFO] [stdout]   --> src/pkg/system.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn verify_package(&self, package_path: &str) -> Result<bool> {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]   --> src/pkg/downloader.rs:10:34
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub async fn download(&self, url: &str, path: &str) -> Result<()> {
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/pkg/downloader.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub async fn download(&self, url: &str, path: &str) -> Result<()> {
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/utils/file.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn calculate_md5(path: &str) -> Result<String> {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/common/http/client.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn new(config: &crate::config::types::Config) -> Result<Self> {
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `route`
[INFO] [stdout]  --> src/common/database/operations.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn insert_route(route: &Route) -> Result<()> {
[INFO] [stdout]   |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_route`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `station`
[INFO] [stdout]  --> src/common/database/operations.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn insert_station(station: &Station) -> Result<()> {
[INFO] [stdout]   |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_station`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `server_url` is never read
[INFO] [stdout]    --> src/pkg/uos_pkg_handler.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct OtaUosPkgHandler {
[INFO] [stdout]     |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 153 |     server_url: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `process_message` and `parse_uos_message` are never used
[INFO] [stdout]    --> src/pkg/mqtt_client.rs:42:14
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl MqttClient {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  42 |     async fn process_message(topic: String, payload: Vec<u8>, uos_handler_sender: &Sender<Value>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn parse_uos_message(payload: &[u8]) -> Result<Value, Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `conn` is never read
[INFO] [stdout]  --> src/common/database/connection.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Database {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] 5 |     conn: Connection,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/business/message_handler.rs:10:40
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub async fn handle_message(&self, message: &str) -> Result<()> {
[INFO] [stdout]    |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `db`
[INFO] [stdout]   --> src/business/logic.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |         db: Database,
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mqtt_client`
[INFO] [stdout]   --> src/business/logic.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         mqtt_client: crate::pkg::MqttClient,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mqtt_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `http_client`
[INFO] [stdout]   --> src/business/logic.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         http_client: crate::common::http::client::HttpClient,
[INFO] [stdout]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `message`
[INFO] [stdout]   --> src/business/logic.rs:19:40
[INFO] [stdout]    |
[INFO] [stdout] 19 |     pub async fn handle_message(&self, message: &str) -> Result<()> {
[INFO] [stdout]    |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]  --> src/map/handler.rs:6:36
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn process_map_data(&self, data: &[u8]) -> Result<()> {
[INFO] [stdout]   |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `version`
[INFO] [stdout]   --> src/map/handler.rs:11:38
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn update_map_version(&self, version: &str) -> Result<()> {
[INFO] [stdout]    |                                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `slave_address`
[INFO] [stdout]  --> src/map/slave.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn sync_with_slave(&self, slave_address: &str) -> Result<()> {
[INFO] [stdout]   |                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slave_address`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `package_path`
[INFO] [stdout]  --> src/pkg/system.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn install_package(&self, package_path: &str) -> Result<()> {
[INFO] [stdout]   |                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `package_path`
[INFO] [stdout]   --> src/pkg/system.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn verify_package(&self, package_path: &str) -> Result<bool> {
[INFO] [stdout]    |                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]   --> src/pkg/downloader.rs:10:34
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub async fn download(&self, url: &str, path: &str) -> Result<()> {
[INFO] [stdout]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/pkg/downloader.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub async fn download(&self, url: &str, path: &str) -> Result<()> {
[INFO] [stdout]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/utils/file.rs:16:22
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn calculate_md5(path: &str) -> Result<String> {
[INFO] [stdout]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `config`
[INFO] [stdout]   --> src/common/http/client.rs:11:16
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn new(config: &crate::config::types::Config) -> Result<Self> {
[INFO] [stdout]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `route`
[INFO] [stdout]  --> src/common/database/operations.rs:4:21
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub fn insert_route(route: &Route) -> Result<()> {
[INFO] [stdout]   |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_route`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `station`
[INFO] [stdout]  --> src/common/database/operations.rs:9:23
[INFO] [stdout]   |
[INFO] [stdout] 9 | pub fn insert_station(station: &Station) -> Result<()> {
[INFO] [stdout]   |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_station`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `server_url` is never read
[INFO] [stdout]    --> src/pkg/uos_pkg_handler.rs:153:5
[INFO] [stdout]     |
[INFO] [stdout] 138 | pub struct OtaUosPkgHandler {
[INFO] [stdout]     |            ---------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 153 |     server_url: String,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `process_message` and `parse_uos_message` are never used
[INFO] [stdout]    --> src/pkg/mqtt_client.rs:42:14
[INFO] [stdout]     |
[INFO] [stdout]  12 | impl MqttClient {
[INFO] [stdout]     | --------------- associated functions in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  42 |     async fn process_message(topic: String, payload: Vec<u8>, uos_handler_sender: &Sender<Value>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 102 |     fn parse_uos_message(payload: &[u8]) -> Result<Value, Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `conn` is never read
[INFO] [stdout]  --> src/common/database/connection.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct Database {
[INFO] [stdout]   |            -------- field in this struct
[INFO] [stdout] 5 |     conn: Connection,
[INFO] [stdout]   |     ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 30.27s
[INFO] running `Command { std: "docker" "inspect" "f18536bb6611a64ba11a638b590df9364387b53d18265fd55cb4f458f1fee21c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f18536bb6611a64ba11a638b590df9364387b53d18265fd55cb4f458f1fee21c", kill_on_drop: false }`
[INFO] [stdout] f18536bb6611a64ba11a638b590df9364387b53d18265fd55cb4f458f1fee21c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e9fbba8514bd30c4cc95d2cd304a0a1eafa0d6e095bd6318e050dac35bdb1420
[INFO] running `Command { std: "docker" "start" "-a" "e9fbba8514bd30c4cc95d2cd304a0a1eafa0d6e095bd6318e050dac35bdb1420", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `message`
[INFO] [stderr]   --> src/business/message_handler.rs:10:40
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub async fn handle_message(&self, message: &str) -> Result<()> {
[INFO] [stderr]    |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `db`
[INFO] [stderr]   --> src/business/logic.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 10 |         db: Database,
[INFO] [stderr]    |         ^^ help: if this is intentional, prefix it with an underscore: `_db`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mqtt_client`
[INFO] [stderr]   --> src/business/logic.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |         mqtt_client: crate::pkg::MqttClient,
[INFO] [stderr]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mqtt_client`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `http_client`
[INFO] [stderr]   --> src/business/logic.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 12 |         http_client: crate::common::http::client::HttpClient,
[INFO] [stderr]    |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_http_client`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `message`
[INFO] [stderr]   --> src/business/logic.rs:19:40
[INFO] [stderr]    |
[INFO] [stderr] 19 |     pub async fn handle_message(&self, message: &str) -> Result<()> {
[INFO] [stderr]    |                                        ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `data`
[INFO] [stderr]  --> src/map/handler.rs:6:36
[INFO] [stderr]   |
[INFO] [stderr] 6 |     pub fn process_map_data(&self, data: &[u8]) -> Result<()> {
[INFO] [stderr]   |                                    ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `version`
[INFO] [stderr]   --> src/map/handler.rs:11:38
[INFO] [stderr]    |
[INFO] [stderr] 11 |     pub fn update_map_version(&self, version: &str) -> Result<()> {
[INFO] [stderr]    |                                      ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `slave_address`
[INFO] [stderr]  --> src/map/slave.rs:6:35
[INFO] [stderr]   |
[INFO] [stderr] 6 |     pub fn sync_with_slave(&self, slave_address: &str) -> Result<()> {
[INFO] [stderr]   |                                   ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_slave_address`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `package_path`
[INFO] [stderr]  --> src/pkg/system.rs:6:35
[INFO] [stderr]   |
[INFO] [stderr] 6 |     pub fn install_package(&self, package_path: &str) -> Result<()> {
[INFO] [stderr]   |                                   ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `package_path`
[INFO] [stderr]   --> src/pkg/system.rs:11:34
[INFO] [stderr]    |
[INFO] [stderr] 11 |     pub fn verify_package(&self, package_path: &str) -> Result<bool> {
[INFO] [stderr]    |                                  ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_package_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `url`
[INFO] [stderr]   --> src/pkg/downloader.rs:10:34
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub async fn download(&self, url: &str, path: &str) -> Result<()> {
[INFO] [stderr]    |                                  ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]   --> src/pkg/downloader.rs:10:45
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub async fn download(&self, url: &str, path: &str) -> Result<()> {
[INFO] [stderr]    |                                             ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `path`
[INFO] [stderr]   --> src/utils/file.rs:16:22
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub fn calculate_md5(path: &str) -> Result<String> {
[INFO] [stderr]    |                      ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `config`
[INFO] [stderr]   --> src/common/http/client.rs:11:16
[INFO] [stderr]    |
[INFO] [stderr] 11 |     pub fn new(config: &crate::config::types::Config) -> Result<Self> {
[INFO] [stderr]    |                ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `route`
[INFO] [stderr]  --> src/common/database/operations.rs:4:21
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub fn insert_route(route: &Route) -> Result<()> {
[INFO] [stderr]   |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_route`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `station`
[INFO] [stderr]  --> src/common/database/operations.rs:9:23
[INFO] [stderr]   |
[INFO] [stderr] 9 | pub fn insert_station(station: &Station) -> Result<()> {
[INFO] [stderr]   |                       ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_station`
[INFO] [stderr] 
[INFO] [stderr] warning: field `server_url` is never read
[INFO] [stderr]    --> src/pkg/uos_pkg_handler.rs:153:5
[INFO] [stderr]     |
[INFO] [stderr] 138 | pub struct OtaUosPkgHandler {
[INFO] [stderr]     |            ---------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 153 |     server_url: String,
[INFO] [stderr]     |     ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: associated functions `process_message` and `parse_uos_message` are never used
[INFO] [stderr]    --> src/pkg/mqtt_client.rs:42:14
[INFO] [stderr]     |
[INFO] [stderr]  12 | impl MqttClient {
[INFO] [stderr]     | --------------- associated functions in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  42 |     async fn process_message(topic: String, payload: Vec<u8>, uos_handler_sender: &Sender<Value>) {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 102 |     fn parse_uos_message(payload: &[u8]) -> Result<Value, Box<dyn std::error::Error + Send + Sync>> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `conn` is never read
[INFO] [stderr]  --> src/common/database/connection.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | pub struct Database {
[INFO] [stderr]   |            -------- field in this struct
[INFO] [stderr] 5 |     conn: Connection,
[INFO] [stderr]   |     ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `ota_backend` (lib) generated 19 warnings (run `cargo fix --lib -p ota_backend` to apply 16 suggestions)
[INFO] [stderr] warning: `ota_backend` (lib test) generated 19 warnings (19 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.38s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ota_backend-44e138ddbde3b735)
[INFO] [stdout] running 1 test
[INFO] [stdout] test config::manager::tests::test_config_manager_basic_operations ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- config::manager::tests::test_config_manager_basic_operations stdout ----
[INFO] [stdout] Error: missing field `slave.endpoint` at line 24 column 13
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <anyhow::Error as core::convert::From<serde_json::error::Error>>::from
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.99/src/backtrace.rs:27:14
[INFO] [stdout]    1: <core::result::Result<(), anyhow::Error> as core::ops::try_trait::FromResidual<core::result::Result<core::convert::Infallible, serde_json::error::Error>>>::from_residual
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/result.rs:2189:27
[INFO] [stdout]    2: <ota_backend::config::manager::ConfigManager>::load_config
[INFO] [stdout]              at ./src/config/manager.rs:57:30
[INFO] [stdout]    3: <ota_backend::config::manager::ConfigManager>::new::<&std::path::Path>
[INFO] [stdout]              at ./src/config/manager.rs:37:17
[INFO] [stdout]    4: ota_backend::config::manager::tests::test_config_manager_basic_operations
[INFO] [stdout]              at ./src/config/manager.rs:193:23
[INFO] [stdout]    5: ota_backend::config::manager::tests::test_config_manager_basic_operations::{closure#0}
[INFO] [stdout]              at ./src/config/manager.rs:95:50
[INFO] [stdout]    6: <ota_backend::config::manager::tests::test_config_manager_basic_operations::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]    7: <fn() -> core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]    8: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:663:18
[INFO] [stdout]    9: test::run_test_in_process::{closure#0}
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:74
[INFO] [stdout]   10: <core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   11: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}>, core::result::Result<(), alloc::string::String>>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   12: std::panicking::catch_unwind::<core::result::Result<(), alloc::string::String>, core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}>>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   13: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}>, core::result::Result<(), alloc::string::String>>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   14: test::run_test_in_process
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:686:27
[INFO] [stdout]   15: test::run_test::{closure#0}
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:607:43
[INFO] [stdout]   16: test::run_test::{closure#1}
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/test/src/lib.rs:637:41
[INFO] [stdout]   17: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   18: std::thread::lifecycle::spawn_unchecked::<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   19: <core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   20: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:581:40
[INFO] [stdout]   21: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panicking.rs:544:19
[INFO] [stdout]   22: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/panic.rs:359:14
[INFO] [stdout]   23: std::thread::lifecycle::spawn_unchecked::<test::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   24: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25: <alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output = ()> + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   26: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]              at /rustc/db823df02fd0c2cf67b43025ac3fef3f2d743245/library/std/src/sys/thread/unix.rs:119:17
[INFO] [stdout]   27: <unknown>
[INFO] [stdout]   28: clone
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     config::manager::tests::test_config_manager_basic_operations
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "e9fbba8514bd30c4cc95d2cd304a0a1eafa0d6e095bd6318e050dac35bdb1420", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9fbba8514bd30c4cc95d2cd304a0a1eafa0d6e095bd6318e050dac35bdb1420", kill_on_drop: false }`
[INFO] [stdout] e9fbba8514bd30c4cc95d2cd304a0a1eafa0d6e095bd6318e050dac35bdb1420
