aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe/src/installer/installation_manager.rs
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-19 21:46:01 +0900
committernsfisis <nsfisis@gmail.com>2026-05-19 21:46:08 +0900
commit5e31fa33c3b5cf726a57a063b8e7a070869250fe (patch)
tree98522466966fa7df483cad174ab5fc03db39bc09 /crates/shirabe/src/installer/installation_manager.rs
parentc839244d8d09f3036ebfee8eef7eb6b147e593ab (diff)
downloadphp-shirabe-5e31fa33c3b5cf726a57a063b8e7a070869250fe.tar.gz
php-shirabe-5e31fa33c3b5cf726a57a063b8e7a070869250fe.tar.zst
php-shirabe-5e31fa33c3b5cf726a57a063b8e7a070869250fe.zip
fix(compile): fix more random compile errors
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/shirabe/src/installer/installation_manager.rs')
-rw-r--r--crates/shirabe/src/installer/installation_manager.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/crates/shirabe/src/installer/installation_manager.rs b/crates/shirabe/src/installer/installation_manager.rs
index 59e029a..3789729 100644
--- a/crates/shirabe/src/installer/installation_manager.rs
+++ b/crates/shirabe/src/installer/installation_manager.rs
@@ -412,8 +412,8 @@ impl InstallationManager {
if !["update", "install", "uninstall"].contains(&op_type.as_str()) {
// output alias ops in debug verbosity as they have no output otherwise
if self.io.is_debug() {
- self.io.write_error(
- PhpMixed::String(format!(" - {}", operation.show(false))),
+ self.io.write_error3(
+ &format!(" - {}", operation.show(false)),
true,
io_interface::NORMAL,
);
@@ -696,12 +696,12 @@ impl InstallationManager {
),
);
- promises.push(self.loop_.borrow().get_http_downloader().add(
+ promises.push(self.loop_.borrow().get_http_downloader().borrow_mut().add(
&url,
&PhpMixed::Array(
opts.into_iter().map(|(k, v)| (k, Box::new(v))).collect(),
),
- ));
+ )?);
}
continue;
@@ -767,10 +767,10 @@ impl InstallationManager {
PhpMixed::Array(http.into_iter().map(|(k, v)| (k, Box::new(v))).collect()),
);
- promises.push(self.loop_.borrow().get_http_downloader().add(
+ promises.push(self.loop_.borrow().get_http_downloader().borrow_mut().add(
repo_url,
&PhpMixed::Array(opts.into_iter().map(|(k, v)| (k, Box::new(v))).collect()),
- ));
+ )?);
}
let _ = self.loop_.borrow_mut().wait(promises, None);