pub fn compile( build_plan: &BuildPlan, engines: &Engines, retrigger_compilation: Option<Arc<AtomicBool>>, lsp_mode: Option<&LspConfig>, ) -> Result<Vec<(Option<Programs>, Handler)>, LanguageServerError>