Searched refs:stderr (Results 1 – 14 of 14) sorted by relevance
/DADK/dadk-user/src/utils/ |
H A D | stdio.rs | 5 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 D | file.rs | 57 .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 D | file.rs | 57 .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 D | source.rs | 132 .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 D | source.rs | 132 .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 D | mod.rs | 576 let command_output = String::from_utf8_lossy(&command_opt.stderr); 583 error!("Last 100 lines msg of stderr:"); in add_vars()
|
H A D | mod.rs | 576 let command_output = String::from_utf8_lossy(&command_opt.stderr); in get() 583 error!("Last 100 lines msg of stderr:");
|
H A D | mod.rs | 576 let command_output = String::from_utf8_lossy(&command_opt.stderr); 583 error!("Last 100 lines msg of stderr:"); in prepare_env()
|
H A D | mod.rs | 576 let command_output = String::from_utf8_lossy(&command_opt.stderr); 583 error!("Last 100 lines msg of stderr:");
|
H A D | mod.rs | 576 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 D | mod.rs | 576 let command_output = String::from_utf8_lossy(&command_opt.stderr); 583 error!("Last 100 lines msg of stderr:");
|
H A D | mod.rs | 576 let command_output = String::from_utf8_lossy(&command_opt.stderr); in run_command()
|
/DADK/dadk/src/actions/rootfs/ |
H A D | disk_img.rs | 118 String::from_utf8_lossy(&cmd.stderr) in mount_unpartitioned_image() 150 String::from_utf8_lossy(&cmd.stderr) in umount()
|
H A D | loopdev.rs | 134 str::from_utf8(output.stderr.as_slice()).unwrap_or("<Unknown>") in detach()
|