analyser: check for unused types
builder: added warning groups to recipe
analyser: check for unused types and mark types as used