Last active
April 26, 2019 01:58
-
-
Save gugahoa/1036d15004fd4f8f76919e75d37a7cba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# select build image | |
FROM rustlang/rust:nightly | |
# create a new empty shell project | |
RUN USER=root cargo new --lib ww_subscription | |
WORKDIR /ww_subscription | |
# copy over your manifests | |
COPY ./Cargo.lock ./Cargo.lock | |
COPY ./Cargo.toml ./Cargo.toml | |
# this build step will cache your dependencies | |
RUN cargo build --release | |
RUN rm src/*.rs | |
# copy your source tree | |
COPY ./src ./src | |
# build for release | |
RUN rm ./target/release/deps/ww_subscription* | |
RUN cargo build --release | |
# our final base | |
FROM rust:latest | |
# copy the build artifact from the build stage | |
COPY --from=build /ww_subscription/target/release/ww_subscription . | |
# set the startup command to run your binary | |
CMD ["./ww-subscription"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiling ww_subscription v0.1.0 (/ww_subscription) | |
error[E0433]: failed to resolve: could not find `schema` in `ww_subscription` | |
--> src/main.rs:35:34 | |
| | |
35 | use ww_subscription::schema::novels::dsl::*; | |
| ^^^^^^ could not find `schema` in `ww_subscription` | |
error[E0433]: failed to resolve: could not find `schema` in `ww_subscription` | |
--> src/main.rs:46:34 | |
| | |
46 | use ww_subscription::schema::novel_history::dsl::*; | |
| ^^^^^^ could not find `schema` in `ww_subscription` | |
error[E0433]: failed to resolve: could not find `schema` in `ww_subscription` | |
--> src/main.rs:65:42 | |
| | |
65 | use ww_subscription::schema::novels::dsl::*; | |
| ^^^^^^ could not find `schema` in `ww_subscription` | |
error[E0432]: unresolved import `ww_subscription::models` | |
--> src/main.rs:1:22 | |
| | |
1 | use ww_subscription::models::*; | |
| ^^^^^^ could not find `models` in `ww_subscription` | |
error[E0432]: unresolved import `ww_subscription::schema` | |
--> src/main.rs:86:34 | |
| | |
86 | use ww_subscription::schema::novel_history; | |
| ^^^^^^ could not find `schema` in `ww_subscription` | |
error[E0432]: unresolved import `ww_subscription::schema` | |
--> src/main.rs:94:42 | |
| | |
94 | use ww_subscription::schema::subscriptions; | |
| ^^^^^^ could not find `schema` in `ww_subscription` | |
error[E0425]: cannot find function `establish_connection` in this scope | |
--> src/main.rs:17:22 | |
| | |
17 | let connection = establish_connection(); | |
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope | |
error[E0425]: cannot find function `telegram_bot` in this scope | |
--> src/main.rs:20:5 | |
| | |
20 | telegram_bot(receiver); | |
| ^^^^^^^^^^^^ not found in this scope | |
error[E0425]: cannot find value `novels` in this scope | |
--> src/main.rs:36:13 | |
| | |
36 | novels | |
| ^^^^^^ not found in this scope | |
error[E0425]: cannot find value `name` in this scope | |
--> src/main.rs:37:25 | |
| | |
37 | .filter(name.eq_any(novels_map.keys())) | |
| ^^^^ not found in this scope | |
error[E0412]: cannot find type `Novel` in this scope | |
--> src/main.rs:38:25 | |
| | |
38 | .load::<Novel>(&connection) | |
| ^^^^^ not found in this scope | |
error[E0425]: cannot find value `novel_history` in this scope | |
--> src/main.rs:47:13 | |
| | |
47 | novel_history | |
| ^^^^^^^^^^^^^ not found in this scope | |
error[E0425]: cannot find value `link` in this scope | |
--> src/main.rs:48:25 | |
| | |
48 | .filter(link.eq_any(novels_map.values())) | |
| ^^^^ not found in this scope | |
error[E0412]: cannot find type `NovelHistory` in this scope | |
--> src/main.rs:49:25 | |
| | |
49 | .load::<NovelHistory>(&connection) | |
| ^^^^^^^^^^^^ not found in this scope | |
error[E0422]: cannot find struct, variant or union type `NewNovel` in this scope | |
--> src/main.rs:63:37 | |
| | |
63 | let new_novel = NewNovel { name: &novel }; | |
| ^^^^^^^^ not found in this scope | |
error[E0425]: cannot find value `novels` in this scope | |
--> src/main.rs:67:41 | |
| | |
67 | diesel::insert_into(novels) | |
| ^^^^^^ help: a local variable with a similar name exists: `novel` | |
error[E0425]: cannot find value `id` in this scope | |
--> src/main.rs:69:36 | |
| | |
69 | .returning(id) | |
| ^^ not found in this scope | |
help: possible candidate is found in another module, you can import it into scope | |
| | |
1 | use std::process::id; | |
| | |
error[E0425]: cannot find function `establish_connection` in this scope | |
--> src/main.rs:85:30 | |
| | |
85 | let connection = establish_connection(); | |
| ^^^^^^^^^^^^^^^^^^^^ not found in this scope | |
error[E0422]: cannot find struct, variant or union type `NewNovelHistory` in this scope | |
--> src/main.rs:88:26 | |
| | |
88 | .values(&NewNovelHistory { | |
| ^^^^^^^^^^^^^^^ not found in this scope | |
error[E0412]: cannot find type `Subscription` in this scope | |
--> src/main.rs:97:33 | |
| | |
97 | .load::<Subscription>(&connection) | |
| ^^^^^^^^^^^^ not found in this scope | |
warning: unused import: `ww_subscription::models::*` | |
--> src/main.rs:1:5 | |
| | |
1 | use ww_subscription::models::*; | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| | |
= note: #[warn(unused_imports)] on by default | |
warning: unused import: `ww_subscription::*` | |
--> src/main.rs:2:5 | |
| | |
2 | use ww_subscription::*; | |
| ^^^^^^^^^^^^^^^^^^ | |
warning: unused import: `std::env` | |
--> src/main.rs:5:5 | |
| | |
5 | use std::env; | |
| ^^^^^^^^ | |
warning: unused import: `telebot::functions::*` | |
--> src/main.rs:13:5 | |
| | |
13 | use telebot::functions::*; | |
| ^^^^^^^^^^^^^^^^^^^^^ | |
warning: unused import: `ww_subscription::schema::novels::dsl::*` | |
--> src/main.rs:35:17 | |
| | |
35 | use ww_subscription::schema::novels::dsl::*; | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
warning: unused import: `ww_subscription::schema::novel_history::dsl::*` | |
--> src/main.rs:46:17 | |
| | |
46 | use ww_subscription::schema::novel_history::dsl::*; | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
warning: unused import: `ww_subscription::schema::novels::dsl::*` | |
--> src/main.rs:65:25 | |
| | |
65 | use ww_subscription::schema::novels::dsl::*; | |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
error[E0275]: overflow evaluating the requirement `diesel::query_builder::select_statement::SelectStatement<diesel::pg::metadata_lookup::pg_type::table>: diesel::insertable::Insertable<_>` | |
--> src/main.rs:68:26 | |
| | |
68 | .values(&new_novel) | |
| ^^^^^^ | |
| | |
= help: consider adding a `#![recursion_limit="128"]` attribute to your crate | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `diesel::pg::metadata_lookup::pg_type::table` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&diesel::pg::metadata_lookup::pg_type::table` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&diesel::pg::metadata_lookup::pg_type::table, &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(diesel::pg::metadata_lookup::pg_type::table, _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&((((((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&(((((((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `(&(((((((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), &_, &_, &_, &_)` | |
= note: required because of the requirements on the impl of `diesel::insertable::Insertable<_>` for `&((((((((((((((((((((((((((((((diesel::pg::metadata_lookup::pg_type::table, _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _), _, _, _, _)` | |
error: aborting due to 21 previous errors | |
Some errors have detailed explanations: E0275, E0412, E0422, E0425, E0432, E0433. | |
For more information about an error, try `rustc --explain E0275`. | |
error: Could not compile `ww_subscription`. | |
To learn more, run the command again with --verbose. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment