diff --git a/crates/lib/easyenv/src/lib.rs b/crates/lib/easyenv/src/lib.rs index 78e763d967..3c97245930 100644 --- a/crates/lib/easyenv/src/lib.rs +++ b/crates/lib/easyenv/src/lib.rs @@ -23,9 +23,9 @@ mod string; mod num; /// Name of the environment variable Rust's env logger uses -pub const ENV_RUST_LOG : &'static str = "RUST_LOG"; +pub const ENV_RUST_LOG : &str = "RUST_LOG"; -const DEFAULT_LOG_LEVEL: &'static str = "info"; +const DEFAULT_LOG_LEVEL: &str = "info"; /// Errors with env variables. #[derive(Debug)] diff --git a/crates/service/job/inference_job/src/util/common_commands/ffmpeg_logo_watermark_command.rs b/crates/service/job/inference_job/src/util/common_commands/ffmpeg_logo_watermark_command.rs index 3df7e3dbde..a2a60daec6 100644 --- a/crates/service/job/inference_job/src/util/common_commands/ffmpeg_logo_watermark_command.rs +++ b/crates/service/job/inference_job/src/util/common_commands/ffmpeg_logo_watermark_command.rs @@ -9,7 +9,6 @@ use subprocess::{Popen, PopenConfig}; use container_common::anyhow_result::AnyhowResult; use filesys::path_to_string::path_to_string; -use subprocess_common::docker_options::{DockerFilesystemMount, DockerGpu, DockerOptions}; use crate::job::job_loop::command_exit_status::CommandExitStatus;