[INFO] cloning repository https://github.com/geb789/email_notification [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/geb789/email_notification" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeb789%2Femail_notification", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeb789%2Femail_notification'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89b3a582dd27b8adacf594ce593654ef14e41ec4 [INFO] testing geb789/email_notification against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgeb789%2Femail_notification" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/geb789/email_notification [INFO] finished tweaking git repo https://github.com/geb789/email_notification [INFO] tweaked toml for git repo https://github.com/geb789/email_notification written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/geb789/email_notification on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/geb789/email_notification 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.2.2 [INFO] [stderr] Downloaded lettre v0.9.6 [INFO] [stderr] Downloaded clap v3.2.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2e0ad999ad6d0a733fc2d78aad4d7b6ba3ec770fab9f2c0df981f6d10446d3e [INFO] running `Command { std: "docker" "start" "-a" "a2e0ad999ad6d0a733fc2d78aad4d7b6ba3ec770fab9f2c0df981f6d10446d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2e0ad999ad6d0a733fc2d78aad4d7b6ba3ec770fab9f2c0df981f6d10446d3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2e0ad999ad6d0a733fc2d78aad4d7b6ba3ec770fab9f2c0df981f6d10446d3e", kill_on_drop: false }` [INFO] [stdout] a2e0ad999ad6d0a733fc2d78aad4d7b6ba3ec770fab9f2c0df981f6d10446d3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f8fbb698a31f0475aa8089f70c7b545c9f3b92359daa084f082b4e9f06117e0 [INFO] running `Command { std: "docker" "start" "-a" "4f8fbb698a31f0475aa8089f70c7b545c9f3b92359daa084f082b4e9f06117e0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling email v0.0.20 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling ascii_utils v0.9.3 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling fast_chemail v0.9.6 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling textwrap v0.15.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling clap_derive v3.2.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling clap v3.2.2 [INFO] [stderr] Compiling toml v0.5.10 [INFO] [stderr] Compiling lettre v0.9.6 [INFO] [stderr] Compiling lettre_email v0.9.4 [INFO] [stderr] Compiling 定时器 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::timer::Interval` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::timer::Interval; [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: `Duration` and `Instant` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `clap::ArgAction::StoreValue`: Replaced with `ArgAction::Set` or `ArgAction::Append` [INFO] [stdout] --> src/config.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub config: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `clap::ArgAction::StoreValue`: Replaced with `ArgAction::Set` or `ArgAction::Append` [INFO] [stdout] --> src/config.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub scene: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::validator`: Replaced with `Arg::value_parser(...)` [INFO] [stdout] --> src/config.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub config: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::validator`: Replaced with `Arg::value_parser(...)` [INFO] [stdout] --> src/config.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub scene: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::possible_values`: Replaced with `Arg::value_parser(PossibleValuesParser::new(...)).takes_value(true)` [INFO] [stdout] --> src/config.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | #[clap(short = 's', long, name = "SCENE", possible_values = ["mint", "oracle", "npow", "syncoracle", "syncpow", "ezcoracle", "imonlin... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut config = toml::from_str::(toml_str.as_str()).expect("valid toml"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `smtp_port` and `smtp_ssl` are never read [INFO] [stdout] --> src/config.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct EmailConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub smtp_port: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub smtp_ssl: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmailConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 01s [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 1` [INFO] running `Command { std: "docker" "inspect" "4f8fbb698a31f0475aa8089f70c7b545c9f3b92359daa084f082b4e9f06117e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f8fbb698a31f0475aa8089f70c7b545c9f3b92359daa084f082b4e9f06117e0", kill_on_drop: false }` [INFO] [stdout] 4f8fbb698a31f0475aa8089f70c7b545c9f3b92359daa084f082b4e9f06117e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 593652e8e77421089f845a45f50ebfeacb98817475deb7b86a2f02c6acb38d32 [INFO] running `Command { std: "docker" "start" "-a" "593652e8e77421089f845a45f50ebfeacb98817475deb7b86a2f02c6acb38d32", kill_on_drop: false }` [INFO] [stderr] Compiling 定时器 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::timer::Interval` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::timer::Interval; [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: `Duration` and `Instant` [INFO] [stdout] --> src/main.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `clap::ArgAction::StoreValue`: Replaced with `ArgAction::Set` or `ArgAction::Append` [INFO] [stdout] --> src/config.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub config: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated unit variant `clap::ArgAction::StoreValue`: Replaced with `ArgAction::Set` or `ArgAction::Append` [INFO] [stdout] --> src/config.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub scene: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::validator`: Replaced with `Arg::value_parser(...)` [INFO] [stdout] --> src/config.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub config: PathBuf, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::validator`: Replaced with `Arg::value_parser(...)` [INFO] [stdout] --> src/config.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub scene: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `clap::Arg::<'help>::possible_values`: Replaced with `Arg::value_parser(PossibleValuesParser::new(...)).takes_value(true)` [INFO] [stdout] --> src/config.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | #[clap(short = 's', long, name = "SCENE", possible_values = ["mint", "oracle", "npow", "syncoracle", "syncpow", "ezcoracle", "imonlin... [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/config.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let mut config = toml::from_str::(toml_str.as_str()).expect("valid toml"); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `smtp_port` and `smtp_ssl` are never read [INFO] [stdout] --> src/config.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct EmailConfig { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | pub smtp_port: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 14 | pub smtp_ssl: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmailConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [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 1` [INFO] running `Command { std: "docker" "inspect" "593652e8e77421089f845a45f50ebfeacb98817475deb7b86a2f02c6acb38d32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "593652e8e77421089f845a45f50ebfeacb98817475deb7b86a2f02c6acb38d32", kill_on_drop: false }` [INFO] [stdout] 593652e8e77421089f845a45f50ebfeacb98817475deb7b86a2f02c6acb38d32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b015efd8949c29cf61e379573be86e2c0e394b75add32ef78c96b166f3f79030 [INFO] running `Command { std: "docker" "start" "-a" "b015efd8949c29cf61e379573be86e2c0e394b75add32ef78c96b166f3f79030", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `tokio::timer::Interval` [INFO] [stderr] --> src/main.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use tokio::timer::Interval; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Duration` and `Instant` [INFO] [stderr] --> src/main.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `clap::ArgAction::StoreValue`: Replaced with `ArgAction::Set` or `ArgAction::Append` [INFO] [stderr] --> src/config.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | pub config: PathBuf, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated unit variant `clap::ArgAction::StoreValue`: Replaced with `ArgAction::Set` or `ArgAction::Append` [INFO] [stderr] --> src/config.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub scene: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `clap::Arg::<'help>::validator`: Replaced with `Arg::value_parser(...)` [INFO] [stderr] --> src/config.rs:25:9 [INFO] [stderr] | [INFO] [stderr] 25 | pub config: PathBuf, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `clap::Arg::<'help>::validator`: Replaced with `Arg::value_parser(...)` [INFO] [stderr] --> src/config.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 29 | pub scene: String, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `clap::Arg::<'help>::possible_values`: Replaced with `Arg::value_parser(PossibleValuesParser::new(...)).takes_value(true)` [INFO] [stderr] --> src/config.rs:28:47 [INFO] [stderr] | [INFO] [stderr] 28 | #[clap(short = 's', long, name = "SCENE", possible_values = ["mint", "oracle", "npow", "syncoracle", "syncpow", "ezcoracle", "imonlin... [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::prelude` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use tokio::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/config.rs:40:13 [INFO] [stderr] | [INFO] [stderr] 40 | let mut config = toml::from_str::(toml_str.as_str()).expect("valid toml"); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `smtp_port` and `smtp_ssl` are never read [INFO] [stderr] --> src/config.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct EmailConfig { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 13 | pub smtp_port: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 14 | pub smtp_ssl: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EmailConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `定时器` (bin "定时器" test) generated 10 warnings (run `cargo fix --bin "定时器" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [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 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/定时器-9fac559e86311599) [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" "b015efd8949c29cf61e379573be86e2c0e394b75add32ef78c96b166f3f79030", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b015efd8949c29cf61e379573be86e2c0e394b75add32ef78c96b166f3f79030", kill_on_drop: false }` [INFO] [stdout] b015efd8949c29cf61e379573be86e2c0e394b75add32ef78c96b166f3f79030