pub fn create_target( name: &str, options: BTreeMap<String, String>, ) -> Result<Arc<dyn Target>, Box<dyn Error>>