diff --git a/crates/pm/src/service/pipeline/receiver.rs b/crates/pm/src/service/pipeline/receiver.rs index 376a5b50c7..aff9ff65db 100644 --- a/crates/pm/src/service/pipeline/receiver.rs +++ b/crates/pm/src/service/pipeline/receiver.rs @@ -69,7 +69,7 @@ impl PipelineReceiver { impl EventReceiver for PipelineReceiver { fn on_event(&self, event: BuildEvent<'_>) { // Forward to inner receiver first (for progress bar updates) - self.inner.on_event(event); + self.inner.on_event(event.clone()); match event { BuildEvent::PackageResolved(info) diff --git a/crates/ruborist/src/model/tarball_info.rs b/crates/ruborist/src/model/tarball_info.rs index 57f4cbe567..20fae651b7 100644 --- a/crates/ruborist/src/model/tarball_info.rs +++ b/crates/ruborist/src/model/tarball_info.rs @@ -8,7 +8,7 @@ use crate::model::manifest::VersionManifest; /// A lightweight structure containing only the fields needed for /// downloading and verifying a package tarball. Uses references to /// avoid cloning data from the source manifest. -#[derive(Debug, Clone, Copy)] +#[derive(Debug, Clone)] pub struct PackageTarballInfo<'a> { /// Package name pub name: &'a str, diff --git a/crates/ruborist/src/traits/progress.rs b/crates/ruborist/src/traits/progress.rs index 72c739a785..2040e7a640 100644 --- a/crates/ruborist/src/traits/progress.rs +++ b/crates/ruborist/src/traits/progress.rs @@ -8,7 +8,7 @@ use std::path::Path; pub use crate::model::tarball_info::PackageTarballInfo; /// Events emitted during dependency resolution. -#[derive(Debug, Clone, Copy)] +#[derive(Debug, Clone)] pub enum BuildEvent<'a> { /// Starting preload phase with N initial dependencies. PreloadStart { count: usize },