[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] fbac04fe2356526418d72d00cecf2a4d78bcab3b
[INFO] testing mhfowler/wg-gesucht-bot against 1.49.0 for beta-1.50-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmhfowler%2Fwg-gesucht-bot" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mhfowler/wg-gesucht-bot on toolchain 1.49.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", 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-8/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.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8e9826f80905de13539cdc742232b92883006ba415c09e67843944068192b6e8
[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" "8e9826f80905de13539cdc742232b92883006ba415c09e67843944068192b6e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e9826f80905de13539cdc742232b92883006ba415c09e67843944068192b6e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e9826f80905de13539cdc742232b92883006ba415c09e67843944068192b6e8", kill_on_drop: false }`
[INFO] [stdout] 8e9826f80905de13539cdc742232b92883006ba415c09e67843944068192b6e8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "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] 84547f2456016c8056c863f1c6815c20fee514302049760a19a52f40dc068043
[INFO] running `Command { std: "docker" "start" "-a" "84547f2456016c8056c863f1c6815c20fee514302049760a19a52f40dc068043", kill_on_drop: false }`
[INFO] [stderr] Compiling syn v1.0.48
[INFO] [stderr] Compiling rand_core v0.4.2
[INFO] [stderr] Compiling autocfg v0.1.7
[INFO] [stderr] Compiling futures-core v0.3.7
[INFO] [stderr] Compiling cc v1.0.61
[INFO] [stderr] Compiling pkg-config v0.3.19
[INFO] [stderr] Compiling bytes v0.5.6
[INFO] [stderr] Compiling proc-macro-hack v0.5.19
[INFO] [stderr] Compiling proc-macro-nested v0.1.6
[INFO] [stderr] Compiling pin-project-lite v0.1.11
[INFO] [stderr] Compiling futures-sink v0.3.7
[INFO] [stderr] Compiling once_cell v1.4.1
[INFO] [stderr] Compiling pin-project-internal v0.4.27
[INFO] [stderr] Compiling futures-io v0.3.7
[INFO] [stderr] Compiling native-tls v0.2.6
[INFO] [stderr] Compiling lexical-core v0.7.4
[INFO] [stderr] Compiling static_assertions v1.1.0
[INFO] [stderr] Compiling arrayvec v0.5.2
[INFO] [stderr] Compiling serde_json v1.0.59
[INFO] [stderr] Compiling remove_dir_all v0.5.3
[INFO] [stderr] Compiling httpdate v0.3.2
[INFO] [stderr] Compiling bufstream v0.1.4
[INFO] [stderr] Compiling dotenv v0.15.0
[INFO] [stderr] Compiling num-traits v0.2.14
[INFO] [stderr] Compiling tracing-core v0.1.17
[INFO] [stderr] Compiling num-integer v0.1.44
[INFO] [stderr] Compiling futures-task v0.3.7
[INFO] [stderr] Compiling futures-channel v0.3.7
[INFO] [stderr] Compiling nom v5.1.2
[INFO] [stderr] Compiling rand_core v0.3.1
[INFO] [stderr] Compiling rand_jitter v0.1.4
[INFO] [stderr] Compiling indexmap v1.6.0
[INFO] [stderr] Compiling rand_pcg v0.1.2
[INFO] [stderr] Compiling rand_chacha v0.1.1
[INFO] [stderr] Compiling rand v0.6.5
[INFO] [stderr] Compiling iovec v0.1.4
[INFO] [stderr] Compiling net2 v0.2.35
[INFO] [stderr] Compiling rand_os v0.1.3
[INFO] [stderr] Compiling getrandom v0.1.15
[INFO] [stderr] Compiling socket2 v0.3.15
[INFO] [stderr] Compiling time v0.1.44
[INFO] [stderr] Compiling quote v1.0.7
[INFO] [stderr] Compiling want v0.3.0
[INFO] [stderr] Compiling rand_hc v0.1.0
[INFO] [stderr] Compiling rand_xorshift v0.1.1
[INFO] [stderr] Compiling rand_isaac v0.1.1
[INFO] [stderr] Compiling http v0.2.1
[INFO] [stderr] Compiling mime v0.2.6
[INFO] [stderr] Compiling rand_core v0.5.1
[INFO] [stderr] Compiling mio v0.6.22
[INFO] [stderr] Compiling rand_chacha v0.2.2
[INFO] [stderr] Compiling openssl-sys v0.9.58
[INFO] [stderr] Compiling rand v0.7.3
[INFO] [stderr] Compiling ordered-float v1.1.0
[INFO] [stderr] Compiling openssl v0.10.30
[INFO] [stderr] Compiling chrono v0.4.19
[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 http-body v0.3.1
[INFO] [stderr] Compiling multipart v0.16.1
[INFO] [stderr] Compiling imap-proto v0.10.2
[INFO] [stderr] Compiling imap v2.3.0
[INFO] [stderr] Compiling pin-project-internal v1.0.1
[INFO] [stderr] Compiling futures-macro v0.3.7
[INFO] [stderr] Compiling tokio-macros v0.2.5
[INFO] [stderr] Compiling tracing-attributes v0.1.11
[INFO] [stderr] Compiling serde_derive v1.0.117
[INFO] [stderr] Compiling tokio v0.2.22
[INFO] [stderr] Compiling tracing v0.1.21
[INFO] [stderr] Compiling pin-project v1.0.1
[INFO] [stderr] Compiling futures-util v0.3.7
[INFO] [stderr] Compiling pin-project v0.4.27
[INFO] [stderr] Compiling tracing-futures v0.2.4
[INFO] [stderr] Compiling tokio-util v0.3.1
[INFO] [stderr] Compiling tokio-tls v0.3.1
[INFO] [stderr] Compiling serde v1.0.117
[INFO] [stderr] Compiling h2 v0.2.7
[INFO] [stderr] Compiling futures-executor v0.3.7
[INFO] [stderr] Compiling futures v0.3.7
[INFO] [stderr] Compiling serde-value v0.5.3
[INFO] [stderr] Compiling hyper v0.13.9
[INFO] [stderr] Compiling telegram-bot-raw v0.7.0
[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