[INFO] cloning repository https://github.com/mhfowler/wg-gesucht-bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mhfowler/wg-gesucht-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhfowler%2Fwg-gesucht-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhfowler%2Fwg-gesucht-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] ba0970716f6e52075a77c1d8395e1ac422b002b2
[INFO] testing mhfowler/wg-gesucht-bot against 1.52.1 for beta-1.52-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhfowler%2Fwg-gesucht-bot" "/workspace/builds/worker-4/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mhfowler/wg-gesucht-bot on toolchain 1.52.1
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.52.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mhfowler/wg-gesucht-bot
[INFO] finished tweaking git repo https://github.com/mhfowler/wg-gesucht-bot
[INFO] tweaked toml for git repo https://github.com/mhfowler/wg-gesucht-bot written to /workspace/builds/worker-4/source/Cargo.toml
[INFO] crate git repo https://github.com/mhfowler/wg-gesucht-bot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.52.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.52.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9d09626799bcc4119c99e8a69c58caa2c88ff9c491539db2aa3ded36f257d924
[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" "9d09626799bcc4119c99e8a69c58caa2c88ff9c491539db2aa3ded36f257d924", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9d09626799bcc4119c99e8a69c58caa2c88ff9c491539db2aa3ded36f257d924", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9d09626799bcc4119c99e8a69c58caa2c88ff9c491539db2aa3ded36f257d924", kill_on_drop: false }`
[INFO] [stdout] 9d09626799bcc4119c99e8a69c58caa2c88ff9c491539db2aa3ded36f257d924
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+1.52.1" "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] 626f12e7d7272541573bd8d0cef6a512692429ee2d41f48cf9669f47c330436b
[INFO] running `Command { std: "docker" "start" "-a" "626f12e7d7272541573bd8d0cef6a512692429ee2d41f48cf9669f47c330436b", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.80
[INFO] [stderr] Compiling pkg-config v0.3.19
[INFO] [stderr] Compiling native-tls v0.2.6
[INFO] [stderr] Compiling ppv-lite86 v0.2.10
[INFO] [stderr] Compiling httpdate v0.3.2
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling log v0.3.9
[INFO] [stderr] Compiling regex v1.4.2
[INFO] [stderr] Compiling phf_shared v0.7.24
[INFO] [stderr] Compiling tokio-macros v0.2.5
[INFO] [stderr] Compiling futures-macro v0.3.7
[INFO] [stderr] Compiling tracing-attributes v0.1.11
[INFO] [stderr] Compiling nom v5.1.2
[INFO] [stderr] Compiling phf v0.7.24
[INFO] [stderr] Compiling mime v0.2.6
[INFO] [stderr] Compiling openssl-sys v0.9.58
[INFO] [stderr] Compiling rand_os v0.1.3
[INFO] [stderr] Compiling iovec v0.1.4
[INFO] [stderr] Compiling net2 v0.2.35
[INFO] [stderr] Compiling getrandom v0.1.15
[INFO] [stderr] Compiling socket2 v0.3.15
[INFO] [stderr] Compiling time v0.1.44
[INFO] [stderr] Compiling rand v0.6.5
[INFO] [stderr] Compiling rand_core v0.5.1
[INFO] [stderr] Compiling futures-util v0.3.7
[INFO] [stderr] Compiling mio v0.6.22
[INFO] [stderr] Compiling openssl v0.10.30
[INFO] [stderr] Compiling rand_chacha v0.2.2
[INFO] [stderr] Compiling ordered-float v1.1.0
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling serde-value v0.5.3
[INFO] [stderr] Compiling rand v0.7.3
[INFO] [stderr] Compiling tracing v0.1.21
[INFO] [stderr] Compiling chrono v0.4.19
[INFO] [stderr] Compiling imap-proto v0.10.2
[INFO] [stderr] Compiling tokio v0.2.22
[INFO] [stderr] Compiling telegram-bot-raw v0.7.0
[INFO] [stderr] Compiling tracing-futures v0.2.4
[INFO] [stderr] Compiling phf_generator v0.7.24
[INFO] [stderr] Compiling phf_codegen v0.7.24
[INFO] [stderr] Compiling mime_guess v1.8.8
[INFO] [stderr] Compiling tempfile v3.1.0
[INFO] [stderr] Compiling multipart v0.16.1
[INFO] [stderr] Compiling futures-executor v0.3.7
[INFO] [stderr] Compiling imap v2.3.0
[INFO] [stderr] Compiling futures v0.3.7
[INFO] [stderr] Compiling tokio-util v0.3.1
[INFO] [stderr] Compiling tokio-tls v0.3.1
[INFO] [stderr] Compiling h2 v0.2.7
[INFO] [stderr] Compiling hyper v0.13.9
[INFO] [stderr] Compiling hyper-tls v0.4.3
[INFO] [stderr] Compiling telegram-bot v0.7.0
[INFO] [stderr] Compiling wgbot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `futures::StreamExt`
[INFO] [stdout] --> src/main.rs:4:5
[INFO] [stdout] |
[INFO] [stdout] 4 | use futures::StreamExt;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `MessageKind`, `Message`, `SendMessage`, `UpdateKind`
[INFO] [stdout] --> src/main.rs:6:25
[INFO] [stdout] |
[INFO] [stdout] 6 | use telegram_bot::{Api, Message, SendMessage, MessageKind, UpdateKind};
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `Api`, `Error`
[INFO] [stdout] --> src/email.rs:3:20
[INFO] [stdout] |
[INFO] [stdout] 3 | use telegram_bot::{Api, Error};
[INFO] [stdout] | ^^^ ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `std::result::Result`
[INFO] [stdout] --> src/email.rs:5:5
[INFO] [stdout] |
[INFO] [stdout] 5 | use std::result::Result;
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `Fetch`
[INFO] [stdout] --> src/email.rs:6:19
[INFO] [stdout] |
[INFO] [stdout] 6 | use imap::types::{Fetch, Seq};
[INFO] [stdout] | ^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused import: `imap::Session`
[INFO] [stdout] --> src/email.rs:7:5
[INFO] [stdout] |
[INFO] [stdout] 7 | use imap::Session;
[INFO] [stdout] | ^^^^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused imports: `MessageKind`, `Message`, `UpdateKind`
[INFO] [stdout] --> src/tele.rs:2:25
[INFO] [stdout] |
[INFO] [stdout] 2 | use telegram_bot::{Api, Message, SendMessage, MessageKind, UpdateKind};
[INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout] --> src/main.rs:72:5
[INFO] [stdout] |
[INFO] [stdout] 31 | / loop {
[INFO] [stdout] 32 | | println!("++ fetching new emails");
[INFO] [stdout] 33 | | let email = email::fetch_inbox_top(&imap_username, &imap_password, &t);
[INFO] [stdout] 34 | | match email {
[INFO] [stdout] ... |
[INFO] [stdout] 48 | | thread::sleep(wait_time);
[INFO] [stdout] 49 | | }
[INFO] [stdout] | |_____- any code following this expression is unreachable
[INFO] [stdout] ...
[INFO] [stdout] 72 | Ok(())
[INFO] [stdout] | ^^^^^^ unreachable expression
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: unused variable: `telegram`
[INFO] [stdout] --> src/email.rs:17:66
[INFO] [stdout] |
[INFO] [stdout] 17 | pub fn fetch_inbox_top(imap_username: &str, imap_password: &str, telegram: &TStruct) -> imap::error::Result