[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] checking bennyyip/green-bot against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyyip%2Fgreen-bot" "/workspace/builds/worker-5/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/bennyyip/green-bot on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-5/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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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=forbid" "-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" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e5af1f1f9f52bca645cba4f65ee52034c7f46a9b4a7740636131c5ad1c55f317
[INFO] running `"docker" "start" "-a" "e5af1f1f9f52bca645cba4f65ee52034c7f46a9b4a7740636131c5ad1c55f317"`
[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]     Checking json v0.12.4
[INFO] [stderr]    Compiling error-chain v0.12.2
[INFO] [stderr]    Compiling hyper v0.12.35
[INFO] [stderr]    Compiling telebot-derive v0.0.14
[INFO] [stderr]     Checking tokio v0.2.17
[INFO] [stderr]     Checking futures-retry v0.3.3
[INFO] [stderr]     Checking tokio-codec v0.1.2
[INFO] [stderr]     Checking common-multipart-rfc7578 v0.1.2
[INFO] [stderr]     Checking rand v0.6.5
[INFO] [stderr]     Checking tokio-fs v0.1.7
[INFO] [stderr]     Checking tokio-reactor v0.1.12
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]     Checking tokio-udp v0.1.6
[INFO] [stderr]     Checking tokio-uds v0.2.6
[INFO] [stderr]     Checking tokio-tcp v0.1.4
[INFO] [stderr]     Checking tokio v0.1.22
[INFO] [stderr]     Checking uuid v0.7.4
[INFO] [stderr]     Checking tokio-core v0.1.17
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking tokio-tls v0.3.0
[INFO] [stderr]     Checking hyper-multipart-rfc7578 v0.3.1
[INFO] [stderr]     Checking hyper-tls v0.3.2
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling futures-macro v0.3.4
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]    Compiling pin-project-internal v0.4.8
[INFO] [stderr]    Compiling failure_derive v0.1.7
[INFO] [stderr]     Checking failure v0.1.7
[INFO] [stderr]     Checking futures-util v0.3.4
[INFO] [stderr]     Checking pin-project v0.4.8
[INFO] [stderr]     Checking h2 v0.2.4
[INFO] [stderr]     Checking futures-executor v0.3.4
[INFO] [stderr]     Checking futures v0.3.4
[INFO] [stderr]     Checking serde v1.0.106
[INFO] [stderr]     Checking hyper v0.13.4
[INFO] [stderr]     Checking hyper-tls v0.4.1
[INFO] [stderr]     Checking erased-serde v0.3.11
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking reqwest v0.10.4
[INFO] [stderr]     Checking telebot v0.3.1
[INFO] [stderr]     Checking 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] 19 | impl User {
[INFO] [stderr]    |     - help: you might be missing a type parameter: `<UTC>`
[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[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] 19 | impl User {
[INFO] [stderr]    |     - help: you might be missing a type parameter: `<UTC>`
[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[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try`
[INFO] [stderr]   --> src/user.rs:31:9
[INFO] [stderr]    |
[INFO] [stderr] 31 | /         CLIENT
[INFO] [stderr] 32 | |             .get(&format!("https://api.github.com/users/{}/events", self.username))
[INFO] [stderr] 33 | |             .send()?
[INFO] [stderr]    | |____________________^ the `?` operator cannot be applied to type `impl futures::Future`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::Try` is not implemented for `impl futures::Future`
[INFO] [stderr]    = note: required by `std::ops::Try::into_result`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `with_timezone` found for struct `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] error[E0599]: no method named `expect` found for struct `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] warning: unused import: `std::io::Read`
[INFO] [stderr]  --> src/user.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::io::Read;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[INFO] [stderr] error: could not compile `github-green-bot`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try`
[INFO] [stderr]   --> src/user.rs:31:9
[INFO] [stderr]    |
[INFO] [stderr] 31 | /         CLIENT
[INFO] [stderr] 32 | |             .get(&format!("https://api.github.com/users/{}/events", self.username))
[INFO] [stderr] 33 | |             .send()?
[INFO] [stderr]    | |____________________^ the `?` operator cannot be applied to type `impl futures::Future`
[INFO] [stderr]    |
[INFO] [stderr]    = help: the trait `std::ops::Try` is not implemented for `impl futures::Future`
[INFO] [stderr]    = note: required by `std::ops::Try::into_result`
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `with_timezone` found for struct `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] error[E0599]: no method named `expect` found for struct `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] warning: unused import: `std::io::Read`
[INFO] [stderr]  --> src/user.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 | use std::io::Read;
[INFO] [stderr]   |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0277, E0412, E0433, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0277`.
[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" "e5af1f1f9f52bca645cba4f65ee52034c7f46a9b4a7740636131c5ad1c55f317"`
[INFO] running `"docker" "rm" "-f" "e5af1f1f9f52bca645cba4f65ee52034c7f46a9b4a7740636131c5ad1c55f317"`
[INFO] [stdout] e5af1f1f9f52bca645cba4f65ee52034c7f46a9b4a7740636131c5ad1c55f317
