[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#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwangchengpei%2Fota_backend" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-4-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-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/wangchengpei/ota_backend on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 33fd12c7884f4354f5a84891cc3c4c0080d809f92da88ad1f2d1af5dac934b9d
[INFO] running `Command { std: "docker" "start" "-a" "33fd12c7884f4354f5a84891cc3c4c0080d809f92da88ad1f2d1af5dac934b9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "33fd12c7884f4354f5a84891cc3c4c0080d809f92da88ad1f2d1af5dac934b9d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "33fd12c7884f4354f5a84891cc3c4c0080d809f92da88ad1f2d1af5dac934b9d", kill_on_drop: false }`
[INFO] [stdout] 33fd12c7884f4354f5a84891cc3c4c0080d809f92da88ad1f2d1af5dac934b9d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] ba1bc8acbac8ccac9bb4c06a8a47e4c29a2f3a118cea0eefc7398e9c4f94a0a3
[INFO] running `Command { std: "docker" "start" "-a" "ba1bc8acbac8ccac9bb4c06a8a47e4c29a2f3a118cea0eefc7398e9c4f94a0a3", kill_on_drop: false }`
[INFO] [stderr]    Compiling find-msvc-tools v0.1.1
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling serde_core v1.0.225
[INFO] [stderr]    Compiling zeroize v1.8.1
[INFO] [stderr]    Compiling serde v1.0.225
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling rustls-pki-types v1.12.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling cc v1.2.37
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling indexmap v2.11.3
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling socket2 v0.5.10
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling deranged v0.5.3
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling libz-sys v1.1.22
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling libsqlite3-sys v0.26.0
[INFO] [stderr]    Compiling libssh2-sys v0.3.1
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling inotify-sys v0.1.5
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling nu-ansi-term v0.50.1
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling time v0.3.43
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling inotify v0.9.6
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling rustls-webpki v0.102.8
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling rustls-native-certs v0.7.3
[INFO] [stderr]    Compiling mio v0.8.11
[INFO] [stderr]    Compiling filetime v0.2.26
[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 tokio v1.47.1
[INFO] [stderr]    Compiling serde_derive v1.0.225
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling clap_derive v4.5.47
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling fallible-streaming-iterator v0.1.9
[INFO] [stderr]    Compiling chrono v0.4.42
[INFO] [stderr]    Compiling ssh2 v0.9.5
[INFO] [stderr]    Compiling rusqlite v0.29.0
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling tokio-rustls v0.25.0
[INFO] [stderr]    Compiling clap v4.5.47
[INFO] [stderr]    Compiling tracing-appender v0.2.3
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling rumqttc v0.24.0
[INFO] [stderr]    Compiling notify v5.2.0
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling sysinfo v0.29.11
[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 2m 28s
[INFO] running `Command { std: "docker" "inspect" "ba1bc8acbac8ccac9bb4c06a8a47e4c29a2f3a118cea0eefc7398e9c4f94a0a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba1bc8acbac8ccac9bb4c06a8a47e4c29a2f3a118cea0eefc7398e9c4f94a0a3", kill_on_drop: false }`
[INFO] [stdout] ba1bc8acbac8ccac9bb4c06a8a47e4c29a2f3a118cea0eefc7398e9c4f94a0a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 59f0b34b3f85246327706c76790033e0b7994e125ff9bf0421c83aaf62dbfe9b
[INFO] running `Command { std: "docker" "start" "-a" "59f0b34b3f85246327706c76790033e0b7994e125ff9bf0421c83aaf62dbfe9b", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling rustix v1.1.2
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling rusqlite v0.29.0
[INFO] [stderr]    Compiling ssh2 v0.9.5
[INFO] [stderr]    Compiling fastrand v2.3.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 46.42s
[INFO] running `Command { std: "docker" "inspect" "59f0b34b3f85246327706c76790033e0b7994e125ff9bf0421c83aaf62dbfe9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "59f0b34b3f85246327706c76790033e0b7994e125ff9bf0421c83aaf62dbfe9b", kill_on_drop: false }`
[INFO] [stdout] 59f0b34b3f85246327706c76790033e0b7994e125ff9bf0421c83aaf62dbfe9b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }`
[INFO] [stdout] 0414f58d18c86f7ecfee318543f4dcccc6992c026a7b8e24b31d1a031d219ce2
[INFO] running `Command { std: "docker" "start" "-a" "0414f58d18c86f7ecfee318543f4dcccc6992c026a7b8e24b31d1a031d219ce2", 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.51s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/build/ota_backend/44e138ddbde3b735/deps/ota_backend-44e138ddbde3b735)
[INFO] [stdout] 
[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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:663:18
[INFO] [stdout]    9: test::run_test_in_process::{closure#0}
[INFO] [stdout]              at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/std/src/panic.rs:359:14
[INFO] [stdout]   14: test::run_test_in_process
[INFO] [stdout]              at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:686:27
[INFO] [stdout]   15: test::run_test::{closure#0}
[INFO] [stdout]              at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/test/src/lib.rs:607:43
[INFO] [stdout]   16: test::run_test::{closure#1}
[INFO] [stdout]              at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   26: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]              at /rustc/bd7d74411512a3dd3b35d2f699c51dd2557c7e7e/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.12s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "0414f58d18c86f7ecfee318543f4dcccc6992c026a7b8e24b31d1a031d219ce2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0414f58d18c86f7ecfee318543f4dcccc6992c026a7b8e24b31d1a031d219ce2", kill_on_drop: false }`
[INFO] [stdout] 0414f58d18c86f7ecfee318543f4dcccc6992c026a7b8e24b31d1a031d219ce2
