running 6 tests
test src\lib.rs - (line 8) - compile ... FAILED
test src\models\user\mod.rs - models::user (line 5) - compile ... FAILED
test src\lib.rs - (line 50) - compile ... FAILED
test src\models\subreddit\mod.rs - models::subreddit (line 5) - compile ... FAILED
test src\models\subreddit\mod.rs - models::subreddit (line 38) - compile ... FAILED
test src\lib.rs - (line 32) - compile ... FAILED
failures:
---- src\lib.rs - (line 8) stdout ----
error[E0277]: `Result<Me, RouxError>` is not a future
--> src\lib.rs:17:17
|
11 | .login()
| _________________^
12 | | .await;
| |______________^ `Result<Me, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<Me, RouxError>`
= note: Result<Me, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<Me, RouxError>`
help: remove the `.await`
|
11 - .login()
11 + .login();
|
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
Couldn't compile the test.
---- src\models\user\mod.rs - models::user (line 5) stdout ----
error[E0277]: `Result<BasicThing<Listing<BasicThing<OverviewData>>>, RouxError>` is not a future
--> src\models\user\mod.rs:16:39
|
13 | let overview = user.overview(None).await;
| ^^^^^^ `Result<BasicThing<Listing<BasicThing<OverviewData>>>, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<BasicThing<Listing<BasicThing<OverviewData>>>, RouxError>`
= note: Result<BasicThing<Listing<BasicThing<OverviewData>>>, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<BasicThing<Listing<BasicThing<OverviewData>>>, RouxError>`
help: remove the `.await`
|
13 - let overview = user.overview(None).await;
13 + let overview = user.overview(None);
|
error[E0277]: `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
--> src\models\user\mod.rs:19:41
|
16 | let submitted = user.submitted(None).await;
| ^^^^^^ `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
= note: Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
help: remove the `.await`
|
16 - let submitted = user.submitted(None).await;
16 + let submitted = user.submitted(None);
|
error[E0277]: `Result<BasicThing<Listing<BasicThing<CommentData>>>, RouxError>` is not a future
--> src\models\user\mod.rs:22:39
|
19 | let comments = user.comments(None).await;
| ^^^^^^ `Result<BasicThing<Listing<BasicThing<CommentData>>>, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<BasicThing<Listing<BasicThing<CommentData>>>, RouxError>`
= note: Result<BasicThing<Listing<BasicThing<CommentData>>>, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<BasicThing<Listing<BasicThing<CommentData>>>, RouxError>`
help: remove the `.await`
|
19 - let comments = user.comments(None).await;
19 + let comments = user.comments(None);
|
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0277`.
Couldn't compile the test.
---- src\lib.rs - (line 50) stdout ----
error[E0277]: `Result<Me, RouxError>` is not a future
--> src\lib.rs:59:17
|
11 | .login()
| _________________^
12 | | .await;
| |______________^ `Result<Me, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<Me, RouxError>`
= note: Result<Me, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<Me, RouxError>`
help: remove the `.await`
|
11 - .login()
11 + .login();
|
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
Couldn't compile the test.
---- src\models\subreddit\mod.rs - models::subreddit (line 5) stdout ----
error[E0277]: `Result<BasicThing<Listing<BasicThing<ModeratorData>>>, RouxError>` is not a future
--> src\models\subreddit\mod.rs:15:44
|
12 | let moderators = subreddit.moderators().await;
| ^^^^^^ `Result<BasicThing<Listing<BasicThing<ModeratorData>>>, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<BasicThing<Listing<BasicThing<ModeratorData>>>, RouxError>`
= note: Result<BasicThing<Listing<BasicThing<ModeratorData>>>, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<BasicThing<Listing<BasicThing<ModeratorData>>>, RouxError>`
help: remove the `.await`
|
12 - let moderators = subreddit.moderators().await;
12 + let moderators = subreddit.moderators();
|
error[E0277]: `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
--> src\models\subreddit\mod.rs:18:38
|
15 | let hot = subreddit.hot(25, None).await;
| ^^^^^^ `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
= note: Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
help: remove the `.await`
|
15 - let hot = subreddit.hot(25, None).await;
15 + let hot = subreddit.hot(25, None);
|
error[E0277]: `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
--> src\models\subreddit\mod.rs:21:44
|
18 | let rising = subreddit.rising(30, None).await;
| ^^^^^^ `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
= note: Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
help: remove the `.await`
|
18 - let rising = subreddit.rising(30, None).await;
18 + let rising = subreddit.rising(30, None);
|
error[E0277]: `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
--> src\models\subreddit\mod.rs:24:38
|
21 | let top = subreddit.top(10, None).await;
| ^^^^^^ `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
= note: Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
help: remove the `.await`
|
21 - let top = subreddit.top(10, None).await;
21 + let top = subreddit.top(10, None);
|
error[E0277]: `Result<BasicThing<Listing<BasicThing<CommentData>>>, RouxError>` is not a future
--> src\models\subreddit\mod.rs:28:68
|
25 | let latest_comments = subreddit.latest_comments(None, Some(25)).await;
| ^^^^^^ `Result<BasicThing<Listing<BasicThing<CommentData>>>, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<BasicThing<Listing<BasicThing<CommentData>>>, RouxError>`
= note: Result<BasicThing<Listing<BasicThing<CommentData>>>, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<BasicThing<Listing<BasicThing<CommentData>>>, RouxError>`
help: remove the `.await`
|
25 - let latest_comments = subreddit.latest_comments(None, Some(25)).await;
25 + let latest_comments = subreddit.latest_comments(None, Some(25));
|
error: aborting due to 5 previous errors
For more information about this error, try `rustc --explain E0277`.
Couldn't compile the test.
---- src\models\subreddit\mod.rs - models::subreddit (line 38) stdout ----
error[E0277]: `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
--> src\models\subreddit\mod.rs:49:47
|
13 | let top = subreddit.top(25, Some(options)).await;
| ^^^^^^ `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
= note: Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
help: remove the `.await`
|
13 - let top = subreddit.top(25, Some(options)).await;
13 + let top = subreddit.top(25, Some(options));
|
error[E0277]: `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
--> src\models\subreddit\mod.rs:52:38
|
16 | let hot = subreddit.hot(25, None).await;
| ^^^^^^ `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
= note: Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
help: remove the `.await`
|
16 - let hot = subreddit.hot(25, None).await;
16 + let hot = subreddit.hot(25, None);
|
error[E0277]: `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
--> src\models\subreddit\mod.rs:59:58
|
23 | let next_hot = subreddit.hot(25, Some(after_options)).await;
| ^^^^^^ `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
= note: Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<BasicThing<Listing<BasicThing<SubmissionData>>>, RouxError>`
help: remove the `.await`
|
23 - let next_hot = subreddit.hot(25, Some(after_options)).await;
23 + let next_hot = subreddit.hot(25, Some(after_options));
|
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0277`.
Couldn't compile the test.
---- src\lib.rs - (line 32) stdout ----
error[E0277]: `Result<Me, RouxError>` is not a future
--> src\lib.rs:41:17
|
11 | .login()
| _________________^
12 | | .await;
| |______________^ `Result<Me, RouxError>` is not a future
|
= help: the trait `Future` is not implemented for `Result<Me, RouxError>`
= note: Result<Me, RouxError> must be a future or must implement `IntoFuture` to be awaited
= note: required because of the requirements on the impl of `IntoFuture` for `Result<Me, RouxError>`
help: remove the `.await`
|
11 - .login()
11 + .login();
|
error: aborting due to previous error
For more information about this error, try `rustc --explain E0277`.
Couldn't compile the test.
failures:
src\lib.rs - (line 32)
src\lib.rs - (line 50)
src\lib.rs - (line 8)
src\models\subreddit\mod.rs - models::subreddit (line 38)
src\models\subreddit\mod.rs - models::subreddit (line 5)
src\models\user\mod.rs - models::user (line 5)