[INFO] cloning repository https://github.com/mikap0703/alarm-server
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikap0703/alarm-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikap0703%2Falarm-server", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikap0703%2Falarm-server'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0405825f57bb875514e9344a45308bb4730d6362
[INFO] building mikap0703/alarm-server against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikap0703%2Falarm-server" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/mikap0703/alarm-server
[INFO] finished tweaking git repo https://github.com/mikap0703/alarm-server
[INFO] tweaked toml for git repo https://github.com/mikap0703/alarm-server written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/mikap0703/alarm-server on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/mikap0703/alarm-server 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded mailparse v0.15.0
[INFO] [stderr]   Downloaded twox-hash v2.1.0
[INFO] [stderr]   Downloaded ouroboros v0.18.4
[INFO] [stderr]   Downloaded libudev v0.3.0
[INFO] [stderr]   Downloaded ouroboros_macro v0.18.4
[INFO] [stderr]   Downloaded unescaper v0.1.5
[INFO] [stderr]   Downloaded charset v0.1.5
[INFO] [stderr]   Downloaded imap-proto v0.16.5
[INFO] [stderr]   Downloaded imap v3.0.0-alpha.15
[INFO] [stderr]   Downloaded serialport v4.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 108dd9b0292633e65ac06a857d58ab7d4309e2507773e9b8e7e7cf61701d0ed1
[INFO] running `Command { std: "docker" "start" "-a" "108dd9b0292633e65ac06a857d58ab7d4309e2507773e9b8e7e7cf61701d0ed1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "108dd9b0292633e65ac06a857d58ab7d4309e2507773e9b8e7e7cf61701d0ed1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "108dd9b0292633e65ac06a857d58ab7d4309e2507773e9b8e7e7cf61701d0ed1", kill_on_drop: false }`
[INFO] [stdout] 108dd9b0292633e65ac06a857d58ab7d4309e2507773e9b8e7e7cf61701d0ed1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9dad07a103683cb11d5a8df09202ed7baf991d53d441ce9b09d1bfa7e3fb62ce
[INFO] running `Command { std: "docker" "start" "-a" "9dad07a103683cb11d5a8df09202ed7baf991d53d441ce9b09d1bfa7e3fb62ce", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling phf_shared v0.11.2
[INFO] [stderr]    Compiling cc v1.1.14
[INFO] [stderr]    Compiling serde v1.0.208
[INFO] [stderr]    Compiling syn v2.0.74
[INFO] [stderr]    Compiling http v1.1.0
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling indexmap v2.4.0
[INFO] [stderr]    Compiling tracing v0.1.40
[INFO] [stderr]    Compiling proc-macro2-diagnostics v0.10.1
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling yansi v1.0.1
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling serde_json v1.0.125
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling rustls-pki-types v1.10.0
[INFO] [stderr]    Compiling itertools v0.12.1
[INFO] [stderr]    Compiling chrono v0.4.38
[INFO] [stderr]    Compiling imap-proto v0.16.5
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling charset v0.1.5
[INFO] [stderr]    Compiling bufstream v0.1.4
[INFO] [stderr]    Compiling quoted_printable v0.5.1
[INFO] [stderr]    Compiling fern v0.7.1
[INFO] [stderr]    Compiling rustls-pemfile v2.2.0
[INFO] [stderr]    Compiling mailparse v0.15.0
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling getrandom v0.2.15
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling mio v1.0.2
[INFO] [stderr]    Compiling socket2 v0.5.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling libudev v0.3.0
[INFO] [stderr]    Compiling nix v0.26.4
[INFO] [stderr]    Compiling nanorand v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling flume v0.11.0
[INFO] [stderr]    Compiling http-body-util v0.1.2
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling zerocopy-derive v0.7.35
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling html5ever v0.29.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.65
[INFO] [stderr]    Compiling cssparser-macros v0.6.1
[INFO] [stderr]    Compiling ouroboros_macro v0.18.4
[INFO] [stderr]    Compiling derive_more v0.99.18
[INFO] [stderr]    Compiling async-trait v0.1.83
[INFO] [stderr]    Compiling serde_derive v1.0.208
[INFO] [stderr]    Compiling zerocopy v0.7.35
[INFO] [stderr]    Compiling tokio v1.41.1
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling thiserror v1.0.65
[INFO] [stderr]    Compiling unescaper v0.1.5
[INFO] [stderr]    Compiling ppv-lite86 v0.2.20
[INFO] [stderr]    Compiling serialport v4.7.0
[INFO] [stderr]    Compiling ouroboros v0.18.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling phf_generator v0.11.2
[INFO] [stderr]    Compiling phf_generator v0.10.0
[INFO] [stderr]    Compiling phf_codegen v0.11.2
[INFO] [stderr]    Compiling string_cache_codegen v0.5.2
[INFO] [stderr]    Compiling phf_macros v0.11.2
[INFO] [stderr]    Compiling selectors v0.26.0
[INFO] [stderr]    Compiling twox-hash v2.1.0
[INFO] [stderr]    Compiling markup5ever v0.14.0
[INFO] [stderr]    Compiling phf v0.11.2
[INFO] [stderr]    Compiling cssparser v0.34.0
[INFO] [stderr]    Compiling imap v3.0.0-alpha.15
[INFO] [stderr]    Compiling tokio-util v0.7.12
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling scraper v0.22.0
[INFO] [stderr]    Compiling h2 v0.4.6
[INFO] [stderr]    Compiling hyper v1.5.0
[INFO] [stderr]    Compiling hyper-util v0.1.10
[INFO] [stderr]    Compiling hyper-tls v0.6.0
[INFO] [stderr]    Compiling reqwest v0.12.9
[INFO] [stderr]    Compiling alarm-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ApiConfig`
[INFO] [stdout]   --> src/alarm_handler.rs:13:30
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::config::general::{ApiConfig, ApiType, GeneralConfig};
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::Configs`
[INFO] [stdout]   --> src/alarm_handler.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::config::Configs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/alarm.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/mail_handler.rs:334:12
[INFO] [stdout]     |
[INFO] [stdout] 334 |         if (self.config.max_age > 0) {
[INFO] [stdout]     |            ^                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 334 -         if (self.config.max_age > 0) {
[INFO] [stdout] 334 +         if self.config.max_age > 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `flume::Receiver`
[INFO] [stdout]  --> src/apis/divera_v2.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use flume::Receiver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AlarmReceiver`
[INFO] [stdout]  --> src/apis/divera_v2.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::alarm::{Alarm, AlarmReceiver};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AlarmReceiver`
[INFO] [stdout]  --> src/apis/telegram.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::alarm::{Alarm, AlarmReceiver};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/apis/telegram.rs:85:28
[INFO] [stdout]    |
[INFO] [stdout] 85 |                   Ok(res) => (
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 86 | |                     if res.status().is_success() {
[INFO] [stdout]    | |____________________^
[INFO] [stdout] ...
[INFO] [stdout] 91 |                       }
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 92 | |                 ),
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 85 ~                 Ok(res) => if res.status().is_success() {
[INFO] [stdout] 86 |                         info!("Message sent to: {}", receiver);
[INFO] [stdout] ...
[INFO] [stdout] 89 |                         println!("{:?}", res.text().await);
[INFO] [stdout] 90 ~                     } ,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufRead`
[INFO] [stdout]  --> src/serial_handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::BufRead;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serialport::SerialPort`
[INFO] [stdout]   --> src/serial_handler.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serialport::SerialPort;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/alarm.rs:218:21
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 let mut receiver = self.receiver.entry(target).or_insert(AlarmReceiver {
[INFO] [stdout]     |                     ----^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tls` is never read
[INFO] [stdout]   --> src/config/alarm_sources.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MailConfig {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub tls: bool,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MailConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `alarm` is never read
[INFO] [stdout]  --> src/config/general.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct GeneralConfig {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub alarm: bool,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `GeneralConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `sender`, `subject`, `content`, and `date` are never read
[INFO] [stdout]   --> src/alarm.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct MailData {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 33 |     id: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 34 |     sender: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 35 |     subject: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 36 |     content: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 37 |     date: u64,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MailData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `date`, `ric`, and `content` are never read
[INFO] [stdout]   --> src/alarm.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct DmeData {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 42 |     pub(crate) date: String,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 43 |     pub(crate) ric: String,
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 44 |     pub(crate) content: String,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DmeData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `foreign_ids`, `groups`, `vehicles`, `members`, and `mail_data` are never read
[INFO] [stdout]   --> src/alarm.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct Alarm {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub foreign_ids: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 58 |     pub template_names: Vec<String>,
[INFO] [stdout] 59 |     pub groups: Vec<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 60 |     pub vehicles: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 61 |     pub members: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub mail_data: MailData,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Alarm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_object_id` is never used
[INFO] [stdout]   --> src/alarm.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl Address {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 96 |     pub fn set_object_id(&mut self, object_id: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/alarm.rs:151:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl Alarm {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub fn set_origin(&mut self, origin: String) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn set_time(&mut self, time: Instant) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn set_address(&mut self, address: Address) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn set_units(&mut self, units: Vec<String>) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn set_groups(&mut self, groups: Vec<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn set_vehicles(&mut self, vehicles: Vec<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn set_members(&mut self, members: Vec<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     pub fn set_webhooks(&mut self, webhooks: Vec<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub fn set_mail_data(&mut self, mail_data: MailData) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `api_key` are never read
[INFO] [stdout]  --> src/apis/mock_api.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct MockApi {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 7 |     pub name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 8 |     pub api_key: String,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `debug` is never read
[INFO] [stdout]   --> src/serial_handler.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct SerialHandler {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     debug: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s
[INFO] running `Command { std: "docker" "inspect" "9dad07a103683cb11d5a8df09202ed7baf991d53d441ce9b09d1bfa7e3fb62ce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9dad07a103683cb11d5a8df09202ed7baf991d53d441ce9b09d1bfa7e3fb62ce", kill_on_drop: false }`
[INFO] [stdout] 9dad07a103683cb11d5a8df09202ed7baf991d53d441ce9b09d1bfa7e3fb62ce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 83b42a3bb84ec2d64014daa8ee670f04af1e76faa78e567e18bfac4d7a499a6d
[INFO] running `Command { std: "docker" "start" "-a" "83b42a3bb84ec2d64014daa8ee670f04af1e76faa78e567e18bfac4d7a499a6d", kill_on_drop: false }`
[INFO] [stderr]    Compiling alarm-server v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `ApiConfig`
[INFO] [stdout]   --> src/alarm_handler.rs:13:30
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::config::general::{ApiConfig, ApiType, GeneralConfig};
[INFO] [stdout]    |                              ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::config::Configs`
[INFO] [stdout]   --> src/alarm_handler.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use crate::config::Configs;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/alarm.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/mail_handler.rs:334:12
[INFO] [stdout]     |
[INFO] [stdout] 334 |         if (self.config.max_age > 0) {
[INFO] [stdout]     |            ^                       ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 334 -         if (self.config.max_age > 0) {
[INFO] [stdout] 334 +         if self.config.max_age > 0  {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `flume::Receiver`
[INFO] [stdout]  --> src/apis/divera_v2.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use flume::Receiver;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AlarmReceiver`
[INFO] [stdout]  --> src/apis/divera_v2.rs:3:27
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::alarm::{Alarm, AlarmReceiver};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `AlarmReceiver`
[INFO] [stdout]  --> src/apis/telegram.rs:2:27
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::alarm::{Alarm, AlarmReceiver};
[INFO] [stdout]   |                           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around match arm expression
[INFO] [stdout]   --> src/apis/telegram.rs:85:28
[INFO] [stdout]    |
[INFO] [stdout] 85 |                   Ok(res) => (
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 86 | |                     if res.status().is_success() {
[INFO] [stdout]    | |____________________^
[INFO] [stdout] ...
[INFO] [stdout] 91 |                       }
[INFO] [stdout]    |  ______________________^
[INFO] [stdout] 92 | |                 ),
[INFO] [stdout]    | |_________________^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 85 ~                 Ok(res) => if res.status().is_success() {
[INFO] [stdout] 86 |                         info!("Message sent to: {}", receiver);
[INFO] [stdout] ...
[INFO] [stdout] 89 |                         println!("{:?}", res.text().await);
[INFO] [stdout] 90 ~                     } ,
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::BufRead`
[INFO] [stdout]  --> src/serial_handler.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::BufRead;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serialport::SerialPort`
[INFO] [stdout]   --> src/serial_handler.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use serialport::SerialPort;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/alarm.rs:218:21
[INFO] [stdout]     |
[INFO] [stdout] 218 |                 let mut receiver = self.receiver.entry(target).or_insert(AlarmReceiver {
[INFO] [stdout]     |                     ----^^^^^^^^
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `tls` is never read
[INFO] [stdout]   --> src/config/alarm_sources.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct MailConfig {
[INFO] [stdout]    |            ---------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 18 |     pub tls: bool,
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MailConfig` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `alarm` is never read
[INFO] [stdout]  --> src/config/general.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub struct GeneralConfig {
[INFO] [stdout]   |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 8 |     pub alarm: bool,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `GeneralConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id`, `sender`, `subject`, `content`, and `date` are never read
[INFO] [stdout]   --> src/alarm.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub struct MailData {
[INFO] [stdout]    |            -------- fields in this struct
[INFO] [stdout] 33 |     id: String,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 34 |     sender: String,
[INFO] [stdout]    |     ^^^^^^
[INFO] [stdout] 35 |     subject: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 36 |     content: String,
[INFO] [stdout]    |     ^^^^^^^
[INFO] [stdout] 37 |     date: u64,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `MailData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `date`, `ric`, and `content` are never read
[INFO] [stdout]   --> src/alarm.rs:42:16
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub struct DmeData {
[INFO] [stdout]    |            ------- fields in this struct
[INFO] [stdout] 42 |     pub(crate) date: String,
[INFO] [stdout]    |                ^^^^
[INFO] [stdout] 43 |     pub(crate) ric: String,
[INFO] [stdout]    |                ^^^
[INFO] [stdout] 44 |     pub(crate) content: String,
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `DmeData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `foreign_ids`, `groups`, `vehicles`, `members`, and `mail_data` are never read
[INFO] [stdout]   --> src/alarm.rs:57:9
[INFO] [stdout]    |
[INFO] [stdout] 48 | pub struct Alarm {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 57 |     pub foreign_ids: HashMap<String, String>,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 58 |     pub template_names: Vec<String>,
[INFO] [stdout] 59 |     pub groups: Vec<String>,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout] 60 |     pub vehicles: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 61 |     pub members: Vec<String>,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 64 |     pub mail_data: MailData,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Alarm` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `set_object_id` is never used
[INFO] [stdout]   --> src/alarm.rs:96:12
[INFO] [stdout]    |
[INFO] [stdout] 68 | impl Address {
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 96 |     pub fn set_object_id(&mut self, object_id: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/alarm.rs:151:12
[INFO] [stdout]     |
[INFO] [stdout] 113 | impl Alarm {
[INFO] [stdout]     | ---------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 151 |     pub fn set_origin(&mut self, origin: String) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 167 |     pub fn set_time(&mut self, time: Instant) {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 171 |     pub fn set_address(&mut self, address: Address) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 175 |     pub fn set_units(&mut self, units: Vec<String>) {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 183 |     pub fn set_groups(&mut self, groups: Vec<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 187 |     pub fn set_vehicles(&mut self, vehicles: Vec<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 191 |     pub fn set_members(&mut self, members: Vec<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 195 |     pub fn set_webhooks(&mut self, webhooks: Vec<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 203 |     pub fn set_mail_data(&mut self, mail_data: MailData) {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `api_key` are never read
[INFO] [stdout]  --> src/apis/mock_api.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub struct MockApi {
[INFO] [stdout]   |            ------- fields in this struct
[INFO] [stdout] 7 |     pub name: String,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 8 |     pub api_key: String,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `debug` is never read
[INFO] [stdout]   --> src/serial_handler.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct SerialHandler {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 15 |     debug: bool,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.22s
[INFO] running `Command { std: "docker" "inspect" "83b42a3bb84ec2d64014daa8ee670f04af1e76faa78e567e18bfac4d7a499a6d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83b42a3bb84ec2d64014daa8ee670f04af1e76faa78e567e18bfac4d7a499a6d", kill_on_drop: false }`
[INFO] [stdout] 83b42a3bb84ec2d64014daa8ee670f04af1e76faa78e567e18bfac4d7a499a6d
