[INFO] updating cached repository https://github.com/bennyyip/green-bot
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 8c949558056d78ccf89dc9759c740a30934efc34
[INFO] testing bennyyip/green-bot against 1.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyyip%2Fgreen-bot" "/workspace/builds/worker-7/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bennyyip/green-bot on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/bennyyip/green-bot
[INFO] removed path dependency telebot from git repo https://github.com/bennyyip/green-bot
[INFO] finished tweaking git repo https://github.com/bennyyip/green-bot
[INFO] tweaked toml for git repo https://github.com/bennyyip/green-bot written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/bennyyip/green-bot already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (telebot) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] warning: dependency (telebot) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 401dc09553e9ca45aa015234e65e2209802e3c045324e0e2fa05f726c5f995bf
[INFO] running `"docker" "start" "-a" "401dc09553e9ca45aa015234e65e2209802e3c045324e0e2fa05f726c5f995bf"`
[INFO] [stderr] warning: dependency (telebot) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions
[INFO] [stderr]    Compiling json v0.12.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling telebot-derive v0.0.14
[INFO] [stderr]    Compiling futures-retry v0.3.3
[INFO] [stderr]    Compiling openssl v0.10.26
[INFO] [stderr]    Compiling mio-uds v0.6.7
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling proc-macro-hack v0.5.11
[INFO] [stderr]    Compiling error-chain v0.12.1
[INFO] [stderr]    Compiling mime_guess v2.0.1
[INFO] [stderr]    Compiling chrono v0.4.10
[INFO] [stderr]    Compiling tokio-codec v0.1.1
[INFO] [stderr]    Compiling common-multipart-rfc7578 v0.1.2
[INFO] [stderr]    Compiling http-body v0.1.0
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling tokio-reactor v0.1.11
[INFO] [stderr]    Compiling publicsuffix v1.5.4
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling failure v0.1.6
[INFO] [stderr]    Compiling futures-macro v0.3.1
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]    Compiling tokio-threadpool v0.1.17
[INFO] [stderr]    Compiling tokio-uds v0.2.5
[INFO] [stderr]    Compiling tokio-udp v0.1.5
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling tokio-fs v0.1.6
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling futures-util v0.3.1
[INFO] [stderr]    Compiling hyper v0.12.35
[INFO] [stderr]    Compiling tokio-core v0.1.17
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling futures-executor v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.3.2
[INFO] [stderr]    Compiling hyper-multipart-rfc7578 v0.3.1
[INFO] [stderr]    Compiling futures v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.44
[INFO] [stderr]    Compiling serde_urlencoded v0.5.5
[INFO] [stderr]    Compiling erased-serde v0.3.9
[INFO] [stderr]    Compiling cookie_store v0.7.0
[INFO] [stderr]    Compiling telebot v0.3.1
[INFO] [stderr]    Compiling reqwest v0.9.24
[INFO] [stderr]    Compiling github-green-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `UTC`
[INFO] [stderr]   --> src/user.rs:16:35
[INFO] [stderr]    |
[INFO] [stderr] 16 |     static ref NOW:DateTime<UTC>= UTC::now();
[INFO] [stderr]    |                                   ^^^ use of undeclared type or module `UTC`
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UTC` in this scope
[INFO] [stderr]   --> src/user.rs:16:29
[INFO] [stderr]    |
[INFO] [stderr] 16 |     static ref NOW:DateTime<UTC>= UTC::now();
[INFO] [stderr]    |                             ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] error[E0412]: cannot find type `UTC` in this scope
[INFO] [stderr]   --> src/user.rs:44:39
[INFO] [stderr]    |
[INFO] [stderr] 44 |                     .parse::<DateTime<UTC>>()?
[INFO] [stderr]    |                                       ^^^ not found in this scope
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `json::*`
[INFO] [stderr]  --> src/main.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use json::*;
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `chrono::prelude::*`
[INFO] [stderr]  --> src/main.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use chrono::prelude::*;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `with_timezone` found for type `user::NOW` in the current scope
[INFO] [stderr]   --> src/user.rs:46:49
[INFO] [stderr]    |
[INFO] [stderr] 14 | / lazy_static! {
[INFO] [stderr] 15 | |     static ref CLIENT: reqwest::Client =  reqwest::Client::new().expect("cannot create reqwest client");
[INFO] [stderr] 16 | |     static ref NOW:DateTime<UTC>= UTC::now();
[INFO] [stderr] 17 | | }
[INFO] [stderr]    | |_- method `with_timezone` not found for this
[INFO] [stderr] ...
[INFO] [stderr] 46 |                   if is_same_day(&push_date, &NOW.with_timezone(&self.timezone)) {
[INFO] [stderr]    |                                                   ^^^^^^^^^^^^^ method not found in `user::NOW`
[INFO] [stderr]    |
[INFO] [stderr]    = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `expect` found for type `reqwest::Client` in the current scope
[INFO] [stderr]   --> src/user.rs:15:66
[INFO] [stderr]    |
[INFO] [stderr] 15 |     static ref CLIENT: reqwest::Client =  reqwest::Client::new().expect("cannot create reqwest client");
[INFO] [stderr]    |                                                                  ^^^^^^ method not found in `reqwest::Client`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 5 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0412, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0412`.
[INFO] [stderr] error: could not compile `github-green-bot`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "401dc09553e9ca45aa015234e65e2209802e3c045324e0e2fa05f726c5f995bf"`
[INFO] running `"docker" "rm" "-f" "401dc09553e9ca45aa015234e65e2209802e3c045324e0e2fa05f726c5f995bf"`
[INFO] [stdout] 401dc09553e9ca45aa015234e65e2209802e3c045324e0e2fa05f726c5f995bf
