Project Clippy config disallows std::collections::HashMap and HashSet. Replaced all usages with BTreeMap/BTreeSet. Also fixed: - Unnecessary if-let on iterator rows (use flatten() instead) - contains_key + insert on BTreeMap (use entry().or_insert_with()) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>