|
| 1 | +error[E0433]: failed to resolve: use of undeclared crate or module `post` |
| 2 | + --> $DIR/selectable.rs:58:16 |
| 3 | + | |
| 4 | +58 | #[table_name = "post"] |
| 5 | + | ^^^^^^ use of undeclared crate or module `post` |
| 6 | + | |
| 7 | + = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) |
| 8 | + |
| 9 | +error[E0412]: cannot find type `titel` in module `posts` |
| 10 | + --> $DIR/selectable.rs:53:5 |
| 11 | + | |
| 12 | +53 | titel: String |
| 13 | + | ^^^^^^^^^^^^^ not found in `posts` |
| 14 | + |
| 15 | +error[E0425]: cannot find value `titel` in module `posts` |
| 16 | + --> $DIR/selectable.rs:53:5 |
| 17 | + | |
| 18 | +53 | titel: String |
| 19 | + | ^^^^^^^^^^^^^ not found in `posts` |
| 20 | + |
| 21 | +error[E0277]: the trait bound `SelectStatement<JoinOn<diesel::query_source::joins::Join<users::table, posts::table, LeftOuter>, Grouped<diesel::expression::operators::Eq<diesel::expression::nullable::Nullable<posts::columns::user_id>, diesel::expression::nullable::Nullable<users::columns::id>>>>>: LoadIntoDsl<_, UserWithEmbeddedPost>` is not satisfied |
| 22 | + --> $DIR/selectable.rs:136:10 |
| 23 | + | |
| 24 | +136 | .load_into::<UserWithEmbeddedPost>(&conn) |
| 25 | + | ^^^^^^^^^ the trait `LoadIntoDsl<_, UserWithEmbeddedPost>` is not implemented for `SelectStatement<JoinOn<diesel::query_source::joins::Join<users::table, posts::table, LeftOuter>, Grouped<diesel::expression::operators::Eq<diesel::expression::nullable::Nullable<posts::columns::user_id>, diesel::expression::nullable::Nullable<users::columns::id>>>>>` |
| 26 | + | |
| 27 | + = help: the following implementations were found: |
| 28 | + <SelectStatement<F, S, D, W, O, LOf, G, LC> as LoadIntoDsl<Conn, U>> |
| 29 | + |
| 30 | +error[E0277]: the trait bound `SelectStatement<JoinOn<diesel::query_source::joins::Join<users::table, posts::table, Inner>, Grouped<diesel::expression::operators::Eq<diesel::expression::nullable::Nullable<posts::columns::user_id>, diesel::expression::nullable::Nullable<users::columns::id>>>>, diesel::query_builder::select_clause::DefaultSelectClause, diesel::query_builder::distinct_clause::NoDistinctClause, diesel::query_builder::where_clause::NoWhereClause, diesel::query_builder::order_clause::NoOrderClause, LimitOffsetClause<NoLimitClause, NoOffsetClause>, diesel::query_builder::group_by_clause::GroupByClause<posts::columns::id>>: LoadIntoDsl<_, UserWithEmbeddedPost>` is not satisfied |
| 31 | + --> $DIR/selectable.rs:143:10 |
| 32 | + | |
| 33 | +143 | .load_into::<UserWithEmbeddedPost>(&conn) |
| 34 | + | ^^^^^^^^^ the trait `LoadIntoDsl<_, UserWithEmbeddedPost>` is not implemented for `SelectStatement<JoinOn<diesel::query_source::joins::Join<users::table, posts::table, Inner>, Grouped<diesel::expression::operators::Eq<diesel::expression::nullable::Nullable<posts::columns::user_id>, diesel::expression::nullable::Nullable<users::columns::id>>>>, diesel::query_builder::select_clause::DefaultSelectClause, diesel::query_builder::distinct_clause::NoDistinctClause, diesel::query_builder::where_clause::NoWhereClause, diesel::query_builder::order_clause::NoOrderClause, LimitOffsetClause<NoLimitClause, NoOffsetClause>, diesel::query_builder::group_by_clause::GroupByClause<posts::columns::id>>` |
| 35 | + | |
| 36 | + = help: the following implementations were found: |
| 37 | + <SelectStatement<F, S, D, W, O, LOf, G, LC> as LoadIntoDsl<Conn, U>> |
| 38 | + |
| 39 | +error[E0277]: the trait bound `SelectStatement<JoinOn<diesel::query_source::joins::Join<users::table, posts::table, Inner>, Grouped<diesel::expression::operators::Eq<diesel::expression::nullable::Nullable<posts::columns::user_id>, diesel::expression::nullable::Nullable<users::columns::id>>>>>: LoadIntoDsl<_, UserWithPostCount>` is not satisfied |
| 40 | + --> $DIR/selectable.rs:149:10 |
| 41 | + | |
| 42 | +149 | .load_into::<UserWithPostCount>(&conn) |
| 43 | + | ^^^^^^^^^ the trait `LoadIntoDsl<_, UserWithPostCount>` is not implemented for `SelectStatement<JoinOn<diesel::query_source::joins::Join<users::table, posts::table, Inner>, Grouped<diesel::expression::operators::Eq<diesel::expression::nullable::Nullable<posts::columns::user_id>, diesel::expression::nullable::Nullable<users::columns::id>>>>>` |
| 44 | + | |
| 45 | + = help: the following implementations were found: |
| 46 | + <SelectStatement<F, S, D, W, O, LOf, G, LC> as LoadIntoDsl<Conn, U>> |
| 47 | + |
| 48 | +error[E0277]: the trait bound `InsertStatement<users::table, ValuesClause<ColumnInsertValue<users::columns::name, diesel::expression::bound::Bound<diesel::sql_types::Text, &str>>, users::table>>: LoadIntoDsl<_, UserWithEmbeddedPost>` is not satisfied |
| 49 | + --> $DIR/selectable.rs:156:10 |
| 50 | + | |
| 51 | +156 | .load_into::<UserWithEmbeddedPost>(&conn) |
| 52 | + | ^^^^^^^^^ the trait `LoadIntoDsl<_, UserWithEmbeddedPost>` is not implemented for `InsertStatement<users::table, ValuesClause<ColumnInsertValue<users::columns::name, diesel::expression::bound::Bound<diesel::sql_types::Text, &str>>, users::table>>` |
| 53 | + | |
| 54 | + = help: the following implementations were found: |
| 55 | + <InsertStatement<T, U, Op> as LoadIntoDsl<Conn, S>> |
| 56 | + |
| 57 | +error[E0277]: the trait bound `UpdateStatement<users::table, diesel::query_builder::where_clause::NoWhereClause, diesel::query_builder::update_statement::changeset::Assign<users::columns::name, diesel::expression::bound::Bound<diesel::sql_types::Text, &str>>>: LoadIntoDsl<_, UserWithEmbeddedPost>` is not satisfied |
| 58 | + --> $DIR/selectable.rs:163:10 |
| 59 | + | |
| 60 | +163 | .load_into::<UserWithEmbeddedPost>(&conn) |
| 61 | + | ^^^^^^^^^ the trait `LoadIntoDsl<_, UserWithEmbeddedPost>` is not implemented for `UpdateStatement<users::table, diesel::query_builder::where_clause::NoWhereClause, diesel::query_builder::update_statement::changeset::Assign<users::columns::name, diesel::expression::bound::Bound<diesel::sql_types::Text, &str>>>` |
| 62 | + | |
| 63 | + = help: the following implementations were found: |
| 64 | + <UpdateStatement<T, U, V> as LoadIntoDsl<Conn, S>> |
| 65 | + |
| 66 | +error[E0277]: the trait bound `DeleteStatement<users::table, diesel::query_builder::where_clause::NoWhereClause>: LoadIntoDsl<_, UserWithEmbeddedPost>` is not satisfied |
| 67 | + --> $DIR/selectable.rs:169:10 |
| 68 | + | |
| 69 | +169 | .load_into::<UserWithEmbeddedPost>(&conn) |
| 70 | + | ^^^^^^^^^ the trait `LoadIntoDsl<_, UserWithEmbeddedPost>` is not implemented for `DeleteStatement<users::table, diesel::query_builder::where_clause::NoWhereClause>` |
| 71 | + | |
| 72 | + = help: the following implementations were found: |
| 73 | + <DeleteStatement<T, U> as LoadIntoDsl<Conn, S>> |
| 74 | + |
| 75 | +error[E0277]: the trait bound `UserWithoutSelectable: diesel::Selectable<_>` is not satisfied |
| 76 | + --> $DIR/selectable.rs:173:26 |
| 77 | + | |
| 78 | +173 | let _ = users::table.load_into::<UserWithoutSelectable>(&conn).unwrap(); |
| 79 | + | ^^^^^^^^^ the trait `diesel::Selectable<_>` is not implemented for `UserWithoutSelectable` |
| 80 | + |
| 81 | +error[E0277]: the trait bound `SelectStatement<users::table>: LoadIntoDsl<_, UserWithoutSelectable>` is not satisfied |
| 82 | + --> $DIR/selectable.rs:173:26 |
| 83 | + | |
| 84 | +173 | let _ = users::table.load_into::<UserWithoutSelectable>(&conn).unwrap(); |
| 85 | + | ^^^^^^^^^ the trait `LoadIntoDsl<_, UserWithoutSelectable>` is not implemented for `SelectStatement<users::table>` |
| 86 | + | |
| 87 | + = help: the following implementations were found: |
| 88 | + <SelectStatement<F, S, D, W, O, LOf, G, LC> as LoadIntoDsl<Conn, U>> |
| 89 | + = note: required because of the requirements on the impl of `LoadIntoDsl<_, UserWithoutSelectable>` for `users::table` |
| 90 | + |
| 91 | +error[E0271]: type mismatch resolving `<diesel::SqliteConnection as diesel::Connection>::Backend == Pg` |
| 92 | + --> $DIR/selectable.rs:180:10 |
| 93 | + | |
| 94 | +180 | .load_into::<UserWithPostCount>(&conn) |
| 95 | + | ^^^^^^^^^ expected struct `Sqlite`, found struct `Pg` |
0 commit comments