From db5b360d5f1ddfdc6ba7cce6704b41310b715f70 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 17 May 2026 18:13:52 +0900 Subject: fix(compile): add missing PackageInterface and RepositoryInterface impls Co-Authored-By: Claude Sonnet 4.6 --- crates/shirabe/src/installer.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'crates/shirabe/src/installer.rs') diff --git a/crates/shirabe/src/installer.rs b/crates/shirabe/src/installer.rs index 0aeb52b..b32e47b 100644 --- a/crates/shirabe/src/installer.rs +++ b/crates/shirabe/src/installer.rs @@ -502,10 +502,10 @@ impl Installer { let platform_repo = self.create_platform_repo(true); let aliases = self.get_root_aliases(true); - let mut locked_repository: Option> = None; + let mut locked_repository: Option> = None; let try_load_locked = - || -> anyhow::Result>, ParsingException>> { + || -> anyhow::Result>, ParsingException>> { if self.locker.is_locked() { match self.locker.get_locked_repository(true) { Ok(r) => Ok(Ok(Some(r))), @@ -842,7 +842,7 @@ impl Installer { platform_repo: &PlatformRepository, aliases: &Vec>, policy: &dyn PolicyInterface, - locked_repository: Option<&dyn LockArrayRepository>, + locked_repository: Option<&LockArrayRepository>, ) -> anyhow::Result { if self.package.get_dev_requires().is_empty() { return Ok(0); @@ -1296,7 +1296,7 @@ impl Installer { fn create_policy( &self, for_update: bool, - locked_repo: Option<&dyn LockArrayRepository>, + locked_repo: Option<&LockArrayRepository>, ) -> DefaultPolicy { let mut prefer_stable: Option = None; let mut prefer_lowest: Option = None; @@ -1343,7 +1343,7 @@ impl Installer { &self, root_package: &dyn RootPackageInterface, platform_repo: &PlatformRepository, - locked_repository: Option<&dyn LockArrayRepository>, + locked_repository: Option<&LockArrayRepository>, ) -> Request { let mut request = Request::new(locked_repository); @@ -1389,7 +1389,7 @@ impl Installer { fn require_packages_for_update( &self, request: &mut Request, - locked_repository: Option<&dyn LockArrayRepository>, + locked_repository: Option<&LockArrayRepository>, include_dev_requires: bool, ) { // if we're updating mirrors we want to keep exactly the same versions installed which are in the lock file, but we want current remote metadata -- cgit v1.3.1