Closed renovate[bot] closed 1 year ago
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
The artifact failure details are included below:
Command failed: docker run --rm --name=renovate_a_sidecar --label=renovate_a_child --memory=3584m -v "/tmp/worker/ca223d/73bd73/repos/github/alices-wonderland/white-rabbit":"/tmp/worker/ca223d/73bd73/repos/github/alices-wonderland/white-rabbit" -v "/tmp/worker/ca223d/73bd73/cache":"/tmp/worker/ca223d/73bd73/cache" -e CONTAINERBASE_CACHE_DIR -w "/tmp/worker/ca223d/73bd73/repos/github/alices-wonderland/white-rabbit" ghcr.io/containerbase/sidecar:9.8.0 bash -l -c "install-tool rust 1.71.0 && cargo update --manifest-path packages/migration/Cargo.toml --workspace"
/usr/local/bin/docker: line 4: .: filename argument required
.: usage: . filename [arguments]
install: WARNING: failed to run ldconfig. this may happen when not installing as root. run with --verbose to see the error
Updating crates.io index
error: failed to select a version for `libsqlite3-sys`.
... required by package `sqlx-core v0.6.1`
... which satisfies dependency `sqlx-core = "^0.6.1"` of package `sqlx v0.6.1`
... which satisfies dependency `sqlx = "^0.6.1"` of package `sea-query-binder v0.3.0`
... which satisfies dependency `sea-query-binder = "^0.3"` of package `sea-orm v0.11.0`
... which satisfies dependency `sea-orm = "^0.11"` of package `endpoint-desktop v0.1.0 (/tmp/worker/ca223d/73bd73/repos/github/alices-wonderland/white-rabbit/packages/app-desktop/src-tauri)`
versions that meet the requirements `^0.24.1` are: 0.24.2, 0.24.1
the package `libsqlite3-sys` links to the native library `sqlite3`, but it conflicts with a previous package which links to `sqlite3` as well:
package `libsqlite3-sys v0.26.0`
... which satisfies dependency `libsqlite3-sys = "^0.26.0"` of package `sqlx-sqlite v0.7.0`
... which satisfies dependency `sqlx-sqlite = "=0.7.0"` of package `sqlx v0.7.0`
... which satisfies dependency `sqlx = "^0.7"` of package `sea-orm v0.12.1`
... which satisfies dependency `sea-orm = "^0.12.1"` of package `sea-orm-migration v0.12.1`
... which satisfies dependency `sea-orm-migration = "^0.12"` of package `migration v0.1.0 (/tmp/worker/ca223d/73bd73/repos/github/alices-wonderland/white-rabbit/packages/migration)`
... which satisfies path dependency `migration` (locked to 0.1.0) of package `endpoint-desktop v0.1.0 (/tmp/worker/ca223d/73bd73/repos/github/alices-wonderland/white-rabbit/packages/app-desktop/src-tauri)`
Only one package in the dependency graph may specify the same links value. This helps ensure that only one copy of a native library is linked in the final binary. Try to adjust your dependencies so that only one package uses the links ='libsqlite3-sys' value. For more information, see https://doc.rust-lang.org/cargo/reference/resolver.html#links.
failed to select a version for `libsqlite3-sys` which could resolve this conflict
This PR contains the following updates:
0.11
->0.12
Release Notes
SeaQL/sea-orm (sea-orm-migration)
### [`v0.12.1`](https://togithub.com/SeaQL/sea-orm/blob/HEAD/CHANGELOG.md#0121---2023-07-27) - `0.12.0-rc.1`: Yanked - `0.12.0-rc.2`: 2023-05-19 - `0.12.0-rc.3`: 2023-06-22 - `0.12.0-rc.4`: 2023-07-08 - `0.12.0-rc.5`: 2023-07-22 ##### New Features - Added `MigratorTrait::migration_table_name()` method to configure the name of migration table [https://github.com/SeaQL/sea-orm/pull/1511](https://togithub.com/SeaQL/sea-orm/pull/1511) ```rust #[async_trait::async_trait] impl MigratorTrait for Migrator { // Override the name of migration table fn migration_table_name() -> sea_orm::DynIden { Alias::new("override_migration_table_name").into_iden() } ... } ``` - Added option to construct chained AND / OR join on condition [https://github.com/SeaQL/sea-orm/pull/1433](https://togithub.com/SeaQL/sea-orm/pull/1433) ```rust #[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel)] #[sea_orm(table_name = "cake")] pub struct Model { #[sea_orm(primary_key)] pub id: i32, pub name: String, } #[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)] pub enum Relation { // By default, it's // `JOIN `fruit` ON `cake`.`id` = `fruit`.`cake_id` AND `fruit`.`name` LIKE '%tropical%'` #[sea_orm( has_many = "super::fruit::Entity", on_condition = r#"super::fruit::Column::Name.like("%tropical%")"# )] TropicalFruit, // Or specify `condition_type = "any"` to override it, // `JOIN `fruit` ON `cake`.`id` = `fruit`.`cake_id` OR `fruit`.`name` LIKE '%tropical%'` #[sea_orm( has_many = "super::fruit::Entity", on_condition = r#"super::fruit::Column::Name.like("%tropical%")"# condition_type = "any", )] OrTropicalFruit, } ``` - Supports entity with composite primary key of length 12 [https://github.com/SeaQL/sea-orm/pull/1508](https://togithub.com/SeaQL/sea-orm/pull/1508) - Implemented `IntoIdentity` for `Identity` [https://github.com/SeaQL/sea-orm/pull/1508](https://togithub.com/SeaQL/sea-orm/pull/1508) - `Identity` supports up to identity tuple of `DynIden` with length up to 12 [https://github.com/SeaQL/sea-orm/pull/1508](https://togithub.com/SeaQL/sea-orm/pull/1508) - Implemented `IntoIdentity` for tuple of `IdenStatic` with length up to 12 [https://github.com/SeaQL/sea-orm/pull/1508](https://togithub.com/SeaQL/sea-orm/pull/1508) - Implemented `IdentityOf` for tuple of `ColumnTrait` with length up to 12 [https://github.com/SeaQL/sea-orm/pull/1508](https://togithub.com/SeaQL/sea-orm/pull/1508) - Implemented `TryGetableMany` for tuple of `TryGetable` with length up to 12 [https://github.com/SeaQL/sea-orm/pull/1508](https://togithub.com/SeaQL/sea-orm/pull/1508) - Implemented `TryFromU64` for tuple of `TryFromU64` with length up to 12 [https://github.com/SeaQL/sea-orm/pull/1508](https://togithub.com/SeaQL/sea-orm/pull/1508) ```rust #[derive(Clone, Debug, PartialEq, DeriveEntityModel)] #[sea_orm(table_name = "primary_key_of_12")] pub struct Model { #[sea_orm(primary_key, auto_increment = false)] pub id_1: String, ... #[sea_orm(primary_key, auto_increment = false)] pub id_12: bool, } ``` - Added macro `DerivePartialModel` [https://github.com/SeaQL/sea-orm/pull/1597](https://togithub.com/SeaQL/sea-orm/pull/1597) ```rust #[derive(DerivePartialModel, FromQueryResult)] #[sea_orm(entity = "Cake")] struct PartialCake { name: String, #[sea_orm( from_expr = r#"SimpleExpr::FunctionCall(Func::upper(Expr::col((Cake, cake::Column::Name))))"# )] name_upper: String, } assert_eq!( cake::Entity::find() .into_partial_model::Configuration
📅 Schedule: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.