Home
last modified time | relevance | path

Searched refs:stderr (Results 1 – 14 of 14) sorted by relevance

/DADK/dadk-user/src/utils/
H A Dstdio.rs5 pub fn stderr_to_lines(stderr: &[u8]) -> Vec<String> { in stderr_to_lines()
6 let stderr = String::from_utf8_lossy(stderr); in stderr_to_lines() localVariable
7 return stderr.lines().map(|s| s.to_string()).collect(); in stderr_to_lines()
H A Dfile.rs57 .stderr(Stdio::piped()) in copy_dir_all()
64 "copy_dir_all failed, status: {:?}, stderr: {:?}", in copy_dir_all()
66 StdioUtils::tail_n_str(StdioUtils::stderr_to_lines(&output.stderr), 5) in copy_dir_all()
H A Dfile.rs57 .stderr(Stdio::piped()) in copy_dir_all()
66 StdioUtils::tail_n_str(StdioUtils::stderr_to_lines(&output.stderr), 5) in copy_dir_all()
/DADK/dadk-user/src/executor/
H A Dsource.rs132 .stderr(Stdio::piped()) in check_repo()
144 "git remote get-url origin failed, status: {:?}, stderr: {:?}", in check_repo()
146 StdioUtils::tail_n_str(StdioUtils::stderr_to_lines(&output.stderr), 5) in check_repo()
164 .stderr(Stdio::piped()) in set_url()
171 "git remote set-url origin failed, status: {:?}, stderr: {:?}", in set_url()
173 StdioUtils::tail_n_str(StdioUtils::stderr_to_lines(&output.stderr), 5) in set_url()
208 .stderr(Stdio::piped()) in checkout()
227 .stderr(Stdio::piped()) in checkout()
272 .stderr(Stdio::piped()) in clone_repo()
280 "clone git repo failed, status: {:?}, stderr in clone_repo()
[all...]
H A Dsource.rs132 .stderr(Stdio::piped()) in check_repo()
146 StdioUtils::tail_n_str(StdioUtils::stderr_to_lines(&output.stderr), 5) in check_repo()
164 .stderr(Stdio::piped()) in set_url()
173 StdioUtils::tail_n_str(StdioUtils::stderr_to_lines(&output.stderr), 5) in set_url()
208 .stderr(Stdio::piped()) in checkout()
227 .stderr(Stdio::piped()) in checkout()
272 .stderr(Stdio::piped()) in clone_repo()
282 StdioUtils::tail_n_str(StdioUtils::stderr_to_lines(&output.stderr), 5) in clone_repo()
298 .stderr(Stdio::piped()) in clone_repo()
308 StdioUtils::tail_n_str(StdioUtils::stderr_to_lines(&suboutput.stderr), 5) in clone_repo()
[all …]
H A Dmod.rs576 let command_output = String::from_utf8_lossy(&command_opt.stderr);
583 error!("Last 100 lines msg of stderr:"); in add_vars()
H A Dmod.rs576 let command_output = String::from_utf8_lossy(&command_opt.stderr); in get()
583 error!("Last 100 lines msg of stderr:");
H A Dmod.rs576 let command_output = String::from_utf8_lossy(&command_opt.stderr);
583 error!("Last 100 lines msg of stderr:"); in prepare_env()
H A Dmod.rs576 let command_output = String::from_utf8_lossy(&command_opt.stderr);
583 error!("Last 100 lines msg of stderr:");
H A Dmod.rs576 let command_output = String::from_utf8_lossy(&command_opt.stderr); in get()
583 error!("Last 100 lines msg of stderr:"); in add_vars()
H A Dmod.rs576 let command_output = String::from_utf8_lossy(&command_opt.stderr);
583 error!("Last 100 lines msg of stderr:");
H A Dmod.rs576 let command_output = String::from_utf8_lossy(&command_opt.stderr); in run_command()
/DADK/dadk/src/actions/rootfs/
H A Ddisk_img.rs118 String::from_utf8_lossy(&cmd.stderr) in mount_unpartitioned_image()
150 String::from_utf8_lossy(&cmd.stderr) in umount()
H A Dloopdev.rs134 str::from_utf8(output.stderr.as_slice()).unwrap_or("<Unknown>") in detach()