fn build_app_doctor_report_json( artifact_dir: &str, app: &AppRuntime, ) -> Result<String, &'static str>
Builds app doctor report JSON.