diff --git a/relay-server/src/services/spooler/envelope_stack/mod.rs b/relay-server/src/services/spooler/envelope_stack/mod.rs index 27f28a7ae6..e7db697f16 100644 --- a/relay-server/src/services/spooler/envelope_stack/mod.rs +++ b/relay-server/src/services/spooler/envelope_stack/mod.rs @@ -5,9 +5,12 @@ mod sqlite; pub trait EnvelopeStack { type Error; + #[allow(dead_code)] async fn push(&mut self, envelope: Box) -> Result<(), Self::Error>; + #[allow(dead_code)] async fn peek(&mut self) -> Result<&Box, Self::Error>; + #[allow(dead_code)] async fn pop(&mut self) -> Result, Self::Error>; } diff --git a/relay-server/src/services/spooler/envelope_stack/sqlite.rs b/relay-server/src/services/spooler/envelope_stack/sqlite.rs index e8d7a3ea6c..104920a7df 100644 --- a/relay-server/src/services/spooler/envelope_stack/sqlite.rs +++ b/relay-server/src/services/spooler/envelope_stack/sqlite.rs @@ -48,6 +48,7 @@ pub struct SQLiteEnvelopeStack { } impl SQLiteEnvelopeStack { + #[allow(dead_code)] pub fn new( db: Pool, spool_threshold: usize, @@ -269,6 +270,7 @@ mod tests { RequestMeta::new(dsn) } + #[allow(clippy::vec_box)] fn mock_envelopes(count: usize) -> Vec> { let instant = Instant::now(); (0..count)