[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-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/bennyyip/green-bot"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/gh/bennyyip/green-bot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/bennyyip/green-bot" "work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/gh/bennyyip/green-bot"` [INFO] [stderr] Cloning into 'work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/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#0f88167f89fffe321590c5148f21b7d51d44388d [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of bennyyip/green-bot on toolchain try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-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-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/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-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/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" "+0f88167f89fffe321590c5148f21b7d51d44388d-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-58948/sources/master#0f88167f89fffe321590c5148f21b7d51d44388d/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" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+0f88167f89fffe321590c5148f21b7d51d44388d-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking bennyyip/green-bot against try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b for pr-58948 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-58948/worker-0/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-58948/sources/try#a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b/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" "+a829e31f924ec11e400e8d0c2fd2c4bb8937ae6b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] c2da18515cfe5b20dc84249b54c83020dabc549399d503a59309ae9fd488ae0a [INFO] running `"docker" "start" "-a" "c2da18515cfe5b20dc84249b54c83020dabc549399d503a59309ae9fd488ae0a"` [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 erased-serde v0.3.9 [INFO] [stderr] Compiling telebot-derive v0.0.12 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio v0.1.17 [INFO] [stderr] Checking hyper v0.12.25 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking hyper-multipart-rfc7578 v0.2.0-alpha2 [INFO] [stderr] Checking reqwest v0.9.11 [INFO] [stderr] Checking telebot v0.2.10 [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] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | / error_chain!{ [INFO] [stderr] 13 | | foreign_links { [INFO] [stderr] 14 | | IO(::std::io::Error); [INFO] [stderr] 15 | | Net(::reqwest::Error); [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [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] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | / error_chain!{ [INFO] [stderr] 13 | | foreign_links { [INFO] [stderr] 14 | | IO(::std::io::Error); [INFO] [stderr] 15 | | Net(::reqwest::Error); [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [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] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | / error_chain!{ [INFO] [stderr] 13 | | foreign_links { [INFO] [stderr] 14 | | IO(::std::io::Error); [INFO] [stderr] 15 | | Net(::reqwest::Error); [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [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] warning: use of deprecated item 'std::error::Error::cause': replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | / error_chain!{ [INFO] [stderr] 13 | | foreign_links { [INFO] [stderr] 14 | | IO(::std::io::Error); [INFO] [stderr] 15 | | Net(::reqwest::Error); [INFO] [stderr] ... | [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [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: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: 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 occurred: 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" "c2da18515cfe5b20dc84249b54c83020dabc549399d503a59309ae9fd488ae0a"` [INFO] running `"docker" "rm" "-f" "c2da18515cfe5b20dc84249b54c83020dabc549399d503a59309ae9fd488ae0a"` [INFO] [stdout] c2da18515cfe5b20dc84249b54c83020dabc549399d503a59309ae9fd488ae0a