Compiling openlayerhub v0.1.0 (/home/nicolaivds/GIT/OpenLayerHub) error[E0277]: the trait bound `InsertStatement<::Table, ::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<::Table, ::Table>>::Values>`, which is required by `InsertStatement<::Table, ::Table>>::Values>: LoadQuery<'_, _, _>` | | | required by a bound introduced by this call | = note: required for `InsertStatement<::Table, ::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 | ---------- 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, InsertStatement<::Table, ::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<::Table, ::Table>>::Values>: LoadQuery<'_, _, _>` | | | required by a bound introduced by this call | = note: required for `PooledConnection>` to implement `LoadConnection` = note: required for `InsertStatement<::Table, ::Table>>::Values>` to implement `LoadQuery<'_, PooledConnection>, _>` 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 | ---------- 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 `::Table: SingleValue` is not satisfied --> src/base/service.rs:60:25 | 60 | .get_result(&mut conn) | ---------- ^^^^^^^^^ the trait `SingleValue` is not implemented for `::Table`, which is required by `InsertStatement<::Table, ::Table>>::Values>: LoadQuery<'_, _, _>` | | | required by a bound introduced by this call | = note: required for `::Table` to implement `SqlTypeOrSelectable` = note: required for `T` to implement `FromSqlRow<::Table, ::Backend>` = note: required for `InsertStatement<::Table, ::Table>>::Values>` to implement `LoadQuery<'_, PooledConnection>, 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 | ---------- 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 `<::Table as AsQuery>::Query` to implement `FilterDsl<_>` error[E0277]: `<::Table as AsQuery>::Query` is no valid SQL fragment for the `_` backend --> src/base/service.rs:77:24 | 77 | .load::(&mut conn) | ---- ^^^^^^^^^ the trait `QueryFragment<_>` is not implemented for `<::Table as AsQuery>::Query`, which is required by `::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`: `&T` implements `QueryFragment` `()` implements `QueryFragment` `(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 `::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> | ---- 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 `<::Table as AsQuery>::Query: QueryId` is not satisfied --> src/base/service.rs:77:24 | 77 | .load::(&mut conn) | ---- ^^^^^^^^^ the trait `QueryId` is not implemented for `<::Table as AsQuery>::Query`, which is required by `::Table: LoadQuery<'_, _, T>` | | | required by a bound introduced by this call | = note: required for `::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> | ---- 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 `<::Table as AsQuery>::SqlType: SingleValue` is not satisfied --> src/base/service.rs:77:24 | 77 | .load::(&mut conn) | ---- ^^^^^^^^^ the trait `SingleValue` is not implemented for `<::Table as AsQuery>::SqlType`, which is required by `::Table: LoadQuery<'_, _, T>` | | | required by a bound introduced by this call | = note: required for `<::Table as AsQuery>::SqlType` to implement `load_dsl::private::CompatibleType` = note: required for `::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> | ---- 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<<::Table as AsQuery>::SqlType, _>` is not satisfied --> src/base/service.rs:77:24 | 77 | .load::(&mut conn) | ---- ^^^^^^^^^ the trait `diesel::Queryable<<::Table as AsQuery>::SqlType, _>` is not implemented for `T`, which is required by `::Table: LoadQuery<'_, _, T>` | | | required by a bound introduced by this call | = help: the following other types implement trait `diesel::Queryable`: `(T0, T1)` implements `diesel::Queryable<(ST0, ST1), __DB>` `(T0, T1)` implements `diesel::Queryable, Pg>` `(T0, T1, T2)` implements `diesel::Queryable<(ST0, ST1, ST2), __DB>` `(T0, T1, T2)` implements `diesel::Queryable, Pg>` `(T0, T1, T2, T3)` implements `diesel::Queryable<(ST0, ST1, ST2, ST3), __DB>` `(T0, T1, T2, T3)` implements `diesel::Queryable, Pg>` `(T0, T1, T2, T3, T4)` implements `diesel::Queryable<(ST0, ST1, ST2, ST3, ST4), __DB>` `(T0, T1, T2, T3, T4)` implements `diesel::Queryable, Pg>` and 116 others = note: required for `T` to implement `FromSqlRow<<::Table as AsQuery>::SqlType, _>` = note: required for `<::Table as AsQuery>::SqlType` to implement `load_dsl::private::CompatibleType` = note: required for `::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> | ---- 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::(&mut conn) | ---- ^^^^^^^^^ the trait `LoadConnection` is not implemented for `Conn`, which is required by `::Table: LoadQuery<'_, _, T>` | | | required by a bound introduced by this call | = note: required for `PooledConnection>` to implement `LoadConnection` = note: required for `::Table` to implement `LoadQuery<'_, PooledConnection>, 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> | ---- 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 `::Backend: QueryMetadata<<::Table as AsQuery>::SqlType>` is not satisfied --> src/base/service.rs:77:24 | 77 | .load::(&mut conn) | ---- ^^^^^^^^^ the trait `HasSqlType<<::Table as AsQuery>::SqlType>` is not implemented for `::Backend`, which is required by `::Table: LoadQuery<'_, _, T>` | | | required by a bound introduced by this call | = note: required for `::Backend` to implement `QueryMetadata<<::Table as AsQuery>::SqlType>` = note: required for `::Table` to implement `LoadQuery<'_, PooledConnection>, 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> | ---- 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 `::Table: IntoUpdateTarget` is not satisfied --> src/base/service.rs:83:24 | 83 | diesel::update(::table()) | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `diesel::Identifiable` is not implemented for `::Table`, which is required by `::Table: IntoUpdateTarget` | | | required by a bound introduced by this call | = note: required for `::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(source: T) -> UpdateStatement { | ^^^^^^^^^^^^^^^^ required by this bound in `update` error[E0277]: the trait bound `::Table: HasTable` is not satisfied --> src/base/service.rs:83:9 | 83 | diesel::update(::table()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `HasTable` is not implemented for `::Table` error[E0277]: the trait bound `::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 `::PrimaryKey`, which is required by `UpdateStatement<_, _>: FilterDsl<_>` | = help: the following other types implement trait `AppearsOnTable`: `&'a T` implements `AppearsOnTable` `(T0, T1)` implements `AppearsOnTable` `(T0, T1, T2)` implements `AppearsOnTable` `(T0, T1, T2, T3)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4, T5)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4, T5, T6)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4, T5, T6, T7)` implements `AppearsOnTable` and 131 others = note: required for `diesel::expression::operators::Eq<::PrimaryKey, diesel::expression::bound::Bound>` to implement `AppearsOnTable<_>` = note: 1 redundant requirement hidden = note: required for `Grouped::PrimaryKey, Bound>>` to implement `AppearsOnTable<_>` = note: required for `UpdateStatement<_, _>` to implement `FilterDsl::PrimaryKey, diesel::expression::bound::Bound>>>` = 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 `::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 `::PrimaryKey`, which is required by `UpdateStatement<_, _>: FilterDsl<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `AppearsOnTable`: `&'a T` implements `AppearsOnTable` `(T0, T1)` implements `AppearsOnTable` `(T0, T1, T2)` implements `AppearsOnTable` `(T0, T1, T2, T3)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4, T5)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4, T5, T6)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4, T5, T6, T7)` implements `AppearsOnTable` and 131 others = note: required for `diesel::expression::operators::Eq<::PrimaryKey, diesel::expression::bound::Bound>` to implement `AppearsOnTable<_>` = note: 1 redundant requirement hidden = note: required for `Grouped::PrimaryKey, Bound>>` to implement `AppearsOnTable<_>` = note: required for `UpdateStatement<_, _>` to implement `FilterDsl::PrimaryKey, diesel::expression::bound::Bound>>>` note: required by a bound in `UpdateStatement::::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(self, predicate: Predicate) -> Filter | ------ required by a bound in this associated function 97 | where 98 | Self: FilterDsl, | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `UpdateStatement::::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::::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(self, values: V) -> UpdateStatement | --- required by a bound in this associated function ... 38 | V: changeset::AsChangeset, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `UpdateStatement::::set` help: consider removing the leading `&`-reference | 85 - .set(&entity) 85 + .set(entity) | error[E0277]: the trait bound `::Backend: DieselReserveSpecialization` is not satisfied --> src/base/service.rs:86:25 | 86 | .get_result(&mut conn) | ---------- ^^^^^^^^^ the trait `DieselReserveSpecialization` is not implemented for `::Backend`, which is required by `UpdateStatement<_, _, _>: LoadQuery<'_, _, _>` | | | required by a bound introduced by this call | = note: required for `UpdateStatement<_, _, _, ReturningClause<_>>` to implement `QueryFragment<::Backend>` = note: required for `UpdateStatement<_, _, _>` to implement `LoadQuery<'_, PooledConnection>, _>` 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 | ---------- 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 `::Backend` backend --> src/base/service.rs:86:25 | 86 | .get_result(&mut conn) | ---------- ^^^^^^^^^ the trait `QueryFragment<::Backend, <::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 `::Backend` database system does not support this SQL syntax = help: the following other types implement trait `QueryFragment`: `ReturningClause` implements `QueryFragment` `ReturningClause` implements `QueryFragment` = note: required for `ReturningClause<_>` to implement `QueryFragment<::Backend>` = note: 1 redundant requirement hidden = note: required for `UpdateStatement<_, _, _, ReturningClause<_>>` to implement `QueryFragment<::Backend>` = note: required for `UpdateStatement<_, _, _>` to implement `LoadQuery<'_, PooledConnection>, _>` 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 | ---------- 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>` to implement `LoadConnection` = note: required for `UpdateStatement<_, _, _>` to implement `LoadQuery<'_, PooledConnection>, _>` 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 | ---------- 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 `::Table: SingleValue` is not satisfied --> src/base/service.rs:86:25 | 86 | .get_result(&mut conn) | ---------- ^^^^^^^^^ the trait `SingleValue` is not implemented for `::Table`, which is required by `UpdateStatement<_, _, _>: LoadQuery<'_, _, _>` | | | required by a bound introduced by this call | = note: required for `::Table` to implement `SqlTypeOrSelectable` = note: required for `T` to implement `FromSqlRow<::Table, ::Backend>` = note: required for `UpdateStatement<_, _, _>` to implement `LoadQuery<'_, PooledConnection>, 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 | ---------- 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 `::Table: diesel::Identifiable` is not satisfied --> src/base/service.rs:83:9 | 83 | diesel::update(::table()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `diesel::Identifiable` is not implemented for `::Table`, which is required by `::Table: IntoUpdateTarget` | = note: required for `::Table` to implement `IntoUpdateTarget` error[E0277]: the trait bound `::Table: IntoUpdateTarget` is not satisfied --> src/base/service.rs:92:24 | 92 | diesel::delete(::table()) | -------------- ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `diesel::Identifiable` is not implemented for `::Table`, which is required by `::Table: IntoUpdateTarget` | | | required by a bound introduced by this call | = note: required for `::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(source: T) -> DeleteStatement { | ^^^^^^^^^^^^^^^^ required by this bound in `delete` error[E0277]: the trait bound `::Table: HasTable` is not satisfied --> src/base/service.rs:92:9 | 92 | diesel::delete(::table()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `HasTable` is not implemented for `::Table` error[E0277]: the trait bound `::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 `::PrimaryKey`, which is required by `DeleteStatement<_, _>: FilterDsl<_>` | = help: the following other types implement trait `AppearsOnTable`: `&'a T` implements `AppearsOnTable` `(T0, T1)` implements `AppearsOnTable` `(T0, T1, T2)` implements `AppearsOnTable` `(T0, T1, T2, T3)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4, T5)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4, T5, T6)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4, T5, T6, T7)` implements `AppearsOnTable` and 131 others = note: required for `diesel::expression::operators::Eq<::PrimaryKey, diesel::expression::bound::Bound>` to implement `AppearsOnTable<_>` = note: 1 redundant requirement hidden = note: required for `Grouped::PrimaryKey, Bound>>` to implement `AppearsOnTable<_>` = note: required for `DeleteStatement<_, _>` to implement `FilterDsl::PrimaryKey, diesel::expression::bound::Bound>>>` = 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 `::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 `::PrimaryKey`, which is required by `DeleteStatement<_, _>: FilterDsl<_>` | | | required by a bound introduced by this call | = help: the following other types implement trait `AppearsOnTable`: `&'a T` implements `AppearsOnTable` `(T0, T1)` implements `AppearsOnTable` `(T0, T1, T2)` implements `AppearsOnTable` `(T0, T1, T2, T3)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4, T5)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4, T5, T6)` implements `AppearsOnTable` `(T0, T1, T2, T3, T4, T5, T6, T7)` implements `AppearsOnTable` and 131 others = note: required for `diesel::expression::operators::Eq<::PrimaryKey, diesel::expression::bound::Bound>` to implement `AppearsOnTable<_>` = note: 1 redundant requirement hidden = note: required for `Grouped::PrimaryKey, Bound>>` to implement `AppearsOnTable<_>` = note: required for `DeleteStatement<_, _>` to implement `FilterDsl::PrimaryKey, diesel::expression::bound::Bound>>>` note: required by a bound in `DeleteStatement::::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(self, predicate: Predicate) -> Filter | ------ required by a bound in this associated function 112 | where 113 | Self: FilterDsl, | ^^^^^^^^^^^^^^^^^^^^ required by this bound in `DeleteStatement::::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 `::Backend: DieselReserveSpecialization` is not satisfied --> src/base/service.rs:94:22 | 94 | .execute(&mut conn) | ------- ^^^^^^^^^ the trait `DieselReserveSpecialization` is not implemented for `::Backend`, which is required by `DeleteStatement<_, _>: ExecuteDsl<_, _>` | | | required by a bound introduced by this call | = note: required for `DeleteStatement<_, _>` to implement `QueryFragment<::Backend>` = note: required for `DeleteStatement<_, _>` to implement `ExecuteDsl>, ::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 | ------- required by a bound in this associated function ... 1431 | Self: methods::ExecuteDsl, | ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `RunQueryDsl::execute` error[E0277]: the trait bound `::Table: diesel::Identifiable` is not satisfied --> src/base/service.rs:92:9 | 92 | diesel::delete(::table()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `diesel::Identifiable` is not implemented for `::Table`, which is required by `::Table: IntoUpdateTarget` | = note: required for `::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