[INFO] updating cached repository bennyyip/green-bot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/bennyyip/green-bot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/bennyyip/green-bot" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/bennyyip/green-bot"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/bennyyip/green-bot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/bennyyip/green-bot" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/bennyyip/green-bot"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/bennyyip/green-bot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8c949558056d78ccf89dc9759c740a30934efc34 [INFO] sha for GitHub repo bennyyip/green-bot: 8c949558056d78ccf89dc9759c740a30934efc34 [INFO] validating manifest of bennyyip/green-bot on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of bennyyip/green-bot on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing bennyyip/green-bot [INFO] removed path dependency telebot from bennyyip/green-bot [INFO] finished frobbing bennyyip/green-bot [INFO] frobbed toml for bennyyip/green-bot written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/bennyyip/green-bot/Cargo.toml [INFO] started frobbing bennyyip/green-bot [INFO] removed path dependency telebot from bennyyip/green-bot [INFO] finished frobbing bennyyip/green-bot [INFO] frobbed toml for bennyyip/green-bot written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/bennyyip/green-bot/Cargo.toml [INFO] crate bennyyip/green-bot already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/bennyyip/green-bot/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking bennyyip/green-bot against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-0/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/bennyyip/green-bot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 390c30feb4f113dbc2f61e547f646d63341e0c8676251e1545a236db596375a8 [INFO] running `"docker" "start" "-a" "390c30feb4f113dbc2f61e547f646d63341e0c8676251e1545a236db596375a8"` [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.11.15 [INFO] [stderr] Checking want v0.2.0 [INFO] [stderr] Compiling telebot-derive v0.0.13 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking error-chain v0.12.1 [INFO] [stderr] Checking native-tls v0.2.3 [INFO] [stderr] Checking chrono v0.4.7 [INFO] [stderr] Checking common-multipart-rfc7578 v0.1.1 [INFO] [stderr] Checking publicsuffix v1.5.2 [INFO] [stderr] Checking erased-serde v0.3.9 [INFO] [stderr] Checking tokio-threadpool v0.1.15 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking hyper v0.12.33 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking hyper-multipart-rfc7578 v0.3.0 [INFO] [stderr] Checking telebot v0.3.0 [INFO] [stderr] Checking reqwest v0.9.19 [INFO] [stderr] Checking github-green-bot v0.1.0 (/opt/crater/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] | ^^^^^^^^^^^^^ [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 `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] | ^^^^^^^^^^^^^ [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] | ^^^^^^ [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] | ^^^^^^ [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: 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" "390c30feb4f113dbc2f61e547f646d63341e0c8676251e1545a236db596375a8"` [INFO] running `"docker" "rm" "-f" "390c30feb4f113dbc2f61e547f646d63341e0c8676251e1545a236db596375a8"` [INFO] [stdout] 390c30feb4f113dbc2f61e547f646d63341e0c8676251e1545a236db596375a8