[INFO] cloning repository https://github.com/MoeAl-Ani/stock-fetcher-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MoeAl-Ani/stock-fetcher-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoeAl-Ani%2Fstock-fetcher-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoeAl-Ani%2Fstock-fetcher-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 9a0a1c73675b9a74fcb0be0bb8bc7a860223ad6c
[INFO] checking MoeAl-Ani/stock-fetcher-cli against master#ab26b175979ee7b2cb3302dce204b99df96f7efb for pr-157696
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMoeAl-Ani%2Fstock-fetcher-cli" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-3-tc1/source/.cargo/config
[INFO] started tweaking git repo https://github.com/MoeAl-Ani/stock-fetcher-cli
[INFO] finished tweaking git repo https://github.com/MoeAl-Ani/stock-fetcher-cli
[INFO] tweaked toml for git repo https://github.com/MoeAl-Ani/stock-fetcher-cli written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/MoeAl-Ani/stock-fetcher-cli on toolchain ab26b175979ee7b2cb3302dce204b99df96f7efb
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/MoeAl-Ani/stock-fetcher-cli 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" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded tokio-macros v0.2.6
[INFO] [stderr]   Downloaded signal-hook-registry v1.3.0
[INFO] [stderr]   Downloaded pin-project-lite v0.1.11
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.19
[INFO] [stderr]   Downloaded security-framework-sys v2.0.0
[INFO] [stderr]   Downloaded winutil v0.1.1
[INFO] [stderr]   Downloaded hostname v0.1.5
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.69
[INFO] [stderr]   Downloaded form_urlencoded v1.0.0
[INFO] [stderr]   Downloaded hyper-tls v0.4.3
[INFO] [stderr]   Downloaded tracing-futures v0.2.4
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.69
[INFO] [stderr]   Downloaded hermit-abi v0.1.17
[INFO] [stderr]   Downloaded vcpkg v0.2.11
[INFO] [stderr]   Downloaded openssl-probe v0.1.2
[INFO] [stderr]   Downloaded futures-task v0.3.8
[INFO] [stderr]   Downloaded lettre_email v0.9.4
[INFO] [stderr]   Downloaded futures-core v0.3.8
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.69
[INFO] [stderr]   Downloaded pin-project-lite v0.2.0
[INFO] [stderr]   Downloaded mio-named-pipes v0.1.7
[INFO] [stderr]   Downloaded futures-sink v0.3.8
[INFO] [stderr]   Downloaded native-tls v0.2.6
[INFO] [stderr]   Downloaded pin-project-internal v1.0.2
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.69
[INFO] [stderr]   Downloaded ipnet v2.3.0
[INFO] [stderr]   Downloaded pin-project-internal v0.4.27
[INFO] [stderr]   Downloaded tokio-tls v0.3.1
[INFO] [stderr]   Downloaded getrandom v0.1.15
[INFO] [stderr]   Downloaded async-trait v0.1.42
[INFO] [stderr]   Downloaded futures-channel v0.3.8
[INFO] [stderr]   Downloaded tinyvec v1.1.0
[INFO] [stderr]   Downloaded miow v0.3.6
[INFO] [stderr]   Downloaded url v2.2.0
[INFO] [stderr]   Downloaded security-framework v2.0.0
[INFO] [stderr]   Downloaded openssl-sys v0.9.60
[INFO] [stderr]   Downloaded pin-project v0.4.27
[INFO] [stderr]   Downloaded tracing v0.1.22
[INFO] [stderr]   Downloaded indexmap v1.6.1
[INFO] [stderr]   Downloaded lettre v0.9.5
[INFO] [stderr]   Downloaded pin-project v1.0.2
[INFO] [stderr]   Downloaded js-sys v0.3.46
[INFO] [stderr]   Downloaded unicode-normalization v0.1.16
[INFO] [stderr]   Downloaded serde_json v1.0.60
[INFO] [stderr]   Downloaded http v0.2.2
[INFO] [stderr]   Downloaded futures-util v0.3.8
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.69
[INFO] [stderr]   Downloaded hyper v0.13.9
[INFO] [stderr]   Downloaded openssl v0.10.32
[INFO] [stderr]   Downloaded syn v1.0.55
[INFO] [stderr]   Downloaded tokio v0.2.24
[INFO] [stderr]   Downloaded web-sys v0.3.46
[INFO] [stderr]   Downloaded encoding_rs v0.8.26
[INFO] [stderr]   Downloaded openssl-src v111.13.0+1.1.1i
[INFO] [stderr]   Downloaded email v0.0.20
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] f2a1cae56226def5fa49daeab2c3f6ae0182aaeb321082c4ef4793a95f0b7e69
[INFO] running `Command { std: "docker" "start" "f2a1cae56226def5fa49daeab2c3f6ae0182aaeb321082c4ef4793a95f0b7e69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2a1cae56226def5fa49daeab2c3f6ae0182aaeb321082c4ef4793a95f0b7e69" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f2a1cae56226def5fa49daeab2c3f6ae0182aaeb321082c4ef4793a95f0b7e69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f2a1cae56226def5fa49daeab2c3f6ae0182aaeb321082c4ef4793a95f0b7e69" "/opt/rustwide/cargo-home/bin/cargo" "+ab26b175979ee7b2cb3302dce204b99df96f7efb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.81
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.55
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling cc v1.0.66
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking futures-core v0.3.8
[INFO] [stderr]     Checking encoding_index_tests v0.1.4
[INFO] [stderr]    Compiling openssl v0.10.32
[INFO] [stderr]    Compiling version_check v0.9.2
[INFO] [stderr]    Compiling pin-project-internal v0.4.27
[INFO] [stderr]    Compiling openssl-src v111.13.0+1.1.1i
[INFO] [stderr]     Checking pin-project-lite v0.1.11
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.37
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking signal-hook-registry v1.3.0
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]    Compiling native-tls v0.2.6
[INFO] [stderr]    Compiling quote v1.0.8
[INFO] [stderr]     Checking mio v0.6.23
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]     Checking tracing-core v0.1.17
[INFO] [stderr]    Compiling indexmap v1.6.1
[INFO] [stderr]    Compiling openssl-sys v0.9.60
[INFO] [stderr]     Checking pin-project-lite v0.2.0
[INFO] [stderr]     Checking matches v0.1.8
[INFO] [stderr]     Checking openssl-probe v0.1.2
[INFO] [stderr]     Checking http v0.2.2
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]     Checking hashbrown v0.9.1
[INFO] [stderr]     Checking tracing v0.1.22
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking futures-sink v0.3.8
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]     Checking futures-task v0.3.8
[INFO] [stderr]     Checking tinyvec v1.1.0
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]    Compiling nom v4.2.3
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]    Compiling serde_json v1.0.60
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking form_urlencoded v1.0.0
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking rand_chacha v0.1.1
[INFO] [stderr]     Checking rand_pcg v0.1.2
[INFO] [stderr]     Checking unicode-bidi v0.3.4
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking unicode-normalization v0.1.16
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking socket2 v0.3.19
[INFO] [stderr]     Checking futures-channel v0.3.8
[INFO] [stderr]     Checking encoding-index-korean v1.20141219.5
[INFO] [stderr]     Checking encoding-index-simpchinese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-tradchinese v1.20141219.5
[INFO] [stderr]     Checking encoding-index-singlebyte v1.20141219.5
[INFO] [stderr]     Checking encoding-index-japanese v1.20141219.5
[INFO] [stderr]    Compiling email v0.0.20
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]    Compiling encoding_rs v0.8.26
[INFO] [stderr]     Checking httpdate v0.3.2
[INFO] [stderr]     Checking ascii_utils v0.9.3
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]     Checking encoding v0.2.33
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking fast_chemail v0.9.6
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking base64 v0.10.1
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking hostname v0.1.5
[INFO] [stderr]     Checking unicode-width v0.1.8
[INFO] [stderr]     Checking bufstream v0.1.4
[INFO] [stderr]     Checking url v2.2.0
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking uuid v0.7.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking vec_map v0.8.2
[INFO] [stderr]     Checking ipnet v2.3.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]    Compiling tokio-macros v0.2.6
[INFO] [stderr]    Compiling serde_derive v1.0.118
[INFO] [stderr]    Compiling pin-project-internal v1.0.2
[INFO] [stderr]    Compiling async-trait v0.1.42
[INFO] [stderr]     Checking tokio v0.2.24
[INFO] [stderr]     Checking pin-project v1.0.2
[INFO] [stderr]     Checking futures-util v0.3.8
[INFO] [stderr]     Checking pin-project v0.4.27
[INFO] [stderr]     Checking tracing-futures v0.2.4
[INFO] [stderr]     Checking serde v1.0.118
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking h2 v0.2.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.0
[INFO] [stderr]     Checking hyper v0.13.9
[INFO] [stderr]     Checking tokio-tls v0.3.1
[INFO] [stderr]     Checking lettre v0.9.5
[INFO] [stderr]     Checking hyper-tls v0.4.3
[INFO] [stderr]     Checking reqwest v0.10.10
[INFO] [stderr]     Checking lettre_email v0.9.4
[INFO] [stderr]     Checking stock-fetcher v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `EmailService`
[INFO] [stdout]   --> src/email.rs:73:37
[INFO] [stdout]    |
[INFO] [stdout] 73 |     use crate::email::{EmailConfig, EmailService};
[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 imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> src/email.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     use serde::{Deserialize, Serialize};
[INFO] [stdout]    |                 ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/stock_api.rs:81:27
[INFO] [stdout]    |
[INFO] [stdout] 81 |     async fn fetch(&self, name: &String, symbol: &String) -> Option<StockData> {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/stock_api.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub trait Api {
[INFO] [stdout]     |           --- method in this trait
[INFO] [stdout] 107 |     async fn fetch(&self, name: &String, symbol: &String) -> Option<StockData>;
[INFO] [stdout] 108 |     fn print(&self);
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EmailService` is never constructed
[INFO] [stdout]   --> src/email.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct EmailService {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `send` are never used
[INFO] [stdout]   --> src/email.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl EmailService {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(config_path: &String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn send(&self, from: &str, to: &str, subject: &str, content: &str) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/stock_api.rs:81:27
[INFO] [stdout]    |
[INFO] [stdout] 81 |     async fn fetch(&self, name: &String, symbol: &String) -> Option<StockData> {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `YAHOO_URL` is never used
[INFO] [stdout]  --> src/stock_api.rs:5:7
[INFO] [stdout]   |
[INFO] [stdout] 5 | const YAHOO_URL: &str = "https://query1.finance.yahoo.com/v7/finance/quote?=&";
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `QuoteType` is never used
[INFO] [stdout]  --> src/stock_api.rs:8:10
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub enum QuoteType {
[INFO] [stdout]   |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Symbol` is never used
[INFO] [stdout]   --> src/stock_api.rs:16:10
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub enum Symbol {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Currency` is never used
[INFO] [stdout]   --> src/stock_api.rs:22:10
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub enum Currency {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Root` is never constructed
[INFO] [stdout]   --> src/stock_api.rs:28:8
[INFO] [stdout]    |
[INFO] [stdout] 28 | struct Root {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `QuoteResponse` is never constructed
[INFO] [stdout]   --> src/stock_api.rs:34:8
[INFO] [stdout]    |
[INFO] [stdout] 34 | struct QuoteResponse {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `StockData` is never constructed
[INFO] [stdout]   --> src/stock_api.rs:39:12
[INFO] [stdout]    |
[INFO] [stdout] 39 | pub struct StockData {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/stock_api.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl StockData {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 53 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `YahooApi` is never constructed
[INFO] [stdout]   --> src/stock_api.rs:71:12
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub struct YahooApi {}
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/stock_api.rs:74:12
[INFO] [stdout]    |
[INFO] [stdout] 73 | impl YahooApi {
[INFO] [stdout]    | ------------- associated function in this implementation
[INFO] [stdout] 74 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Api` is never used
[INFO] [stdout]    --> src/stock_api.rs:106:11
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub trait Api {
[INFO] [stdout]     |           ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EmailService` is never constructed
[INFO] [stdout]   --> src/email.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct EmailService {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `send` are never used
[INFO] [stdout]   --> src/email.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl EmailService {
[INFO] [stdout]    | ----------------- associated items in this implementation
[INFO] [stdout] 15 |     pub fn new(config_path: &String) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 20 |     pub fn send(&self, from: &str, to: &str, subject: &str, content: &str) {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `EmailConfig` is never constructed
[INFO] [stdout]   --> src/email.rs:49:12
[INFO] [stdout]    |
[INFO] [stdout] 49 | pub struct EmailConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `load` is never used
[INFO] [stdout]   --> src/email.rs:58:12
[INFO] [stdout]    |
[INFO] [stdout] 57 | impl EmailConfig {
[INFO] [stdout]    | ---------------- associated function in this implementation
[INFO] [stdout] 58 |     pub fn load(config_path: &String) -> Self {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, process, thread};
[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: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ops::Add;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `EmailService`
[INFO] [stdout]   --> src/email.rs:73:37
[INFO] [stdout]    |
[INFO] [stdout] 73 |     use crate::email::{EmailConfig, EmailService};
[INFO] [stdout]    |                                     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize`
[INFO] [stdout]   --> src/email.rs:74:17
[INFO] [stdout]    |
[INFO] [stdout] 74 |     use serde::{Deserialize, Serialize};
[INFO] [stdout]    |                 ^^^^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `env`
[INFO] [stdout]  --> src/main.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::{env, process, thread};
[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: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::ops::Add`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::ops::Add;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/stock_api.rs:81:27
[INFO] [stdout]    |
[INFO] [stdout] 81 |     async fn fetch(&self, name: &String, symbol: &String) -> Option<StockData> {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/stock_api.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub trait Api {
[INFO] [stdout]     |           --- method in this trait
[INFO] [stdout] 107 |     async fn fetch(&self, name: &String, symbol: &String) -> Option<StockData>;
[INFO] [stdout] 108 |     fn print(&self);
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `name`
[INFO] [stdout]   --> src/stock_api.rs:81:27
[INFO] [stdout]    |
[INFO] [stdout] 81 |     async fn fetch(&self, name: &String, symbol: &String) -> Option<StockData> {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> src/stock_api.rs:53:12
[INFO] [stdout]    |
[INFO] [stdout] 52 | impl StockData {
[INFO] [stdout]    | -------------- associated function in this implementation
[INFO] [stdout] 53 |     pub fn new(
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print` is never used
[INFO] [stdout]    --> src/stock_api.rs:108:8
[INFO] [stdout]     |
[INFO] [stdout] 106 | pub trait Api {
[INFO] [stdout]     |           --- method in this trait
[INFO] [stdout] 107 |     async fn fetch(&self, name: &String, symbol: &String) -> Option<StockData>;
[INFO] [stdout] 108 |     fn print(&self);
[INFO] [stdout]     |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 12s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "f2a1cae56226def5fa49daeab2c3f6ae0182aaeb321082c4ef4793a95f0b7e69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f2a1cae56226def5fa49daeab2c3f6ae0182aaeb321082c4ef4793a95f0b7e69", kill_on_drop: false }`
[INFO] [stdout] f2a1cae56226def5fa49daeab2c3f6ae0182aaeb321082c4ef4793a95f0b7e69
