[INFO] cloning repository https://github.com/bennyyip/green-bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bennyyip/green-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyyip%2Fgreen-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyyip%2Fgreen-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8c949558056d78ccf89dc9759c740a30934efc34
[INFO] testing bennyyip/green-bot against 1.46.0 for beta-1.47-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyyip%2Fgreen-bot" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[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.46.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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]     Blocking waiting for file lock on package cache
[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] [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.46.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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 `Command { std: "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" "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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a10756e9eb5d2b37a50b63aa714af45e6148efe6d38c80f85ed40af332d26a5b
[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" "a10756e9eb5d2b37a50b63aa714af45e6148efe6d38c80f85ed40af332d26a5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a10756e9eb5d2b37a50b63aa714af45e6148efe6d38c80f85ed40af332d26a5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a10756e9eb5d2b37a50b63aa714af45e6148efe6d38c80f85ed40af332d26a5b", kill_on_drop: false }`
[INFO] [stdout] a10756e9eb5d2b37a50b63aa714af45e6148efe6d38c80f85ed40af332d26a5b
[INFO] running `Command { std: "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" "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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+1.46.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] f5302f7a6ce68f026c67ca5e353af2c15c79caea41ff28cb6963937d6d268eaf
[INFO] running `Command { std: "docker" "start" "-a" "f5302f7a6ce68f026c67ca5e353af2c15c79caea41ff28cb6963937d6d268eaf", kill_on_drop: false }`
[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 log v0.4.11
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling either v1.6.0
[INFO] [stderr]    Compiling futures-sink v0.3.5
[INFO] [stderr]    Compiling bytes v0.5.6
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]    Compiling openssl v0.10.30
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]    Compiling once_cell v1.4.1
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]    Compiling futures-io v0.3.5
[INFO] [stderr]    Compiling tinyvec v0.3.4
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]    Compiling encoding_rs v0.8.24
[INFO] [stderr]    Compiling ipnet v2.3.0
[INFO] [stderr]    Compiling scoped-tls v0.1.2
[INFO] [stderr]    Compiling json v0.12.4
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling indexmap v1.5.2
[INFO] [stderr]    Compiling tokio-sync v0.1.8
[INFO] [stderr]    Compiling tracing-core v0.1.15
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling openssl-sys v0.9.58
[INFO] [stderr]    Compiling error-chain v0.12.4
[INFO] [stderr]    Compiling addr2line v0.13.0
[INFO] [stderr]    Compiling futures-channel v0.3.5
[INFO] [stderr]    Compiling futures-task v0.3.5
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.13
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.34
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling socket2 v0.3.12
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling http v0.2.1
[INFO] [stderr]    Compiling backtrace v0.3.50
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling want v0.2.0
[INFO] [stderr]    Compiling tracing v0.1.19
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling telebot-derive v0.0.14
[INFO] [stderr]    Compiling tokio-executor v0.1.10
[INFO] [stderr]    Compiling mio v0.6.22
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling tokio-io v0.1.13
[INFO] [stderr]    Compiling http v0.1.21
[INFO] [stderr]    Compiling tokio-buf v0.1.1
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling tokio-timer v0.2.13
[INFO] [stderr]    Compiling tokio-current-thread v0.1.7
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling tokio-threadpool v0.1.18
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling url v2.1.1
[INFO] [stderr]    Compiling tokio-codec v0.1.2
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling mio-uds v0.6.8
[INFO] [stderr]    Compiling tokio v0.2.22
[INFO] [stderr]    Compiling futures-retry v0.3.3
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling tokio-reactor v0.1.12
[INFO] [stderr]    Compiling http-body v0.3.1
[INFO] [stderr]    Compiling tokio-fs v0.1.7
[INFO] [stderr]    Compiling chrono v0.4.15
[INFO] [stderr]    Compiling tokio-tcp v0.1.4
[INFO] [stderr]    Compiling tokio-uds v0.2.7
[INFO] [stderr]    Compiling tokio-udp v0.1.6
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling http-body v0.1.0
[INFO] [stderr]    Compiling common-multipart-rfc7578 v0.1.2
[INFO] [stderr]    Compiling tokio-core v0.1.17
[INFO] [stderr]    Compiling tokio-util v0.3.1
[INFO] [stderr]    Compiling tokio-tls v0.3.1
[INFO] [stderr]    Compiling hyper v0.12.35
[INFO] [stderr]    Compiling synstructure v0.12.4
[INFO] [stderr]    Compiling hyper-tls v0.3.2
[INFO] [stderr]    Compiling hyper-multipart-rfc7578 v0.3.1
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling failure v0.1.8
[INFO] [stderr]    Compiling pin-project v0.4.23
[INFO] [stderr]    Compiling futures-util v0.3.5
[INFO] [stderr]    Compiling h2 v0.2.6
[INFO] [stderr]    Compiling futures-executor v0.3.5
[INFO] [stderr]    Compiling futures v0.3.5
[INFO] [stderr]    Compiling serde_json v1.0.57
[INFO] [stderr]    Compiling serde_urlencoded v0.6.1
[INFO] [stderr]    Compiling erased-serde v0.3.12
[INFO] [stderr]    Compiling hyper v0.13.7
[INFO] [stderr]    Compiling telebot v0.3.1
[INFO] [stderr]    Compiling hyper-tls v0.4.3
[INFO] [stderr]    Compiling reqwest v0.10.8
[INFO] [stderr]    Compiling github-green-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `UTC`
[INFO] [stdout]   --> src/user.rs:16:35
[INFO] [stdout]    |
[INFO] [stdout] 16 |     static ref NOW:DateTime<UTC>= UTC::now();
[INFO] [stdout]    |                                   ^^^ use of undeclared type or module `UTC`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UTC` in this scope
[INFO] [stdout]   --> src/user.rs:16:29
[INFO] [stdout]    |
[INFO] [stdout] 16 |     static ref NOW:DateTime<UTC>= UTC::now();
[INFO] [stdout]    |                             ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UTC` in this scope
[INFO] [stdout]   --> src/user.rs:44:39
[INFO] [stdout]    |
[INFO] [stdout] 19 | impl User {
[INFO] [stdout]    |     - help: you might be missing a type parameter: `<UTC>`
[INFO] [stdout] ...
[INFO] [stdout] 44 |                     .parse::<DateTime<UTC>>()?
[INFO] [stdout]    |                                       ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `json::*`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use json::*;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `chrono::prelude::*`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use chrono::prelude::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `std::ops::Try`
[INFO] [stdout]   --> src/user.rs:31:9
[INFO] [stdout]    |
[INFO] [stdout] 31 | /         CLIENT
[INFO] [stdout] 32 | |             .get(&format!("https://api.github.com/users/{}/events", self.username))
[INFO] [stdout] 33 | |             .send()?
[INFO] [stdout]    | |____________________^ the `?` operator cannot be applied to type `impl futures::Future`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `std::ops::Try` is not implemented for `impl futures::Future`
[INFO] [stdout]    = note: required by `std::ops::Try::into_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `with_timezone` found for struct `user::NOW` in the current scope
[INFO] [stdout]   --> src/user.rs:46:49
[INFO] [stdout]    |
[INFO] [stdout] 14 | / lazy_static! {
[INFO] [stdout] 15 | |     static ref CLIENT: reqwest::Client =  reqwest::Client::new().expect("cannot create reqwest client");
[INFO] [stdout] 16 | |     static ref NOW:DateTime<UTC>= UTC::now();
[INFO] [stdout] 17 | | }
[INFO] [stdout]    | |_- method `with_timezone` not found for this
[INFO] [stdout] ...
[INFO] [stdout] 46 |                   if is_same_day(&push_date, &NOW.with_timezone(&self.timezone)) {
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^ method not found in `user::NOW`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `expect` found for struct `reqwest::Client` in the current scope
[INFO] [stdout]   --> src/user.rs:15:66
[INFO] [stdout]    |
[INFO] [stdout] 15 |     static ref CLIENT: reqwest::Client =  reqwest::Client::new().expect("cannot create reqwest client");
[INFO] [stdout]    |                                                                  ^^^^^^ method not found in `reqwest::Client`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/user.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors; 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `github-green-bot`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "f5302f7a6ce68f026c67ca5e353af2c15c79caea41ff28cb6963937d6d268eaf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f5302f7a6ce68f026c67ca5e353af2c15c79caea41ff28cb6963937d6d268eaf", kill_on_drop: false }`
[INFO] [stdout] f5302f7a6ce68f026c67ca5e353af2c15c79caea41ff28cb6963937d6d268eaf
