[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 try#ba14a92a10441c4b839ce71e6ef5f7a48bbff18f for prs-64470-and-65389 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyyip%2Fgreen-bot" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bennyyip/green-bot on toolchain ba14a92a10441c4b839ce71e6ef5f7a48bbff18f [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "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-6/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" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "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-6/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" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+ba14a92a10441c4b839ce71e6ef5f7a48bbff18f" "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] a34758bacd5d62da2d594fe92abb49741f81524dd6045d84549557a218082d34 [INFO] running `"docker" "start" "-a" "a34758bacd5d62da2d594fe92abb49741f81524dd6045d84549557a218082d34"` [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] Blocking waiting for file lock on package cache [INFO] [stderr] Checking json v0.12.0 [INFO] [stderr] Compiling telebot-derive v0.0.13 [INFO] [stderr] Checking erased-serde v0.3.9 [INFO] [stderr] Checking hyper-multipart-rfc7578 v0.3.1 [INFO] [stderr] Checking reqwest v0.9.22 [INFO] [stderr] Checking telebot v0.3.0 [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::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[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] warning: build failed, waiting for other jobs to finish... [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" "a34758bacd5d62da2d594fe92abb49741f81524dd6045d84549557a218082d34"` [INFO] running `"docker" "rm" "-f" "a34758bacd5d62da2d594fe92abb49741f81524dd6045d84549557a218082d34"` [INFO] [stdout] a34758bacd5d62da2d594fe92abb49741f81524dd6045d84549557a218082d34