[INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1659a2298a9a3176ba855545dc988832c6132ab2 [INFO] testing betta-cyber/disco against try#03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbetta-cyber%2Fdisco" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/betta-cyber/disco on toolchain 03a1ea71b075ab964b5278bc6e74cd6c52c36ee0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "read-manifest" "--manifest-path" "Cargo.toml", 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-12/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" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d60f44449755b6b48cbc150a2b3e788fb8dee61bb429594fb9fe3b352b4bb39b [INFO] running `Command { std: "docker" "start" "-a" "d60f44449755b6b48cbc150a2b3e788fb8dee61bb429594fb9fe3b352b4bb39b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d60f44449755b6b48cbc150a2b3e788fb8dee61bb429594fb9fe3b352b4bb39b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d60f44449755b6b48cbc150a2b3e788fb8dee61bb429594fb9fe3b352b4bb39b", kill_on_drop: false }` [INFO] [stdout] d60f44449755b6b48cbc150a2b3e788fb8dee61bb429594fb9fe3b352b4bb39b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 010f6037ac6dcc352c2dbb68201b1ca4985dbd756623b6ca0aba9a9797f43148 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "010f6037ac6dcc352c2dbb68201b1ca4985dbd756623b6ca0aba9a9797f43148", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rust-argon2 v0.6.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling combine v4.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling chrono v0.4.12 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling async-trait v0.1.36 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling redis v0.16.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling simple_redis v0.5.1 [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 3m 17s [INFO] running `Command { std: "docker" "inspect" "010f6037ac6dcc352c2dbb68201b1ca4985dbd756623b6ca0aba9a9797f43148", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "010f6037ac6dcc352c2dbb68201b1ca4985dbd756623b6ca0aba9a9797f43148", kill_on_drop: false }` [INFO] [stdout] 010f6037ac6dcc352c2dbb68201b1ca4985dbd756623b6ca0aba9a9797f43148 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 70ec7d56b9b5607fb6e4d630e184d7f5a0e37ca6d290f1d757b5aef417dbaf1c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "70ec7d56b9b5607fb6e4d630e184d7f5a0e37ca6d290f1d757b5aef417dbaf1c", kill_on_drop: false }` [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 1.54s [INFO] running `Command { std: "docker" "inspect" "70ec7d56b9b5607fb6e4d630e184d7f5a0e37ca6d290f1d757b5aef417dbaf1c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70ec7d56b9b5607fb6e4d630e184d7f5a0e37ca6d290f1d757b5aef417dbaf1c", kill_on_drop: false }` [INFO] [stdout] 70ec7d56b9b5607fb6e4d630e184d7f5a0e37ca6d290f1d757b5aef417dbaf1c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+03a1ea71b075ab964b5278bc6e74cd6c52c36ee0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] dec71bffb291577fc1e4b629073333956d681c8382c247d725cb7334e114b981 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dec71bffb291577fc1e4b629073333956d681c8382c247d725cb7334e114b981", 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: 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stdout] [INFO] [stderr] Running /opt/rustwide/target/debug/deps/disco-7e02336d948c9b0d [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dec71bffb291577fc1e4b629073333956d681c8382c247d725cb7334e114b981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dec71bffb291577fc1e4b629073333956d681c8382c247d725cb7334e114b981", kill_on_drop: false }` [INFO] [stdout] dec71bffb291577fc1e4b629073333956d681c8382c247d725cb7334e114b981