fix: resolve compilation errors by correcting imports, struct fields, and method usage
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
use anyhow::{anyhow, Context, Result};
|
use anyhow::{anyhow, Result};
|
||||||
use std::io;
|
use std::io;
|
||||||
|
|
||||||
use lazy_static::lazy_static;
|
use lazy_static::lazy_static;
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ use std::env;
|
|||||||
use std::fs;
|
use std::fs;
|
||||||
use std::io;
|
use std::io;
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
|
use crate::digest_engine::ProgramWriter;
|
||||||
use std::os::unix::fs::PermissionsExt;
|
use std::os::unix::fs::PermissionsExt;
|
||||||
use std::process::{Command, Stdio};
|
use std::process::{Command, Stdio};
|
||||||
|
|
||||||
@@ -51,7 +52,7 @@ impl DigestEngine for DigestEngineProgram {
|
|||||||
.stdin(Stdio::piped())
|
.stdin(Stdio::piped())
|
||||||
.stdout(Stdio::piped())
|
.stdout(Stdio::piped())
|
||||||
.spawn()
|
.spawn()
|
||||||
.context(anyhow!(
|
.with_context(anyhow!(
|
||||||
"Problem spawning child process: {:?} {:?}",
|
"Problem spawning child process: {:?} {:?}",
|
||||||
program,
|
program,
|
||||||
args
|
args
|
||||||
|
|||||||
Reference in New Issue
Block a user