[INFO] updating cached repository https://github.com/bennyyip/green-bot [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/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 beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyyip%2Fgreen-bot" "work/builds/worker-10/source"` [INFO] [stderr] Cloning into 'work/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bennyyip/green-bot on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "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 work/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/bennyyip/green-bot already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "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 /big/crater/work/builds/worker-10/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "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" "/big/crater/work/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 3bec59b2773a678460f7d5cc974da65f04b46a7a017609997f1eb3ecebc5fcc5 [INFO] running `"docker" "start" "-a" "3bec59b2773a678460f7d5cc974da65f04b46a7a017609997f1eb3ecebc5fcc5"` [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 ryu v1.0.0 [INFO] [stderr] Compiling mime v0.3.14 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling json v0.12.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling unicase v2.5.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling mio v0.6.19 [INFO] [stderr] Compiling telebot-derive v0.0.13 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling erased-serde v0.3.9 [INFO] [stderr] Compiling tokio-threadpool v0.1.16 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling publicsuffix v1.5.3 [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 failure v0.1.5 [INFO] [stderr] Compiling chrono v0.4.9 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling common-multipart-rfc7578 v0.1.1 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling hyper-multipart-rfc7578 v0.3.0 [INFO] [stderr] Compiling telebot v0.3.0 [INFO] [stderr] Compiling reqwest v0.9.21 [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::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::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::>()? [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::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" "3bec59b2773a678460f7d5cc974da65f04b46a7a017609997f1eb3ecebc5fcc5"` [INFO] running `"docker" "rm" "-f" "3bec59b2773a678460f7d5cc974da65f04b46a7a017609997f1eb3ecebc5fcc5"` [INFO] [stdout] 3bec59b2773a678460f7d5cc974da65f04b46a7a017609997f1eb3ecebc5fcc5