[INFO] updating cached repository bennyyip/read-it-now-bot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/bennyyip/read-it-now-bot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/bennyyip/read-it-now-bot" "work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/bennyyip/read-it-now-bot"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/bennyyip/read-it-now-bot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/bennyyip/read-it-now-bot" "work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/bennyyip/read-it-now-bot"` [INFO] [stderr] Cloning into 'work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/bennyyip/read-it-now-bot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 7dd2a3bdb55437691e392ae72d38da4844cbb8e4 [INFO] sha for GitHub repo bennyyip/read-it-now-bot: 7dd2a3bdb55437691e392ae72d38da4844cbb8e4 [INFO] validating manifest of bennyyip/read-it-now-bot on toolchain master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of bennyyip/read-it-now-bot on toolchain try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing bennyyip/read-it-now-bot [INFO] removed path dependency telebot from bennyyip/read-it-now-bot [INFO] finished frobbing bennyyip/read-it-now-bot [INFO] frobbed toml for bennyyip/read-it-now-bot written to work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/bennyyip/read-it-now-bot/Cargo.toml [INFO] started frobbing bennyyip/read-it-now-bot [INFO] removed path dependency telebot from bennyyip/read-it-now-bot [INFO] finished frobbing bennyyip/read-it-now-bot [INFO] frobbed toml for bennyyip/read-it-now-bot written to work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/bennyyip/read-it-now-bot/Cargo.toml [INFO] crate bennyyip/read-it-now-bot already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-59199/sources/master#bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7/gh/bennyyip/read-it-now-bot/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+bc44841ad2a2ad5f6c5e67b9e35ed8e7e71d4dc7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking bennyyip/read-it-now-bot against try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b for pr-59199 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-59199/worker-0/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-59199/sources/try#68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b/gh/bennyyip/read-it-now-bot:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/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" "+68fcf881bd1e4dbfc21e22f8c7a56b8a5d8e8f7b-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ce7afe4785651893472a147ec66dd34a534b837c55825316690869654ddd9d6f [INFO] running `"docker" "start" "-a" "ce7afe4785651893472a147ec66dd34a534b837c55825316690869654ddd9d6f"` [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 telebot-derive v0.0.12 [INFO] [stderr] Checking erased-serde v0.3.9 [INFO] [stderr] Checking tokio-threadpool v0.1.12 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-fs v0.1.6 [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.1 [INFO] [stderr] Checking hyper-multipart-rfc7578 v0.2.0-alpha2 [INFO] [stderr] Checking telebot v0.2.10 [INFO] [stderr] Checking reqwest v0.9.11 [INFO] [stderr] Checking read-it-now-bot v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0425]: cannot find function `sample` in module `rand` [INFO] [stderr] --> src/main.rs:44:30 [INFO] [stderr] | [INFO] [stderr] 44 | let sample_items = rand::sample(&mut rng, &items, pocket.article_count()); [INFO] [stderr] | ^^^^^^ not found in `rand` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 15 | use rand::seq::index::sample; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in module `telebot` [INFO] [stderr] --> src/main.rs:66:61 [INFO] [stderr] | [INFO] [stderr] 66 | Box>; [INFO] [stderr] | ^^^^^ not found in `telebot` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use error_chain::example_generated::Error; [INFO] [stderr] | [INFO] [stderr] 15 | use error_chain::example_generated::inner::Error; [INFO] [stderr] | [INFO] [stderr] 15 | use error_chain::mock::Error; [INFO] [stderr] | [INFO] [stderr] 15 | use errors::Error; [INFO] [stderr] | [INFO] [stderr] and 12 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in module `telebot` [INFO] [stderr] --> src/main.rs:69:57 [INFO] [stderr] | [INFO] [stderr] 69 | Box> [INFO] [stderr] | ^^^^^ not found in `telebot` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use error_chain::example_generated::Error; [INFO] [stderr] | [INFO] [stderr] 15 | use error_chain::example_generated::inner::Error; [INFO] [stderr] | [INFO] [stderr] 15 | use error_chain::mock::Error; [INFO] [stderr] | [INFO] [stderr] 15 | use errors::Error; [INFO] [stderr] | [INFO] [stderr] and 12 other candidates [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `sample` in module `rand` [INFO] [stderr] --> src/main.rs:44:30 [INFO] [stderr] | [INFO] [stderr] 44 | let sample_items = rand::sample(&mut rng, &items, pocket.article_count()); [INFO] [stderr] | ^^^^^^ not found in `rand` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 15 | use rand::seq::index::sample; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in module `telebot` [INFO] [stderr] --> src/main.rs:66:61 [INFO] [stderr] | [INFO] [stderr] 66 | Box>; [INFO] [stderr] | ^^^^^ not found in `telebot` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use error_chain::example_generated::Error; [INFO] [stderr] | [INFO] [stderr] 15 | use error_chain::example_generated::inner::Error; [INFO] [stderr] | [INFO] [stderr] 15 | use error_chain::mock::Error; [INFO] [stderr] | [INFO] [stderr] 15 | use errors::Error; [INFO] [stderr] | [INFO] [stderr] and 12 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in module `telebot` [INFO] [stderr] --> src/main.rs:69:57 [INFO] [stderr] | [INFO] [stderr] 69 | Box> [INFO] [stderr] | ^^^^^ not found in `telebot` [INFO] [stderr] help: possible candidates are found in other modules, you can import them into scope [INFO] [stderr] | [INFO] [stderr] 15 | use error_chain::example_generated::Error; [INFO] [stderr] | [INFO] [stderr] 15 | use error_chain::example_generated::inner::Error; [INFO] [stderr] | [INFO] [stderr] 15 | use error_chain::mock::Error; [INFO] [stderr] | [INFO] [stderr] 15 | use errors::Error; [INFO] [stderr] | [INFO] [stderr] and 12 other candidates [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `telebot::RcBot: futures::Future` is not satisfied [INFO] [stderr] --> src/main.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 39 | let bot = lp.run(bot::RcBot::new(handle, &token)).unwrap(); [INFO] [stderr] | ^^^ the trait `futures::Future` is not implemented for `telebot::RcBot` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `telebot::RcBot: futures::Future` is not satisfied [INFO] [stderr] --> src/main.rs:39:18 [INFO] [stderr] | [INFO] [stderr] 39 | let bot = lp.run(bot::RcBot::new(handle, &token)).unwrap(); [INFO] [stderr] | ^^^ the trait `futures::Future` is not implemented for `telebot::RcBot` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'futures::Future::boxed': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/main.rs:65:46 [INFO] [stderr] | [INFO] [stderr] 65 | let mut future = futures::future::ok(()).boxed() as [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'futures::Future::boxed': removed without replacement, recommended to use a local extension trait or function if needed, more details in https://github.com/rust-lang-nursery/futures-rs/issues/228 [INFO] [stderr] --> src/main.rs:65:46 [INFO] [stderr] | [INFO] [stderr] 65 | let mut future = futures::future::ok(()).boxed() as [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(deprecated)] on by default [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `expect` found for type `reqwest::Client` in the current scope [INFO] [stderr] --> src/pocket.rs:52:45 [INFO] [stderr] | [INFO] [stderr] 52 | let client = reqwest::Client::new().expect("cannot create 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/pocket.rs:52:45 [INFO] [stderr] | [INFO] [stderr] 52 | let client = reqwest::Client::new().expect("cannot create client"); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `telebot::functions` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use telebot::functions::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0412, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `read-it-now-bot`. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] warning: unused import: `telebot::functions` [INFO] [stderr] --> src/main.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | use telebot::functions::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors occurred: E0277, E0412, E0425, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `read-it-now-bot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "ce7afe4785651893472a147ec66dd34a534b837c55825316690869654ddd9d6f"` [INFO] running `"docker" "rm" "-f" "ce7afe4785651893472a147ec66dd34a534b837c55825316690869654ddd9d6f"` [INFO] [stdout] ce7afe4785651893472a147ec66dd34a534b837c55825316690869654ddd9d6f