From d1cce6c4c52cd74b2954014e269793d195da6cd4 Mon Sep 17 00:00:00 2001 From: kjuulh Date: Sat, 18 Feb 2023 01:05:44 +0100 Subject: [PATCH] fix warnings --- ci/src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/src/main.rs b/ci/src/main.rs index 347a3a8..98a36a6 100644 --- a/ci/src/main.rs +++ b/ci/src/main.rs @@ -1,6 +1,6 @@ use std::sync::Arc; -use dagger_sdk::gen::{Container, ContainerWithExecOpts, HostDirectoryOpts, Query}; +use dagger_sdk::gen::{Container, HostDirectoryOpts, Query}; fn main() -> eyre::Result<()> { color_eyre::install().unwrap(); @@ -112,7 +112,7 @@ fn select_base_image(client: Arc) -> Container { src_dir } -fn validate_pr(client: Arc, container: Container) -> eyre::Result<()> { +fn validate_pr(_client: Arc, container: Container) -> eyre::Result<()> { container.with_exec(vec!["cargo".into(), "test".into(), "--all".into()], None); let exit = container.exit_code();