diff --git a/crates/dagger-core/src/engine.rs b/crates/dagger-core/src/engine.rs index 47c75be..a4e8283 100644 --- a/crates/dagger-core/src/engine.rs +++ b/crates/dagger-core/src/engine.rs @@ -1,4 +1,4 @@ -use std::process::Child; + use crate::{ cli_session::CliSession, config::Config, connect_params::ConnectParams, downloader::Downloader, diff --git a/crates/dagger-sdk/src/gen.rs b/crates/dagger-sdk/src/gen.rs index 9f3f01c..530b3e3 100644 --- a/crates/dagger-sdk/src/gen.rs +++ b/crates/dagger-sdk/src/gen.rs @@ -35,7 +35,7 @@ impl CacheVolume { pub async fn id( &self, ) -> eyre::Result { - let mut query = self.selection.select("id"); + let query = self.selection.select("id"); query.execute(&graphql_client(&self.conn)).await } @@ -216,7 +216,7 @@ impl Container { pub async fn default_args( &self, ) -> eyre::Result> { - let mut query = self.selection.select("defaultArgs"); + let query = self.selection.select("defaultArgs"); query.execute(&graphql_client(&self.conn)).await } @@ -239,7 +239,7 @@ impl Container { pub async fn entrypoint( &self, ) -> eyre::Result> { - let mut query = self.selection.select("entrypoint"); + let query = self.selection.select("entrypoint"); query.execute(&graphql_client(&self.conn)).await } @@ -258,7 +258,7 @@ impl Container { pub fn env_variables( &self, ) -> Vec { - let mut query = self.selection.select("envVariables"); + let query = self.selection.select("envVariables"); return vec![EnvVariable { proc: self.proc.clone(), @@ -274,7 +274,7 @@ impl Container { pub fn exec( &self, ) -> Container { - let mut query = self.selection.select("exec"); + let query = self.selection.select("exec"); return Container { proc: self.proc.clone(), @@ -321,7 +321,7 @@ impl Container { pub async fn exit_code( &self, ) -> eyre::Result { - let mut query = self.selection.select("exitCode"); + let query = self.selection.select("exitCode"); query.execute(&graphql_client(&self.conn)).await } @@ -405,7 +405,7 @@ impl Container { pub fn fs( &self, ) -> Directory { - let mut query = self.selection.select("fs"); + let query = self.selection.select("fs"); return Directory { proc: self.proc.clone(), @@ -417,7 +417,7 @@ impl Container { pub async fn id( &self, ) -> eyre::Result { - let mut query = self.selection.select("id"); + let query = self.selection.select("id"); query.execute(&graphql_client(&self.conn)).await } @@ -436,7 +436,7 @@ impl Container { pub fn labels( &self, ) -> Vec