Compiling openlayerhub v0.1.0 (/home/nicolaivds/GIT/OpenLayerHub) error[E0277]: the trait bound `InsertStatement<<T as HasTable>::Table, <T as diesel::Insertable<<T as HasTable>::Table>>::Values>: LoadQuery<'_, _, _>` is not satisfied --> src/base/service.rs:60:25 | 60 | .get_result(&mut conn) | ---------- ^^^^^^^^^ the trait `AsQuery` is not implemented for `InsertStatement<<T as HasTable>::Table, <T as diesel::Insertable<<T as HasTable>::Table>>::Values>`, which is required by `InsertStatement<<T as HasTable>::Table, <T as diesel::Insertable<<T as HasTable>::Table>>::Values>: LoadQuery<'_, _, _>` | | | required by a bound introduced by this call | = note: required for `InsertStatement<<T as HasTable>::Table, <T as diesel::Insertable<<T as HasTable>::Table>>::Values>` to implement `LoadQuery<'_, _, _>` note: required by a bound in `get_result` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1722:15 | 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult<U> | ---------- required by a bound in this associated function 1721 | where 1722 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::get_result` help: consider extending the `where` clause, but there might be an alternative better way to express this requirement | 54 | i32: diesel::deserialize::FromSql<diesel::sql_types::Integer, Conn::Backend>, InsertStatement<<T as HasTable>::Table, <T as diesel::Insertable<<T as HasTable>::Table>>::Values>: AsQuery | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ error[E0277]: the trait bound `Conn: LoadConnection` is not satisfied --> src/base/service.rs:60:25 | 60 | .get_result(&mut conn) | ---------- ^^^^^^^^^ the trait `LoadConnection` is not implemented for `Conn`, which is required by `InsertStatement<<T as HasTable>::Table, <T as diesel::Insertable<<T as HasTable>::Table>>::Values>: LoadQuery<'_, _, _>` | | | required by a bound introduced by this call | = note: required for `PooledConnection<ConnectionManager<Conn>>` to implement `LoadConnection` = note: required for `InsertStatement<<T as HasTable>::Table, <T as diesel::Insertable<<T as HasTable>::Table>>::Values>` to implement `LoadQuery<'_, PooledConnection<ConnectionManager<Conn>>, _>` note: required by a bound in `get_result` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1722:15 | 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult<U> | ---------- required by a bound in this associated function 1721 | where 1722 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::get_result` help: consider further restricting this bound | 50 | Conn: diesel::Connection + R2D2Connection + 'static + diesel::connection::LoadConnection, | ++++++++++++++++++++++++++++++++++++ error[E0277]: the trait bound `<T as HasTable>::Table: SingleValue` is not satisfied --> src/base/service.rs:60:25 | 60 | .get_result(&mut conn) | ---------- ^^^^^^^^^ the trait `SingleValue` is not implemented for `<T as HasTable>::Table`, which is required by `InsertStatement<<T as HasTable>::Table, <T as diesel::Insertable<<T as HasTable>::Table>>::Values>: LoadQuery<'_, _, _>` | | | required by a bound introduced by this call | = note: required for `<T as HasTable>::Table` to implement `SqlTypeOrSelectable` = note: required for `T` to implement `FromSqlRow<<T as HasTable>::Table, <Conn as Connection>::Backend>` = note: required for `InsertStatement<<T as HasTable>::Table, <T as diesel::Insertable<<T as HasTable>::Table>>::Values>` to implement `LoadQuery<'_, PooledConnection<ConnectionManager<Conn>>, T>` note: required by a bound in `get_result` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1722:15 | 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult<U> | ---------- required by a bound in this associated function 1721 | where 1722 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::get_result` error[E0275]: overflow evaluating the requirement `_: Sized` --> src/base/service.rs:67:14 | 67 | .filter(T::primary_key().eq(id)) | ^^^^^^ | = help: consider increasing the recursion limit by adding a `#![recursion_limit = "512"]` attribute to your crate (`openlayerhub`) = note: required for `<<T as HasTable>::Table as AsQuery>::Query` to implement `FilterDsl<_>` error[E0277]: `<<T as HasTable>::Table as AsQuery>::Query` is no valid SQL fragment for the `_` backend --> src/base/service.rs:77:24 | 77 | .load::<T>(&mut conn) | ---- ^^^^^^^^^ the trait `QueryFragment<_>` is not implemented for `<<T as HasTable>::Table as AsQuery>::Query`, which is required by `<T as HasTable>::Table: LoadQuery<'_, _, T>` | | | required by a bound introduced by this call | = note: this usually means that the `_` database system does not support this SQL syntax = help: the following other types implement trait `QueryFragment<DB, SP>`: `&T` implements `QueryFragment<DB>` `()` implements `QueryFragment<DB>` `(T0, T1)` implements `QueryFragment<__DB>` `(T0, T1, T2)` implements `QueryFragment<__DB>` `(T0, T1, T2, T3)` implements `QueryFragment<__DB>` `(T0, T1, T2, T3, T4)` implements `QueryFragment<__DB>` `(T0, T1, T2, T3, T4, T5)` implements `QueryFragment<__DB>` `(T0, T1, T2, T3, T4, T5, T6)` implements `QueryFragment<__DB>` and 278 others = note: required for `<T as HasTable>::Table` to implement `LoadQuery<'_, _, T>` note: required by a bound in `diesel::RunQueryDsl::load` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1542:15 | 1540 | fn load<'query, U>(self, conn: &mut Conn) -> QueryResult<Vec<U>> | ---- required by a bound in this associated function 1541 | where 1542 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` error[E0277]: the trait bound `<<T as HasTable>::Table as AsQuery>::Query: QueryId` is not satisfied --> src/base/service.rs:77:24 | 77 | .load::<T>(&mut conn) | ---- ^^^^^^^^^ the trait `QueryId` is not implemented for `<<T as HasTable>::Table as AsQuery>::Query`, which is required by `<T as HasTable>::Table: LoadQuery<'_, _, T>` | | | required by a bound introduced by this call | = note: required for `<T as HasTable>::Table` to implement `LoadQuery<'_, _, T>` note: required by a bound in `diesel::RunQueryDsl::load` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1542:15 | 1540 | fn load<'query, U>(self, conn: &mut Conn) -> QueryResult<Vec<U>> | ---- required by a bound in this associated function 1541 | where 1542 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` error[E0277]: the trait bound `<<T as HasTable>::Table as AsQuery>::SqlType: SingleValue` is not satisfied --> src/base/service.rs:77:24 | 77 | .load::<T>(&mut conn) | ---- ^^^^^^^^^ the trait `SingleValue` is not implemented for `<<T as HasTable>::Table as AsQuery>::SqlType`, which is required by `<T as HasTable>::Table: LoadQuery<'_, _, T>` | | | required by a bound introduced by this call | = note: required for `<<T as HasTable>::Table as AsQuery>::SqlType` to implement `load_dsl::private::CompatibleType<T, _>` = note: required for `<T as HasTable>::Table` to implement `LoadQuery<'_, _, T>` note: required by a bound in `diesel::RunQueryDsl::load` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1542:15 | 1540 | fn load<'query, U>(self, conn: &mut Conn) -> QueryResult<Vec<U>> | ---- required by a bound in this associated function 1541 | where 1542 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` error[E0277]: the trait bound `T: diesel::Queryable<<<T as HasTable>::Table as AsQuery>::SqlType, _>` is not satisfied --> src/base/service.rs:77:24 | 77 | .load::<T>(&mut conn) | ---- ^^^^^^^^^ the trait `diesel::Queryable<<<T as HasTable>::Table as AsQuery>::SqlType, _>` is not implemented for `T`, which is required by `<T as HasTable>::Table: LoadQuery<'_, _, T>` | | | required by a bound introduced by this call | = help: the following other types implement trait `diesel::Queryable<ST, DB>`: `(T0, T1)` implements `diesel::Queryable<(ST0, ST1), __DB>` `(T0, T1)` implements `diesel::Queryable<Record<(ST0, ST1)>, Pg>` `(T0, T1, T2)` implements `diesel::Queryable<(ST0, ST1, ST2), __DB>` `(T0, T1, T2)` implements `diesel::Queryable<Record<(ST0, ST1, ST2)>, Pg>` `(T0, T1, T2, T3)` implements `diesel::Queryable<(ST0, ST1, ST2, ST3), __DB>` `(T0, T1, T2, T3)` implements `diesel::Queryable<Record<(ST0, ST1, ST2, ST3)>, Pg>` `(T0, T1, T2, T3, T4)` implements `diesel::Queryable<(ST0, ST1, ST2, ST3, ST4), __DB>` `(T0, T1, T2, T3, T4)` implements `diesel::Queryable<Record<(ST0, ST1, ST2, ST3, ST4)>, Pg>` and 116 others = note: required for `T` to implement `FromSqlRow<<<T as HasTable>::Table as AsQuery>::SqlType, _>` = note: required for `<<T as HasTable>::Table as AsQuery>::SqlType` to implement `load_dsl::private::CompatibleType<T, _>` = note: required for `<T as HasTable>::Table` to implement `LoadQuery<'_, _, T>` note: required by a bound in `diesel::RunQueryDsl::load` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1542:15 | 1540 | fn load<'query, U>(self, conn: &mut Conn) -> QueryResult<Vec<U>> | ---- required by a bound in this associated function 1541 | where 1542 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` error[E0277]: the trait bound `Conn: LoadConnection` is not satisfied --> src/base/service.rs:77:24 | 77 | .load::<T>(&mut conn) | ---- ^^^^^^^^^ the trait `LoadConnection` is not implemented for `Conn`, which is required by `<T as HasTable>::Table: LoadQuery<'_, _, T>` | | | required by a bound introduced by this call | = note: required for `PooledConnection<ConnectionManager<Conn>>` to implement `LoadConnection` = note: required for `<T as HasTable>::Table` to implement `LoadQuery<'_, PooledConnection<ConnectionManager<Conn>>, T>` note: required by a bound in `diesel::RunQueryDsl::load` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1542:15 | 1540 | fn load<'query, U>(self, conn: &mut Conn) -> QueryResult<Vec<U>> | ---- required by a bound in this associated function 1541 | where 1542 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` help: consider further restricting this bound | 50 | Conn: diesel::Connection + R2D2Connection + 'static + diesel::connection::LoadConnection, | ++++++++++++++++++++++++++++++++++++ error[E0277]: the trait bound `<Conn as Connection>::Backend: QueryMetadata<<<T as HasTable>::Table as AsQuery>::SqlType>` is not satisfied --> src/base/service.rs:77:24 | 77 | .load::<T>(&mut conn) | ---- ^^^^^^^^^ the trait `HasSqlType<<<T as HasTable>::Table as AsQuery>::SqlType>` is not implemented for `<Conn as Connection>::Backend`, which is required by `<T as HasTable>::Table: LoadQuery<'_, _, T>` | | | required by a bound introduced by this call | = note: required for `<Conn as Connection>::Backend` to implement `QueryMetadata<<<T as HasTable>::Table as AsQuery>::SqlType>` = note: required for `<T as HasTable>::Table` to implement `LoadQuery<'_, PooledConnection<ConnectionManager<Conn>>, T>` note: required by a bound in `diesel::RunQueryDsl::load` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1542:15 | 1540 | fn load<'query, U>(self, conn: &mut Conn) -> QueryResult<Vec<U>> | ---- required by a bound in this associated function 1541 | where 1542 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::load` error[E0277]: the trait bound `<T as HasTable>::Table: IntoUpdateTarget` is not satisfied --> src/base/service.rs:83:24 | 83 | diesel::update(<T as HasTable>::table()) | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `diesel::Identifiable` is not implemented for `<T as HasTable>::Table`, which is required by `<T as HasTable>::Table: IntoUpdateTarget` | | | required by a bound introduced by this call | = note: required for `<T as HasTable>::Table` to implement `IntoUpdateTarget` note: required by a bound in `update` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_builder/functions.rs:80:18 | 80 | pub fn update<T: IntoUpdateTarget>(source: T) -> UpdateStatement<T::Table, T::WhereClause> { | ^^^^^^^^^^^^^^^^ required by this bound in `update` error[E0277]: the trait bound `<T as HasTable>::Table: HasTable` is not satisfied --> src/base/service.rs:83:9 | 83 | diesel::update(<T as HasTable>::table()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `HasTable` is not implemented for `<T as HasTable>::Table` error[E0277]: the trait bound `<T as Model>::PrimaryKey: AppearsOnTable<_>` is not satisfied --> src/base/service.rs:84:14 | 84 | .filter(T::primary_key().eq(id)) | ^^^^^^ the trait `AppearsOnTable<_>` is not implemented for `<T as Model>::PrimaryKey`, which is required by `UpdateStatement<_, _>: FilterDsl<_>` | = help: the following other types implement trait `AppearsOnTable<QS>`: `&'a T` implements `AppearsOnTable<QS>` `(T0, T1)` implements `AppearsOnTable<QS>` `(T0, T1, T2)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4, T5)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4, T5, T6)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4, T5, T6, T7)` implements `AppearsOnTable<QS>` and 131 others = note: required for `diesel::expression::operators::Eq<<T as Model>::PrimaryKey, diesel::expression::bound::Bound<Integer, i32>>` to implement `AppearsOnTable<_>` = note: 1 redundant requirement hidden = note: required for `Grouped<Eq<<T as Model>::PrimaryKey, Bound<Integer, i32>>>` to implement `AppearsOnTable<_>` = note: required for `UpdateStatement<_, _>` to implement `FilterDsl<diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<<T as Model>::PrimaryKey, diesel::expression::bound::Bound<Integer, i32>>>>` = note: the full name for the type has been written to '/home/nicolaivds/GIT/OpenLayerHub/target/debug/deps/openlayerhub-1f7d339452a03941.long-type-9065444121950834043.txt' = note: consider using `--verbose` to print the full type name to the console error[E0277]: the trait bound `<T as Model>::PrimaryKey: AppearsOnTable<_>` is not satisfied --> src/base/service.rs:84:21 | 84 | .filter(T::primary_key().eq(id)) | ------ ^^^^^^^^^^^^^^^^^^^^^^^ the trait `AppearsOnTable<_>` is not implemented for `<T as Model>::PrimaryKey`, which is required by `UpdateStatement<_, _>: FilterDsl<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `AppearsOnTable<QS>`: `&'a T` implements `AppearsOnTable<QS>` `(T0, T1)` implements `AppearsOnTable<QS>` `(T0, T1, T2)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4, T5)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4, T5, T6)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4, T5, T6, T7)` implements `AppearsOnTable<QS>` and 131 others = note: required for `diesel::expression::operators::Eq<<T as Model>::PrimaryKey, diesel::expression::bound::Bound<Integer, i32>>` to implement `AppearsOnTable<_>` = note: 1 redundant requirement hidden = note: required for `Grouped<Eq<<T as Model>::PrimaryKey, Bound<Integer, i32>>>` to implement `AppearsOnTable<_>` = note: required for `UpdateStatement<_, _>` to implement `FilterDsl<diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<<T as Model>::PrimaryKey, diesel::expression::bound::Bound<Integer, i32>>>>` note: required by a bound in `UpdateStatement::<T, U, V, Ret>::filter` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_builder/update_statement/mod.rs:98:15 | 96 | pub fn filter<Predicate>(self, predicate: Predicate) -> Filter<Self, Predicate> | ------ required by a bound in this associated function 97 | where 98 | Self: FilterDsl<Predicate>, | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `UpdateStatement::<T, U, V, Ret>::filter` = note: the full name for the type has been written to '/home/nicolaivds/GIT/OpenLayerHub/target/debug/deps/openlayerhub-1f7d339452a03941.long-type-9065444121950834043.txt' = note: consider using `--verbose` to print the full type name to the console error[E0277]: the trait bound `&T: diesel::AsChangeset` is not satisfied --> src/base/service.rs:85:18 | 85 | .set(&entity) | --- ^^^^^^^ the trait `diesel::AsChangeset` is not implemented for `&T` | | | required by a bound introduced by this call | note: required by a bound in `UpdateStatement::<T, U>::set` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_builder/update_statement/mod.rs:38:12 | 35 | pub fn set<V>(self, values: V) -> UpdateStatement<T, U, V::Changeset> | --- required by a bound in this associated function ... 38 | V: changeset::AsChangeset<Target = T>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `UpdateStatement::<T, U>::set` help: consider removing the leading `&`-reference | 85 - .set(&entity) 85 + .set(entity) | error[E0277]: the trait bound `<Conn as Connection>::Backend: DieselReserveSpecialization` is not satisfied --> src/base/service.rs:86:25 | 86 | .get_result(&mut conn) | ---------- ^^^^^^^^^ the trait `DieselReserveSpecialization` is not implemented for `<Conn as Connection>::Backend`, which is required by `UpdateStatement<_, _, _>: LoadQuery<'_, _, _>` | | | required by a bound introduced by this call | = note: required for `UpdateStatement<_, _, _, ReturningClause<_>>` to implement `QueryFragment<<Conn as Connection>::Backend>` = note: required for `UpdateStatement<_, _, _>` to implement `LoadQuery<'_, PooledConnection<ConnectionManager<Conn>>, _>` note: required by a bound in `get_result` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1722:15 | 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult<U> | ---------- required by a bound in this associated function 1721 | where 1722 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::get_result` error[E0277]: `ReturningClause<_>` is no valid SQL fragment for the `<Conn as Connection>::Backend` backend --> src/base/service.rs:86:25 | 86 | .get_result(&mut conn) | ---------- ^^^^^^^^^ the trait `QueryFragment<<Conn as Connection>::Backend, <<Conn as Connection>::Backend as SqlDialect>::ReturningClause>` is not implemented for `ReturningClause<_>`, which is required by `UpdateStatement<_, _, _>: LoadQuery<'_, _, _>` | | | required by a bound introduced by this call | = note: this usually means that the `<Conn as Connection>::Backend` database system does not support this SQL syntax = help: the following other types implement trait `QueryFragment<DB, SP>`: `ReturningClause<Expr>` implements `QueryFragment<DB, PgLikeReturningClause>` `ReturningClause<Expr>` implements `QueryFragment<DB>` = note: required for `ReturningClause<_>` to implement `QueryFragment<<Conn as Connection>::Backend>` = note: 1 redundant requirement hidden = note: required for `UpdateStatement<_, _, _, ReturningClause<_>>` to implement `QueryFragment<<Conn as Connection>::Backend>` = note: required for `UpdateStatement<_, _, _>` to implement `LoadQuery<'_, PooledConnection<ConnectionManager<Conn>>, _>` note: required by a bound in `get_result` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1722:15 | 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult<U> | ---------- required by a bound in this associated function 1721 | where 1722 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::get_result` error[E0277]: the trait bound `Conn: LoadConnection` is not satisfied --> src/base/service.rs:86:25 | 86 | .get_result(&mut conn) | ---------- ^^^^^^^^^ the trait `LoadConnection` is not implemented for `Conn`, which is required by `UpdateStatement<_, _, _>: LoadQuery<'_, _, _>` | | | required by a bound introduced by this call | = note: required for `PooledConnection<ConnectionManager<Conn>>` to implement `LoadConnection` = note: required for `UpdateStatement<_, _, _>` to implement `LoadQuery<'_, PooledConnection<ConnectionManager<Conn>>, _>` note: required by a bound in `get_result` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1722:15 | 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult<U> | ---------- required by a bound in this associated function 1721 | where 1722 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::get_result` help: consider further restricting this bound | 50 | Conn: diesel::Connection + R2D2Connection + 'static + diesel::connection::LoadConnection, | ++++++++++++++++++++++++++++++++++++ error[E0277]: the trait bound `<T as HasTable>::Table: SingleValue` is not satisfied --> src/base/service.rs:86:25 | 86 | .get_result(&mut conn) | ---------- ^^^^^^^^^ the trait `SingleValue` is not implemented for `<T as HasTable>::Table`, which is required by `UpdateStatement<_, _, _>: LoadQuery<'_, _, _>` | | | required by a bound introduced by this call | = note: required for `<T as HasTable>::Table` to implement `SqlTypeOrSelectable` = note: required for `T` to implement `FromSqlRow<<T as HasTable>::Table, <Conn as Connection>::Backend>` = note: required for `UpdateStatement<_, _, _>` to implement `LoadQuery<'_, PooledConnection<ConnectionManager<Conn>>, T>` note: required by a bound in `get_result` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1722:15 | 1720 | fn get_result<'query, U>(self, conn: &mut Conn) -> QueryResult<U> | ---------- required by a bound in this associated function 1721 | where 1722 | Self: LoadQuery<'query, Conn, U>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::get_result` error[E0277]: the trait bound `<T as HasTable>::Table: diesel::Identifiable` is not satisfied --> src/base/service.rs:83:9 | 83 | diesel::update(<T as HasTable>::table()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `diesel::Identifiable` is not implemented for `<T as HasTable>::Table`, which is required by `<T as HasTable>::Table: IntoUpdateTarget` | = note: required for `<T as HasTable>::Table` to implement `IntoUpdateTarget` error[E0277]: the trait bound `<T as HasTable>::Table: IntoUpdateTarget` is not satisfied --> src/base/service.rs:92:24 | 92 | diesel::delete(<T as HasTable>::table()) | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `diesel::Identifiable` is not implemented for `<T as HasTable>::Table`, which is required by `<T as HasTable>::Table: IntoUpdateTarget` | | | required by a bound introduced by this call | = note: required for `<T as HasTable>::Table` to implement `IntoUpdateTarget` note: required by a bound in `delete` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_builder/functions.rs:132:18 | 132 | pub fn delete<T: IntoUpdateTarget>(source: T) -> DeleteStatement<T::Table, T::WhereClause> { | ^^^^^^^^^^^^^^^^ required by this bound in `delete` error[E0277]: the trait bound `<T as HasTable>::Table: HasTable` is not satisfied --> src/base/service.rs:92:9 | 92 | diesel::delete(<T as HasTable>::table()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `HasTable` is not implemented for `<T as HasTable>::Table` error[E0277]: the trait bound `<T as Model>::PrimaryKey: AppearsOnTable<_>` is not satisfied --> src/base/service.rs:93:14 | 93 | .filter(T::primary_key().eq(id)) | ^^^^^^ the trait `AppearsOnTable<_>` is not implemented for `<T as Model>::PrimaryKey`, which is required by `DeleteStatement<_, _>: FilterDsl<_>` | = help: the following other types implement trait `AppearsOnTable<QS>`: `&'a T` implements `AppearsOnTable<QS>` `(T0, T1)` implements `AppearsOnTable<QS>` `(T0, T1, T2)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4, T5)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4, T5, T6)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4, T5, T6, T7)` implements `AppearsOnTable<QS>` and 131 others = note: required for `diesel::expression::operators::Eq<<T as Model>::PrimaryKey, diesel::expression::bound::Bound<Integer, i32>>` to implement `AppearsOnTable<_>` = note: 1 redundant requirement hidden = note: required for `Grouped<Eq<<T as Model>::PrimaryKey, Bound<Integer, i32>>>` to implement `AppearsOnTable<_>` = note: required for `DeleteStatement<_, _>` to implement `FilterDsl<diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<<T as Model>::PrimaryKey, diesel::expression::bound::Bound<Integer, i32>>>>` = note: the full name for the type has been written to '/home/nicolaivds/GIT/OpenLayerHub/target/debug/deps/openlayerhub-1f7d339452a03941.long-type-9065444121950834043.txt' = note: consider using `--verbose` to print the full type name to the console error[E0277]: the trait bound `<T as Model>::PrimaryKey: AppearsOnTable<_>` is not satisfied --> src/base/service.rs:93:21 | 93 | .filter(T::primary_key().eq(id)) | ------ ^^^^^^^^^^^^^^^^^^^^^^^ the trait `AppearsOnTable<_>` is not implemented for `<T as Model>::PrimaryKey`, which is required by `DeleteStatement<_, _>: FilterDsl<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `AppearsOnTable<QS>`: `&'a T` implements `AppearsOnTable<QS>` `(T0, T1)` implements `AppearsOnTable<QS>` `(T0, T1, T2)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4, T5)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4, T5, T6)` implements `AppearsOnTable<QS>` `(T0, T1, T2, T3, T4, T5, T6, T7)` implements `AppearsOnTable<QS>` and 131 others = note: required for `diesel::expression::operators::Eq<<T as Model>::PrimaryKey, diesel::expression::bound::Bound<Integer, i32>>` to implement `AppearsOnTable<_>` = note: 1 redundant requirement hidden = note: required for `Grouped<Eq<<T as Model>::PrimaryKey, Bound<Integer, i32>>>` to implement `AppearsOnTable<_>` = note: required for `DeleteStatement<_, _>` to implement `FilterDsl<diesel::expression::grouped::Grouped<diesel::expression::operators::Eq<<T as Model>::PrimaryKey, diesel::expression::bound::Bound<Integer, i32>>>>` note: required by a bound in `DeleteStatement::<T, U>::filter` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_builder/delete_statement/mod.rs:113:15 | 111 | pub fn filter<Predicate>(self, predicate: Predicate) -> Filter<Self, Predicate> | ------ required by a bound in this associated function 112 | where 113 | Self: FilterDsl<Predicate>, | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `DeleteStatement::<T, U>::filter` = note: the full name for the type has been written to '/home/nicolaivds/GIT/OpenLayerHub/target/debug/deps/openlayerhub-1f7d339452a03941.long-type-9065444121950834043.txt' = note: consider using `--verbose` to print the full type name to the console error[E0277]: the trait bound `<Conn as Connection>::Backend: DieselReserveSpecialization` is not satisfied --> src/base/service.rs:94:22 | 94 | .execute(&mut conn) | ------- ^^^^^^^^^ the trait `DieselReserveSpecialization` is not implemented for `<Conn as Connection>::Backend`, which is required by `DeleteStatement<_, _>: ExecuteDsl<_, _>` | | | required by a bound introduced by this call | = note: required for `DeleteStatement<_, _>` to implement `QueryFragment<<Conn as Connection>::Backend>` = note: required for `DeleteStatement<_, _>` to implement `ExecuteDsl<PooledConnection<ConnectionManager<Conn>>, <Conn as Connection>::Backend>` note: required by a bound in `diesel::RunQueryDsl::execute` --> /home/nicolaivds/.cargo/registry/src/index.crates.io-6f17d22bba15001f/diesel-2.2.7/src/query_dsl/mod.rs:1431:15 | 1428 | fn execute(self, conn: &mut Conn) -> QueryResult<usize> | ------- required by a bound in this associated function ... 1431 | Self: methods::ExecuteDsl<Conn>, | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::execute` error[E0277]: the trait bound `<T as HasTable>::Table: diesel::Identifiable` is not satisfied --> src/base/service.rs:92:9 | 92 | diesel::delete(<T as HasTable>::table()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `diesel::Identifiable` is not implemented for `<T as HasTable>::Table`, which is required by `<T as HasTable>::Table: IntoUpdateTarget` | = note: required for `<T as HasTable>::Table` to implement `IntoUpdateTarget` Some errors have detailed explanations: E0275, E0277. For more information about an error, try `rustc --explain E0275`. error: could not compile `openlayerhub` (bin "openlayerhub") due to 26 previous errors