[INFO] cloning repository https://github.com/betta-cyber/disco [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/betta-cyber/disco" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbetta-cyber%2Fdisco", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbetta-cyber%2Fdisco'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 448960431b5781e99f8ccc0d00f4137f5e0b63d8 [INFO] testing betta-cyber/disco against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbetta-cyber%2Fdisco" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/betta-cyber/disco on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/betta-cyber/disco [INFO] finished tweaking git repo https://github.com/betta-cyber/disco [INFO] tweaked toml for git repo https://github.com/betta-cyber/disco written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/betta-cyber/disco already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.57 [INFO] [stderr] Downloaded chrono v0.4.12 [INFO] [stderr] Downloaded redis v0.16.0 [INFO] [stderr] Downloaded lettre v0.9.3 [INFO] [stderr] Downloaded rust-argon2 v0.6.1 [INFO] [stderr] Downloaded simple_redis v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c5acb162edaa4f8e24ecad6eeac48b49ed217d56bc1242bc85a08b73b08a0a1a [INFO] running `Command { std: "docker" "start" "-a" "c5acb162edaa4f8e24ecad6eeac48b49ed217d56bc1242bc85a08b73b08a0a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c5acb162edaa4f8e24ecad6eeac48b49ed217d56bc1242bc85a08b73b08a0a1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c5acb162edaa4f8e24ecad6eeac48b49ed217d56bc1242bc85a08b73b08a0a1a", kill_on_drop: false }` [INFO] [stdout] c5acb162edaa4f8e24ecad6eeac48b49ed217d56bc1242bc85a08b73b08a0a1a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd9d218bd36f704b14d27098b8e547c2bd396e77846690488181f29a44c88b77 [INFO] running `Command { std: "docker" "start" "-a" "fd9d218bd36f704b14d27098b8e547c2bd396e77846690488181f29a44c88b77", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling urlencoding v1.1.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling combine v4.2.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling rust-argon2 v0.6.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling chrono v0.4.12 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling redis v0.16.0 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling simple_redis v0.5.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling tokio-tungstenite v0.10.1 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling lettre v0.9.3 [INFO] [stderr] Compiling warp v0.2.3 [INFO] [stderr] Compiling lettre_email v0.9.4 [INFO] [stderr] Compiling disco v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientSecurity`, `ClientTlsParameters` [INFO] [stdout] --> src/mail.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use lettre::{ClientSecurity, ClientTlsParameters, SmtpClient, Transport}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionReuseParameters`, `Mechanism` [INFO] [stdout] --> src/mail.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use lettre::smtp::{authentication::{Credentials, Mechanism}, ConnectionReuseParameters}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Protocol`, `TlsConnector` [INFO] [stdout] --> src/mail.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use native_tls::{Protocol, TlsConnector}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lettre_email::Mailbox` [INFO] [stdout] --> src/mail.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lettre_email::Mailbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Err(e) => Value::Null, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mail.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let addr = String::from(format!("{}:{}", smtp_host, smtp_port)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/mail.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn send_mail(sender: &str, receiver: &str, cc: &str, subject: &str, content: &str) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let mut result = client.subscribe("notify"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 25.43s [INFO] running `Command { std: "docker" "inspect" "fd9d218bd36f704b14d27098b8e547c2bd396e77846690488181f29a44c88b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd9d218bd36f704b14d27098b8e547c2bd396e77846690488181f29a44c88b77", kill_on_drop: false }` [INFO] [stdout] fd9d218bd36f704b14d27098b8e547c2bd396e77846690488181f29a44c88b77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cce23c50b6397008e8c92e9ce1fdd44d37096fcd4e734299b9ec33e4712d8fec [INFO] running `Command { std: "docker" "start" "-a" "cce23c50b6397008e8c92e9ce1fdd44d37096fcd4e734299b9ec33e4712d8fec", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling disco v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Result` [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{Result, Value}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ClientSecurity`, `ClientTlsParameters` [INFO] [stdout] --> src/mail.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | use lettre::{ClientSecurity, ClientTlsParameters, SmtpClient, Transport}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConnectionReuseParameters`, `Mechanism` [INFO] [stdout] --> src/mail.rs:2:50 [INFO] [stdout] | [INFO] [stdout] 2 | use lettre::smtp::{authentication::{Credentials, Mechanism}, ConnectionReuseParameters}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Protocol`, `TlsConnector` [INFO] [stdout] --> src/mail.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | use native_tls::{Protocol, TlsConnector}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lettre_email::Mailbox` [INFO] [stdout] --> src/mail.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use lettre_email::Mailbox; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/main.rs:24:29 [INFO] [stdout] | [INFO] [stdout] 24 | Err(e) => Value::Null, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/mail.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | let addr = String::from(format!("{}:{}", smtp_host, smtp_port)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cc` [INFO] [stdout] --> src/mail.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn send_mail(sender: &str, receiver: &str, cc: &str, subject: &str, content: &str) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | let mut result = client.subscribe("notify"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.05s [INFO] running `Command { std: "docker" "inspect" "cce23c50b6397008e8c92e9ce1fdd44d37096fcd4e734299b9ec33e4712d8fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cce23c50b6397008e8c92e9ce1fdd44d37096fcd4e734299b9ec33e4712d8fec", kill_on_drop: false }` [INFO] [stdout] cce23c50b6397008e8c92e9ce1fdd44d37096fcd4e734299b9ec33e4712d8fec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e2fb1919f8afc4f412de00c4445aee2d79477e9bc3a65cf120cb8f4c1f75e479 [INFO] running `Command { std: "docker" "start" "-a" "e2fb1919f8afc4f412de00c4445aee2d79477e9bc3a65cf120cb8f4c1f75e479", kill_on_drop: false }` [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #[macro_use] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Result` [INFO] [stderr] --> src/main.rs:5:18 [INFO] [stderr] | [INFO] [stderr] 5 | use serde_json::{Result, Value}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ClientSecurity`, `ClientTlsParameters` [INFO] [stderr] --> src/mail.rs:1:14 [INFO] [stderr] | [INFO] [stderr] 1 | use lettre::{ClientSecurity, ClientTlsParameters, SmtpClient, Transport}; [INFO] [stderr] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ConnectionReuseParameters`, `Mechanism` [INFO] [stderr] --> src/mail.rs:2:50 [INFO] [stderr] | [INFO] [stderr] 2 | use lettre::smtp::{authentication::{Credentials, Mechanism}, ConnectionReuseParameters}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Protocol`, `TlsConnector` [INFO] [stderr] --> src/mail.rs:3:18 [INFO] [stderr] | [INFO] [stderr] 3 | use native_tls::{Protocol, TlsConnector}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `lettre_email::Mailbox` [INFO] [stderr] --> src/mail.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use lettre_email::Mailbox; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/main.rs:24:29 [INFO] [stderr] | [INFO] [stderr] 24 | Err(e) => Value::Null, [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `addr` [INFO] [stderr] --> src/mail.rs:30:9 [INFO] [stderr] | [INFO] [stderr] 30 | let addr = String::from(format!("{}:{}", smtp_host, smtp_port)); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `cc` [INFO] [stderr] --> src/mail.rs:10:48 [INFO] [stderr] | [INFO] [stderr] 10 | pub fn send_mail(sender: &str, receiver: &str, cc: &str, subject: &str, content: &str) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_cc` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:16:17 [INFO] [stderr] | [INFO] [stderr] 16 | let mut result = client.subscribe("notify"); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `disco` (bin "disco" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/disco-fb89abcaadf74a2d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e2fb1919f8afc4f412de00c4445aee2d79477e9bc3a65cf120cb8f4c1f75e479", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2fb1919f8afc4f412de00c4445aee2d79477e9bc3a65cf120cb8f4c1f75e479", kill_on_drop: false }` [INFO] [stdout] e2fb1919f8afc4f412de00c4445aee2d79477e9bc3a65cf120cb8f4c1f75e479