[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbetta-cyber%2Fdisco" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/betta-cyber/disco on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-2/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lettre_email v0.9.4 [INFO] [stderr] Downloaded lettre v0.9.3 [INFO] [stderr] Downloaded email v0.0.20 [INFO] [stderr] Downloaded chrono v0.4.12 [INFO] [stderr] Downloaded combine v4.2.1 [INFO] [stderr] Downloaded cc v1.0.57 [INFO] [stderr] Downloaded redis v0.16.0 [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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] 2e72edbc9ff0ba8fec7606504685ca9550309027df5bfed8219feb11305e834c [INFO] running `Command { std: "docker" "start" "-a" "2e72edbc9ff0ba8fec7606504685ca9550309027df5bfed8219feb11305e834c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e72edbc9ff0ba8fec7606504685ca9550309027df5bfed8219feb11305e834c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e72edbc9ff0ba8fec7606504685ca9550309027df5bfed8219feb11305e834c", kill_on_drop: false }` [INFO] [stdout] 2e72edbc9ff0ba8fec7606504685ca9550309027df5bfed8219feb11305e834c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", 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] 115f2acd7d3091d73387120004a879063214f41131d851436ddfc883e52a37eb [INFO] running `Command { std: "docker" "start" "-a" "115f2acd7d3091d73387120004a879063214f41131d851436ddfc883e52a37eb", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling cc v1.0.57 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling urlencoding v1.1.1 [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 num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling blake2b_simd v0.5.10 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling unicase v2.6.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 rand v0.4.6 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling combine v4.2.1 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling want v0.3.0 [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 openssl-sys v0.9.58 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling chrono v0.4.12 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling headers v0.3.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [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 pin-project-internal v0.4.22 [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 tokio-util v0.3.1 [INFO] [stderr] Compiling simple_redis v0.5.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 futures v0.3.5 [INFO] [stderr] Compiling tokio-tungstenite v0.10.1 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling lettre v0.9.3 [INFO] [stderr] Compiling lettre_email v0.9.4 [INFO] [stderr] Compiling warp v0.2.3 [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 40s [INFO] running `Command { std: "docker" "inspect" "115f2acd7d3091d73387120004a879063214f41131d851436ddfc883e52a37eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "115f2acd7d3091d73387120004a879063214f41131d851436ddfc883e52a37eb", kill_on_drop: false }` [INFO] [stdout] 115f2acd7d3091d73387120004a879063214f41131d851436ddfc883e52a37eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0207498b528a5ab03d114d50a747a937643391db99e6bd60ca91ec5463141394 [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" "0207498b528a5ab03d114d50a747a937643391db99e6bd60ca91ec5463141394", 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.36s [INFO] running `Command { std: "docker" "inspect" "0207498b528a5ab03d114d50a747a937643391db99e6bd60ca91ec5463141394", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0207498b528a5ab03d114d50a747a937643391db99e6bd60ca91ec5463141394", kill_on_drop: false }` [INFO] [stdout] 0207498b528a5ab03d114d50a747a937643391db99e6bd60ca91ec5463141394 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a4170d53e2c564199bbb419b9c542b08f003e6fde8200aa2df347de31e31c590 [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" "a4170d53e2c564199bbb419b9c542b08f003e6fde8200aa2df347de31e31c590", 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.19s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/disco-4fe2193f353f6d8b) [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" "a4170d53e2c564199bbb419b9c542b08f003e6fde8200aa2df347de31e31c590", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4170d53e2c564199bbb419b9c542b08f003e6fde8200aa2df347de31e31c590", kill_on_drop: false }` [INFO] [stdout] a4170d53e2c564199bbb419b9c542b08f003e6fde8200aa2df347de31e31c590