Skip to content

Commit 47216f1

Browse files
committed
Fix CI warnings for -D warnings build
1 parent 887decf commit 47216f1

5 files changed

Lines changed: 6 additions & 4 deletions

File tree

libsql-replication/tests/bootstrap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ fn bootstrap() {
2222
.build_transport(false)
2323
.out_dir(&out_dir)
2424
.type_attribute(".proxy", "#[derive(serde::Serialize, serde::Deserialize)]")
25-
.compile_with_config(config, iface_files, dirs)
25+
.compile_protos_with_config(config, iface_files, dirs)
2626
.unwrap();
2727

2828
let status = Command::new("git")

libsql-server/src/test/bottomless/s3_mock.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ use uuid::Uuid;
1515

1616
#[derive(Clone)]
1717
pub struct S3MockServer {
18+
#[allow(dead_code)]
1819
root: PathBuf,
1920
buckets: Arc<Mutex<HashMap<String, Bucket>>>,
2021
}

libsql-server/tests/bootstrap.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fn bootstrap() {
1717
.build_server(true)
1818
.build_transport(true)
1919
.out_dir(&out_dir)
20-
.compile_with_config(config, iface_files, dirs)
20+
.compile_protos_with_config(config, iface_files, dirs)
2121
.unwrap();
2222

2323
let status = Command::new("git")

libsql/src/hrana/hyper.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ use crate::util::ConnectorService;
1010
use crate::{Error, Rows, Statement};
1111
use bytes::Bytes;
1212
use futures::future::BoxFuture;
13-
use futures::{Stream, TryStreamExt};
13+
use futures::Stream;
1414
use http::header::AUTHORIZATION;
1515
use http::{HeaderValue, StatusCode};
1616
use http_body_util::BodyExt;
17-
use std::io::ErrorKind;
17+
1818
use std::sync::Arc;
1919
use std::time::Duration;
2020

libsql/src/sync.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ impl SyncContext {
198198
}
199199

200200
#[tracing::instrument(skip(self, frames))]
201+
#[allow(private_interfaces)]
201202
pub(crate) async fn push_frames(
202203
&mut self,
203204
frames: Bytes,

0 commit comments

Comments
 (0)