[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.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbennyyip%2Fgreen-bot" "/workspace/builds/worker-9/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bennyyip/green-bot on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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-9/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.44.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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-9/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" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.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] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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.44.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] bacca202c5af64b6b23ac061a13d7623091a307c9f18012649b24e90f1b4b32c [INFO] running `"docker" "start" "-a" "bacca202c5af64b6b23ac061a13d7623091a307c9f18012649b24e90f1b4b32c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [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 openssl v0.10.29 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling error-chain v0.12.2 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling telebot-derive v0.0.14 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling futures-retry v0.3.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.17 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling common-multipart-rfc7578 v0.1.2 [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.3 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling hyper-multipart-rfc7578 v0.3.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling erased-serde v0.3.11 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling telebot v0.3.1 [INFO] [stderr] Compiling reqwest v0.10.6 [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] 19 | impl User { [INFO] [stderr] | - help: you might be missing a type parameter: `` [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[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::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; 3 warnings emitted [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" "bacca202c5af64b6b23ac061a13d7623091a307c9f18012649b24e90f1b4b32c"` [INFO] running `"docker" "rm" "-f" "bacca202c5af64b6b23ac061a13d7623091a307c9f18012649b24e90f1b4b32c"` [INFO] [stdout] bacca202c5af64b6b23ac061a13d7623091a307c9f18012649b24e90f1b4b32c